@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Color Palette - extracted from logo (vibrant purple) */
    --bg-dark: #f6f5f8;
    /* Neutral light gray-purple background */
    --bg-card: #ffffff;
    /* Card backgrounds remain white */
    --text-primary: #250036;
    /* Deep purple for primary text */
    --text-muted: #72627a;
    /* Muted purple-gray for secondary text */

    --primary: #75009E;
    /* Vibrant logo purple */
    --primary-glow: rgba(117, 0, 158, 0.12);
    --primary-hover: #5e0080;
    --primary-dark: #460060;
    --primary-soft: #f7e8ff;
    /* Very light lavender */

    --accent: #9a00cf;
    /* Accent bright purple */
    --accent-glow: rgba(154, 0, 207, 0.12);
    --accent-hover: #8300b0;
    --star-gold: #ffb800;

    --border: rgba(46, 0, 77, 0.08);
    --border-hover: rgba(111, 0, 255, 0.18);

    /* Layout Tokens */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 30px;

    --shadow-sm: 0 4px 12px rgba(74, 14, 46, 0.03);
    --shadow-md: 0 10px 30px rgba(194, 24, 91, 0.05);
    --shadow-lg: 0 15px 40px rgba(74, 14, 46, 0.07);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* =========================
   TOP MARQUEE
========================= */
.top-marquee {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    z-index: 101;
}

.top-marquee__inner {
    overflow: hidden;
    white-space: nowrap;
}

.top-marquee__track {
    display: inline-flex;
    gap: 4rem;
    padding-left: 100%;
    animation: marquee-scroll 25s linear infinite;
}

.top-marquee__track span {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* =========================
   HEADER NAVBAR & NAVIGATION
========================= */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Location Selector */
.location-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #fdfafb;
    transition: var(--transition);
}

.location-selector:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Search Box & Autocomplete */
.search-box {
    flex: 1;
    max-width: 450px;
    position: relative;
}

.search-box input {
    width: 100%;
    background: #f1f5f9;
    border: 1px solid transparent;
    padding: 0.65rem 2.5rem;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    background: #ffffff;
}

.search-box i,
.search-box svg {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.search-box i#voice-search-btn {
    left: auto;
    right: 1rem;
    pointer-events: auto;
    cursor: pointer;
    transition: var(--transition);
}

.search-box i#voice-search-btn:hover {
    color: var(--primary);
}

.search-suggestions {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1010;
}

.search-suggestions.active {
    display: flex;
}

.suggest-item {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.suggest-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.suggest-header {
    background: #fdfafb;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
}

/* =========================
   MEGA NAVIGATION MENU
========================= */
.mega-nav {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.mega-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    position: relative;
}

.mega-item {
    padding: 0.85rem 0;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.mega-item:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr) 280px;
    gap: 2rem;
    padding: 2.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 999;
}

.mega-item:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-col h3 {
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.35rem;
    letter-spacing: 0.5px;
}

.mega-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mega-col ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.mega-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.mega-banner {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.mega-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 14, 46, 0.7) 0%, transparent 80%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: #ffffff;
}

.mega-banner-overlay h4 {
    font-size: 1rem;
}

.mega-banner-overlay span {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 700;
}

/* Nav Icons Group */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-btn:hover {
    color: var(--primary);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.icon-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(255, 64, 129, 0.4);
    border: 1.5px solid #fff;
}

/* =========================
   NOTIFICATIONS / OVERLAYS
========================= */
.overlay-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateX(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.overlay-panel.active {
    transform: translateX(0);
}

.overlay-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.overlay-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.noti-item {
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.noti-item h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.noti-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.noti-item span {
    font-size: 0.7rem;
    color: var(--text-muted);
    float: right;
    margin-top: 0.25rem;
}

/* Voice Search Modal overlay */
.voice-modal {
    position: fixed;
    inset: 0;
    background: rgba(74, 14, 46, 0.4);
    backdrop-filter: blur(8px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
}

.voice-modal.active {
    display: flex;
}

.voice-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    width: 320px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mic-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    position: relative;
    cursor: pointer;
}

.mic-circle.recording::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: mic-ripple 1.5s infinite ease-out;
}

@keyframes mic-ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* =========================
   HOMEPAGE LAYOUT COMPONENTS
========================= */

/* Hero Banner Slider */
.hero {
    position: relative;
    width: 100%;
    /* Premium Responsive Design */
    height: auto;
    aspect-ratio: 21 / 7;
    /* Ultra-wide for desktop */
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
    .hero {
        aspect-ratio: 16 / 10;
        /* Better proportion for mobile screens */
        margin-bottom: 1rem;
    }
}

.hero-slider {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ensure image fills the hero, cropping as needed */
    object-position: center;
    display: block;
}

.hero-slide.skeleton {
    min-height: 480px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--text-primary);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.hero-arrow.prev {
    left: 1.5rem;
}

.hero-arrow.next {
    right: 1.5rem;
}

.hero-indicators {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.85);
}

.hero-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #ffffff;
}

/* Hero Slider Responsive Overrides */
@media (max-width: 992px) {
    .hero {
        height: 360px;
    }

    .hero-slide.skeleton {
        min-height: 340px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 280px;
    }

    .hero-slide.skeleton {
        min-height: 240px;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.25rem;
    }

    .hero-arrow.prev {
        left: 0.75rem;
    }

    .hero-arrow.next {
        right: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 180px;
    }

    .hero-slide.skeleton {
        min-height: 160px;
    }

    .hero-arrow {
        display: none;
    }

    .hero-indicators {
        bottom: 0.75rem;
    }
}

/* Flash Sale Section */
.flash-sale {
    max-width: 1300px;
    margin: 2rem auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
}

.flash-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-title h2 {
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.countdown-timer {
    display: flex;
    gap: 0.5rem;
}

.timer-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
    font-size: 1.1rem;
}

