html {
    scroll-behavior: smooth;
}

:root {
    color-scheme: light;
    /* Default (Light) Theme Variables */
    --bg-body: #ffffff;
    --text-main: #000000;
    --card-bg: #ffffff;
    --border-color: #eeeeee;
    --input-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);

    /* Color Palette (Constant) */
    --primary: #6200ee;
    --primary-hover: #4b00d1;
    --secondary: #6c757d;
    --dark: #1a1a1a;
    --dark-muted: #4b3d3d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    --success: #198754;
    --accent-teal: #03dac6;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --letter-spacing-wide: 0.15em;
    --line-height-relaxed: 1.6;

    /* Shadows */
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.1);
}

/* Dark Theme Variables & Overrides */
html[data-theme='dark'] {
    color-scheme: dark;
    --bg-body: #0a0514;
    /* Deep Purple-Black */
    --text-main: #f0edff;
    /* Off-white with purple tint */
    --card-bg: #160f29;
    /* Deep Purple-Gray card bg */
    --border-color: #2e2545;
    /* Muted Purple border */
    --input-bg: #160f29;
    --header-bg: rgba(10, 5, 20, 0.95);
    --light-gray: #1a1426;
    --secondary: #94a3b8;
    /* Slate-like for contrast */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
    --primary: #8b5cf6;
    /* Vibrant Neon Purple */
    --primary-hover: #a78bfa;
    /* Lighter Purple */
    --theme-purple: #8b5cf6;
}

/* Global Theme Enforcement */
body {
    background-color: var(--bg-body) !important;
    color: var(--text-main) !important;
    font-family: var(--font-main);
    line-height: var(--line-height-relaxed);
    transition: background 0.3s, color 0.3s;
}

/* Prevent auto-zoom on mobile (iOS requires 16px+) */
@media (max-width: 768px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Panzoom Support */
.product-gallery .main-image-slider {
    touch-action: none;
    /* Required for panzoom to prevent browser gestures */
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
}

.product-gallery .main-image-slider:active {
    cursor: grabbing;
}

.product-main-img {
    transition: transform 0.1s ease-out !important;
    /* Smooth but fast */
    will-change: transform;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main) !important;
}

.card {
    background-color: var(--card-bg) !important;
    color: var(--text-main) !important;
    border-color: var(--border-color) !important;
}

.navbar .nav-link {
    color: var(--text-main) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
}

/* Force dark mode compatibility for Bootstrap utilities */
html[data-theme='dark'] .text-dark,
html[data-theme='dark'] .text-black {
    color: var(--text-main) !important;
}

html[data-theme='dark'] .bg-white,
html[data-theme='dark'] .bg-light {
    background-color: var(--bg-body) !important;
}

html[data-theme='dark'] .border {
    border-color: var(--border-color) !important;
}

html[data-theme='dark'] .form-floating i {
    color: var(--primary) !important;
    opacity: 1 !important;
}

/* Global Visibility & Contrast Fixes for Dark Mode */
html[data-theme='dark'] .lead,
html[data-theme='dark'] .subtitle,
html[data-theme='dark'] .auth-toggle,
html[data-theme='dark'] .form-text,
html[data-theme='dark'] .breadcrumb-item,
html[data-theme='dark'] .nav-link,
html[data-theme='dark'] .btn-link.text-muted {
    color: #e0e0e0 !important;
}

html[data-theme='dark'] .theme-text-muted,
html[data-theme='dark'] .text-muted,
html[data-theme='dark'] .text-white-50,
html[data-theme='dark'] .legal-content-body,
html[data-theme='dark'] .legal-content-body p,
html[data-theme='dark'] .legal-content-body span,
html[data-theme='dark'] .legal-content-body li,
html[data-theme='dark'] .legal-content-body div,
html[data-theme='dark'] .legal-content-body strong,
html[data-theme='dark'] .legal-content-body h1,
html[data-theme='dark'] .legal-content-body h2,
html[data-theme='dark'] .legal-content-body h3,
html[data-theme='dark'] .legal-content-body h4,
html[data-theme='dark'] .legal-content-body h5,
html[data-theme='dark'] .legal-content-body h6,
html[data-theme='dark'] #support-content,
html[data-theme='dark'] #support-content p,
html[data-theme='dark'] #support-content span,
html[data-theme='dark'] .accordion-button,
html[data-theme='dark'] .accordion-body,
html[data-theme='dark'] .accordion-body p,
html[data-theme='dark'] .accordion-body span,
html[data-theme='dark'] .accordion-body li,
html[data-theme='dark'] .accordion-item,
html[data-theme='dark'] #track-result *,
html[data-theme='dark'] #return-portal-content * {
    color: #ffffff !important;
}

html[data-theme='dark'] .accordion-item {
    background-color: transparent !important;
    border-color: #444 !important;
}

html[data-theme='dark'] .accordion-button {
    background-color: var(--card-bg) !important;
}

