
/* ═══ AP Saleroom Custom Styles ═══ */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Header scroll transition */
.e-sticky--active {
    background-color: #0d0842 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Auction card hover effects */
.auction-card,
.e-con:has(> .elementor-widget-image):has(> .e-con) {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.auction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
}

/* Button hover transitions */
.elementor-button {
    transition: all 0.25s ease !important;
}

/* Image hover zoom on cards */
.auction-card .elementor-widget-image img {
    transition: transform 0.5s ease;
}
.auction-card:hover .elementor-widget-image img {
    transform: scale(1.03);
}

/* Testimonial card hover */
.elementor-widget-star-rating {
    margin-bottom: 5px;
}

/* Divider refinement */
.elementor-divider-separator {
    border-color: #0d0842 !important;
}

/* Form field focus animation */
.elementor-field:focus {
    border-color: #0d0842 !important;
    box-shadow: 0 0 0 2px rgba(207,20,43,0.15);
    transition: all 0.2s ease;
}

/* Icon box hover */
.elementor-widget-icon-box:hover .elementor-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Counter animation enhancement */
.elementor-counter-number-wrapper {
    font-family: "Playfair Display", serif !important;
}

/* Header Login/Register stacked pills */
.ap-auth-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}
.ap-pill {
    display: block;
    color: #FFFFFF !important;
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none !important;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 4px 14px;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1.2;
}
.ap-pill:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.8);
    color: #FFFFFF !important;
}

/* Accordion styling refinement */
.elementor-accordion .elementor-tab-title {
    padding: 18px 20px !important;
    transition: background-color 0.2s ease;
}
.elementor-accordion .elementor-tab-title:hover {
    background-color: #F4F4F8 !important;
}
.elementor-accordion .elementor-tab-content {
    padding: 15px 20px 20px !important;
    line-height: 1.8;
}

/* Table styling */
table {
    border-radius: 4px;
    overflow: hidden;
}
table th {
    font-family: "Inter", sans-serif;
}

/* Breadcrumbs styling */
.elementor-breadcrumbs {
    font-size: 13px;
    color: #9CA3AF;
}
.elementor-breadcrumbs a {
    color: #0d0842;
    text-decoration: none;
}
.elementor-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Selection color */
::selection {
    background: #0d0842;
    color: white;
}

/* Scrollbar styling (webkit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F4F4F8; }
::-webkit-scrollbar-thumb { background: #0d0842; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1a1560; }

/* Mobile refinements */
@media (max-width: 767px) {
    .elementor-widget-heading .elementor-heading-title {
        word-break: break-word;
    }
    /* Ensure no horizontal overflow */
    body { overflow-x: hidden; }
    .e-con { max-width: 100vw; }
}

/* Navigation hamburger refinement */
.elementor-menu-toggle {
    padding: 8px !important;
}
.elementor-menu-toggle .eicon-menu-bar {
    font-size: 22px;
    color: #FFFFFF;
}

/* Star rating color */
.elementor-star-rating i {
    color: #0d0842 !important;
}

/* Social icons hover */
.elementor-social-icon {
    transition: all 0.25s ease !important;
}
.elementor-social-icon:hover {
    transform: translateY(-2px);
}

/* Hero parallax smoothing */
[data-settings*="motion_fx_motion_fx_scrolling"] {
    will-change: transform;
}