/* Category Circular Chips */
.categories-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1024px) {
    .categories-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-card {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    margin: 0 auto;
    display: block;
}

.category-card img.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(37, 0, 54, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
    transition: var(--transition);
    z-index: 2;
}

.category-overlay span {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    padding: 0.6rem 1.2rem;
    background: rgba(37, 0, 54, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-xs);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(74, 14, 46, 0.12);
    border-color: var(--primary-glow);
}

.category-card:hover img.category-img {
    transform: scale(1.08);
}

.category-card:hover .category-overlay {
    background: rgba(74, 14, 46, 0.25);
}

.category-card:hover .category-overlay span {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.4);
}

/* Product grid title */
.section-title {
    max-width: 1300px;
    margin: 3.5rem auto 1.5rem;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Brands Strip */
.brands-strip {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    margin: 4rem 0;
}

.brands-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.brand-logo-card {
    height: 45px;
    max-width: 130px;
    opacity: 0.45;
    transition: var(--transition);
    object-fit: contain;
}

.brand-logo-card:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* =========================
   IMPROVED PRODUCT CARDS (Myntra/Ajio Quality) & QUICK VIEW
========================= */
.products-grid {
    display: grid;
    /* Desktop: 5 columns, Tablet: 3 columns, Mobile: 2 columns */
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(74, 14, 46, 0.08);
    border-color: var(--primary-glow);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    /* responsive images should fill the container */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .image-wrapper img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    z-index: 10;
    box-shadow: 0 2px 8px var(--accent-glow);
}

.wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.wishlist-btn:hover {
    color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.15);
}

.wishlist-btn.active {
    color: var(--primary);
}

.wishlist-btn i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.wishlist-btn:active i {
    transform: scale(0.8);
}

/* Myntra style Ratings Badge inside Image wrapper */
.card-rating-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    border: 1px solid rgba(74, 14, 46, 0.05);
}

.card-rating-badge i {
    color: var(--star-gold);
    font-size: 0.75rem;
}

.card-rating-badge .rating-divider {
    color: rgba(74, 14, 46, 0.2);
    font-weight: 400;
    margin: 0 0.1rem;
}

.card-rating-badge .rating-count {
    color: var(--text-muted);
    font-weight: 500;
}

/* Centered Glassmorphism Hover Quick View Button */
.quick-view-overlay-btn {
    display: none !important;
}

/* Quick View Button on Top Right (Below Wishlist Icon) */
.quick-view-btn {
    position: absolute;
    top: 3.35rem;
    /* below wishlist button which is at 0.75rem */
    right: 0.75rem;
    background: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 12;
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    visibility: visible;
}

.quick-view-btn:hover {
    color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(194, 24, 91, 0.15);
}

.quick-view-btn i {
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.quick-view-btn:active i {
    transform: scale(0.8);
}

/* Recently Viewed Slider Track and Layout */
.recently-viewed-section {
    background: transparent;
    border: none;
    border-radius: 0;
}

.recently-viewed-section .slider-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.viewed-slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.viewed-slider-track .product-card {
    flex: 0 0 calc((100% - (4 * 2rem)) / 5) !important;
    min-width: calc((100% - (4 * 2rem)) / 5) !important;
    width: calc((100% - (4 * 2rem)) / 5) !important;
}

@media (max-width: 1200px) {
    .viewed-slider-track .product-card {
        flex: 0 0 calc((100% - (2 * 1.5rem)) / 3) !important;
        min-width: calc((100% - (2 * 1.5rem)) / 3) !important;
        width: calc((100% - (2 * 1.5rem)) / 3) !important;
    }

    .viewed-slider-track {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .viewed-slider-track .product-card {
        flex: 0 0 calc((100% - (1 * 1rem)) / 2) !important;
        min-width: calc((100% - (1 * 1rem)) / 2) !important;
        width: calc((100% - (1 * 1rem)) / 2) !important;
    }

    .viewed-slider-track {
        gap: 1rem;
    }
}

/* Full-card clickable overlay link (keeps quick-view and buttons clickable by using z-index) */
.product-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none;
    background: transparent;
}

/* Ensure action buttons sit above the overlay */
.wishlist-btn,
.quick-view-overlay-btn,
.card-add-btn {
    z-index: 12;
}

/* Responsive column overrides */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
}

.product-card:hover .quick-view-overlay-btn {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-overlay-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.4rem;
}

.brand-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.product-title {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.2rem;
    transition: var(--transition);
    height: auto;
}

.product-title:hover {
    color: var(--primary);
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.mrp {
    font-size: 0.8rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.card-discount {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}

/* Floating Action Add to Cart on top right hover */
.card-add-btn {
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid var(--primary-glow);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.card-add-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px var(--primary-glow);
}

/* Skeletons and animations */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite ease-in-out;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 12px;
    border-radius: 4px;
    background: #e2e8f0;
}

/* =========================
   QUICK VIEW MODAL OVERHAUL
========================= */
.quick-view-modal {
    position: fixed;
    inset: 0;
    background: rgba(74, 14, 46, 0.45);
    backdrop-filter: blur(10px);
    z-index: 15000;
    display: none;
    align-items: center;
    justify-content: center;
}

.quick-view-modal.active {
    display: flex;
}

.quick-view-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 850px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    animation: modal-pop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modal-pop {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.quick-view-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.quick-view-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.qv-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.qv-main-img-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-main-img-box img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    padding: 0.5rem;
}

.qv-thumbs-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.qv-thumb {
    width: 55px;
    height: 55px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    padding: 0.2rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.qv-thumb.active {
    border-color: var(--primary);
}

.qv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qv-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qv-var-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.qv-var-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.qv-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qv-size-chip {
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.qv-size-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.qv-size-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.qv-size-chip.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
    background: #f1f5f9;
}

.qv-color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    outline: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.qv-color-btn.active {
    outline: 2px solid var(--primary);
}

.qv-qty-picker {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: fit-content;
    background: #f8fafc;
    overflow: hidden;
}

.qv-qty-picker button {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.qv-qty-picker button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.qv-qty-picker span {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.buy-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.buy-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--primary-glow);
}

@media (max-width: 768px) {
    .quick-view-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        width: 95%;
        max-height: 95vh;
    }
}

/* =========================
   CATEGORY PAGE LAYOUT
========================= */
.shop-container {
    max-width: 1300px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
}

.sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    height: fit-content;
}