html[data-theme='dark'] .accordion-button:not(.collapsed) {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

html[data-theme='dark'] .accordion-button::after {
    filter: invert(1);
}

html[data-theme='dark'] h1,
html[data-theme='dark'] h2,
html[data-theme='dark'] h3,
html[data-theme='dark'] h4,
html[data-theme='dark'] h5,
html[data-theme='dark'] h6 {
    color: #ffffff !important;
}

html[data-theme='dark'] .form-control,
html[data-theme='dark'] .form-select {
    background-color: var(--card-bg) !important;
    color: #ffffff !important;
    border-color: #444 !important;
}

html[data-theme='dark'] .form-control::placeholder {
    color: #888 !important;
}

html[data-theme='dark'] .auth-divider {
    color: #bbbbbb !important;
}

html[data-theme='dark'] .auth-divider::before,
html[data-theme='dark'] .auth-divider::after {
    background: #444 !important;
}

/* Ensure secondary info is still readable */
html[data-theme='dark'] .minimal-info-label {
    color: #bbbbbb !important;
    font-weight: 500;
}

/* Global Logo Visibility in Dark Mode */
html[data-theme='dark'] .logo-text {
    color: #ffffff !important;
}

/* Main Button Theme Overrides for Dark Mode */
html[data-theme='dark'] .btn-primary,
html[data-theme='dark'] .btn-dark,
html[data-theme='dark'] .btn-auth,
html[data-theme='dark'] .btn-rect.btn-dark {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

html[data-theme='dark'] .btn-primary:hover,
html[data-theme='dark'] .btn-dark:hover,
html[data-theme='dark'] .btn-auth:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
}

html[data-theme='dark'] .btn-outline-dark,
html[data-theme='dark'] .btn-outline-primary {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

html[data-theme='dark'] .btn-outline-dark:hover,
html[data-theme='dark'] .btn-outline-primary:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Secondary/Alternative buttons in Dark Mode */
html[data-theme='dark'] .btn-light,
html[data-theme='dark'] .btn-rect.btn-light {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
}

html[data-theme='dark'] .btn-light:hover,
html[data-theme='dark'] .btn-rect.btn-light:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #ffffff !important;
}

/* ==============================
   LOGO 3D SHINE EFFECT
============================== */
.logo-shine-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 4px;
    perspective: 1000px;
}

.site-logo-img {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    z-index: 1;
    backface-visibility: hidden;
}

.logo-shine-wrapper:hover .site-logo-img {
    transform: translateZ(20px) rotateY(12deg) rotateX(8deg) scale(1.08);
    filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.2));
}

.logo-shine-wrapper::after {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 60%;
    height: 400%;
    background: linear-gradient(to right,
            rgba(255, 0, 0, 0) 0%,
            rgba(255, 0, 0, 0.2) 15%,
            rgba(255, 165, 0, 0.2) 25%,
            rgba(255, 255, 0, 0.2) 35%,
            rgba(0, 128, 0, 0.2) 45%,
            rgba(0, 255, 255, 0.2) 55%,
            rgba(0, 0, 255, 0.2) 65%,
            rgba(128, 0, 128, 0.2) 75%,
            rgba(255, 0, 0, 0) 100%);
    transform: rotate(30deg);
    z-index: 2;
    pointer-events: none;
    animation: rainbowShine 4s infinite linear;
    mix-blend-mode: screen;
}

@keyframes rainbowShine {
    0% {
        left: -200%;
    }

    100% {
        left: 200%;
    }
}

/* Hero transitions */
.hero-fade-in {
    opacity: 0;
    will-change: opacity, transform;
}

.hero-title-main,
.hero-title-sub {
    transition: opacity 0.5s ease;
}

.text-uppercase-wide {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.btn-rect {
    border-radius: 0 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Theme Toggle Button Glow */
#theme-toggle:hover #theme-icon {
    text-shadow: 0 0 10px var(--primary);
    transform: rotate(20deg);
}

#theme-icon {
    transition: all 0.3s ease;
}

/* Add to Cart Animation */
@keyframes cartPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        background: var(--success);
        border-color: var(--success);
    }

    100% {
        transform: scale(1);
    }
}

.cart-added-status {
    animation: cartPulse 0.6s ease-out;
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-theme='dark'] .btn-dark {
    background: #f8f9fa;
    color: #000;
    border-color: #f8f9fa;
}

[data-theme='dark'] .btn-dark:hover {
    background: #e9ecef;
    color: #000;
}

/* ==============================
   MOBILE TOP BAR
============================== */
.mobile-top-bar {
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-sm);
    padding: 6px 0 !important;
    /* Force slimmer padding */
}

/* Override Bootstrap py-2 if present */
.mobile-top-bar .py-2 {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* Ensure mobile logo isn't too large */
.mobile-top-bar .site-logo-img {
    max-height: 28px !important;
    /* Smaller logo for mobile */
    width: auto;
}

.mobile-top-bar .mobile-search-wrap {
    max-width: 200px;
}

.mobile-top-bar .input-group {
    background: var(--light-gray);
    border-radius: 50px;
    overflow: hidden;
    height: 32px;
    /* Slimmer search bar */
}

.mobile-top-bar .form-control {
    background: transparent;
    color: var(--text-main);
    font-size: 0.75rem;
    /* Slightly smaller text */
    padding: 4px 10px;
}

.mobile-top-bar .input-group .btn {
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.mobile-top-bar .form-control:focus {
    box-shadow: none;
}

.mobile-menu-toggle {
    border: none !important;
    outline: none !important;
}

/* ==============================
   MOBILE SLIDE-IN DRAWER
============================== */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--bg-body);
    z-index: 1100;
    transition: left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 10px;
}

.mobile-nav-links {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    flex: 1;
}

.mobile-nav-links li a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    background: var(--light);
    border-left-color: var(--primary);
    color: var(--primary);
}

.mobile-nav-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* ==============================
   DESKTOP NAVBAR
============================== */
.navbar {
    padding: 16px 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.3s ease;
    background-color: var(--bg-body) !important;
    background: var(--header-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Scrolled state — shrinks and gets more prominent */
.navbar.navbar-scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar .nav-link {
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 8px 16px !important;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

/* Smooth underline hover animation */
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
    left: 20%;
}

@media (hover: hover) {
    .navbar .nav-link:hover {
        transform: translateY(-1px);
    }
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--primary) !important;
}

/* Logo smooth scale on scroll */
.navbar .site-logo-img {
    transition: transform 0.3s ease, max-height 0.4s ease;
}

.navbar.navbar-scrolled .site-logo-img {
    max-height: 36px !important;
}

.site-logo-img {
    transition: transform 0.3s ease;
}

.site-logo-img:hover {
    transform: scale(1.05);
}

/* ==============================
   HERO SECTION
============================== */
.hero-section {
    height: 85vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    /* Fallback matches site theme */
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-bg-media img,
.hero-bg-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: heroMediaFadeIn 1.5s ease-out forwards;
}

@keyframes heroMediaFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.05);
        /* Slight zoom-out effect for premium feel */
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==============================
   RESPONSIVE: MOBILE (≤767px)