.filter-section {
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
}

.filter-section h3 {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.filter-item input[type="checkbox"],
.filter-item input[type="radio"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.filter-chip {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

/* Grid & List switches */
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    background: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.view-switches {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.4rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.view-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* List View Override */
.products-grid.list-view {
    grid-template-columns: 1fr;
}

.products-grid.list-view .product-card {
    flex-direction: row;
    height: 200px;
}

.products-grid.list-view .product-card .image-wrapper {
    width: 200px;
    height: 100%;
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 1px solid var(--border);
}

/* Pagination container */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #ffffff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* =========================
   PRODUCT DETAILS OVERHAUL
========================= */
.product-detail-container {
    max-width: 1300px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.gallery-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-img-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
    cursor: zoom-in;
}

.main-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
}

/* Zoom Lens framework */
.zoom-lens {
    position: absolute;
    border: 1px solid var(--border);
    width: 120px;
    height: 120px;
    background: rgba(194, 24, 91, 0.08);
    cursor: crosshair;
    display: none;
}

.thumb-gallery {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.thumb-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    overflow: hidden;
    cursor: pointer;
    background: #ffffff;
    transition: var(--transition);
    padding: 0.25rem;
}

.thumb-img.active {
    border-color: var(--primary);
}

.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.details-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Delivery Checker */
.delivery-checker {
    background: #fdfafb;
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pincode-input-box {
    display: flex;
    gap: 0.5rem;
}

.pincode-input-box input {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    flex: 1;
}

.pincode-input-box input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Variations Selector list */
.var-swatches {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-swatch-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.color-swatch-btn.active {
    box-shadow: 0 0 0 2px var(--primary);
}

/* Tabs Panel components */
.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin: 3rem auto 0;
    max-width: 1300px;
    padding: 0 2rem;
}

.tab-link {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-container {
    max-width: 1300px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border: 1px solid var(--border);
    border-top: none;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .tabs-header {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
        margin-top: 1.25rem;
        padding: 0 1rem;
        overflow: hidden;
    }

    .tab-link {
        min-width: 0;
        padding: 0.85rem 0.35rem;
        font-size: 0.9rem;
        line-height: 1.2;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .tab-container {
        max-width: 100%;
        margin-bottom: 5rem;
        padding: 1.25rem 1rem;
        border-left: none;
        border-right: none;
        border-radius: 0;
        overflow-x: hidden;
    }

    .tab-panel,
    .tab-panel * {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .tabs-header {
        padding: 0 0.75rem;
    }

    .tab-link {
        font-size: 0.82rem;
        padding: 0.8rem 0.25rem;
    }

    .tab-container {
        padding: 1rem 0.75rem;
    }
}

/* FAQ Accordion list */
.accordion-item {
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.accordion-title {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-body {
    padding-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: none;
}

/* Reviews Progress bars */
.ratings-breakdown {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.avg-rating-card {
    text-align: center;
}

.avg-rating-card h1 {
    font-size: 3.5rem;
    color: var(--text-primary);
}

.stars-graph {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.graph-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
}

.progress-bar-bg {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--star-gold);
    width: 0;
    transition: width 1s ease;
}

/* Rating-based star colors */
.star-5 {
    color: #22c55e !important;
}

/* Green for 5-star */
.star-4 {
    color: #84cc16 !important;
}

/* Lime for 4-star */
.star-3 {
    color: #eab308 !important;
}

/* Yellow for 3-star */
.star-2 {
    color: #f97316 !important;
}

/* Orange for 2-star */
.star-1 {
    color: #ef4444 !important;
}

/* Red for 1-star */

/* Progress bar colors by rating */
.progress-bar-5 {
    background: #22c55e !important;
}

/* Green */
.progress-bar-4 {
    background: #84cc16 !important;
}

/* Lime */
.progress-bar-3 {
    background: #eab308 !important;
}

/* Yellow */
.progress-bar-2 {
    background: #f97316 !important;
}

/* Orange */
.progress-bar-1 {
    background: #ef4444 !important;
}

/* Red */
/* Gallery Slider Overlay Arrows */
.gallery-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}

.main-img-box:hover .gallery-slider-arrow {
    opacity: 1;
    pointer-events: auto;
}

.gallery-slider-arrow:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.gallery-slider-arrow.prev {
    left: 1.25rem;
}

.gallery-slider-arrow.next {
    right: 1.25rem;
}

/* Media Player fit */
.main-media-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0d1117;
}

/* Premium Inner Zoomer */
.main-img-box img {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
    /* Make sure mouse events go to container */
}

/* Dynamic active state checkmarks on color swatches */
.color-swatch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    outline: none;
}

.color-swatch-btn.active::after {
    content: "\eb7b";
    /* RemixIcon ri-check-line character */
    font-family: 'remixicon' !important;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Designed Size Buttons */
.var-btn {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    min-width: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.var-btn:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

.var-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.var-btn.disabled {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.55;
    pointer-events: none;
}

/* Selected labels */
.selected-var-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-left: 0.75rem;
    text-transform: capitalize;
}

/* Premium Star colors based on rating */
.star-rating-emerald {
    color: #10b981;
}

.star-rating-lime {
    color: #84cc16;
}

.star-rating-amber {
    color: #f59e0b;
}

.star-rating-orange {
    color: #f97316;
}

.star-rating-red {
    color: #ef4444;
}

/* Premium Reviews Cards & Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3.5rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.015);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.045);
    border-color: var(--primary-soft);
}

.review-card .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-card .reviewer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-card .reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border: 1px solid rgba(194, 24, 91, 0.15);
}

.review-card .reviewer-meta h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-card .reviewer-meta .verified-badge {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
    font-weight: 600;
}

.review-card .review-stars {
    font-size: 1rem;
    display: flex;
    gap: 0.15rem;
}

.review-card .review-comment {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0.5rem 0 1rem;
}

.review-card .review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Review Images and Lightbox */
.review-images-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.review-img-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    background: #f8fafc;
    transition: var(--transition);
    padding: 2px;
}

.review-img-thumb:hover {
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: var(--shadow-sm);
}

.review-img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Global Lightbox Modal styles */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.96);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(12px);
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 60%;
}

.lightbox-slide {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-arrow.prev {
    left: -75px;
}

.lightbox-arrow.next {
    right: -75px;
}

@media (max-width: 992px) {
    .lightbox-arrow.prev {
        left: 1rem;
    }

    .lightbox-arrow.next {
        right: 1rem;
    }

    .lightbox-arrow {
        background: rgba(15, 23, 42, 0.7);
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }
}

.lightbox-thumbs-container {
    width: 90%;
    max-width: 600px;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-top: 2.5rem;
    padding: 0.5rem;
    justify-content: center;
}

.lightbox-thumb {
    width: 64px;
    height: 64px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
    flex-shrink: 0;
    background: #1e293b;
    padding: 2px;
}

.lightbox-thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rich Editor Text Tab Rendering */
.tab-panel table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.tab-panel table td,
.tab-panel table th {
    border: 1px solid var(--border) !important;
    padding: 0.85rem 1.1rem !important;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #ffffff;
}

.tab-panel table tr:nth-child(even) td {
    background: #f8fafc;
}

.tab-panel table td strong {
    color: var(--text-primary);
    font-weight: 700;
}

.tab-panel p {
    margin-bottom: 1.25rem;
    line-height: 1.85;
    font-size: 1rem;
    color: var(--text-muted);
}

.tab-panel h1,
.tab-panel h2,
.tab-panel h3,
.tab-panel h4 {
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

/* Frequently Bought Together Bundle */
/* Frequently Bought Together Bundle */
.bundle-builder {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
}

.bundle-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.bundle-card {
    width: 120px;
    text-align: center;
    font-size: 0.8rem;
}

.bundle-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin: 0 auto 0.5rem;
    background: #fdfafb;
    padding: 0.25rem;
}

.plus-sign {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* =========================
   MULTI-STEP CHECKOUT WIZARD
========================= */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 2rem auto;
    position: relative;
    padding: 0 1rem;
}

.checkout-steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: var(--border);
    z-index: 1;
}

.step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.step-node.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 10px var(--primary-glow);
}

.step-node.completed .step-circle {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.step-node.active .step-label {
    color: var(--primary);
}

.checkout-panel {
    display: none;
}

.checkout-panel.active {
    display: block;
}

/* Payment Option Selector Cards */
.payment-selector-grid {
    display: grid;
    grid-template-columns: 180px 1fr;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
}

.payment-tabs {
    background: #fdfafb;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.pay-tab {
    background: none;
    border: none;
    padding: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    border-left: 3px solid transparent;
    color: var(--text-primary);
    transition: var(--transition);
}

.pay-tab.active {
    background: #ffffff;
    border-left-color: var(--primary);
    color: var(--primary);
}

.payment-tab-content {
    padding: 2rem;
    display: none;
}

.payment-tab-content.active {
    display: block;
}

/* =========================
   USER ACCOUNT DASHBOARD
========================= */
.dashboard-container {
    max-width: 1300px;
    margin: 2rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.db-sidebar {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 0;
    height: fit-content;
}

.db-menu-list {
    list-style: none;
}

.db-menu-item {
    padding: 0.85rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.db-menu-item:hover,
.db-menu-item.active {
    color: var(--primary);
    background: var(--primary-soft);
    border-left-color: var(--primary);
}

.db-panel {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.db-panel.active {
    display: block;
}

/* Order shipment tracking timeline node styles */
.tracking-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 2rem;
    margin-top: 1.5rem;
    border-left: 2px solid var(--border);
}

.tracking-node {
    position: relative;
}

.tracking-node::before {
    content: "";
    position: absolute;
    left: -2.35rem;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px var(--border);
    z-index: 2;
}

.tracking-node.completed::before {
    background: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.tracking-node h5 {
    font-size: 0.9rem;
    font-weight: 600;
}

.tracking-node p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Wallet Card components */
.wallet-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: #ffffff;
    max-width: 380px;
    box-shadow: var(--shadow-md);
}

.wallet-card h3 {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
}

.wallet-card h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .mega-nav {
        display: none;
    }

    .product-detail-container,
    .shop-container,
    .dashboard-container,
    .payment-selector-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .db-sidebar {
        display: flex;
        overflow-x: auto;
        padding: 0.5rem;
    }

    .db-menu-list {
        display: flex;
        gap: 0.5rem;
    }

    .db-menu-item {
        padding: 0.5rem 1rem;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .db-menu-item.active {
        border-bottom-color: var(--primary);
    }
}

/* ==========================================================================
   NEW REDESIGNED SITE HEADER (3-TIER DESKTOP HEADER & SEARCH OVERLAY)
   ========================================================================= */

/* Promo Banner Tier 1 */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.header-tier-1 {
    background: #7d0a33;
    /* Dark red/burgundy */
    color: #ffffff;
    padding: 10px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 1001;
    transition: var(--transition);
}

.header-tier-1 .promo-text {
    text-align: center;
}

.header-tier-1 .promo-close {
    position: absolute;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-tier-1 .promo-close:hover {
    opacity: 1;
}

/* Top Bar Tier 2 */
.header-tier-2 {
    background: #f5f5f5;
    /* Light grey */
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 40px;
    font-size: 11px;
    font-weight: 600;
    color: #444444;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.header-tier-2-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-tier-2 .welcome-msg {
    color: #333333;
}

.header-tier-2 .shipping-info {
    font-weight: 700;
    color: #111111;
}

.header-tier-2 .auth-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-tier-2 .auth-link-item {
    color: #444444;
    transition: var(--transition);
}

.header-tier-2 .auth-link-item:hover {
    color: var(--primary);
}

.header-tier-2 .auth-divider {
    color: #cccccc;
}

/* Main Nav Tier 3 */
.header-tier-3 {
    background: #ffffff;
    padding: 15px 40px;
}

.header-tier-3-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-tier-3 .logo img {
    height: 48px;
    object-fit: contain;
}

.header-tier-3 .desktop-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-tier-3 .menu-link-item {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: #111111;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.header-tier-3 .menu-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.header-tier-3 .menu-link-item:hover::after,
.header-tier-3 .menu-link-item.active::after {
    width: 100%;
}

.header-tier-3 .menu-link-item:hover,
.header-tier-3 .menu-link-item.active {
    color: var(--primary);
}

.header-tier-3 .header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Global Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    transition: var(--transition);
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    background: #ffffff;
    width: 600px;
    max-width: 90%;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.search-bar-container {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.search-bar-container .search-icon {
    font-size: 20px;
    color: #666;
    margin-right: 15px;
}

.search-bar-container input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: #111;
    font-family: var(--font-body);
}

.search-bar-container .close-search-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.search-bar-container .close-search-btn:hover {
    color: #333;
}

.global-search-suggestions {
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   MOBILE APP NAVIGATION & SIDE DRAWERS (RESPONSIVE)
   ========================================================================== */

/* Mobile Top Header */
.mobile-top-header {
    display: none;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-direction: column;
    gap: 8px;
}

.mobile-top-header .mobile-logo {
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.mobile-top-header .mobile-logo img {
    height: 38px;
    object-fit: contain;
}

.mobile-logo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-location-row {
    background: #f3f4f6;
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #4b5563;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 100%;
    border: 1px solid #e5e7eb;
}

.mobile-location-row:hover {
    background: #e5e7eb;
}

.mobile-location-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.mobile-location-row .location-pin-icon {
    color: var(--primary, #800020);
    font-size: 0.95rem;
}

.mobile-location-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    gap: 4px;
}

.mobile-location-text .location-label {
    font-weight: 500;
    color: #6b7280;
}

.mobile-location-text .location-value {
    font-weight: 600;
    color: #1f2937;
}

.mobile-location-row .dropdown-arrow {
    font-size: 0.85rem;
    color: #9ca3af;
}

.mobile-search-row {
    width: 100%;
}

.mobile-search-assembly {
    position: relative;
    width: 100%;
}

.mobile-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.mobile-search-input-wrapper input {
    width: 100%;
    padding: 8px 36px 8px 36px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    background: #f9fafb;
    transition: all 0.2s ease;
}

.mobile-search-input-wrapper input:focus {
    border-color: var(--primary, #800020);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.15);
}

.mobile-search-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    font-size: 0.95rem;
    pointer-events: none;
}

.mobile-voice-search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #4b5563;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.mobile-voice-search-btn:hover {
    background: #f3f4f6;
    color: var(--primary, #800020);
}

/* Mobile search suggestions override */
.mobile-search-input-wrapper .search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1010;
    max-height: 250px;
    overflow-y: auto;
}

.mobile-search-input-wrapper .search-suggestions.active {
    display: flex;
}

/* Mobile Fixed Bottom Nav */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
    z-index: 1500;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666666;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-body);
    transition: var(--transition);
    text-decoration: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.mobile-nav-item i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--primary);
}

.mobile-nav-item .badge {
    position: absolute;
    top: 6px;
    right: 22%;
    background: var(--accent);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
}

/* Side Drawers Common */
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9000;
    display: none;
    transition: var(--transition);
}

.mobile-drawer-backdrop.active {
    display: block;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 80%;
    background: #ffffff;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
    z-index: 9500;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-drawer.drawer-left {
    left: 0;
    transform: translateX(-100%);
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

.mobile-drawer.drawer-right {
    right: 0;
    transform: translateX(100%);
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
}

.drawer-header h3 {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
    margin: 0;
}

.drawer-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Menu Items inside drawers */
.drawer-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.drawer-menu-item {
    display: block;
}

.drawer-menu-item a,
.drawer-menu-item button {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.drawer-menu-item a:hover,
.drawer-menu-item button:hover {
    background: #fdf2f8;
    color: var(--primary);
}

.drawer-menu-item i {
    font-size: 18px;
    color: #666;
}

.drawer-menu-item:hover i {
    color: var(--primary);
}

/* User Account Drawer specific styling */
.drawer-user-info {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.drawer-user-info i {
    font-size: 40px;
    margin-bottom: 8px;
    display: inline-block;
}

.drawer-user-info h4 {
    font-size: 15px;
    margin: 0;
    font-weight: 700;
}

.drawer-user-info p {
    font-size: 11px;
    opacity: 0.8;
    margin: 3px 0 0;
}

.drawer-auth-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-auth-buttons a {
    padding: 10px 5px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    text-decoration: none;
}

.drawer-auth-buttons .btn-login {
    background: var(--primary);
    color: #ffffff;
}

.drawer-auth-buttons .btn-register {
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   PREMIUM GEOMETRIC SHOE HERO SLIDE
   ========================================================================== */
.hero {
    min-height: 480px;
    /* Flexible minimum height for large screens */
    height: auto;
    overflow: hidden;
}

.custom-shoe-slide {
    background-color: #fafafa !important;
    background-image: radial-gradient(circle at 80% 50%, #ffffff 0%, #f3f4f6 100%) !important;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8% !important;
}

.custom-shoe-slide::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 50%;
    height: 120%;
    background: #e2e8f0;
    transform: skewX(-15deg);
    z-index: 0;
}

/* Watermark Pattern */
.custom-shoe-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M10 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10zm25 25c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8z' fill='%23000000' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

.custom-shoe-slide .slide-content {
    position: relative;
    z-index: 10;
    max-width: 48%;
}

.custom-shoe-slide .new-arrival-title {
    font-size: 5.5rem;
    font-weight: 900;
    color: #1e293b;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    font-family: var(--font-heading);
    text-shadow: 2px 2px 0px #ffffff, 8px 8px 25px rgba(30, 41, 59, 0.15);
}

.custom-shoe-slide .new-arrival-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: #000000;
    margin: 10px 0 30px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.custom-shoe-slide .hero-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.custom-shoe-slide .hero-shop-btn:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

.custom-shoe-slide .hero-diagonal-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 42%;
    width: 25px;
    background: linear-gradient(90deg, #cccccc, #ffffff, #999999);
    transform: skewX(-15deg);
    z-index: 2;
    opacity: 0.75;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05), 5px 0 15px rgba(0, 0, 0, 0.05);
}

.custom-shoe-slide .hero-graphics {
    position: absolute;
    right: 5%;
    top: 0;
    width: 48%;
    height: 100%;
    z-index: 5;
}

.custom-shoe-slide .geometric-box {
    position: absolute;
    transform: rotate(45deg);
    border: 3px solid;
    transition: transform 0.5s ease;
}

.custom-shoe-slide .box-outline-1 {
    width: 320px;
    height: 320px;
    border-color: #1e293b;
    top: 15%;
    right: 15%;
    z-index: 1;
}

.custom-shoe-slide .box-outline-2 {
    width: 300px;
    height: 300px;
    border-color: #ffffff;
    top: 18%;
    right: 17%;
    z-index: 2;
}

.custom-shoe-slide .hero-shoe-image {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%) rotate(-12deg);
    height: 75%;
    max-width: 80%;
    object-fit: contain;
    z-index: 3;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    max-width: 55vw;
    /* prevent overflowing on narrow viewports */
}

.custom-shoe-slide:hover .hero-shoe-image {
    transform: translateY(-53%) rotate(-6deg) scale(1.04);
}

.custom-shoe-slide:hover .geometric-box {
    transform: rotate(55deg);
}

/* ==========================================================================
   RESPONSIVE LAYOUT SWITCH MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {

    /* Hide Desktop Header Elements */
    .top-marquee {
        display: none !important;
    }

    .desktop-header-wrapper {
        display: none !important;
    }

    .site-header {
        display: none !important;
    }

    header {
        display: none !important;
    }

    .mega-nav {
        display: none !important;
    }

    /* Show Mobile Navigation Elements */
    .mobile-top-header {
        display: flex !important;
    }

    .mobile-bottom-nav {
        display: grid !important;
    }

    /* Padding bottom on body to account for fixed bottom nav bar */
    body {
        padding-bottom: 75px !important;
    }

    /* Adjust Hero Slider height and layout for mobile */
    .hero {
        height: 320px;
    }

    .custom-shoe-slide {
        padding: 0 20px !important;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .custom-shoe-slide::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        right: 0;
        transform: skewY(-10deg);
    }

    .custom-shoe-slide .slide-content {
        max-width: 100%;
        margin-top: 10px;
    }

    .custom-shoe-slide .new-arrival-title {
        font-size: 3.2rem;
    }

    .custom-shoe-slide .new-arrival-subtitle {
        font-size: 1.5rem;
        margin: 5px 0 15px;
    }

    .custom-shoe-slide .hero-shop-btn {
        padding: 10px 20px;
        font-size: 11px;
    }

    .custom-shoe-slide .hero-diagonal-divider {
        display: none;
    }

    .custom-shoe-slide .hero-graphics {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 120px;
        margin-top: 10px;
        overflow: visible;
    }

    .custom-shoe-slide .geometric-box {
        display: none;
    }

    .custom-shoe-slide .hero-shoe-image {
        /* Keep absolute positioning but constrain size to avoid overflow */
        position: absolute;
        top: 50%;
        right: 5%;
        transform: translateY(-50%) rotate(-10deg);
        height: 100%;
        max-width: 55%;
        object-fit: cover;
        /* crop to fill area and avoid blank space */
        z-index: 3;
    }

    /* Overlay Drawer Adjustments */
    .overlay-panel {
        width: 100%;
    }
}

/* ==========================================================================
   NEW REDESIGNED PREMIUM RESPONSIVE FOOTER
   ========================================================================== */
.site-footer {
    width: 100%;
    background: #f9f9fb;
    color: #444444;
    font-family: var(--font-body);
    border-top: 1px solid #e5e7eb;
}

/* Tier 1: Newsletter */
.footer-newsletter {
    background: #eae3f0;
    /* Light lavender */
    padding: 2.5rem 40px;
    border-bottom: 1px solid #e5e7eb;
}

.newsletter-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.newsletter-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.newsletter-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.newsletter-form {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: var(--radius-sm);
    padding: 4px;
    min-width: 450px;
    max-width: 100%;
}

.newsletter-form .input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 0 10px;
    gap: 10px;
}

.newsletter-form .input-wrapper i {
    font-size: 18px;
    color: #888888;
}

.newsletter-form input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: #333;
}

.newsletter-form button {
    background: #00b894;
    /* Green */
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #009473;
}

/* Tier 2: Main Link Grid */
.footer-main {
    padding: 4rem 40px;
}

.footer-main-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-logo img {
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-weight: 900;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trustpilot-widget {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trustpilot-widget .tp-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111111;
    font-family: var(--font-heading);
}

.trustpilot-widget .tp-stars {
    display: flex;
    gap: 4px;
}

.trustpilot-widget .tp-star {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #ffffff;
    font-size: 13px;
}

.trustpilot-widget .tp-star.green {
    background: #00b67a;
}

.trustpilot-widget .tp-star.grey {
    background: #d1d5db;
}

.trustpilot-widget .tp-score {
    font-size: 11px;
    color: #666;
    font-weight: 600;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    display: block;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: #555555;
    transition: var(--transition);
}

.footer-links-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Tier 3: Value Strip */
.footer-value-strip {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 40px;
    background: #ffffff;
}

.value-strip-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-primary);
}

.value-item i {
    font-size: 30px;
    color: var(--primary);
}

.value-item div {
    display: flex;
    flex-direction: column;
}

.value-item .value-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.value-item .value-desc {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Tier 4: Bottom Bar */
.footer-bottom-bar {
    padding: 1.5rem 40px;
    font-size: 12px;
    color: #666666;
    background: #f3f4f6;
}

.bottom-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
}

.country-selector .flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.country-selector .globe-icon {
    font-size: 16px;
    margin-left: 4px;
    color: #666;
}

.footer-copyright {
    font-weight: 500;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pay-badge {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    width: 45px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.pay-badge.applepay,
.pay-badge.googlepay {
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    width: 55px;
}

.pay-badge.visa i {
    color: #1a1f71;
}

.pay-badge.mastercard i {
    color: #eb001b;
}

.pay-badge.paypal i {
    color: #003087;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .footer-main-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .value-strip-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-newsletter {
        padding: 2rem 20px;
    }

    .newsletter-container {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form {
        min-width: 100%;
    }

    .footer-main {
        padding: 3rem 20px;
    }

    .footer-main-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-value-strip {
        padding: 1.5rem 20px;
    }

    .value-strip-container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .footer-bottom-bar {
        padding: 1.5rem 20px;
    }

    .bottom-bar-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ==========================================================================
   HEADER ADDRESS SELECTOR & ADD ADDRESS MODALS
   ========================================================================== */
.address-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(74, 14, 46, 0.4);
    backdrop-filter: blur(8px);
    z-index: 20001;
    display: none;
    align-items: center;
    justify-content: center;
}

.address-modal-overlay.active {
    display: flex;
}

.address-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 550px;
    max-width: 90%;
    max-height: 85vh;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from {
        transform: scale(0.95);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.address-modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-modal-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 0;
}

.address-modal-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.address-modal-close:hover {
    color: var(--primary);
}

.address-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.address-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #fdfafb;
    display: flex;
    justify-content: flex-end;
}

.add-address-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.add-address-btn:hover {
    background: var(--primary-hover);
}

/* Address List Cards */
.address-select-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    position: relative;
    text-align: left;
}

.address-select-card:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.address-select-card.selected {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.address-select-card input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
}

.address-select-details h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.address-select-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Address Form Styling */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.address-modal-body .form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.address-modal-body label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
}

.address-modal-body input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.address-modal-body input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.address-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.save-address-submit-btn {
    flex: 1;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.save-address-submit-btn:hover {
    background: var(--primary-hover);
}

.cancel-address-btn {
    flex: 1;
    background: #f1f5f9;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.cancel-address-btn:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   NEW REDESIGNED HEADER (DESKTOP & TABLET MODES)
   ========================================================================== */

/* Top burgundy announcement bar */
.top-header-bar {
    width: 100%;
    background: var(--primary);
    /* Purple from logo2 */
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
}

.top-header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 8px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-header-right a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: var(--transition);
}

.top-header-right a:hover {
    color: var(--star-gold);
}

/* Main header overrides */
.main-header {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo icon spacing */
.main-header .logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Location selector redesign */
.main-header .location-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.location-pin-icon {
    font-size: 1.6rem;
    color: #6F00FF;
    /* Purple pin icon */
}

.location-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.location-label {
    font-size: 11px;
    color: #777777;
    font-weight: 500;
}

.location-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.location-value i {
    font-size: 12px;
    color: #777777;
}

/* Search Assembly wrapper (matches screenshot) */
.search-assembly {
    display: flex;
    align-items: center;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    flex: 1;
    max-width: 580px;
    overflow: visible;
    /* To allow suggestions box to overflow */
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.search-assembly:focus-within {
    border-color: #6F00FF;
    box-shadow: 0 0 8px rgba(111, 0, 255, 0.15);
}

.category-dropdown-btn {
    background: #f3f4f6;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    border-right: 1px solid #d1d5db;
    user-select: none;
    white-space: nowrap;
}

.search-input-wrapper {
    flex: 1;
    height: 100%;
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0 16px;
    font-size: 13px;
    color: var(--text-primary);
    outline: none;
    background: transparent;
}

.search-submit-btn {
    background: #6F00FF;
    color: #ffffff;
    border: none;
    width: 48px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition);
}

.search-submit-btn:hover {
    background: #4b00b3;
}

/* Voice search btn */
.voice-search-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
    font-size: 1.25rem;
    transition: var(--transition);
}

.voice-search-btn:hover {
    border-color: #6F00FF;
    color: #6F00FF;
}

/* Action items redesign */
.header-action-group {
    display: flex;
    align-items: center;
    gap: 28px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.action-icon {
    font-size: 1.55rem;
    color: #4b5563;
    transition: var(--transition);
}

.action-item:hover .action-icon,
.action-item-btn:hover .action-icon {
    color: #6F00FF;
}

.action-text-group {
    display: flex;
    flex-direction: column;
}

.action-label {
    font-size: 11px;
    color: #777777;
    font-weight: 500;
}

.action-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

.action-item-btn {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0;
    gap: 4px;
    transition: var(--transition);
}

.icon-badge-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-badge-wrapper .badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #6F00FF;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
}

.action-icon-label {
    font-size: 11px;
    color: #555555;
    font-weight: 500;
}

.action-item-btn:hover .action-icon-label {
    color: #6F00FF;
}

/* Hide mega nav since it's not in the target redesign */
.mega-nav {
    display: none !important;
}

/* Suggestions dropdown positioning override */
.search-input-wrapper .search-suggestions {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1010;
}

.search-input-wrapper .search-suggestions.active {
    display: flex;
}

/* Global Auth Modal Tab Styling */
.auth-tab-btn.active {
    color: var(--primary) !important;
    border-bottom: 2px solid var(--primary) !important;
}

/* Star Rating Select Rows */
.star-rating-selector {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.star-rating-selector i {
    font-size: 1.6rem;
    cursor: pointer;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.15s ease;
    color: #cbd5e1;
}

.star-rating-selector i:hover {
    transform: scale(1.25);
}

/* Drag and Drop Uploader */
.drag-drop-box {
    border: 2px dashed #cbd5e1;
    background: #fdfafb;
    padding: 1.75rem;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border-color: var(--border);
}

.drag-drop-box:hover {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.drag-drop-box i {
    font-size: 2.2rem;
    color: var(--primary);
}

.drag-drop-box span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.drag-drop-box p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Image Upload Preview Container */
.review-upload-preview-container {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.upload-thumb {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    background: #f8fafc;
    box-shadow: var(--shadow-sm);
    padding: 2px;
}

.upload-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.upload-thumb .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.upload-thumb .remove-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Scroll loader spinner */
.scroll-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3.5px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin-loader 0.8s linear infinite;
}

@keyframes spin-loader {
    to {
        transform: rotate(360deg);
    }
}


/* ── Premium Textarea & Form Inputs (Review Form) ── */
.add-review-form label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.add-review-form textarea {
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: #ffffff;
    resize: vertical;
    min-height: 110px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    line-height: 1.65;
}

.add-review-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(194, 24, 91, 0.08);
}

.add-review-form textarea::placeholder {
    color: #b0a0ab;
    font-style: italic;
}

.add-review-form .form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* ── Premium Category Page Filters and Mobile Drawer ── */
.mobile-filter-toggle-btn {
    display: none;
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(37, 0, 54, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
    display: block;
    opacity: 1;
}

.sidebar-header {
    display: none;
}

.var-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius-xs);
    cursor: pointer;
    transition: var(--transition);
}

.var-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.var-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(117, 0, 158, 0.2);
}

@media (max-width: 992px) {
    .mobile-filter-toggle-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--primary);
        color: #ffffff;
        border: none;
        padding: 0.55rem 1.1rem;
        border-radius: var(--radius-sm);
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .mobile-filter-toggle-btn:hover {
        background: var(--primary-hover);
    }

    .mobile-filter-toggle-btn i {
        font-size: 1rem;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        z-index: 10000;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-radius: 0;
        border: none;
        display: block !important;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.5rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-close-btn {
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--text-muted);
        line-height: 1;
        padding: 0 0.5rem;
    }

    .sidebar-close-btn:hover {
        color: var(--primary);
    }
}

@media (max-width: 992px) {
    .shop-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .shop-header-title-section {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .shop-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }

    .shop-header-actions {
        gap: 0.5rem !important;
    }
}

/* Category Page 4-column product grid override */
.shop-container .products-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .shop-container .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .shop-container .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.color-circle-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 0;
}

.color-circle-btn:hover {
    transform: scale(1.15);
    border-color: var(--primary);
}

.color-circle-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--primary);
    transform: scale(1.1);
}

/* ── Premium Quick View Modal ── */
.qv-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 2.5rem;
}

.qv-images-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qv-main-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.1;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fdfafb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-main-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.qv-thumbnails-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.qv-thumb-wrapper {
    width: 60px;
    height: 65px;
    border: 2px solid transparent;
    border-radius: var(--radius-xs);
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.qv-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv-thumb-wrapper.active,
.qv-thumb-wrapper:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.qv-info-col {
    display: flex;
    flex-direction: column;
}

.qv-brand-label {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.qv-product-title {
    font-size: 1.6rem;
    margin: 0.25rem 0 0.5rem;
    line-height: 1.25;
    color: var(--text-primary);
}

.qv-sku-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.qv-sku-label span {
    color: var(--text-primary);
    font-weight: 600;
}

.qv-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.qv-rating-badge {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.qv-reviews-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.qv-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.qv-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.qv-mrp {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.qv-discount {
    color: #10b981;
    font-weight: 700;
    font-size: 0.95rem;
}

.qv-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.qv-variant-section h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.qv-variant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .qv-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Scrollable Quick View Modal */
#quick-view-modal .voice-card {
    max-height: 90vh;
    overflow-y: auto;
}

#quick-view-modal .voice-card::-webkit-scrollbar {
    width: 6px;
}

#quick-view-modal .voice-card::-webkit-scrollbar-track {
    background: transparent;
}

#quick-view-modal .voice-card::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

#quick-view-modal .voice-card::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ── Premium Mini-Cart Drawer ── */
.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100%;
    height: 100vh;
    background: #ffffff;
    z-index: 20010;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-cart-drawer.active {
    right: 0;
}

.mini-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 20005;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mini-cart-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mini-cart-drawer .drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-cart-drawer .drawer-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.mini-cart-drawer .drawer-close-btn {
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.mini-cart-drawer .drawer-close-btn:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.mini-cart-drawer .drawer-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.mini-cart-drawer .drawer-body::-webkit-scrollbar {
    width: 5px;
}

.mini-cart-drawer .drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.mini-cart-drawer .drawer-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.mini-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mini-cart-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.mini-cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.25rem;
}

.mini-cart-item img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: var(--radius-xs);
    background: #fdfafb;
    border: 1px solid var(--border);
}