============================== */
@media (max-width: 767px) {

    /* Hero: full-screen on mobile */
    .hero-section {
        height: auto;
        min-height: unset;
        /* Removing fixed vh so it can shrink */
        aspect-ratio: 16 / 10;
        /* Gives a nice wide aspect ratio mimicking laptop */
        padding-top: 60px;
        /* Reduced padding to fit the shorter height */
        padding-bottom: 20px;
    }

    .hero-bg-media {
        background-position: center top !important;
        /* Mobile focal point */
    }

    .hero-bg-media img,
    .hero-bg-media video {
        object-position: center top;
    }

    /* Logo: compact in mobile top bar */
    .mobile-top-bar .site-logo-img {
        max-height: 28px !important;
        max-width: 140px !important;
        flex-shrink: 0;
    }

    .mobile-nav-header .site-logo-img {
        max-height: 32px !important;
        max-width: 160px !important;
        flex-shrink: 0;
    }

    /* Hero text: tighter scaling for small screens */
    .hero-title-main {
        font-family: 'Cinzel', serif !important;
        font-size: clamp(1.8rem, 12vw, 4.5rem) !important;
        font-weight: 700 !important;
        letter-spacing: 0.05em !important;
        line-height: 1.2 !important;
        /* Increased for accent room */
        margin-bottom: 5px !important;
        padding-top: 10px !important;
        /* Added to show the accent */
        word-break: break-word;
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, #c5a059 0%, #f1d5a2 50%, #c5a059 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent !important;
    }

    .hero-title-sub {
        font-family: 'Cinzel', serif !important;
        font-size: clamp(0.9rem, 4vw, 1.8rem) !important;
        font-weight: 500 !important;
        letter-spacing: 0.3em !important;
        margin-top: 5px !important;
        margin-bottom: 24px !important;
        color: #c5a059 !important;
        /* Solid gold for small screens to maintain readability */
    }

    /* Hero tagline: smaller and tighter */
    .hero-content .lead {
        font-size: 0.85rem !important;
        max-width: 320px !important;
        margin-left: auto;
        margin-right: auto;
        margin-top: 15px !important;
        margin-bottom: 28px !important;
        line-height: 1.5;
    }

    /* Hero label */
    .hero-content h5 {
        font-size: 0.7rem !important;
        letter-spacing: 0.25em !important;
    }

    /* Hero CTA button: mobile-sized */
    .hero-content .btn-lg {
        padding: 12px 32px !important;
        font-size: 0.8rem !important;
    }

    /* Constrain watermark sizing on mobile so it doesn't bleed out wildly */
    .hero-watermark {
        font-size: clamp(3rem, 15vw, 6rem) !important;
        width: 100%;
        text-align: center;
        overflow: hidden;
    }

    /* Prevent content from hiding behind bottom system UI on notched phones */
    .hero-content {
        padding-bottom: env(safe-area-inset-bottom, 20px);
    }
}

/* Extra small phones (≤375px) */
@media (max-width: 375px) {
    .hero-title-main {
        font-size: 2rem !important;
    }

    .hero-title-sub {
        font-size: 0.85rem !important;
        letter-spacing: 0.15em !important;
    }

    .hero-content .lead {
        font-size: 0.8rem !important;
        max-width: 260px !important;
    }

    .hero-content .btn-lg {
        padding: 10px 24px !important;
        font-size: 0.75rem !important;
    }
}

/* ==============================
   RESPONSIVE: TABLET (768px–991px)
============================== */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-section {
        height: auto;
        min-height: 50vw;
        padding: 100px 0;
    }

    .hero-title-main {
        font-family: 'Cinzel', serif !important;
        font-size: clamp(3.5rem, 10vw, 6rem) !important;
        line-height: 1.2 !important;
        /* Increased for accent */
        padding-top: 10px !important;
        background: linear-gradient(135deg, #c5a059 0%, #f1d5a2 50%, #c5a059 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent !important;
    }

    .hero-title-sub {
        font-size: clamp(1.2rem, 3.5vw, 2.5rem) !important;
        letter-spacing: 0.4em !important;
    }

    .hero-content .lead {
        font-size: 1rem !important;
        max-width: 480px !important;
    }
}

/* ==============================
   RESPONSIVE: DESKTOP LOGO
============================== */
@media (min-width: 992px) {
    .navbar .site-logo-img {
        max-height: 48px !important;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    color: #fff;
}

.hero-title-main {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.1;
    /* Increased from 0.85 */
    margin-bottom: 0;
    padding-top: 0.1em;
    /* Space for the accent É */
    letter-spacing: 0.02em;
    position: relative;
    z-index: 4;
    background: linear-gradient(135deg, #c5a059 0%, #f1d5a2 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    text-shadow: none;
}

.hero-title-sub {
    font-family: 'Cinzel', serif !important;
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    margin-top: -5px;
    margin-bottom: 40px;
    opacity: 1;
    position: relative;
    z-index: 4;
    color: #c5a059 !important;
    background: linear-gradient(135deg, #c5a059 0%, #f1d5a2 50%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Luxury Gold Shimmer Animation */
.hero-title-main,
.hero-title-sub {
    background-size: 200% auto !important;
    animation: goldShimmer 3s linear infinite;
}

@keyframes goldShimmer {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 25vw, 22rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
    opacity: 0.06;
    color: var(--text-main);
    z-index: 2;
    pointer-events: none;
    user-select: none;
    font-family: 'Times New Roman', serif;
}

[data-theme="dark"] .hero-watermark {
    opacity: 0.1;
}

/* Premium Button Overrides */
.hero-content .btn-rect {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
}

.hero-content .btn-light.btn-rect:hover {
    background: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

.tracking-wider {
    letter-spacing: var(--letter-spacing-wide);
}

/* Hero animations */
.hero-fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide-in {
    opacity: 0;
    transform: translateX(60px);
}

/* ==============================
   COLLECTIONS / MODERN CATEGORY CARDS
============================== */
.collection-modern-card {
    display: block;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collection-modern-card:hover {
    transform: scale(1.03);
}

/* Hero Button Blaze Animation */
@keyframes heroButtonBlaze {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-hero-blaze {
    animation: heroButtonBlaze 2s infinite cubic-bezier(0.66, 0, 0, 1);
    transition: all 0.3s ease-in-out !important;
}

.btn-hero-blaze:hover {
    transform: scale(1.05) !important;
    background: #000 !important;
    color: #fff !important;
    animation: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.collection-media-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1.2;
    overflow: hidden;
    background: #f5f5f5;
}

.collection-img,
.collection-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.collection-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ccc;
}

.collection-modern-card:hover .collection-img,
.collection-modern-card:hover .collection-video {
    transform: scale(1.1);
}

.collection-overlay-simple {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.4));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.collection-modern-card:hover .collection-overlay-simple {
    opacity: 1;
}

.collection-info-simple {
    padding: 15px 5px;
    color: var(--text-main);
}

.collection-name-simple {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: var(--text-main);
    transition: color 0.3s;
}

.collection-link-simple {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.collection-link-simple i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.collection-modern-card:hover .collection-link-simple i {
    transform: translateX(5px);
}

.collection-modern-card:hover .collection-name-simple {
    color: var(--primary);
}

/* Dark Mode Input Fixes */
[data-theme='dark'] .form-control,
[data-theme='dark'] .form-select {
    background-color: var(--card-bg);
    color: var(--text-main);
    border-color: var(--border-color);
}

[data-theme='dark'] .form-control:focus {
    background-color: var(--card-bg);
    color: var(--text-main);
    border-color: var(--primary);
}

/* ==============================
   PRODUCT SLIDER & GALLERY
============================== */
.main-image-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.product-main-img {
    transition: opacity 0.3s ease;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all 0.2s;
    opacity: 0;
}

.main-image-slider:hover .slider-nav-btn {
    opacity: 1;
}

.slider-nav-btn:hover {
    background: var(--dark);
    color: var(--white);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

.product-thumb {
    transition: all 0.2s;
}

.product-thumb:hover,
.product-thumb.active-thumb {
    opacity: 1 !important;
    transform: scale(1.03);
}

/* ==============================
   COLOR OPTIONS
============================== */
.color-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border: 2px solid #ddd;
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
    font-size: 0.85rem;
}

.color-option-btn:hover {
    border-color: var(--dark);
}

.color-option-btn.active {
    border-color: var(--dark);
    background: var(--dark);
    color: var(--white);
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.color-name {
    font-weight: 500;
    text-transform: capitalize;
}

/* ==============================
   TUMMY SHAPE SECTION
============================== */
.tummy-options {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.tummy-option {
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 10px;
    border-radius: 12px;
}

.tummy-option:hover {
    background: var(--light-gray);
}

.tummy-option.active {
    background: var(--primary);
    color: var(--white);
}

.tummy-img-wrap {
    width: 70px;
    height: 90px;
    margin: 0 auto 8px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tummy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tummy-placeholder {
    color: var(--secondary);
    opacity: 0.5;
}

.tummy-radio {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.tummy-radio-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: inline-block;
    transition: all 0.2s;
}

.tummy-option.active .tummy-radio-circle {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: inset 0 0 0 3px var(--white);
}

.tummy-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tummy-option.active .tummy-label {
    color: var(--primary);
}

/* ==============================
   DIMENSIONS GRID
============================== */
.dimensions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dimension-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    padding: 10px 16px;
    border-radius: 10px;
    flex: 1;
    min-width: 140px;
}

.theme-text-muted {
    color: var(--secondary) !important;
    opacity: 0.9;
}

html[data-theme='dark'] .theme-text-muted {
    color: #f8f9fa !important;
    /* Brighter near-white for dark mode readability */
    opacity: 1;
}

.bg-theme-light {
    background: var(--light-gray) !important;
}

.dim-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

.dim-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ==============================
   PRODUCT ACCORDION
============================== */
.product-info-accordion .accordion-button {
    background: transparent;
    font-size: 0.95rem;
    padding: 16px 0;
}

.product-info-accordion .accordion-button:not(.collapsed) {
    color: var(--dark);
    box-shadow: none;
}

.product-info-accordion .accordion-button:focus {
    box-shadow: none;
}

.product-info-accordion .accordion-body {
    padding: 0 0 16px 0;
}

/* ==============================
   MINIMALIST FOOTER SECTIONS (FAQ, Support, Contact) 
   Inspired by Wrongs & Rebels
============================== */
.minimal-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.minimal-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 60px;
    color: var(--text-main);
}

.minimal-card {
    border: none;
    border-radius: 0;
    background: var(--card-bg);
}

.minimal-form .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary);
    margin-bottom: 8px;
}

.minimal-form .form-control {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 !important;
    padding: 12px 0;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: border-color 0.3s ease;
}

.minimal-form .form-control:focus {
    box-shadow: none;
    border-bottom: 1px solid var(--primary);
}

.minimal-form textarea.form-control {
    border: 1px solid var(--border-color);
    padding: 12px;
    margin-top: 10px;
}

.minimal-form textarea.form-control:focus {
    border-color: var(--primary);
}

.btn-minimal {
    background: var(--text-main);
    color: var(--bg-body);
    border: none;
    border-radius: 0 !important;
    padding: 18px 30px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    width: 100%;
}

.btn-minimal:hover {
    opacity: 0.9;
    color: var(--bg-body);
}

/* FAQ Minimalist */
.minimal-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    border-radius: 0 !important;
}

.minimal-accordion .accordion-button {
    background: transparent !important;
    color: var(--text-main);
    font-weight: 500;
    padding: 24px 0;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border: none;
    box-shadow: none !important;
}

.minimal-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
}

.minimal-accordion .accordion-body {
    padding: 0 0 24px 0;
    color: var(--secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Contact Info Minimal */
.minimal-info-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    color: var(--text-main);
}

.minimal-info-item {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.minimal-info-icon {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 5px;
}

.minimal-info-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    display: block;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.minimal-info-value {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.9rem;
    text-decoration: none;
}

.minimal-info-value:hover {
    color: var(--primary);
}

.footer-link {
    transition: all 0.2s;
}

.footer-link:hover {
    color: var(--primary) !important;
    padding-left: 4px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon-link:hover {
    background: #fff;
    color: #000 !important;
    transform: translateY(-3px);
}

/* ==============================
   FOOTER INTEGRATED DRAWER
============================== */
.footer-drawer-content {
    animation: fadeInUp 0.5s ease;
}

.minimal-accordion-dark .accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.minimal-accordion-dark .accordion-button {
    color: #fff !important;
}

.minimal-accordion-dark .accordion-button:not(.collapsed) {
    color: #fff !important;
}

.minimal-accordion-dark .accordion-body {
    color: rgba(255, 255, 255, 0.6) !important;
}

.minimal-form-dark .form-control {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
}

.minimal-form-dark .form-control:focus {
    border-bottom-color: #fff !important;
}

.minimal-form-dark .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ==============================
   ASOS-STYLE PRODUCT CARDS
============================== */
.asos-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
    color: var(--text-main);
}

.asos-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 40px rgba(98, 0, 238, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
}

html[data-theme='dark'] .asos-card:hover {
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2), 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Card Button Hover Transition */
.asos-card-actions .btn {
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.asos-card-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.asos-card-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 3/4;
}

.asos-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.asos-card:hover .asos-card-img {
    transform: scale(1.05);
}

.asos-heart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.asos-heart-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.asos-heart-active i {
    color: var(--danger) !important;
}

/* Dark Mode Overrides for Favorite Button */
html[data-theme='dark'] .asos-heart-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme='dark'] .asos-heart-btn i {
    color: var(--primary);
}

html[data-theme='dark'] .asos-heart-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

html[data-theme='dark'] .asos-heart-active {
    background: rgba(255, 255, 255, 0.1) !important;
}

.asos-badge-fast {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.asos-card-body {
    padding: 12px;
}

.asos-card-name {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asos-card-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.asos-card-actions {
    display: flex;
    gap: 6px;
}

.asos-cart-btn {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--text-main);
    background: transparent;
    color: var(--text-main);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.asos-cart-btn:hover {
    background: var(--text-main);
    color: var(--bg-body);
}

.asos-size-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--secondary);
}

.asos-size-btn:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* ==============================
   SIZE RECOMMENDER (Minimalist Modal)
============================== */
.size-recommender-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 380px;
    /* Reduced from 450px */
    max-width: 95%;
    background: var(--card-bg);
    color: var(--text-main);
    z-index: 10001;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 25px;
    /* Reduced from 40px */
    pointer-events: none;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.size-recommender-popup.active {
    opacity: 1;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.size-recommender-popup .form-control {
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    padding: 10px 0;
    font-size: 0.9rem;
    background: transparent;
    color: var(--text-main);
}

.size-recommender-popup .form-control:focus {
    box-shadow: none;
    border-bottom: 1px solid var(--primary);
}

.size-recommender-popup label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
}

#sizePopupOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#sizePopupOverlay.active {
    opacity: 1;
}

/* Global Size Recommender Tummy Selection */
.tummy-selection-container {
    background: #f8f8f8;
    padding: 30px;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.tummy-illustration-hero {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 25px;
    border-radius: 4px;
}

.tummy-radio-group {
    max-width: 300px;
    margin: 0 auto;
}

.custom-radio-circle {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
    background: #fff;
}

.custom-radio-circle.active {
    border-color: #000;
}

.custom-radio-circle.active::after {
    content: '';
    position: absolute;
    inset: 5px;
    background: #000;
    border-radius: 50%;
}

.tummy-radio-opt {
    cursor: pointer;
    transition: opacity 0.2s;
}

.tummy-radio-opt:hover {
    opacity: 0.8;
}

/* Responsive adjustments for popup */
@media (max-width: 480px) {
    .size-recommender-popup {
        padding: 30px 20px;
    }

    .tummy-selection-container {
        padding: 20px 15px;
    }
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 991px) {

    /* Hero adjustments for tablet/mobile */
    .hero-section {
        height: auto;
        min-height: 50vw;
        /* Keeps it proportional on tablets */
        padding-top: 80px;
        padding-bottom: 40px;
        text-align: center;
    }

    .hero-bg-media img,
    .hero-bg-media video {
        object-position: center 15%;
    }

    .hero-title-main {
        font-size: 2.8rem;
    }

    .hero-title-sub {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .hero-section .d-flex.gap-3 {
        justify-content: center;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    /* Collections on mobile */
    .collection-circle {
        width: 80px;
        height: 80px;
    }

    /* Product page */
    .tummy-options {
        gap: 12px;
    }

    .tummy-img-wrap {
        width: 55px;
        height: 70px;
    }

    .dimensions-grid {
        flex-direction: column;
    }
}

@media (max-width: 576px) {

    /* Even smaller mobile */
    .mobile-search-wrap {
        max-width: 140px !important;
    }

    .hero-title-main {
        font-size: 2.2rem;
    }

    .collection-circle {
        width: 65px;
        height: 65px;
        border-width: 2px;
    }

    .asos-card-body {
        padding: 8px;
    }

    .asos-card-name {
        font-size: 0.75rem;
    }

    .asos-card-price {
        font-size: 0.8rem;
    }

    .asos-cart-btn {
        font-size: 0.65rem;
        padding: 6px 8px;
    }

    /* Slider nav always visible on mobile */
    .slider-nav-btn {
        opacity: 1;
        width: 32px;
        height: 32px;
    }
}

/* ==============================
   FOOTER PAGES (Terms, Privacy, Delivery)
   Professional content pages
============================== */
.max-width-800 {
    max-width: 800px;
}

.max-width-800 h1 {
    font-size: 2rem;
    letter-spacing: 0.02em;
}

.max-width-800 section h5 {
    font-size: 1.05rem;
    color: var(--text-main);
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.max-width-800 section p,
.max-width-800 section ul {
    color: var(--secondary);
    font-size: 0.92rem;
    line-height: 1.75;
}

/* ==============================
   PROFILE & ORDERS MOBILE
============================== */
@media (max-width: 767.98px) {

    /* Profile sidebar → horizontal tab bar on mobile */
    .col-lg-3>.card .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 4px !important;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .col-lg-3>.card .nav-pills::-webkit-scrollbar {
        display: none;
    }

    .col-lg-3>.card .nav-pills .nav-link {
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 8px 14px;
        border-radius: 50px;
        background: #f0f0f0;
        color: var(--dark);
    }

    .col-lg-3>.card .nav-pills .nav-link.active {
        background: var(--dark);
        color: var(--white);
    }

    .col-lg-3>.card .nav-pills .nav-link i {
        margin-right: 4px !important;
        font-size: 0.75rem;
    }

    /* Profile card compact on mobile */
    .col-lg-3>.card .card-body {
        padding: 16px !important;
    }

    .col-lg-3>.card .fa-4x {
        font-size: 2rem !important;
    }

    .col-lg-3>.card hr {
        margin: 12px 0 !important;
    }

    /* Profile stat cards */
    .stat-card .card-body {
        padding: 12px !important;
    }

    .stat-card .icon-box {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .stat-card h4 {
        font-size: 1.1rem !important;
    }

    .stat-card p {
        font-size: 0.7rem !important;
    }

    /* Account Quick Setup border fix on mobile */
    .tab-pane .card .border-end {
        border-right: none !important;
        border-bottom: 1px solid #dee2e6;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    /* Footer pages: tighter padding */
    .max-width-800 {
        padding: 0 4px;
    }

    .max-width-800 h1 {
        font-size: 1.5rem;
    }

    .max-width-800 section {
        margin-bottom: 24px !important;
    }

    .max-width-800 section p,
    .max-width-800 section ul {
        font-size: 0.85rem;
    }

    /* Orders page table polish */
    .table thead {
        font-size: 0.72rem;
    }

    .table tbody td {
        font-size: 0.8rem;
        padding: 10px 8px;
    }

    .table .btn-sm {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    /* General container padding fix */
    .container.py-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    /* Footer mobile polish */
    footer .row.g-4>div {
        text-align: center;
    }

    footer .d-flex.gap-3 {
        justify-content: center;
    }

    footer h6 {
        margin-top: 8px;
    }

    footer .list-unstyled {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 16px;
    }

    footer .col-lg-2 .list-unstyled li {
        margin-bottom: 4px !important;
    }

    /* Footer drawer mobile */
    #footer-drawer .col-lg-6.border-start {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0 !important;
        padding-top: 24px;
        margin-top: 24px;
    }

    /* Modal mobile fixes */
    .modal-dialog {
        margin: 8px;
    }

    /* Favorites page card name */
    #favorites-container .card-body h6 {
        font-size: 0.8rem;
    }

    /* Buttons mobile */
    .btn-dark.rounded-pill,
    .btn-outline-dark.rounded-pill {
        font-size: 0.82rem;
        padding: 8px 20px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .max-width-800 h1 {
        font-size: 1.3rem;
    }

    .stat-card h4 {
        font-size: 1rem !important;
    }

    footer .footer-credit {
        font-size: 0.75rem;
    }

    .social-icon-link {
        width: 36px;
        height: 36px;
    }
}

/* ==============================
   GENERAL UTILITIES
============================== */
.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    transition: all 0.2s;
}

.btn-dark:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

.rounded-4 {
    border-radius: 12px !important;
}

.tracking-wider {
    letter-spacing: var(--letter-spacing-wide);
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--white);
}

/* ==============================
   ANIMATIONS
============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* ==============================
   TUMMY SHAPE MODAL (Minimalist)
============================== */
.tummy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tummy-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.tummy-modal-box {
    background: var(--card-bg);
    color: var(--text-main);
    width: 480px;
    max-width: 95%;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.tummy-modal-overlay.active .tummy-modal-box {
    transform: translateY(0);
}

.tummy-modal-header {
    margin-bottom: 30px;
}

.tummy-modal-header h3 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0;
    color: var(--text-main);
}

.tummy-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: #aaa;
    transition: color 0.2s;
}

.tummy-modal-close:hover {
    color: #000;
}

.tummy-modal-preview {
    background: var(--light-gray);
    margin-bottom: 40px;
    padding: 20px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.tummy-modal-preview img {
    max-height: 280px;
    width: auto;
    object-fit: contain;
}

.tummy-modal-options {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 40px;
}

.tummy-modal-option {
    cursor: pointer;
    flex: 1;
}

.tummy-modal-option .circle-outer {
    width: 26px;
    height: 26px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tummy-modal-option .circle-inner {
    width: 14px;
    height: 14px;
    background: #000;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tummy-modal-option.active .circle-outer {
    border-color: #000;
}

.tummy-modal-option.active .circle-inner {
    transform: scale(1);
}

.tummy-modal-option p {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    color: #aaa;
    transition: color 0.3s;
}

.tummy-modal-option.active p {
    color: var(--text-main);
}

.tummy-continue-btn {
    width: 100%;
    padding: 20px;
    background: var(--text-main);
    color: var(--bg-body);
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.tummy-continue-btn:hover {
    background: #222;
}

.tummy-continue-btn:active {
    transform: scale(0.98);
}

/* ==============================
   THEME-AWARE UTILITY CLASSES
============================== */
.theme-text-main {
    color: var(--text-main) !important;
}

.theme-text-muted {
    color: var(--secondary) !important;
}

.bg-theme-aware {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
}

.bg-theme-light {
    background-color: var(--light-gray) !important;
}

.color-inherit {
    color: inherit !important;
}

/* ==============================
   FOOTER REFINEMENTS
   ============================== */
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

footer h6 {
    font-size: 0.85rem;
    opacity: 0.9;
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer .footer-link {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer .footer-link:hover {
    color: #ffffff !important;
    padding-left: 5px;
    transition: all 0.2s ease;
}

/* Tummy Shape Redesign */
.tummy-options-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 0 10px;
    margin-bottom: 30px;
}

.tummy-option {
    text-align: center;
    cursor: pointer;
    flex: 1;
    transition: all 0.3s ease;
}

.tummy-dot-outer {
    width: 32px;
    height: 32px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #fff;
}

.tummy-dot-inner {
    width: 14px;
    height: 14px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.tummy-option.active .tummy-dot-outer {
    border-color: #000;
}

.tummy-option.active .tummy-dot-inner {
    background: #000;
}

.tummy-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    transition: all 0.3s ease;
}

.tummy-option.active .tummy-label {
    color: #000;
}

.tummy-illustration-wrap {
    background: #fcfcfc;
    border-radius: 4px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.tummy-illustration-wrap img {
    max-height: 260px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-continue-tummy {
    background: #000;
    color: #fff;
    border: none;
    width: 100%;
    padding: 20px;
    font-weight: 800;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.btn-continue-tummy:hover {
    background: #333;
    letter-spacing: 0.3em;
}

/* Dark Mode Adaptation */
html[data-theme='dark'] .tummy-dot-outer {
    background: #1a1a1a;
    border-color: #444;
}

html[data-theme='dark'] .tummy-option.active .tummy-dot-outer {
    border-color: var(--primary);
}

html[data-theme='dark'] .tummy-option.active .tummy-dot-inner {
    background: var(--primary);
}

html[data-theme='dark'] .tummy-label {
    color: #666;
}

html[data-theme='dark'] .tummy-option.active .tummy-label {
    color: #fff;
}

html[data-theme='dark'] .tummy-illustration-wrap {
    background: #0d0d0d;
}

html[data-theme='dark'] .btn-continue-tummy {
    background: var(--primary);
    color: #fff;
}

/* ==============================
   LOGO PRELOADER
   ============================== */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    max-width: 150px;
    height: auto;
    animation: preloader-pulse 2s infinite ease-in-out;
    filter: brightness(var(--preloader-logo-brightness, 1));
}

html[data-theme='dark'] .preloader-logo {
    --preloader-logo-brightness: 1.2;
}

.preloader-text {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: preloader-pulse 2s infinite ease-in-out;
}

@keyframes preloader-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* refined Tummy Shape Selection Styles */
.tummy-selection-container {
    background: #fff;
    padding: 30px;
    border: 1px solid #000;
    position: relative;
    z-index: 10;
}

.tummy-illustration-hero {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
}

.tummy-radio-group {
    max-width: 300px;
    margin: 0 auto;
}

.tummy-radio-opt {
    cursor: pointer;
}

.custom-radio-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ccc;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.custom-radio-circle.active {
    border-color: #000;
}

.custom-radio-circle.active::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
}

[data-theme="dark"] .tummy-selection-container {
    background: #111;
    border-color: #444;
}

[data-theme="dark"] .tummy-illustration-hero {
    background: #1a1a1a;
}

[data-theme="dark"] .custom-radio-circle {
    border-color: #444;
}

[data-theme="dark"] .custom-radio-circle.active {
    border-color: var(--primary);
}

[data-theme="dark"] .custom-radio-circle.active::after {
    background: var(--primary);
}

[data-theme="dark"] .tummy-selection-container h6 {
    color: #fff;
}

[data-theme="dark"] .slider-nav-btn {
    background: var(--primary);
    color: #fff;
}

[data-theme="dark"] .slider-nav-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.1);
}

/* ========================================= */
/* GLOBAL FOOTER INFO DRAWER (OFF-CANVAS)    */
/* ========================================= */
.footer-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer-info-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100vw;
    height: 100vh;
    background-color: #111;
    color: #fff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
}

.footer-info-drawer.active {
    transform: translateX(0);
}

.footer-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-drawer-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.footer-drawer-body {
    padding: 24px;
    overflow-y: auto;
    flex-grow: 1;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Light mode support for footer drawer if theme toggles it */
[data-theme="light"] .footer-info-drawer {
    background-color: #fff;
    color: #111;
}

[data-theme="light"] .footer-drawer-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-drawer-header .btn-close {
    filter: none;
    opacity: 0.5;
}

[data-theme="light"] .footer-drawer-body {
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .drawer-input {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #111 !important;
}

[data-theme="light"] .drawer-input::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

[data-theme="light"] .drawer-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: #111;
}

[data-theme="light"] .drawer-btn:hover {
    background-color: #111;
    color: #fff;
}

/* Footer Link Premium Hover Effects */
.footer-accordion-item {
    padding: 8px 12px;
    margin: 0 -12px;
    border-radius: 6px;
    transition: background-color 0.3s ease-in-out;
}

.footer-accordion-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* Responsive Adjustments for Mobile */
@media (max-width: 576px) {
    .size-recommender-popup {
        width: 95% !important;
        padding: 20px !important;
        max-height: 90vh;
        overflow-y: auto;
    }

    .tummy-selection-container {
        padding: 15px !important;
    }

    .tummy-illustration-hero {
        min-height: 150px !important;
    }

    .tummy-illustration-hero img {
        max-height: 180px !important;
    }

    .tummy-radio-group {
        margin-bottom: 25px !important;
    }
}

/* Extra small screens / short screens */
@media (max-height: 600px) {
    .size-recommender-popup {
        top: 0;
        transform: translate(-50%, 0);
        margin-top: 20px;
    }
}

/* Tummy Shape Selection Styles */
.tummy-shape-selector {
    margin-bottom: 25px;
}

.tummy-shape-opt {
    cursor: pointer;
    border: 1px solid #eee;
    padding: 12px 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-radius: 4px;
}

.tummy-shape-opt:hover {
    border-color: var(--primary-color, #7000ff);
    background: #fcfaff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 0, 255, 0.08);
}

.tummy-shape-opt.active {
    border-color: var(--primary-color, #7000ff);
    border-width: 2px;
    background: #fcfaff;
    box-shadow: 0 4px 15px rgba(112, 0, 255, 0.12);
}

.tummy-shape-img-wrap {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tummy-shape-img-wrap img {
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.tummy-shape-opt:hover .tummy-shape-img-wrap img {
    transform: scale(1.1);
}

.tummy-placeholder-icon {
    font-size: 2rem;
    color: #ddd;
    opacity: 0.5;
}

[data-theme="dark"] .tummy-shape-opt {
    background: #1a1a1a;
    border-color: #333;
}

[data-theme="dark"] .tummy-shape-opt:hover,
[data-theme="dark"] .tummy-shape-opt.active {
    background: #251b35;
    border-color: var(--primary-color, #9d5cff);
}

[data-theme="dark"] .tummy-placeholder-icon {
    color: #444;
}

/* ==============================
   SCROLL-REVEAL ANIMATIONS
============================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.slide-left {
    transform: translateX(-40px);
}

.scroll-reveal.slide-right {
    transform: translateX(40px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Staggered card reveal */
.scroll-reveal-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Collection card entrance animation */
.collection-modern-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collection-modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

html[data-theme='dark'] .collection-modern-card:hover {
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.15);
}

/* ==============================
   TEXT ANIMATION UTILITIES
   (Use these CSS classes in admin panel HTML content)
============================== */

/* Animated Color Gradient Text — use: class="anim-gradient-text" */
.anim-gradient-text {
    background: linear-gradient(90deg, #6200ee, #03dac6, #6200ee);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Highlight Glow Pulse — use: class="anim-highlight-glow" */
.anim-highlight-glow {
    background: rgba(255, 235, 59, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    animation: highlightPulse 2.5s ease-in-out infinite;
}

@keyframes highlightPulse {

    0%,
    100% {
        background: rgba(255, 235, 59, 0.25);
        box-shadow: none;
    }

    50% {
        background: rgba(255, 235, 59, 0.5);
        box-shadow: 0 0 12px rgba(255, 235, 59, 0.3);
    }
}

html[data-theme='dark'] .anim-highlight-glow {
    background: rgba(139, 92, 246, 0.2);
    animation: highlightPulseDark 2.5s ease-in-out infinite;
}

@keyframes highlightPulseDark {

    0%,
    100% {
        background: rgba(139, 92, 246, 0.15);
        box-shadow: none;
    }

    50% {
        background: rgba(139, 92, 246, 0.35);
        box-shadow: 0 0 16px rgba(139, 92, 246, 0.25);
    }
}

/* Fade-in Up Text — use: class="anim-fade-up" */
.anim-fade-up {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide-in from Left — use: class="anim-slide-left" */
.anim-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from Right — use: class="anim-slide-right" */
.anim-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Subtle Bounce In — use: class="anim-bounce" */
.anim-bounce {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anim-bounce.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Underline Grow on Hover — use: class="anim-underline" */
.anim-underline {
    position: relative;
    display: inline-block;
}

.anim-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.anim-underline:hover::after {
    width: 100%;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-reveal,
    .scroll-reveal-card,
    .anim-fade-up,
    .anim-slide-left,
    .anim-slide-right,
    .anim-bounce {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .anim-gradient-text {
        animation: none;
    }

    .anim-highlight-glow {
        animation: none;
    }
}

/* ==============================
   PRODUCT CARD — 1:1 SQUARE IMAGE STANDARD
   Grid: 800×800px | Zoom: 1200×1200px
   Auto-scaled via object-fit: cover
============================== */

/* Image wrapper: lock to 1:1 aspect ratio */
.asos-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 1:1 square — works on all modern browsers */
    overflow: hidden;
    background-color: #f5f5f5;
    /* Fallback placeholder colour */
}

/* The image itself: fill the square, crop cleanly from center */
.asos-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill, never stretch */
    object-position: center top;
    /* Show face/product top — adjust if needed */
    display: block;
    max-width: 100%;
    transition: transform 0.4s ease, opacity 0.3s ease;
    backface-visibility: hidden;
    /* Prevent flicker on hover swap */
}

/* Subtle zoom-in effect on hover for aha-moment UX */
.asos-card:hover .asos-card-img {
    transform: scale(1.04);
}

/* Dark mode: slightly adjust placeholder background */
html[data-theme='dark'] .asos-card-img-wrap {
    background-color: #1c1c1c;
}

/* Responsive: no changes needed — aspect-ratio + object-fit handles all screen sizes */