.mini-cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.mini-cart-item-info h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.mini-cart-item-info h4 a:hover {
    color: var(--primary);
}

.mini-cart-item-meta {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mini-cart-item-qty-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.mini-cart-qty-picker {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: #f8fafc;
}

.mini-cart-qty-picker button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.mini-cart-qty-picker button:hover {
    background: var(--primary);
    color: #ffffff;
}

.mini-cart-qty-picker span {
    width: 28px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.mini-cart-item-delete {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.mini-cart-item-delete:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.mini-cart-item-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
}

.mini-cart-drawer .drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: #fdfafb;
}

.mini-cart-summary {
    margin-bottom: 1.25rem;
}

.mini-cart-summary .summary-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.mini-cart-actions {
    display: flex;
    gap: 0.75rem;
}

.mini-cart-actions .buy-btn {
    flex: 1;
    padding: 0.8rem;
    font-size: 0.95rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
}

/* Mic Active Recording Ripple Animation */
.mic-circle.recording {
    background: var(--primary) !important;
    color: #ffffff !important;
}

.mic-circle.recording::after {
    opacity: 1 !important;
    animation: mic-ripple 1.2s infinite ease-out !important;
}

/* ── PWA & SMOOTH TRANSITIONS ── */
body {
    transition: opacity 0.15s ease-in-out;
    opacity: 1;
}

body.page-fade-out {
    opacity: 0;
}