/* =========================================================
   BaseTrading Online Store — LUXURY PREMIUM Stylesheet
   State-of-the-art E-Commerce Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    /* Premium Monochromatic Base */
    --shop-primary: #10547F;
    --shop-primary-light: #156b9c;

    /* Sleek Primary Accent (Dark Slate/Black for luxury, or adapt if needed) */
    --shop-accent: #10547F;
    --shop-accent-hover: #0b3b59;
    --shop-accent-glow: rgba(16, 84, 127, 0.15);

    /* Secondary Accents */
    --shop-accent2: #F26D5B;
    --shop-accent2-hover: #e05948;

    /* Backgrounds */
    --shop-bg: #f8fafc;
    --shop-white: #ffffff;
    --shop-surface: #ffffff;
    --shop-surface-hover: #f1f5f9;

    /* Very soft borders */
    --shop-border: #e2e8f0;
    --shop-border-light: #f1f5f9;

    /* Typography Colors */
    --shop-text: #0f172a;
    --shop-text-secondary: #475569;
    --shop-text-muted: #94a3b8;
    --shop-text-on-dark: #ffffff;

    /* Status Colors */
    --shop-success: #10b981;
    --shop-danger: #ef4444;
    --shop-warning: #f59e0b;
    --shop-info: #10547F;

    /* Gradients */
    --shop-gradient-primary: linear-gradient(135deg, #10547F 0%, #156b9c 100%);
    --shop-gradient-accent: linear-gradient(135deg, #10547F, #0b3b59);
    --shop-gradient-blue: linear-gradient(135deg, #F26D5B, #f48e80);
    --shop-gradient-hero: #ffffff;

    /* Premium Soft Shadows (Apple/Stripe aesthetic) */
    --shop-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shop-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shop-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shop-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shop-shadow-card: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shop-shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);

    /* Typography */
    --shop-font: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --shop-font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;

    /* Soft, friendly rounded corners */
    --shop-radius: 12px;
    --shop-radius-sm: 8px;
    --shop-radius-lg: 16px;
    --shop-radius-xl: 24px;

    --shop-container: 1400px;

    /* Smooth, elegant transitions */
    --shop-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shop-transition-fast: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);

    --header-height: 72px;
    --catnav-height: 54px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.shop-page {
    font-family: var(--shop-font);
    background: var(--shop-bg);
    color: var(--shop-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

.shop-container {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

/* Utility */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   TOP UTILITY BAR — Minimalist Top Strip
   ========================================================= */
.shop-utility-bar {
    background: var(--shop-primary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: none;
    font-weight: 500;
}

.shop-utility-bar .shop-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    transition: var(--shop-transition-fast);
}

.utility-dropdown:hover {
    background: rgba(255, 255, 255, 0.1);
}

.utility-dropdown i {
    font-size: 10px;
    opacity: 0.7;
}

.delivery-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.delivery-selector i {
    color: var(--shop-accent2);
    font-size: 12px;
}

.utility-right a {
    color: rgba(255, 255, 255, 0.9);
    transition: var(--shop-transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
}

.utility-right a:hover {
    color: var(--shop-accent2);
}


/* =========================================================
   MAIN HEADER — Premium, Floating, Glassmorphic
   ========================================================= */
.shop-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shop-shadow-sm);
    border-bottom: 1px solid var(--shop-border-light);
}

.shop-header .shop-container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 32px;
}

/* Logo */
.shop-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--shop-font-display);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    color: var(--shop-primary);
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shop-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--shop-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--shop-shadow-card);
}

.shop-logo .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 180px;
}

/* Search Bar — Premium Pill Shape */
.shop-search {
    flex: 1;
    position: relative;
    max-width: 640px;
}

.shop-search form {
    display: flex;
    width: 100%;
}

.shop-search input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 48px;
    border: 1px solid var(--shop-border);
    border-radius: 24px;
    font-size: 15px;
    background: var(--shop-bg);
    transition: var(--shop-transition);
    color: var(--shop-text);
    outline: none;
}

.shop-search input:focus {
    border-color: var(--shop-accent2);
    background: var(--shop-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.shop-search input::placeholder {
    color: var(--shop-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.shop-search .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--shop-text-muted);
    font-size: 16px;
    pointer-events: none;
}

.shop-search .search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--shop-primary);
    color: white;
    border: none;
    height: 36px;
    padding: 0 20px;
    border-radius: 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--shop-transition);
}

.shop-search .search-btn:hover {
    background: var(--shop-primary-light);
    box-shadow: var(--shop-shadow-sm);
}

/* Header Actions */
.shop-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-text);
    transition: var(--shop-transition);
    position: relative;
}

.header-action-btn:hover {
    background: var(--shop-bg);
}

.header-action-btn i {
    font-size: 18px;
}

.cart-btn {
    background: var(--shop-primary);
    color: white !important;
    box-shadow: var(--shop-shadow-sm);
}

.cart-btn:hover {
    background: var(--shop-primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shop-shadow);
}

.cart-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--shop-danger);
    color: white;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--shop-white);
    animation: badge-pop 0.3s ease;
}

@keyframes badge-pop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile Menu Toggle — hidden on desktop */
.shop-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--shop-primary);
    border-radius: 8px;
    flex-shrink: 0;
}


/* =========================================================
   CATEGORY NAV — Flipkart-style horizontal icons strip
   ========================================================= */
.shop-category-nav {
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border-light);
    position: sticky;
    top: var(--header-height);
    z-index: 999;
    height: var(--catnav-height);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.shop-category-nav .shop-container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.shop-category-nav .shop-container::-webkit-scrollbar {
    display: none;
}

.cat-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    height: 100%;
    font-size: 13px;
    font-weight: 600;
    color: var(--shop-text-secondary);
    white-space: nowrap;
    transition: var(--shop-transition-fast);
    border-bottom: 3px solid transparent;
    text-transform: capitalize;
}

.cat-nav-item:hover,
.cat-nav-item.active {
    color: var(--shop-accent);
    border-bottom-color: var(--shop-accent);
}

.cat-nav-item i {
    font-size: 14px;
}

.cat-nav-all {
    background: var(--shop-primary);
    color: white !important;
    border-radius: 6px;
    border-bottom: none !important;
    padding: 6px 14px;
    height: auto;
    margin-right: 6px;
    font-size: 12px;
}

.cat-nav-all:hover {
    background: var(--shop-primary-light);
}


/* =========================================================
   HERO BANNER CAROUSEL — Premium Editorial Style
   ========================================================= */
.shop-hero {
    padding: 24px 0 16px;
    background: #ffffff;
}

.hero-carousel {
    position: relative;
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    background: #ffffff;
    width: 100%;
    aspect-ratio: 16 / 5;
    box-shadow: var(--shop-shadow-lg);
}

.hero-slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    height: 100%;
    background: #ffffff;
}

.hero-slide {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #ffffff;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.hero-slide-bg picture,
.hero-slide-bg a,
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #ffffff;
}

@media (min-width: 769px) {

    .mobile-only-slide,
    .mobile-only-card {
        display: none !important;
    }
}

.hero-slide.active .hero-slide-bg {
    transform: none;
}

.hero-slide-bg::after {
    display: none;
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 64px;
    color: white;
}

.hero-slide-content h1 {
    font-family: var(--shop-font-display);
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-slide-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--shop-white);
    color: var(--shop-primary);
    font-weight: 700;
    font-size: 13px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: var(--shop-transition);
    text-decoration: none;
}

.hero-cta:hover {
    background: var(--shop-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    color: var(--shop-primary);
}

@media (max-width: 768px) {
    .hero-cta {
        padding: 5px 12px !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        border-radius: 16px !important;
        gap: 5px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    }

    .hero-slide-content {
        padding: 10px 12px !important;
        bottom: 8px !important;
        left: 8px !important;
    }

    .hero-slide-content h1 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }

    .hero-slide-content p {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: var(--shop-transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-nav-btn.prev {
    left: 24px;
}

.hero-nav-btn.next {
    right: 24px;
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--shop-transition);
}

.hero-dot.active {
    background: var(--shop-white);
    width: 32px;
    border-radius: 4px;
}

/* Placeholder hero */
.hero-placeholder {
    min-height: 460px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--shop-radius-xl);
    color: var(--shop-primary);
    text-align: center;
    padding: 64px;
    box-shadow: var(--shop-shadow-lg);
}

.hero-placeholder h1 {
    font-family: var(--shop-font-display);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-placeholder p {
    font-size: 18px;
    opacity: 0.75;
    max-width: 540px;
    margin: 0 auto 32px;
}


/* =========================================================
   TRUST BADGES — Elegant, Soft
   ========================================================= */
.shop-trust-badges {
    padding: 32px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-card);
    transition: var(--shop-transition);
}

.trust-badge:hover {
    box-shadow: var(--shop-shadow-card-hover);
    transform: translateY(-2px);
}

.trust-badge .badge-icon {
    width: 48px;
    height: 48px;
    background: var(--shop-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--shop-primary);
    flex-shrink: 0;
    transition: var(--shop-transition);
}

.trust-badge:hover .badge-icon {
    background: var(--shop-primary);
    color: white;
}

.trust-badge h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text);
    margin-bottom: 2px;
}

.trust-badge p {
    font-size: 12px;
    color: var(--shop-text-muted);
    line-height: 1.4;
}


/* =========================================================
   SECTION HEADERS
   ========================================================= */
.shop-section {
    padding: 16px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 0 8px;
}

.section-header h2 {
    font-family: var(--shop-font-display);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--shop-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 .section-icon {
    color: var(--shop-accent2);
    font-size: 24px;
}

.section-header .view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-primary);
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-sm);
    transition: var(--shop-transition);
}

.section-header .view-all:hover {
    background: var(--shop-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shop-shadow);
}


/* =========================================================
   PRODUCT CAROUSEL
   ========================================================= */
.product-carousel-wrapper {
    position: relative;
    padding: 4px 0 6px;
}

.product-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 8px 12px;
    /* padding for hover shadows */
    scrollbar-width: none;
    cursor: grab;
    align-items: stretch !important;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shop-shadow-md);
    color: var(--shop-text);
    transition: var(--shop-transition);
    cursor: pointer;
    font-size: 16px;
    border: 1px solid var(--shop-border-light);
}

.carousel-nav:hover {
    background: var(--shop-primary);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

.carousel-nav.prev {
    left: -16px;
}

.carousel-nav.next {
    right: -16px;
}


/* =========================================================
   PRODUCT CARD — Premium Minimalist
   ========================================================= */
.product-card {
    min-width: 260px;
    max-width: 260px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    transition: var(--shop-transition);
    scroll-snap-align: start;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: 100% !important;
    box-sizing: border-box !important;
    position: relative;
    padding: 16px;
    box-shadow: var(--shop-shadow-sm);
    border: 1px solid var(--shop-border-light);
}

.product-card:hover {
    box-shadow: var(--shop-shadow-card-hover);
    transform: translateY(-4px);
    border-color: transparent;
    z-index: 2;
}

.product-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--shop-bg);
    border-radius: var(--shop-radius-sm);
}

.product-card-image img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card-image .placeholder-img {
    width: 70px;
    height: 70px;
    background: var(--shop-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-text-muted);
    font-size: 28px;
    box-shadow: var(--shop-shadow-sm);
}

/* Tags */
.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.product-tag.sale {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.product-tag.new {
    background: rgba(15, 23, 42, 0.9);
    color: white;
}

.product-tag.sponsored {
    background: rgba(59, 130, 246, 0.9);
    color: white;
}

.product-tag.clearance {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.product-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(4px);
}

/* Product Info */
.product-card-info {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* Color Swatches */
.product-card-colors {
    user-select: none;
    z-index: 5;
    min-height: 22px !important;
    height: 22px !important;
    margin: 2px 0 6px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}

.color-swatch-dot:hover {
    transform: scale(1.3) !important;
    box-shadow: 0 0 0 2.5px #3b82f6 !important;
    z-index: 10;
}

.product-card-title {
    font-family: var(--shop-font-display) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--shop-text) !important;
    line-height: 1.35 !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
    min-height: 2.7em !important;
    height: 2.7em !important;
    max-height: 2.7em !important;
    overflow: hidden !important;
    text-align: left !important;
}

.product-card-title a {
    color: var(--shop-text);
    transition: var(--shop-transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product-card-title a:hover {
    color: var(--shop-accent2);
}

/* Rating Slot - Fixed Uniform Height across reviewed and unreviewed */
.product-rating-slot {
    min-height: 20px !important;
    height: 20px !important;
    max-height: 20px !important;
    margin: 0 0 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow: hidden !important;
}

.product-rating-slot .product-rating,
.product-rating {
    min-height: 20px !important;
    height: 20px !important;
    max-height: 20px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--shop-text);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.rating-badge i {
    font-size: 9px;
    color: var(--shop-warning);
}

.product-rating .rating-text {
    font-size: 12px !important;
    color: var(--shop-text-secondary) !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

.product-rating .stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.product-rating .stars i {
    font-size: 11px !important;
    color: var(--shop-warning) !important;
}

.product-rating .stars i.empty {
    color: var(--shop-border) !important;
}

/* Price Block */
.product-price-block {
    margin-top: auto !important;
    margin-bottom: 12px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    min-height: 26px !important;
}

.product-current-price {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--shop-text) !important;
    letter-spacing: -0.5px !important;
    display: inline-flex !important;
    align-items: baseline !important;
    gap: 4px !important;
    line-height: 1.2 !important;
}

.product-current-price .currency {
    font-size: 1em !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    margin-right: 2px !important;
}

.product-original-price {
    font-size: 14px;
    color: var(--shop-text-muted);
    text-decoration: line-through;
    font-weight: 500;
}

.product-discount-text {
    font-size: 12px;
    color: var(--shop-success);
    font-weight: 700;
}

/* Add to Cart */
.product-add-btn {
    width: 100%;
    padding: 12px;
    background: var(--shop-bg);
    color: var(--shop-text);
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius-lg);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--shop-transition);
    cursor: pointer;
}

.product-add-btn:hover {
    background: var(--shop-primary);
    color: white;
    border-color: var(--shop-primary);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-md);
}

.product-add-btn.out-of-stock {
    background: var(--shop-bg);
    color: var(--shop-text-muted);
    border-color: transparent;
    cursor: not-allowed;
    box-shadow: none;
}

.product-add-btn.out-of-stock:hover {
    transform: none;
    background: var(--shop-bg);
    color: var(--shop-text-muted);
}


/* =========================================================
   CATEGORY GRID
   ========================================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    transition: var(--shop-transition);
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shop-shadow-card);
}

.category-card:hover {
    box-shadow: var(--shop-shadow-card-hover);
    transform: translateY(-4px);
}

.category-card .cat-icon {
    width: 64px;
    height: 64px;
    background: var(--shop-bg);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--shop-primary);
    transition: var(--shop-transition);
}

.category-card:hover .cat-icon {
    background: var(--shop-primary);
    color: white;
    transform: scale(1.05);
}

.category-card .cat-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.category-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-text);
}


/* =========================================================
   PRODUCT GRID & LIST VIEW SWITCHER (Category / Search pages)
   ========================================================= */
.product-grid,
.products-grid-advanced {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

@media (max-width: 1200px) {

    .product-grid,
    .products-grid-advanced {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .product-grid:not(.list-view-mode),
    .products-grid-advanced:not(.list-view-mode) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

.product-grid .product-card,
.products-grid-advanced .product-card {
    min-width: unset;
    max-width: unset;
    width: 100%;
}

/* LIST VIEW MODE & LAYOUT-GRID-1 */
.product-grid.list-view-mode,
.products-grid-advanced.list-view-mode,
.product-grid.layout-grid-1,
.products-grid-advanced.layout-grid-1 {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    width: 100% !important;
}

.product-grid.list-view-mode .product-card,
.products-grid-advanced.list-view-mode .product-card,
.product-grid.layout-grid-1 .product-card,
.products-grid-advanced.layout-grid-1 .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 24px !important;
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: var(--shop-shadow-sm) !important;
    border: 1px solid var(--shop-border-light) !important;
    border-radius: var(--shop-radius-lg) !important;
    background: #ffffff !important;
}

.product-grid.list-view-mode .product-card-image,
.products-grid-advanced.list-view-mode .product-card-image,
.product-grid.layout-grid-1 .product-card-image,
.products-grid-advanced.layout-grid-1 .product-card-image {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
    max-height: 180px !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.product-grid.list-view-mode .product-card-image img,
.products-grid-advanced.list-view-mode .product-card-image img,
.product-grid.layout-grid-1 .product-card-image img,
.products-grid-advanced.layout-grid-1 .product-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.product-grid.list-view-mode .product-card-info,
.products-grid-advanced.list-view-mode .product-card-info,
.product-grid.layout-grid-1 .product-card-info,
.products-grid-advanced.layout-grid-1 .product-card-info {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: left !important;
}

.product-grid.list-view-mode .product-card-title,
.products-grid-advanced.list-view-mode .product-card-title,
.product-grid.layout-grid-1 .product-card-title,
.products-grid-advanced.layout-grid-1 .product-card-title {
    font-size: 16px !important;
    margin-bottom: 6px !important;
    min-height: unset !important;
}

@media (max-width: 600px) {

    .product-grid.list-view-mode .product-card,
    .products-grid-advanced.list-view-mode .product-card,
    .product-grid.layout-grid-1 .product-card,
    .products-grid-advanced.layout-grid-1 .product-card {
        gap: 12px !important;
        padding: 12px !important;
    }

    .product-grid.list-view-mode .product-card-image,
    .products-grid-advanced.list-view-mode .product-card-image,
    .product-grid.layout-grid-1 .product-card-image,
    .products-grid-advanced.layout-grid-1 .product-card-image {
        width: 110px !important;
        height: 110px !important;
        max-width: 110px !important;
        max-height: 110px !important;
    }

    .product-grid.list-view-mode .product-card-title,
    .products-grid-advanced.list-view-mode .product-card-title,
    .product-grid.layout-grid-1 .product-card-title,
    .products-grid-advanced.layout-grid-1 .product-card-title {
        font-size: 13px !important;
    }

    .product-grid.list-view-mode .product-card-short-desc,
    .products-grid-advanced.list-view-mode .product-card-short-desc,
    .product-grid.layout-grid-1 .product-card-short-desc,
    .products-grid-advanced.layout-grid-1 .product-card-short-desc {
        display: none !important;
    }
}

/* Sort/Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    box-shadow: var(--shop-shadow-sm);
}

.filter-bar .results-count {
    font-size: 14px;
    color: var(--shop-text-secondary);
    font-weight: 500;
}

.filter-bar .results-count strong {
    color: var(--shop-text);
    font-weight: 700;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--shop-border);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-text);
    background: var(--shop-white);
    cursor: pointer;
    transition: var(--shop-transition);
    outline: none;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--shop-accent2);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}


/* =========================================================
   PDP — PRODUCT DETAIL PAGE
   ========================================================= */
.pdp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    margin-top: 24px;
    box-shadow: var(--shop-shadow-md);
}

.pdp-gallery {
    padding: 40px;
    position: sticky;
    top: calc(var(--header-height) + var(--catnav-height) + 24px);
    align-self: start;
    background: var(--shop-bg);
}

.pdp-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shop-shadow-sm);
}

.pdp-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    box-sizing: border-box;
    margin: auto;
}

.pdp-main-image .placeholder-img {
    margin: auto;
    z-index: 1;
}

.pdp-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.pdp-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: var(--shop-transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-sm);
}

.pdp-thumbnail:hover,
.pdp-thumbnail.active {
    border-color: var(--shop-accent2);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.pdp-thumbnail img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

/* PDP Info */
.pdp-info {
    padding: 48px 48px 48px 0;
}

.pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--shop-text-muted);
    margin-bottom: 20px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
}

.pdp-breadcrumb a {
    color: var(--shop-text-secondary);
    transition: var(--shop-transition-fast);
    flex-shrink: 0;
}

.pdp-breadcrumb a:hover {
    color: var(--shop-primary);
}

.pdp-breadcrumb span.crumb-current {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
    color: var(--shop-text-muted);
    font-weight: 600;
}

.pdp-title {
    font-family: var(--shop-font-display);
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 650;
    color: var(--shop-text);
    line-height: 1.35;
    margin-top: 4px;
    margin-bottom: 12px;
    letter-spacing: -0.15px;
    overflow-wrap: anywhere;
    word-break: normal;
    max-width: 100%;
}

.pdp-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--shop-border-light);
}

.pdp-rating .stars {
    display: flex;
    gap: 4px;
}

.pdp-rating .stars i {
    font-size: 16px;
    color: var(--shop-warning);
}

.pdp-rating .stars i.empty {
    color: var(--shop-border);
}

.pdp-rating .rating-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--shop-text);
}

.pdp-rating .review-count {
    font-size: 14px;
    color: var(--shop-text-muted);
    font-weight: 500;
}

.pdp-price-block {
    margin-bottom: 32px;
}

.pdp-price-block .current {
    font-size: 40px;
    font-weight: 800;
    color: var(--shop-text);
    letter-spacing: -1px;
}

.pdp-price-block .current .cur {
    font-size: 1em !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    margin-right: 4px !important;
}

.pdp-price-block .original {
    font-size: 18px;
    color: var(--shop-text-muted);
    text-decoration: line-through;
    margin-left: 16px;
    font-weight: 500;
}

.pdp-price-block .savings {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--shop-success);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.pdp-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 700;
}

.pdp-stock.in-stock {
    color: var(--shop-success);
}

.pdp-stock.out-of-stock {
    color: var(--shop-danger);
}

.pdp-stock i {
    font-size: 16px;
}

.pdp-quantity {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.pdp-quantity label {
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text);
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    overflow: visible;
}

.quantity-selector button {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--shop-text);
    background: var(--shop-bg);
    border: none;
    cursor: pointer;
    transition: var(--shop-transition-fast);
    flex-shrink: 0;
}

.quantity-selector button:hover {
    background: var(--shop-border-light);
    color: var(--shop-primary);
}

.quantity-selector input {
    width: 56px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--shop-border);
    border-right: 1px solid var(--shop-border);
    font-size: 16px;
    font-weight: 700;
    color: var(--shop-text);
    outline: none;
    flex-shrink: 0;
}

/* PDP Quantity Selector — Pill Style */
.pdp-qty-selector {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 12px;
    overflow: visible;
}

.pdp-qty-selector button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.pdp-qty-selector input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: none;
    border-right: none;
    background: none;
    font-weight: 700;
    font-size: 16px;
    color: #0f172a;
    flex-shrink: 0;
}

.pdp-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
}

.pdp-add-btn {
    flex: 1;
    height: 56px;
    border-radius: 30px;
    background: var(--shop-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--shop-transition);
    box-shadow: 0 10px 20px rgba(16, 84, 127, 0.15);
    border: none;
}

.pdp-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(16, 84, 127, 0.2);
}

.pdp-add-btn.disabled {
    flex: 1;
    height: 56px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 16px;
    font-weight: 700;
    cursor: not-allowed;
    box-shadow: none;
    border: none;
}

/* PDP Wishlist Button */
.pdp-wishlist-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
    color: #64748b;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.pdp-wishlist-btn.active {
    color: #ef4444;
}

.pdp-wishlist-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.pdp-buy-btn {
    flex: 1;
    padding: 16px 32px;
    background: var(--shop-primary);
    color: white;
    border: 2px solid var(--shop-primary);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--shop-transition);
}

.pdp-buy-btn:hover {
    background: var(--shop-primary-light);
    border-color: var(--shop-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-md);
}

.pdp-wishlist-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--shop-border);
    border-radius: 16px;
    font-size: 22px;
    color: var(--shop-text-muted);
    cursor: pointer;
    transition: var(--shop-transition);
}

.pdp-wishlist-btn:hover {
    border-color: var(--shop-danger);
    color: var(--shop-danger);
    background: rgba(239, 68, 68, 0.05);
}

.pdp-description {
    padding: 32px 0;
    border-top: 1px solid var(--shop-border-light);
}

.pdp-description h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--shop-text);
}

.pdp-description p,
.pdp-description div {
    font-size: 15px;
    color: var(--shop-text-secondary);
    line-height: 1.8;
}


/* =========================================================
   CART PAGE
   ========================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    padding: 32px 0 64px;
}

.cart-items-section {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    box-shadow: var(--shop-shadow-md);
}

.cart-header-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 20px 32px;
    background: var(--shop-white);
    font-size: 12px;
    font-weight: 800;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--shop-border-light);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--shop-border-light);
    transition: var(--shop-transition-fast);
}

.cart-item-row:hover {
    background: var(--shop-surface-hover);
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: var(--shop-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.cart-item-name {
    font-family: var(--shop-font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--shop-text);
}

.cart-item-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--shop-text-secondary);
}

.cart-item-total {
    font-size: 16px;
    font-weight: 800;
    color: var(--shop-text);
}

.cart-remove-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--shop-text-muted);
    transition: var(--shop-transition);
    cursor: pointer;
    background: var(--shop-bg);
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--shop-danger);
}

/* Cart Summary */
.cart-summary {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    padding: 32px;
    position: sticky;
    top: calc(var(--header-height) + var(--catnav-height) + 24px);
    align-self: start;
    box-shadow: var(--shop-shadow-md);
}

.cart-summary h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--shop-border-light);
    color: var(--shop-text);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: var(--shop-text-secondary);
    font-weight: 500;
}

.cart-summary-row.total {
    border-top: 1px solid var(--shop-border);
    margin-top: 16px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 800;
    color: var(--shop-text);
}

.cart-checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--shop-primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--shop-transition);
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shop-shadow-sm);
}

.cart-checkout-btn:hover {
    background: var(--shop-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-md);
}

.cart-empty {
    text-align: center;
    padding: 80px 40px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    box-shadow: var(--shop-shadow-sm);
}

.cart-empty i {
    font-size: 64px;
    color: var(--shop-border);
    margin-bottom: 24px;
}

.cart-empty h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--shop-text);
}

.cart-empty p {
    font-size: 16px;
    color: var(--shop-text-muted);
    margin-bottom: 32px;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--shop-primary);
    color: white;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--shop-transition);
    box-shadow: var(--shop-shadow-sm);
}

.continue-shopping-btn:hover {
    background: var(--shop-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow-md);
}


/* =========================================================
   CHECKOUT PAGE
   ========================================================= */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    padding: 32px 0 64px;
}

.checkout-steps {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.checkout-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text-muted);
    box-shadow: var(--shop-shadow-sm);
}

.checkout-step.active {
    background: var(--shop-primary);
    color: white;
    box-shadow: var(--shop-shadow-md);
}

.checkout-step.completed {
    background: var(--shop-bg);
    color: var(--shop-success);
}

.checkout-step .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--shop-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
    color: var(--shop-text-secondary);
}

.checkout-step.active .step-num {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.checkout-step.completed .step-num {
    background: rgba(16, 185, 129, 0.1);
    color: var(--shop-success);
}

.checkout-form-section {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shop-shadow-md);
}

.checkout-form-section h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--shop-text);
}

.checkout-form-section h3 i {
    color: var(--shop-accent2);
    font-size: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-text);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--shop-text);
    transition: var(--shop-transition);
    background: var(--shop-bg);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--shop-accent2);
    background: var(--shop-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 2px solid transparent;
    border-radius: var(--shop-radius-xl);
    cursor: pointer;
    transition: var(--shop-transition);
    background: var(--shop-bg);
    position: relative;
    overflow: hidden;
}

.payment-option:hover {
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-md);
    transform: translateY(-2px);
}

.payment-option.selected {
    border-color: var(--shop-accent2);
    background: var(--shop-white);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option .pm-icon {
    width: 56px;
    height: 56px;
    background: var(--shop-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--shop-primary);
    transition: var(--shop-transition);
    flex-shrink: 0;
    box-shadow: var(--shop-shadow-sm);
}

.payment-option.selected .pm-icon {
    background: var(--shop-accent2);
    color: white;
}

.payment-option .pm-info {
    flex: 1;
}

.payment-option .pm-label {
    font-size: 16px;
    font-weight: 800;
    color: var(--shop-text);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-option .pm-desc {
    font-size: 14px;
    color: var(--shop-text-secondary);
    line-height: 1.5;
    font-weight: 500;
}

.payment-option .pm-secure-badge {
    font-size: 11px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--shop-success);
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-option .pm-logos {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.payment-option .pm-logo-item {
    background: var(--shop-white);
    border: 1px solid var(--shop-border-light);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    color: var(--shop-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    box-shadow: var(--shop-shadow-sm);
}

.payment-option .pm-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--shop-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: var(--shop-transition);
    font-size: 16px;
}

.payment-option.selected .pm-check {
    border-color: var(--shop-accent2);
    background: var(--shop-accent2);
    color: white;
}

/* Payment Processing Overlay */
.payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
}

.payment-overlay-content {
    text-align: center;
    animation: fade-in-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.payment-spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--shop-accent2);
    border-radius: 50%;
    margin: 0 auto 32px;
    animation: spin 1s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.payment-overlay h3 {
    font-family: var(--shop-font-display);
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.payment-overlay p {
    opacity: 0.8;
    font-size: 16px;
    font-weight: 500;
}

/* Order Confirmation Badges */
.payment-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--shop-success);
    border-radius: var(--shop-radius-lg);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 32px;
}

.payment-cod-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--shop-warning);
    border-radius: var(--shop-radius-lg);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 32px;
}

/* Checkout Summary */
.checkout-summary {
    background: var(--shop-white);
    border-radius: var(--shop-radius);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + var(--catnav-height) + 16px);
    align-self: start;
    box-shadow: var(--shop-shadow-sm);
}

.checkout-summary h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--shop-text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--shop-border-light);
}

.checkout-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--shop-border-light);
}

.checkout-item-img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.checkout-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.checkout-item-details {
    flex: 1;
}

.checkout-item-name {
    font-family: var(--shop-font-display);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.checkout-item-qty {
    font-size: 11px;
    color: var(--shop-text-muted);
}

.checkout-item-price {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.place-order-btn {
    width: 100%;
    padding: 14px;
    background: var(--shop-accent);
    color: white;
    border: none;
    border-radius: var(--shop-radius);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--shop-transition);
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.place-order-btn:hover {
    background: var(--shop-accent-hover);
}


/* =========================================================
   ORDER CONFIRMATION
   ========================================================= */
.order-success {
    text-align: center;
    padding: 44px 32px;
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    margin: 20px auto;
    max-width: 680px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--shop-border);
    box-sizing: border-box;
    width: 100%;
}

.order-success .success-icon {
    width: 68px;
    height: 68px;
    background: #ecfdf5;
    border: 2px solid #a7f3d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 28px;
    color: #10b981;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.order-success h1 {
    font-family: var(--shop-font-display);
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0f172a;
}

.order-success .order-num {
    font-size: 15px;
    color: var(--shop-text-secondary);
    margin-bottom: 20px;
}

.order-success .order-num strong {
    color: var(--shop-accent);
}

.order-details-card {
    max-width: 560px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: left;
    background: #f8fafc;
    border: 1px solid var(--shop-border);
    border-radius: var(--shop-radius);
    padding: 20px 22px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
}

.order-detail-row:last-child {
    border-bottom: none;
}

.order-detail-row .label {
    color: var(--shop-text-muted);
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 100px;
}

.order-detail-row .value {
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex: 1;
}


/* =========================================================
   ACCOUNT PAGES — My Orders, Profile, Tracking
   ========================================================= */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    padding: 16px 0 48px;
}

.account-sidebar {
    background: var(--shop-white);
    border-radius: var(--shop-radius);
    padding: 20px 0;
    position: sticky;
    top: calc(var(--header-height) + var(--catnav-height) + 16px);
    align-self: start;
    box-shadow: var(--shop-shadow-sm);
}

.account-sidebar .account-user {
    padding: 0 20px 16px;
    border-bottom: 1px solid var(--shop-border-light);
    margin-bottom: 8px;
}

/* Account User Avatar is now handled in the profile section below */

.account-user .user-name {
    font-weight: 700;
    font-size: 14px;
}

.account-user .user-email {
    font-size: 12px;
    color: var(--shop-text-muted);
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--shop-text-secondary);
    transition: var(--shop-transition-fast);
    border-left: 3px solid transparent;
}

.account-nav a:hover {
    background: var(--shop-bg);
    color: var(--shop-text);
}

.account-nav a.active {
    border-left-color: var(--shop-accent);
    background: rgba(255, 107, 53, 0.04);
    color: var(--shop-accent);
    font-weight: 600;
}

.account-nav a i {
    width: 18px;
    font-size: 14px;
}

.account-content {
    min-height: 400px;
}

.account-card {
    background: var(--shop-white);
    border-radius: var(--shop-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shop-shadow-sm);
}

.account-card h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--shop-border-light);
}

/* Order Cards */
.order-card {
    border: 1px solid var(--shop-border-light);
    border-radius: var(--shop-radius);
    overflow: hidden;
    margin-bottom: 12px;
    transition: var(--shop-transition);
}

.order-card:hover {
    box-shadow: var(--shop-shadow);
}

.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--shop-bg);
    font-size: 13px;
}

.order-card-header .order-id {
    font-weight: 700;
    color: var(--shop-accent);
}

.order-card-header .order-date {
    color: var(--shop-text-muted);
}

.order-card-body {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-card-body .order-items-preview {
    display: flex;
    gap: 8px;
    flex: 1;
}

.order-card-body .order-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f8f9fc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--shop-border-light);
    overflow: hidden;
}

.order-card-body .order-item-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.order-card-body .order-total {
    text-align: right;
    flex-shrink: 0;
}

.order-card-body .order-total .amount {
    font-size: 16px;
    font-weight: 700;
}

.order-card-body .order-total .items-count {
    font-size: 11px;
    color: var(--shop-text-muted);
}

.order-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--shop-border-light);
    font-size: 12px;
}

/* Order Status Badge */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.status-pill.pending {
    background: #fff4e6;
    color: #e67e22;
}

.status-pill.confirmed {
    background: #edf2ff;
    color: #4c6ef5;
}

.status-pill.shipped {
    background: #e6f7ff;
    color: #1890ff;
}

.status-pill.delivered {
    background: #f0fdf4;
    color: #16a34a;
}

.status-pill.cancelled {
    background: #fff1f0;
    color: #ff4d4f;
}

/* Order Tracking Timeline */
.tracking-timeline {
    padding: 24px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tracking-step {
    display: flex;
    gap: 24px;
    position: relative;
    padding-bottom: 32px;
}

.tracking-step:last-child {
    padding-bottom: 0;
}

/* Vertical connector line */
.tracking-step::before {
    content: '';
    position: absolute;
    left: 16px;
    /* Centered with 32px dot */
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--shop-border-light);
    z-index: 0;
}

.tracking-step:last-child::before {
    display: none;
}

.tracking-step.completed::before {
    background: var(--shop-success);
}

.tracking-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--shop-white);
    border: 2px solid var(--shop-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--shop-text-muted);
    z-index: 1;
    transition: var(--shop-transition);
}

.tracking-step.completed .tracking-dot {
    background: var(--shop-success);
    border-color: var(--shop-success);
    color: white;
}

.tracking-step.current .tracking-dot {
    background: var(--shop-primary);
    border-color: var(--shop-primary);
    color: white;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.tracking-info {
    padding-top: 4px;
}

.tracking-info h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--shop-text-secondary);
}

.tracking-step.completed .tracking-info h4,
.tracking-step.current .tracking-info h4 {
    color: var(--shop-text);
}

.tracking-info p {
    font-size: 13px;
    color: var(--shop-text-muted);
    line-height: 1.5;
}


/* =========================================================
   AUTH PAGES — Login, Register
   ========================================================= */
.shop-auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height) - var(--catnav-height) - 200px);
    padding: 32px 0;
}

.shop-auth-card {
    background: var(--shop-white);
    border-radius: var(--shop-radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shop-shadow-md);
}

.shop-auth-card h1 {
    font-family: var(--shop-font-display);
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.shop-auth-card .auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--shop-text-muted);
    margin-bottom: 28px;
}

.shop-auth-card .form-group {
    margin-bottom: 16px;
}

.shop-auth-card .form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--shop-text);
}

.shop-auth-card .form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--shop-transition);
}

.shop-auth-card .form-group input:focus {
    border-color: var(--shop-accent);
    box-shadow: 0 0 0 3px var(--shop-accent-glow);
}

.shop-auth-btn {
    width: 100%;
    padding: 13px;
    background: var(--shop-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--shop-transition);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shop-auth-btn:hover {
    background: var(--shop-accent-hover);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    font-size: 12px;
    color: var(--shop-text-muted);
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--shop-border-light);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-link {
    text-align: center;
    font-size: 13px;
    color: var(--shop-text-secondary);
}

.auth-link a {
    color: var(--shop-accent);
    font-weight: 600;
}

.auth-flash {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-flash.error {
    background: rgba(255, 68, 68, 0.08);
    color: var(--shop-danger);
}

.auth-flash.success {
    background: rgba(38, 165, 65, 0.08);
    color: var(--shop-success);
}


/* =========================================================
   FOOTER
   ========================================================= */
.shop-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 48px 0 0;
    margin-top: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand h3 {
    font-family: var(--shop-font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand h3 i {
    color: var(--shop-accent);
}

.footer-brand p {
    font-size: 12px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px 0 0 8px;
    font-size: 13px;
    background: #f8fafc;
    color: #0f172a;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #94a3b8;
}

.newsletter-form button {
    padding: 10px 16px;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--shop-transition);
}

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

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: #0f172a;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 12px;
    color: #475569;
    transition: var(--shop-transition-fast);
}

.footer-col ul li a:hover {
    color: var(--shop-accent);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
    text-align: center;
    font-size: 11px;
    color: #64748b;
}


/* =========================================================
   TOAST
   ========================================================= */
.shop-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 10000;
    padding: 12px 24px;
    background: var(--shop-text);
    color: white;
    border-radius: 8px;
    box-shadow: var(--shop-shadow-lg);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.shop-toast.show {
    transform: translateX(-50%) translateY(0);
}

.shop-toast.success {
    background: var(--shop-success);
}

.shop-toast.error {
    background: var(--shop-danger);
}

.shop-toast i {
    font-size: 16px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   PAGE TITLE
   ========================================================= */
.page-title-header {
    background: var(--shop-white);
    padding: 24px 0;
    border-bottom: 1px solid var(--shop-border-light);
}

.page-title-header h1 {
    font-family: var(--shop-font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.page-title-header p {
    font-size: 13px;
    color: var(--shop-text-muted);
}


/* =========================================================
   MOBILE NAV
   ========================================================= */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.mobile-nav-overlay.show {
    display: block;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--shop-white);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 0;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-header {
    padding: 16px 20px;
    background: var(--shop-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.mobile-nav-close button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    border: none;
    cursor: pointer;
}

.mobile-nav-links {
    padding: 8px 0;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--shop-text);
    border-bottom: 1px solid var(--shop-border-light);
}

.mobile-nav-links a i {
    width: 20px;
    color: var(--shop-accent);
    font-size: 15px;
}

.mobile-nav-links a:hover {
    background: var(--shop-bg);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .pdp-container {
        grid-template-columns: 1fr;
    }

    .pdp-gallery {
        position: static;
        border-right: none;
        border-bottom: 1px solid var(--shop-border-light);
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
        order: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
        --catnav-height: 42px;
    }

    .shop-container {
        padding: 0 12px;
    }

    .shop-utility-bar {
        display: none;
    }

    /* Header */
    .shop-mobile-toggle {
        display: flex;
    }

    .shop-logo {
        order: 0;
        font-size: 16px;
    }

    .shop-logo .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .shop-logo .logo-text {
        max-width: 100px;
    }

    .shop-search {
        order: 10;
        flex: 0 0 100%;
        margin-top: 0;
    }

    .shop-search .search-btn {
        padding: 0 12px;
        font-size: 11px;
    }

    .shop-header-actions {
        margin-left: auto;
    }

    .header-action-btn span {
        display: none;
    }

    .header-action-btn {
        padding: 6px 8px;
        gap: 0;
    }

    /* Cat Nav */
    .cat-nav-item {
        padding: 0 12px;
        font-size: 12px;
    }

    /* Hero */
    .hero-carousel,
    .hero-slide {
        min-height: unset;
        aspect-ratio: 16 / 10;
        border-radius: var(--shop-radius-lg);
    }

    .hero-slide-content {
        padding: 28px 20px;
    }

    .hero-slide-content h1 {
        font-size: 24px;
    }

    .hero-slide-content p {
        font-size: 13px;
    }

    .hero-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* Trust */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .trust-badge {
        padding: 10px 12px;
        gap: 8px;
    }

    .trust-badge .badge-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .trust-badge h4 {
        font-size: 12px;
    }

    /* Products handled by new responsive system at bottom of file */
    .product-current-price {
        font-size: 16px;
    }

    /* Cart */
    .cart-header-row {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Checkout Mobile View Fixes */
    .checkout-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 0 32px !important;
        gap: 16px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .checkout-form-section {
        padding: 16px 14px !important;
        margin-bottom: 16px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .checkout-form-section h3 {
        font-size: 16px !important;
        margin-bottom: 14px !important;
        gap: 8px !important;
    }

    .checkout-summary {
        position: static !important;
        order: 2 !important;
        padding: 16px 14px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .checkout-steps {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-step {
        flex: 1 !important;
        padding: 8px 4px !important;
        font-size: 11px !important;
        gap: 6px !important;
        border-radius: 8px !important;
        min-width: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        justify-content: center !important;
    }

    .checkout-step .step-num {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
        flex-shrink: 0 !important;
    }

    .shipping-methods-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .payment-option {
        padding: 12px 14px !important;
        gap: 10px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .payment-option .pm-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    .payment-option .pm-label {
        font-size: 13.5px !important;
        flex-wrap: wrap !important;
    }

    .payment-option .pm-desc {
        font-size: 11.5px !important;
    }

    .payment-option .pm-logos {
        flex-wrap: wrap !important;
        gap: 6px !important;
    }

    .checkout-addr-card {
        padding: 12px 14px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .checkout-recs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Auth */
    .shop-auth-card {
        margin: 0 12px;
        padding: 28px 24px;
    }

    /* Section headers */
    .section-header {
        padding: 12px 14px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .product-carousel-wrapper {
        padding: 12px;
    }
}


/* =========================================================
   PDP RICH CONTENT (Video, Specs, Reviews)
   ========================================================= */
.pdp-rich-content {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pdp-section-block {
    padding: 32px 0;
    border-top: 1px solid var(--shop-border-light);
}

.pdp-section-block h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--shop-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-section-block h3 i {
    font-size: 16px;
    color: var(--shop-accent2);
}

/* Video Wrapper */
.pdp-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--shop-radius-xl);
    overflow: hidden;
    box-shadow: var(--shop-shadow-md);
    background: #000;
}

.pdp-video-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Specs Table */
.specs-table-wrapper {
    background: var(--shop-bg);
    border-radius: var(--shop-radius-xl);
    padding: 12px;
    overflow: hidden;
}

.pdp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.pdp-specs-table th {
    width: 35%;
    text-align: left;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text-secondary);
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid var(--shop-border-light);
}

.pdp-specs-table td {
    padding: 16px 24px;
    font-size: 14px;
    color: var(--shop-text);
    font-weight: 600;
    background: var(--shop-white);
    border-bottom: 1px solid var(--shop-border-light);
}

.pdp-specs-table tr:last-child th,
.pdp-specs-table tr:last-child td {
    border-bottom: none;
}

/* Reviews Section */
.reviews-section {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    padding: 24px;
    background: var(--shop-bg);
    border-radius: var(--shop-radius-lg);
    transition: var(--shop-transition);
}

.review-card:hover {
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-sm);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--shop-accent2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.author-name {
    font-weight: 800;
    font-size: 15px;
    color: var(--shop-text);
    margin-bottom: 2px;
}

.review-date {
    font-size: 12px;
    color: var(--shop-text-muted);
    font-weight: 500;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating i {
    font-size: 14px;
}

.review-rating i.active {
    color: var(--shop-warning);
}

.review-rating i.empty {
    color: var(--shop-border);
}

.review-body {
    font-size: 15px;
    line-height: 1.6;
    color: var(--shop-text-secondary);
    font-weight: 500;
}

.empty-reviews {
    text-align: center;
    padding: 48px 0;
    color: var(--shop-text-muted);
}

.empty-reviews i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Write Review Button */
.btn-review {
    padding: 10px 20px;
    background: var(--shop-white);
    border: 2px solid var(--shop-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--shop-primary);
    cursor: pointer;
    transition: var(--shop-transition);
}

.btn-review:hover {
    background: var(--shop-primary);
    color: white;
    border-color: var(--shop-primary);
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    font-size: 32px;
    color: var(--shop-border);
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating-input label::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.star-rating-input input:checked~label,
.star-rating-input label:hover,
.star-rating-input label:hover~label {
    color: var(--shop-warning);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    width: 100%;
    max-width: 500px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--shop-text-muted);
}

/* PDP Metadata */
.pdp-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--shop-border-light);
    font-size: 13px;
    color: var(--shop-text-muted);
    justify-content: flex-start;
    /* Ensure left alignment */
}

.pdp-metadata span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-metadata span strong {
    color: var(--shop-text);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for Specs */
@media (max-width: 768px) {
    .pdp-specs-table th {
        width: 40%;
        padding: 12px 16px;
    }

    .pdp-specs-table td {
        padding: 12px 16px;
    }
}

.shop-admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.shop-admin-table thead {
    background: #f8f9fc;
}

.shop-admin-table th {
    padding: 12px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.shop-admin-table td {
    padding: 12px 14px;
    font-size: 13px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.shop-admin-table tr:hover td {
    background: #fafbff;
}

.shop-admin-table .thumb-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #f8f9fc;
}

.status-badge {
    display: inline-flex;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.status-badge.published {
    background: rgba(38, 165, 65, 0.1);
    color: #26a541;
}

.status-badge.draft {
    background: rgba(255, 159, 0, 0.1);
    color: #ff9f00;
}

.status-badge.pending {
    background: rgba(255, 159, 0, 0.1);
    color: #e67e22;
}

.status-badge.confirmed {
    background: rgba(40, 116, 240, 0.1);
    color: #2874f0;
}

.status-badge.shipped {
    background: rgba(24, 144, 255, 0.1);
    color: #1890ff;
}

.status-badge.delivered {
    background: rgba(38, 165, 65, 0.1);
    color: #26a541;
}

.status-badge.cancelled {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.admin-actions {
    display: flex;
    gap: 4px;
}

.admin-actions a,
.admin-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 12px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.admin-actions .btn-edit {
    background: rgba(40, 116, 240, 0.1);
    color: #2874f0;
}

.admin-actions .btn-edit:hover {
    background: #2874f0;
    color: white;
}

.admin-actions .btn-delete {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}

.admin-actions .btn-delete:hover {
    background: #ff4444;
    color: white;
}

.admin-actions .btn-toggle {
    background: rgba(255, 159, 0, 0.1);
    color: #ff9f00;
}

.admin-actions .btn-toggle:hover {
    background: #ff9f00;
    color: white;
}

/* Admin Form */
.shop-admin-form {
    background: white;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.shop-admin-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.shop-admin-form .form-row.full {
    grid-template-columns: 1fr;
}

.shop-admin-form .form-group {
    margin-bottom: 14px;
}

.shop-admin-form label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.shop-admin-form input,
.shop-admin-form select,
.shop-admin-form textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

.shop-admin-form input:focus,
.shop-admin-form select:focus,
.shop-admin-form textarea:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.shop-admin-form textarea {
    resize: vertical;
    min-height: 70px;
}

.shop-admin-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.shop-admin-form .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff6b35;
}

.btn-save {
    padding: 10px 28px;
    background: var(--shop-accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: var(--shop-accent-hover);
}

.image-preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.image-preview-grid .preview-item {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.image-preview-grid .preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-grid .preview-item .remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    cursor: pointer;
}

/* =========================================================
   ACCOUNTS PREMIUM REDESIGN
   ========================================================= */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    margin: 40px 0;
    align-items: start;
}

.account-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shop-shadow-sm);
    border: 1px solid var(--shop-border-light);
}

.account-user {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--shop-border-light);
}

.account-user .user-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--shop-primary) 0%, var(--shop-accent2) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 16px;
    box-shadow: var(--shop-shadow-md);
    border: 3px solid var(--shop-white);
}

.user-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--shop-text);
    margin-bottom: 4px;
}

.user-email {
    font-size: 13px;
    color: var(--shop-text-muted);
    font-weight: 500;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text-secondary);
    text-decoration: none;
    transition: var(--shop-transition);
}

.account-nav a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.7;
}

.account-nav a:hover {
    background: var(--shop-bg);
    color: var(--shop-primary);
}

.account-nav a.active {
    background: var(--shop-primary);
    color: var(--shop-white);
}

.account-nav a.active i {
    opacity: 1;
}

.account-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-card {
    background: var(--shop-white);
    border-radius: var(--shop-radius-xl);
    padding: 32px;
    box-shadow: var(--shop-shadow-sm);
    border: 1px solid var(--shop-border-light);
}

.account-card h2 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--shop-border-light);
}

/* Order Cards */
.order-card {
    border: 1px solid var(--shop-border-light);
    border-radius: var(--shop-radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--shop-transition);
}

.order-card:hover {
    box-shadow: var(--shop-shadow-md);
    border-color: var(--shop-primary-light);
}

.order-card-header {
    background: var(--shop-bg);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--shop-border-light);
}

.order-id {
    font-weight: 800;
    color: var(--shop-primary);
    font-size: 14px;
}

.order-date {
    font-size: 13px;
    color: var(--shop-text-muted);
    font-weight: 500;
}

.order-card-body {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.order-items-preview {
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--shop-white);
    border: 1px solid var(--shop-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.order-item-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.order-total {
    text-align: right;
}

.order-total .amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--shop-text);
}

.order-total .items-count {
    font-size: 12px;
    color: var(--shop-text-muted);
    margin-top: 2px;
}

.order-card-footer {
    padding: 16px 24px;
    background: var(--shop-white);
    border-top: 1px dotted var(--shop-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-pill.pending {
    background: rgba(255, 159, 0, 0.1);
    color: #e67e22;
}

.status-pill.confirmed {
    background: rgba(40, 116, 240, 0.1);
    color: #2874f0;
}

.status-pill.shipped {
    background: rgba(24, 144, 255, 0.1);
    color: #1890ff;
}

.status-pill.delivered {
    background: rgba(38, 165, 65, 0.1);
    color: #26a541;
}

.status-pill.cancelled {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
}


/* Account Stats */
.account-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}

.stat-card {
    background: var(--shop-bg);
    border-radius: var(--shop-radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-card .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--shop-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .value {
    font-size: 24px;
    font-weight: 800;
    color: var(--shop-primary);
}

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

    .account-sidebar {
        position: static;
        margin-bottom: 24px;
    }

    .account-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .account-stats-grid {
        grid-template-columns: 1fr;
    }

    .order-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .order-total {
        text-align: left;
    }
}

/* ===================== PREMIUM HOMEPAGE COMPONENTS ===================== */

/* --- BENEFIT BAR --- */
.benefit-bar {
    background: var(--shop-white);
    padding: 24px 0;
    border-bottom: 1px solid var(--shop-border-light);
    margin-bottom: 20px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.benefit-item i {
    font-size: 28px;
    color: var(--shop-primary);
    opacity: 0.8;
}

.benefit-text {
    display: flex;
    flex-direction: column;
}

.benefit-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--shop-text);
}

.benefit-text span {
    font-size: 13px;
    color: var(--shop-text-muted);
}

/* --- PROMO GRID --- */
.promo-section {
    padding: 40px 0;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.promo-card {
    position: relative;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    min-height: 200px;
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-sm);
    transition: var(--shop-transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shop-shadow-md);
}

.promo-card picture,
.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-card-btn-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 8px 18px;
    background: #ff5252;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 82, 82, 0.4);
    pointer-events: none;
}

.promo-placeholder {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.promo-placeholder h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-btn {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    color: var(--shop-accent2);
    font-size: 14px;
}

/* --- FEATURE SPOTLIGHT BANNERS (TEXT + IMAGE BELOW BRANDS) --- */
.feature-spotlight-section {
    padding: 40px 0;
}

.feature-spotlight-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-spotlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-spotlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.feature-spotlight-card.reverse {
    flex-direction: row-reverse;
}

.feature-spotlight-content {
    flex: 1;
    max-width: 520px;
}

.feature-spotlight-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #475569;
    margin-bottom: 12px;
}

.feature-spotlight-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.feature-spotlight-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 28px;
}

.feature-spotlight-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: #00aeef;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 174, 239, 0.3);
}

.feature-spotlight-btn:hover {
    background: #0096ce;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
    color: #ffffff;
}

.feature-spotlight-image {
    flex: 1;
    max-width: 540px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background: #f8fafc;
}

.feature-spotlight-image picture,
.feature-spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.feature-spotlight-card:hover .feature-spotlight-image img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .feature-spotlight-section {
        padding: 24px 0;
    }

    .feature-spotlight-grid {
        gap: 24px;
    }

    .feature-spotlight-card,
    .feature-spotlight-card.reverse {
        flex-direction: column-reverse;
        padding: 28px 24px;
        gap: 24px;
        border-radius: 20px;
    }

    .feature-spotlight-content {
        max-width: 100%;
        width: 100%;
    }

    .feature-spotlight-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .feature-spotlight-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .feature-spotlight-image {
        max-width: 100%;
        width: 100%;
        height: 280px;
        border-radius: 16px;
    }
}

@media (max-width: 576px) {

    .feature-spotlight-card,
    .feature-spotlight-card.reverse {
        padding: 20px 16px;
        gap: 18px;
        border-radius: 16px;
    }

    .feature-spotlight-tag {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .feature-spotlight-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .feature-spotlight-desc {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .feature-spotlight-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
        box-sizing: border-box;
    }

    .feature-spotlight-image {
        height: 220px;
        border-radius: 12px;
    }
}

/* --- SECTION TABS --- */
.section-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--shop-border-light);
}

.tabs-list {
    display: flex;
    gap: 8px;
}

.tab-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--shop-text-secondary);
    border-radius: var(--shop-radius-sm) var(--shop-radius-sm) 0 0;
    transition: var(--shop-transition-fast);
    position: relative;
    cursor: pointer;
}

.tab-btn.active {
    color: var(--shop-text);
    background: var(--shop-white);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--shop-primary);
}

.tab-content {
    display: none;
}

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

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-accent2);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- FEATURED BANNER SECTION --- */
.featured-banner-section {
    padding: 60px 0;
    background: #fdfdfd;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.featured-product-card {
    background: var(--shop-white);
    border-radius: var(--shop-radius);
    padding: 16px;
    position: relative;
    border: 1px solid var(--shop-border-light);
    transition: var(--shop-transition);
}

.featured-product-card:hover {
    border-color: var(--shop-accent2);
    box-shadow: var(--shop-shadow-md);
}

.sponsored-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--shop-text-muted);
    text-transform: uppercase;
}

.featured-img {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.featured-img img {
    max-height: 100%;
    object-fit: contain;
}

.featured-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--shop-text);
}

/* --- CATEGORY PILLS --- */
.category-grid-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-pill {
    padding: 12px 20px;
    background: var(--shop-white);
    border: 1px solid var(--shop-border-light);
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--shop-transition-fast);
}

.cat-pill:hover {
    background: var(--shop-primary);
    color: white;
    border-color: var(--shop-primary);
}

.cat-pill i {
    font-size: 16px;
}

.cat-pill-img {
    width: 26px;
    height: 26px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Old media queries handled at end of file */

/* --- PROMO CAROUSEL --- */
.promo-carousel-wrapper {
    position: relative;
    padding: 0 40px;
}

.promo-grid.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
    /* Firefox */
}

.promo-grid.carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.promo-grid.carousel .promo-card {
    flex: 0 0 calc(25% - 15px);
    /* 4 items per view */
    aspect-ratio: 1.2 / 1;
}

.promo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--shop-border-light);
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    box-shadow: var(--shop-shadow-sm);
    transition: var(--shop-transition);
}

.promo-nav-btn:hover {
    background: var(--shop-primary);
    color: white;
    border-color: var(--shop-primary);
}

.promo-nav-btn.prev {
    left: -10px;
}

.promo-nav-btn.next {
    right: -10px;
}

/* --- MASONRY GRID --- */
.masonry-section {
    padding: 40px 0;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.masonry-item {
    position: relative;
    border-radius: var(--shop-radius-lg);
    overflow: hidden;
    background: var(--shop-white);
    box-shadow: var(--shop-shadow-sm);
    transition: var(--shop-transition);
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--shop-transition);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item.masonry-large {
    grid-column: span 2;
    grid-row: span 2;
}

.masonry-item.masonry-tall {
    grid-row: span 2;
}

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.masonry-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.masonry-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.masonry-btn {
    display: inline-block;
    padding: 8px 20px;
    background: var(--shop-accent2);
    color: white;
    border-radius: var(--shop-radius-sm);
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
    pointer-events: auto;
}

/* Promo grid and masonry handled at end of file */

/* --- EMPTY STATES --- */
.empty-tab-state {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fc;
    border-radius: var(--shop-radius-lg);
    border: 1px dashed var(--shop-border-light);
    color: var(--shop-text-muted);
}

.empty-tab-state i {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--shop-accent2);
    display: block;
}

.empty-tab-state p {
    font-size: 14px;
    font-weight: 500;
}

/* =========================================================
   PDP STICKY HEADER & TABS
   ========================================================= */
.pdp-sticky-bar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    /* Above regular header */
    height: 80px;
    box-shadow: var(--shop-shadow-md);
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--shop-border-light);
}

.pdp-sticky-bar.visible {
    top: 0;
}

.pdp-sticky-bar .shop-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.sticky-product-info img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--shop-bg);
}

.sticky-product-name-block {
    display: flex;
    flex-direction: column;
}

.sticky-product-name-block h3 {
    font-family: var(--shop-font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--shop-text);
}

.sticky-product-name-block .price {
    font-weight: 800;
    color: var(--shop-accent);
    font-size: 15px;
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sticky-variant-selector select {
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--shop-border);
    font-size: 14px;
    font-weight: 600;
    background: var(--shop-white);
    outline: none;
}

.sticky-add-btn {
    padding: 12px 32px;
    background: var(--shop-primary);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: var(--shop-shadow-sm);
    transition: var(--shop-transition);
}

.sticky-add-btn:hover {
    background: var(--shop-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shop-shadow);
}

/* =========================================================
   PDP TABS REDESIGN (Executive, Minimal, Fully Responsive)
   ========================================================= */
.pdp-tabs-section-wrapper {
    margin: 32px auto 48px auto !important;
    padding: 0 20px !important;
    max-width: var(--shop-container, 1400px) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.pdp-tabs-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.pdp-tabs-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0 !important;
    white-space: nowrap;
}

.pdp-tabs-header::-webkit-scrollbar {
    display: none;
}

.pdp-tab-btn {
    padding: 9px 18px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #64748b !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    cursor: pointer;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: static !important;
    box-sizing: border-box !important;
}

.pdp-tab-btn::after {
    display: none !important;
}

.pdp-tab-btn:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

.pdp-tab-btn.active {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
    border-color: #0f172a !important;
}

.pdp-tab-btn.active i {
    color: #ffffff !important;
}

.pdp-tab-btn i {
    font-size: 13.5px;
    color: #94a3b8;
    transition: color 0.2s;
}

.pdp-tab-btn:hover i {
    color: #475569;
}

.pdp-tab-count-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 12px;
    background: #e2e8f0;
    color: #475569;
    margin-left: 2px;
    transition: all 0.2s;
}

.pdp-tab-btn.active .pdp-tab-count-pill {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Tabs Content Body */
.pdp-tabs-content {
    padding: 32px 36px;
    box-sizing: border-box;
}

.pdp-tab-content {
    display: none;
    animation: pdpTabFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.pdp-tab-pane-inner {
    width: 100%;
    box-sizing: border-box;
}

/* Typography & Prose within Description */
.pdp-lead-summary {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.55;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.pdp-prose {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.8;
}

.pdp-prose p {
    margin-bottom: 12px;
}

.pdp-prose strong, .pdp-prose b {
    color: #0f172a;
    font-weight: 700;
}

.pdp-prose br + br {
    display: none;
}

.pdp-prose p.pdp-feature-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #334155;
    line-height: 1.55;
    transition: border-color 0.2s;
}

.pdp-prose p.pdp-feature-item:hover {
    border-color: #cbd5e1;
}

.pdp-feature-bullet-icon {
    color: #10b981;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Inside the Package Grid */
.pdp-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-top: 18px;
    margin-bottom: 20px;
}

.pdp-box-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color 0.2s;
}

.pdp-box-item-card:hover {
    border-color: #cbd5e1;
}

.pdp-box-item-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #0f172a;
}

.pdp-box-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.35;
}

.pdp-box-item-sub {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
}

.pdp-box-seal-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 12px;
    font-weight: 600;
}

/* Compatibility Showcase */
.pdp-compat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 18px;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.75;
}

.pdp-compat-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.pdp-compat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
}

/* Customer Reviews Hub */
.pdp-reviews-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 22px;
}

.pdp-reviews-score-block {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pdp-reviews-big-score {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.pdp-reviews-stars-wrap {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 3px;
}

.pdp-reviews-count-meta {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

.btn-write-review-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-write-review-toggle:hover {
    background: #1e293b;
}

.pdp-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

.pdp-review-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.pdp-author-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdp-author-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.pdp-verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 7px;
    border-radius: 6px;
}

/* Related section margin fix */
.pdp-related-section {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: 1360px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

@keyframes pdpTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.related-header-premium {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--shop-text-muted);
    margin-bottom: 24px;
}


/* =========================================================
   MEGA MENU — Premium High-Brand Navigation
   ========================================================= */
.shop-header {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    position: sticky;
    top: 0;
    z-index: 999;
}

.shop-header .shop-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-wrap: nowrap;
}

.shop-nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    margin: 0 16px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1e293b;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.18s ease;
    padding: 0 12px;
    border-radius: 8px;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--shop-accent, #10547F);
    background: rgba(16, 84, 127, 0.05);
}

.nav-link::after {
    display: none;
}

/* Mega Menu Container */
.mega-menu {
    position: fixed;
    /* Fixed to viewport for true full-width */
    top: 70px;
    left: 0;
    width: 100vw;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border-top: 1px solid #f1f5f9;
    padding: 48px 0;
}

.nav-link:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-content {
    max-width: var(--shop-container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
}

/* Specific Layout for Shop By Mega Menu */
.mega-menu-shopby {
    grid-template-columns: repeat(3, 1fr) 1.5fr;
}

/* Specific Layout for Collections Mega Menu */
.mega-menu-collections {
    display: block;
    /* Horizontal row */
}

.collections-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-menu-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.mega-menu-item {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    transition: var(--shop-transition-fast);
}

.mega-menu-item:hover {
    color: var(--shop-accent);
    transform: translateX(5px);
}

.mega-menu-featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.featured-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.featured-image {
    aspect-ratio: 4/3;
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Better for product shots */
    padding: 20px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover img {
    transform: scale(1.1);
}

.featured-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0f172a;
}

/* Header Right Actions Refinement */
.shop-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0f172a;
    border-radius: 50%;
    transition: var(--shop-transition-fast);
}

.header-icon-btn:hover {
    background: #f8fafc;
    color: var(--shop-accent);
}

.header-search-trigger {
    cursor: pointer;
}

/* Storefront Item Name / Product Name Typography Override for Premium Look */
.product-card h3,
.item-name,
.cart-item-name a,
.checkout-item-name a,
.account-card div[style*="font-weight:700;font-size:14px"],
.account-card div[style*="font-weight:800;font-size:15px"] {
    font-family: var(--shop-font-display) !important;
}

/* Brands Sub Bar Styling */
.brands-sub-bar {
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.01);
}

.brands-sub-bar .shop-container {
    display: flex;
    justify-content: center;
    gap: 36px;
    align-items: center;
    flex-wrap: wrap;
}

.brand-item {
    position: relative;
    display: inline-block;
}

.brand-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-text-muted, #64748b);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    transition: all 0.2s ease;
}

.brand-link:hover {
    color: var(--shop-primary) !important;
}

.brand-hover-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: var(--shop-radius-md, 8px);
    box-shadow: var(--shop-shadow-md, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    padding: 8px 16px;
    z-index: 100;
    min-width: 120px;
    text-align: center;
    margin-top: 8px;
}

.brand-item:hover .brand-hover-menu {
    display: block;
    animation: slideDown 0.15s ease-out;
}

.brand-shop-now-btn {
    font-size: 11px;
    color: var(--shop-primary);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.brand-shop-now-btn:hover {
    color: var(--shop-accent) !important;
}


/* =========================================================
   STOREFRONT ULTRA-PREMIUM MOBILE UI/UX SYSTEM
   ========================================================= */

/* Hide Bottom Nav on Desktop by default */
.shop-bottom-nav {
    display: none !important;
}

/* Tablet & Moderate Screens (<= 992px) */
@media (max-width: 992px) {
    .shop-nav-center {
        display: none !important;
    }

    .shop-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--shop-border-light, #e2e8f0);
        border-radius: 12px;
        background: #ffffff;
        color: #0f172a;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .shop-mobile-toggle:active {
        transform: scale(0.95);
        background: #f8fafc;
    }

    .header-left-mobile {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .brands-sub-bar .shop-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-behavior: smooth;
        gap: 24px !important;
        padding: 12px 16px !important;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .brands-sub-bar .shop-container::-webkit-scrollbar {
        display: none;
    }

    .brand-item {
        flex: 0 0 auto !important;
    }

    .brand-hover-menu {
        display: none !important;
    }
}

/* Mobile Screens (<= 768px) */
@media (max-width: 768px) {

    /* Enable Bottom App Navigation Bar */
    .shop-bottom-nav {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 62px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 9990;
        align-items: center;
        justify-content: space-around;
        padding: 0 4px;
        padding-bottom: env(safe-area-inset-bottom, 0);
        box-sizing: border-box;
    }

    .bottom-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        flex: 1;
        height: 100%;
        text-decoration: none;
        color: #64748b;
        font-size: 11px;
        font-weight: 600;
        font-family: var(--shop-font-body, 'Outfit', sans-serif);
        transition: all 0.18s ease;
        cursor: pointer;
        user-select: none;
        position: relative;
    }

    .bottom-nav-item i {
        font-size: 18px;
        transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .bottom-nav-item:active i {
        transform: scale(0.88);
    }

    .bottom-nav-item.active {
        color: var(--shop-accent, #10547F);
        font-weight: 800;
    }

    .bottom-nav-item.active i {
        color: var(--shop-accent, #10547F);
        transform: scale(1.1);
    }

    /* Ensure Body has bottom padding for navigation bar */
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0)) !important;
    }

    body.pdp-page .shop-bottom-nav {
        display: flex !important;
    }

    /* Header Optimization */
    .shop-header .shop-container {
        padding: 12px 16px !important;
        gap: 12px !important;
    }

    .shop-logo img {
        max-height: 32px !important;
    }

    .shop-header-actions {
        gap: 12px !important;
    }

    .shop-header-actions .cart-btn span.cart-text,
    .shop-header-actions .account-link span {
        display: none !important;
    }

    .shop-utility-bar {
        display: none !important;
    }

    /* Hero Banner & Typography */
    .hero-banner {
        min-height: 380px !important;
        border-radius: 16px !important;
        margin: 12px 16px !important;
    }

    .hero-content {
        padding: 24px 20px !important;
        max-width: 100% !important;
    }

    .hero-content h1 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }

    .hero-content p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }

    .hero-btn {
        padding: 12px 24px !important;
        font-size: 14px !important;
    }

    /* Benefit Bar Mobile Single Row Carousel */
    .benefit-bar {
        padding: 16px 0 !important;
        overflow: hidden;
    }

    .benefit-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        gap: 12px !important;
        padding: 4px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .benefit-grid::-webkit-scrollbar {
        display: none !important;
    }

    .benefit-item {
        flex: 0 0 75% !important;
        max-width: 270px !important;
        scroll-snap-align: start !important;
        padding: 14px 14px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 12px !important;
        box-sizing: border-box !important;
    }

    .benefit-icon {
        font-size: 22px !important;
        margin: 0 !important;
    }

    .benefit-text h4 {
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .benefit-text p {
        font-size: 11px !important;
        color: #64748b !important;
    }

    /* Promo Grid / Carousel (Mobile View - Exactly matches Hero Banner size and styling) */
    .promo-section {
        padding: 0 0 16px 0 !important;
        margin-bottom: 0 !important;
        background: #ffffff !important;
    }

    .promo-section .shop-container {
        padding: 0 12px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .promo-carousel-wrapper {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
        aspect-ratio: 16 / 10 !important;
        background: #ffffff !important;
    }

    .promo-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: none !important;
    }

    .promo-grid::-webkit-scrollbar {
        display: none !important;
    }

    .promo-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 16 / 10 !important;
        min-height: unset !important;
        scroll-snap-align: start !important;
        border-radius: 20px !important;
        margin: 0 !important;
        background: #ffffff !important;
        overflow: hidden !important;
        display: block !important;
        position: relative !important;
        box-shadow: none !important;
    }

    .promo-card picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .promo-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        border-radius: inherit !important;
    }

    .promo-card-btn-overlay {
        position: absolute !important;
        bottom: 16px !important;
        left: 16px !important;
        padding: 8px 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        z-index: 5 !important;
    }

    .promo-nav-btn {
        display: none !important;
    }

    .promo-mobile-dots {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        position: absolute !important;
        bottom: 12px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10 !important;
        pointer-events: auto !important;
    }

    .promo-mobile-dot {
        width: 8px !important;
        height: 8px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.6) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        cursor: pointer !important;
    }

    .promo-mobile-dot.active {
        width: 24px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }

    /* Mobile Compact Spacing & Gap Reductions */
    .shop-section {
        padding: 12px 0 !important;
        margin-bottom: 0 !important;
    }

    .section-header {
        margin-bottom: 10px !important;
        padding: 0 4px !important;
    }

    .section-header h2 {
        font-size: 18px !important;
        gap: 8px !important;
    }

    .section-header h2 .section-icon {
        font-size: 18px !important;
    }

    .category-carousel-wrapper {
        margin-bottom: 0 !important;
    }

    .category-carousel-track {
        padding: 2px 2px 8px 2px !important;
        gap: 12px !important;
    }

    .featured-banner-section {
        padding: 10px 0 !important;
        margin-bottom: 0 !important;
    }

    .masonry-section {
        padding: 10px 0 !important;
        margin-bottom: 0 !important;
    }

    .promo-section {
        padding: 8px 0 !important;
        margin-bottom: 0 !important;
    }

    .benefit-bar {
        padding: 8px 0 !important;
        margin-bottom: 0 !important;
    }

    /* Section Tabs */
    .section-tabs-header {
        padding: 0 !important;
        margin-bottom: 12px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }

    .tabs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
    }

    .tab-btn {
        white-space: nowrap !important;
        padding: 7px 14px !important;
        font-size: 12px !important;
        border-radius: 20px !important;
    }

    /* Featured Products & Grids - Zero Clipping, 100% Aligned */
    .featured-products-grid,
    .product-grid,
    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-product-card,
    .product-card {
        padding: 12px !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Horizontal Carousels - Explicit Fixed Card Widths & 100% Equal Height */
    .product-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 4px 0 16px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
    }

    .product-carousel::-webkit-scrollbar {
        display: none !important;
    }

    .product-carousel .product-card,
    .product-carousel-wrapper .product-card {
        flex: 0 0 160px !important;
        width: 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        justify-content: flex-start !important;
    }

    /* Image Box Alignment */
    .featured-img,
    .product-img,
    .product-card-image {
        height: 130px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
        flex-shrink: 0 !important;
    }

    .featured-img img,
    .product-img img,
    .product-card-image img {
        max-height: 100% !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .product-card-info,
    .featured-info {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .product-card-colors {
        min-height: 18px !important;
        height: 18px !important;
        max-height: 18px !important;
        margin: 0 0 4px 0 !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .featured-product-card h3,
    .product-card h3,
    .product-card-title {
        margin: 0 0 4px 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 2.7em !important;
        min-height: 2.7em !important;
        max-height: 2.7em !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
    }

    .featured-product-card h3 a,
    .product-card h3 a,
    .product-card-title a {
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }

    /* Rating Slot - Fixed Uniform Height */
    .product-rating-slot,
    .product-rating {
        min-height: 18px !important;
        height: 18px !important;
        max-height: 18px !important;
        margin: 0 0 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        font-size: 11px !important;
    }

    .product-rating .stars {
        display: flex !important;
        gap: 2px !important;
    }

    .product-rating .stars i {
        font-size: 10px !important;
    }

    .product-rating .rating-text {
        font-size: 10px !important;
        color: #64748b !important;
        font-weight: 600 !important;
    }

    .base-item-name {
        min-height: 14px !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    /* Price Block - Consistent Height Anchored Above Button */
    .price-block,
    .product-price-block,
    .featured-price {
        margin-top: auto !important;
        min-height: 38px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        gap: 1px !important;
        margin-bottom: 8px !important;
        padding-top: 4px !important;
    }

    .product-original-price {
        font-size: 11px !important;
        line-height: 1.2 !important;
        color: #94a3b8 !important;
        text-decoration: line-through !important;
        font-weight: 600 !important;
        margin: 0 !important;
    }

    .product-current-price {
        font-size: 14.5px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        color: #0f172a !important;
        margin: 0 !important;
    }

    .product-current-price .currency {
        font-size: 1em !important;
        font-weight: inherit !important;
        font-family: inherit !important;
        color: inherit !important;
        margin-right: 2px !important;
    }

    /* Hide short description on mobile grid/carousel cards */
    .product-card-short-desc {
        display: none !important;
    }

    .product-card .add-to-cart-btn,
    .product-card .product-add-btn {
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 10px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        border-radius: 17px !important;
        width: 100% !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        box-sizing: border-box !important;
    }

    /* Brands Section Polish */
    .brands-section-wrapper {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
    }

    .brands-section-header {
        margin-bottom: 16px !important;
        padding: 0 !important;
    }

    .brands-section-header h2 {
        font-size: 22px !important;
    }

    .brands-carousel-container {
        padding: 0 !important;
        width: 100% !important;
    }

    .brands-nav-btn {
        display: none !important;
    }

    .brands-carousel-track {
        gap: 16px !important;
        padding: 8px 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .brand-carousel-item {
        flex: 0 0 140px !important;
    }

    .brand-logo-card {
        height: 90px !important;
        padding: 12px !important;
        border-radius: 14px !important;
    }

    /* Hide Carousel Navigation Chevrons & Brand Sub Bar on Mobile */
    .carousel-nav,
    .promo-nav-btn,
    .brands-nav-btn,
    .hero-nav-btn,
    .brands-sub-bar {
        display: none !important;
    }

    /* PDP Sticky Action Bar Docked Above Bottom Nav */
    .pdp-sticky-bar {
        top: auto !important;
        bottom: -120px !important;
        height: 68px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(16px) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
        border-top: 1px solid var(--shop-border-light, #e2e8f0) !important;
        border-bottom: none !important;
        z-index: 3999 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .pdp-sticky-bar.visible {
        bottom: 64px !important;
        top: auto !important;
    }

    .pdp-sticky-bar .shop-container {
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        height: 100% !important;
    }

    .sticky-product-info {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .sticky-product-info img {
        display: block !important;
        width: 42px !important;
        height: 42px !important;
        object-fit: contain !important;
        border-radius: 6px !important;
        flex-shrink: 0 !important;
        background: #f8fafc !important;
    }

    .sticky-variant-selector {
        display: none !important;
    }

    .sticky-product-name-block {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }

    .sticky-product-name-block h3 {
        display: block !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        margin: 0 0 2px 0 !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        width: 100% !important;
        max-width: 170px !important;
    }

    .sticky-product-name-block .price {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: var(--shop-accent, #2563eb) !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        white-space: nowrap !important;
    }

    .sticky-actions {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        min-width: 0 !important;
    }

    .sticky-add-btn {
        height: 40px !important;
        padding: 0 16px !important;
        border-radius: 20px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        background: var(--shop-accent2, #10547F) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(16, 84, 127, 0.25) !important;
    }

    /* PDP Page Content — Zero Horizontal Clipping Fix */
    .pdp-page-wrapper {
        padding: 4px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .pdp-container {
        gap: 12px !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        padding: 6px !important;
        box-sizing: border-box !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .pdp-title {
        font-size: 1.1rem !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        color: #0f172a !important;
    }

    .pdp-price-block .current {
        font-size: 22px !important;
    }

    /* PDP Actions — Row 1: Qty Selector (left) + Wishlist (right) | Row 2: 100% Full-Width Add to Cart */
    .pdp-actions {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    .pdp-actions .quantity-selector,
    .pdp-actions .pdp-qty-selector {
        order: 1 !important;
        flex: 0 0 auto !important;
        width: 125px !important;
        max-width: 125px !important;
        height: 44px !important;
        overflow: visible !important;
        border-radius: 22px !important;
        padding: 4px 6px !important;
        box-sizing: border-box !important;
    }

    .pdp-wishlist-btn {
        order: 2 !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        flex-shrink: 0 !important;
        font-size: 18px !important;
        box-sizing: border-box !important;
        border-radius: 50% !important;
        margin-left: auto !important;
    }

    .pdp-add-btn {
        order: 3 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        border-radius: 24px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        margin-top: 4px !important;
    }

    .pdp-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .pdp-tagline-section {
        margin: 32px 0 !important;
    }

    .pdp-tagline-section h2 {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    .pdp-tagline-section p {
        font-size: 13px !important;
    }

    /* PDP Content Mobile Overflow & Gallery Layout Fixes */
    .pdp-info {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
        word-break: break-word !important;
        padding: 6px 4px !important;
        box-sizing: border-box !important;
    }

    .pdp-gallery-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 8px !important;
        box-sizing: border-box !important;
    }

    .pdp-gallery {
        position: static !important;
        top: auto !important;
        padding: 0 !important;
        background: none !important;
        width: 100% !important;
    }

    .pdp-main-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        min-height: 280px !important;
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
        background: #fff !important;
        border: 1px solid var(--shop-border-light, #e2e8f0) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .pdp-main-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        margin: auto !important;
    }

    .pdp-thumbnails {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 4px 2px 12px !important;
        margin-top: 12px !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .pdp-thumbnail {
        width: 64px !important;
        height: 64px !important;
        flex: 0 0 64px !important;
        border-radius: 12px !important;
        border: 2px solid var(--shop-border-light, #eee) !important;
        background: #fff !important;
        cursor: pointer !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
    }

    .pdp-thumbnail.active,
    .pdp-thumbnail:hover {
        border-color: var(--shop-accent, #2563eb) !important;
        box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
    }

    .pdp-specs-table {
        max-width: 100% !important;
        width: 100% !important;
    }

    .pdp-specs-table th,
    .pdp-specs-table td {
        font-size: 12px !important;
        padding: 10px 0 !important;
        word-break: break-word !important;
    }

    .pdp-tabs-section-wrapper {
        margin: 20px auto 32px auto !important;
        padding: 0 12px !important;
    }
    .pdp-tabs-card {
        border-radius: 14px !important;
    }
    .pdp-tabs-header {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
        padding: 6px 8px !important;
        gap: 4px !important;
    }
    .pdp-tab-btn {
        font-size: 12.5px !important;
        padding: 8px 13px !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }
    .pdp-tabs-content {
        padding: 20px 16px !important;
    }
    .pdp-box-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .pdp-related-section {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Cart Layout & Section Mobile Fixes */
    .cart-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 16px 0 64px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cart-items-section {
        overflow: visible !important;
        box-shadow: none !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    /* Cart Mobile Cards - Spacious & Zero Clipping */
    .cart-header-row {
        display: none !important;
    }

    .cart-item-row {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 14px !important;
        background: #ffffff !important;
        border: 1px solid var(--shop-border-light, #e2e8f0) !important;
        border-radius: 16px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
        position: relative !important;
        width: 100% !important;
        box-sizing: border-box !important;
        align-items: center !important;
    }

    .cart-item-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
        padding-right: 36px !important;
        min-width: 0 !important;
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .cart-item-img {
        width: 56px !important;
        height: 56px !important;
        flex: 0 0 56px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }

    .cart-item-name {
        min-width: 0 !important;
        flex: 1 !important;
    }

    .cart-item-name a {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .cart-col-price {
        display: none !important;
    }

    /* Qty + Total on same row */
    .cart-col-qty {
        display: flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
    }

    .cart-col-qty .quantity-selector {
        display: flex !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 22px !important;
        padding: 3px 6px !important;
        height: 36px !important;
        width: auto !important;
        transform: none !important;
        overflow: visible !important;
    }

    .cart-col-qty .quantity-selector button {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        color: #334155 !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
    }

    .cart-col-qty .quantity-selector input {
        width: 32px !important;
        height: 28px !important;
        text-align: center !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border: none !important;
        border-left: none !important;
        border-right: none !important;
        background: transparent !important;
        color: #0f172a !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
    }

    .cart-col-total {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: var(--shop-accent, #2563eb) !important;
        flex: 1 !important;
        text-align: right !important;
    }

    .cart-remove-btn {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        background: #fef2f2 !important;
        color: #ef4444 !important;
        border: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
    }

    /* Cart Summary */
    .cart-summary {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .cart-summary-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    .cart-summary-row span {
        white-space: nowrap !important;
        font-size: 13px !important;
    }

    .checkout-steps {
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .checkout-step {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        padding: 12px 14px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .shipping-methods-grid,
    .payment-methods {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Footer & Trust Badges */
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .shop-footer {
        padding: 40px 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        text-align: center !important;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Small Mobile Screens (<= 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 22px !important;
    }

    .featured-products-grid,
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .featured-product-card,
    .product-card {
        padding: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .featured-img,
    .product-img,
    .product-card-image {
        height: 120px !important;
        margin-bottom: 6px !important;
    }

    .featured-product-card h3 a,
    .product-card h3 a,
    .product-card-title a {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .price-block,
    .product-price-block,
    .featured-price {
        margin-top: auto !important;
        min-height: 36px !important;
        font-size: 13.5px !important;
    }

    .bottom-nav-item span {
        font-size: 10px !important;
    }

    .product-carousel .product-card,
    .product-carousel-wrapper .product-card {
        flex: 0 0 145px !important;
        width: 145px !important;
        min-width: 145px !important;
        max-width: 145px !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .pdp-tagline-section h2 {
        font-size: 24px !important;
    }

    .pdp-main-image {
        min-height: 240px !important;
    }

    .pdp-thumbnail {
        width: 56px !important;
        height: 56px !important;
        flex: 0 0 56px !important;
    }

    .pdp-title {
        font-size: 18px !important;
    }
}

/* =========================================================
   PERFECT PDP MOBILE FIXES (NO CLUTTER, NO STICKY OVERLAP & NO TEXT CLIPPING)
   ========================================================= */
@media (max-width: 1024px) {
    .pdp-page-wrapper {
        padding: 0 12px !important;
    }

    .pdp-container {
        grid-template-columns: 1fr !important;
        margin-top: 12px !important;
        box-shadow: none !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pdp-gallery {
        padding: 12px !important;
        position: static !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .pdp-info {
        padding: 16px 12px 32px 12px !important;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .pdp-breadcrumb {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        gap: 6px 8px !important;
        margin-bottom: 12px !important;
        font-size: 12px !important;
    }

    .pdp-breadcrumb span.crumb-current {
        max-width: 140px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }

    .pdp-title {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        margin-bottom: 12px !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        max-width: 100% !important;
        color: #0f172a !important;
    }
}

@media (max-width: 768px) {

    /* Hide floating PDP sticky bar on mobile to keep screen spacious & uncluttered */
    .pdp-sticky-bar {
        display: none !important;
    }

    /* Position WhatsApp Float safely above mobile bottom nav bar (60px) */
    .whatsapp-float {
        bottom: 74px !important;
        right: 16px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 3990 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    }

    .whatsapp-float i {
        font-size: 1.4rem !important;
    }

    .pdp-main-image {
        position: relative !important;
        aspect-ratio: 1 / 1 !important;
        max-height: 380px !important;
        width: 100% !important;
        margin: 0 auto 12px auto !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pdp-main-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        margin: auto !important;
    }
}

@media (max-width: 640px) {
    .pdp-breadcrumb span.crumb-current {
        display: none !important;
        /* Keep breadcrumb clean on 1 single line on mobile: Home > Category */
    }
}

/* =========================================================
   STRICT DEVICE SPECIFIC BANNER VISIBILITY RULES
   ========================================================= */
@media (min-width: 769px) {

    .mobile-only-banner,
    .mobile-only-slide,
    .mobile-only-card {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        flex: 0 0 0 !important;
    }
}

@media (max-width: 768px) {

    .pc-only-banner,
    .pc-only-slide,
    .pc-only-card {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        flex: 0 0 0 !important;
    }
}

/* =========================================================
   GRID / LIST VIEW SWITCHER LAYOUT RULES
   ========================================================= */


/* =========================================================
   E-COMMERCE HIGH-DENSITY TEXT & CARD OVERFLOW FIXES
   ========================================================= */
.product-card-title,
.product-title,
.product-name,
.p-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--shop-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em;
    max-height: 2.7em;
    word-break: break-word;
    margin-bottom: 6px;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: var(--shop-radius);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shop-shadow-card-hover);
}

.product-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Status Badges */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.status-pill.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-pill.confirmed {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-pill.shipped {
    background: rgba(139, 92, 246, 0.12);
    color: #7c3aed;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-pill.out_for_delivery,
.status-pill.out-for-delivery {
    background: rgba(14, 165, 233, 0.15);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.status-pill.delivered {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pill.cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* =========================================================
   DELIVERY OTP CARD — AMAZON / FLIPKART STYLE
   ========================================================= */
.delivery-otp-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 20px 24px;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.4);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.delivery-otp-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.delivery-otp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.delivery-otp-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #38bdf8;
}

.delivery-otp-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.otp-digit-boxes {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 12px 0 16px;
}

.otp-box {
    width: 46px;
    height: 54px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    font-family: monospace;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

input.otp-box,
input.otp-digit-input {
    width: 58px !important;
    height: 66px !important;
    text-align: center !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    background: #ffffff !important;
    border: 2.5px solid #cbd5e1 !important;
    border-radius: 14px !important;
    outline: none !important;
    font-family: 'Courier New', Courier, monospace !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    caret-color: #2563eb !important;
    line-height: normal !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

input.otp-box:focus,
input.otp-digit-input:focus {
    border-color: #2563eb !important;
    background: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
}

.delivery-otp-warning {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

/* =========================================================
   ORDER CANCELLATION MODAL DIALOG
   ========================================================= */
.cancel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cancel-modal-overlay.active {
    display: flex;
    animation: fadeInModal 0.2s ease-out;
}

.cancel-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

.cancel-reason-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cancel-reason-option:hover {
    border-color: var(--shop-primary);
    background: var(--shop-surface-hover);
}

.cancel-reason-option input[type="radio"]:checked+span {
    font-weight: 800;
    color: var(--shop-primary);
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

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

/* =========================================================
   PHONE VIEW PRODUCT IMAGE FIXES (NO CHOPPED OFF IMAGES)
   ========================================================= */
@media (max-width: 768px) {

    .featured-img,
    .product-img,
    .product-card-image {
        height: 140px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        padding: 6px !important;
        box-sizing: border-box !important;
    }

    .featured-img img,
    .product-img img,
    .product-card-image img {
        max-height: 90% !important;
        max-width: 90% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: auto !important;
        display: block !important;
    }

    .pdp-main-image {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        max-height: 340px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-radius: 16px !important;
    }

    .pdp-main-image img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        margin: auto !important;
        display: block !important;
    }
}

/* =========================================================
   PERFECT PDP GALLERY & THUMBNAILS CONTAINER ISOLATION FIX
   (PREVENTS THUMBNAILS ROW FROM OVERFLOWING & CUTTING OFF PAGE RIGHT SIDE)
   ========================================================= */
.pdp-page-wrapper {
    max-width: var(--shop-container, 1400px) !important;
    margin: 0 auto !important;
    padding: 20px 20px 0 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.pdp-container,
.pdp-gallery-wrapper,
.pdp-gallery {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {

    html,
    body,
    .shop-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    .pdp-page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 12px 12px 0 12px !important;
        box-sizing: border-box !important;
    }

    .pdp-container,
    .pdp-gallery-wrapper,
    .pdp-gallery {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .pdp-thumbnails {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 6px 2px 12px 2px !important;
        gap: 8px !important;
        margin-top: 12px !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }

    .pdp-thumbnail {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        flex: 0 0 52px !important;
        flex-shrink: 0 !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    .pdp-thumbnail img {
        max-width: 85% !important;
        max-height: 85% !important;
        object-fit: contain !important;
    }

    .pdp-info {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* =========================================================
   SLIDE-OVER CART DRAWER (MINI-CART)
   ========================================================= */
.cart-drawer-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.cart-drawer-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 420px !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18) !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
    visibility: hidden !important;
}

.cart-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* SMART BIG SEARCH DROPDOWN (Google & Amazon Style) */
.big-search-dropdown {
    animation: searchDropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}
.big-search-dropdown::-webkit-scrollbar {
    width: 6px;
}
.big-search-dropdown::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}
.big-search-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.big-search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
@keyframes searchDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   MOMAX / APPLE STYLE VISUAL STORYTELLING & SHOWCASE STYLES
   ========================================================= */

/* Hero Stage Layout */
.pdp-hero-container {
    position: relative;
    padding-bottom: 20px;
}

.pdp-hero-stage {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.pdp-hero-pagination-dots {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.pdp-hero-pagination-dots .dot-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--shop-accent, #10547F);
    margin-bottom: 2px;
}

.pdp-hero-pagination-dots .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.25s ease;
    cursor: pointer;
}

.pdp-hero-pagination-dots .dot.active {
    background: var(--shop-accent, #10547F);
    transform: scale(1.3);
}

.pdp-hero-floating-img {
    max-width: 90%;
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-hero-stage:hover .pdp-hero-floating-img {
    transform: translateY(-6px) scale(1.02);
}

.pdp-scroll-explore {
    position: absolute;
    left: 20px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.pdp-scroll-explore:hover {
    color: var(--shop-accent, #10547F);
}

.pdp-scroll-explore i {
    font-size: 10px;
    animation: bounceChevron 1.6s infinite ease-in-out;
}

@keyframes bounceChevron {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Brand & Header */
.pdp-brand-header {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #0f172a;
    text-transform: lowercase;
    margin-bottom: 4px;
    font-family: var(--shop-font-display);
}

.pdp-model-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pdp-main-title {
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 650;
    color: #0f172a;
    line-height: 1.35;
    margin-top: 4px;
    margin-bottom: 12px;
    letter-spacing: -0.15px;
}

.pdp-tagline-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Key Highlights Checklist */
.pdp-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 20px 0;
    padding: 0;
    list-style: none;
}

.pdp-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.pdp-highlight-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #f0f7fb;
    border: 1px solid #bae6fd;
    color: var(--shop-accent, #10547F);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* Variant Pills */
.pdp-variant-pills-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pdp-variant-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pdp-variant-pill:hover {
    border-color: var(--shop-accent, #10547F);
    color: var(--shop-accent, #10547F);
}

.pdp-variant-pill.active {
    border-color: #0f172a;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.pdp-variant-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    flex-shrink: 0;
}

/* =========================================================
   MINIMAL & PROFESSIONAL PDP BUY BOX / ACTION AREA
   ========================================================= */
.pdp-action-area {
    margin: 16px 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pdp-action-utility-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-qty-stepper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    height: 42px;
    width: 120px;
    padding: 0 4px;
    box-sizing: border-box;
}

.pdp-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.pdp-qty-btn:hover {
    background: #f1f5f9;
}

.pdp-qty-stepper input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
    -moz-appearance: textfield;
}

.pdp-qty-stepper input::-webkit-outer-spin-button,
.pdp-qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pdp-action-wishlist-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pdp-action-wishlist-btn:hover {
    border-color: #94a3b8;
    color: #0f172a;
    background: #f8fafc;
}

.pdp-action-wishlist-btn.active {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.pdp-action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.pdp-btn-secondary,
.pdp-btn-primary,
.pdp-action-buttons-grid .pdp-btn-secondary,
.pdp-action-buttons-grid .pdp-btn-primary {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    padding: 0 12px !important;
    width: 100% !important;
}

.pdp-btn-secondary,
.pdp-action-buttons-grid .pdp-btn-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1.5px solid #0f172a !important;
}

.pdp-btn-secondary:hover,
.pdp-action-buttons-grid .pdp-btn-secondary:hover {
    background: #f8fafc !important;
    color: #000000 !important;
}

.pdp-btn-primary,
.pdp-action-buttons-grid .pdp-btn-primary {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1.5px solid #0f172a !important;
}

.pdp-btn-primary:hover,
.pdp-action-buttons-grid .pdp-btn-primary:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
}

.pdp-btn-disabled {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Feature Badges - Minimal 3-Card Balanced Grid */
.pdp-feature-badges-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 14px 0 18px 0;
}

.pdp-feature-badges-row.has-two-badges {
    grid-template-columns: repeat(2, 1fr) !important;
}

.pdp-feature-badge-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.pdp-feature-badge-box:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.pdp-feature-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.pdp-feature-badge-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pdp-feature-badge-title {
    font-size: 11px;
    font-weight: 650;
    color: #0f172a;
    line-height: 1.25;
}

.pdp-feature-badge-sub {
    font-size: 9.5px;
    color: #64748b;
    line-height: 1.2;
    font-weight: 400;
}

@media (min-width: 641px) {
    .pdp-feature-badge-box {
        flex-direction: row;
        text-align: left;
        padding: 10px 12px;
        gap: 10px;
    }
    .pdp-feature-badge-text {
        align-items: flex-start;
    }
    .pdp-feature-badge-title {
        font-size: 11.5px;
    }
    .pdp-feature-badge-sub {
        font-size: 10px;
    }
}

/* Legacy Class Fallbacks */
.pdp-primary-action-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.pdp-pill-qty {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 4px;
    height: 42px;
    width: 120px;
    justify-content: space-between;
}

.pdp-pill-add-btn {
    height: 46px;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #0f172a;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pdp-pill-buy-now-btn {
    height: 46px;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    border: 1.5px solid #0f172a;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pdp-pill-wishlist-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pdp-pill-wishlist-btn:hover,
.pdp-pill-wishlist-btn.active {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

/* =========================================================
   VISUAL STORYTELLING SHOWCASE SECTION (Apple / Momax Style)
   ========================================================= */
.pdp-showcase-wrapper {
    background: #ffffff;
    padding: 24px 0 40px 0;
    border-top: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.pdp-showcase-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.pdp-showcase-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.pdp-showcase-block:last-child {
    border-bottom: none;
}

.pdp-showcase-block.image_left {
    grid-template-columns: 1fr 1.1fr;
}

.pdp-showcase-block.image_left .pdp-showcase-content {
    order: 2;
}

.pdp-showcase-block.image_left .pdp-showcase-visual {
    order: 1;
}

.pdp-showcase-content {
    position: relative;
    z-index: 2;
}

.pdp-showcase-num {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--shop-accent, #10547F);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pdp-showcase-num::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--shop-accent, #10547F);
}

.pdp-showcase-title {
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 650;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pdp-showcase-subtitle {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    line-height: 1.35;
}

.pdp-showcase-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    max-width: 480px;
    margin: 0;
}

.pdp-showcase-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    z-index: 2;
}

.pdp-showcase-visual img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.07));
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-showcase-block:hover .pdp-showcase-visual img {
    transform: scale(1.03);
}

.pdp-showcase-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 750;
    color: #0f172a;
    z-index: 3;
}

.pdp-showcase-side-indicator {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
}

.pdp-showcase-side-indicator .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbd5e1;
}

.pdp-showcase-side-indicator .dot.active {
    background: var(--shop-accent, #10547F);
    transform: scale(1.3);
}

/* Scroll reveal animation */
.showcase-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   FLOATING BOTTOM BUY BAR (SCREENSHOT STYLE)
   ========================================================= */
.pdp-floating-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 995;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transform: translateY(120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-floating-buy-bar.visible {
    transform: translateY(0);
}

.pdp-floating-buy-bar .shop-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pdp-floating-buy-bar .product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pdp-floating-buy-bar .product-info img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
}

.pdp-floating-buy-bar .product-info .title-price {
    min-width: 0;
}

.pdp-floating-buy-bar .product-info h4 {
    font-size: 13px;
    font-weight: 750;
    color: #0f172a;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdp-floating-buy-bar .product-info .price {
    font-size: 15px;
    font-weight: 800;
    color: var(--shop-accent, #10547F);
}

.pdp-floating-buy-bar .actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Mobile Responsiveness for Storytelling & Hero */
@media (max-width: 768px) {
    .pdp-showcase-block,
    .pdp-showcase-block.image_left {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        padding: 20px 0 !important;
    }

    .pdp-showcase-block .pdp-showcase-content,
    .pdp-showcase-block.image_left .pdp-showcase-content {
        order: 2 !important;
    }

    .pdp-showcase-block .pdp-showcase-visual,
    .pdp-showcase-block.image_left .pdp-showcase-visual {
        order: 1 !important;
        min-height: 140px !important;
    }

    .pdp-showcase-visual img {
        max-height: 240px !important;
    }

    .pdp-showcase-side-indicator {
        display: none !important;
    }

    .pdp-floating-buy-bar {
        padding: 8px 12px !important;
    }

    .pdp-floating-buy-bar .product-info h4 {
        display: none !important;
    }

    .pdp-floating-buy-bar .actions .pdp-variant-pills-row {
        display: none !important;
    }
}

/* Mobile bottom nav slide down when floating buy bar is visible on mobile PDP */
@media (max-width: 768px) {
    body.has-visible-floating-bar .shop-bottom-nav {
        transform: translateY(120%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    }
    .shop-bottom-nav {
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }
}

/* =========================================================
   HOME STOREFRONT REDESIGN & MODERNIZATION
   ========================================================= */

/* Hero Section Polish */
.shop-hero {
    background: #ffffff;
    padding: 16px 0 20px !important;
}

.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
}

.hero-dot.active {
    width: 26px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Modern Luxury Benefit Bar */
.luxury-benefit-bar {
    padding: 18px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.luxury-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    align-items: stretch;
}

.luxury-benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    border-color: #e2e8f0;
}

.benefit-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.luxury-benefit-card:hover .benefit-icon-bubble {
    transform: scale(1.1) rotate(-4deg);
}

.benefit-icon-bubble.truck { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); color: #059669; }
.benefit-icon-bubble.warranty { background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); color: #2563eb; }
.benefit-icon-bubble.return { background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); color: #7c3aed; }
.benefit-icon-bubble.support { background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%); color: #ea580c; }

/* Fallback for FontAwesome free if fa-shield-check is referenced */
.fa-shield-check::before {
    content: "\f3ed";
}

.benefit-text-wrap strong {
    font-size: 13.5px;
    font-weight: 750;
    color: #0f172a;
    display: block;
    line-height: 1.3;
}

.benefit-text-wrap span {
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.3;
}

/* Category Explorer Polish */
.category-explorer-section {
    padding: 24px 0 16px !important;
}

.category-card-item {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-card-item:hover .category-img-circle {
    transform: translateY(-4px) scale(1.04) !important;
    box-shadow: 0 12px 24px rgba(16, 84, 127, 0.16) !important;
    border-color: var(--shop-accent, #10547F) !important;
}

/* Section Header Modernization */
.modern-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.modern-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modern-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.modern-section-icon.blue { background: #eff6ff; color: #2563eb; }
.modern-section-icon.amber { background: #fffbeb; color: #d97706; }
.modern-section-icon.purple { background: #f5f3ff; color: #7c3aed; }
.modern-section-icon.rose { background: #fff1f2; color: #e11d48; }

.modern-section-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.modern-section-subtitle {
    font-size: 12.5px;
    color: #64748b;
    margin: 3px 0 0 0;
}

.modern-view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-accent, #10547F);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.modern-view-all:hover {
    background: var(--shop-accent, #10547F);
    color: #ffffff;
    border-color: var(--shop-accent, #10547F);
    transform: translateX(2px);
}

/* Modern Segmented Tab Bar */
.modern-tabs-pill-bar {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}

.modern-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 650;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.modern-tab-btn:hover {
    color: #0f172a;
}

.modern-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Scroll Fade Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Carousel Side Chevron Controls */
.carousel-nav.prev,
.carousel-nav.next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 5;
}

.carousel-nav.prev:hover,
.carousel-nav.next:hover {
    background: var(--shop-accent, #10547F);
    color: #ffffff;
    border-color: var(--shop-accent, #10547F);
    transform: scale(1.1);
}

/* Mobile Responsive Optimization for Home */
@media (max-width: 768px) {
    .luxury-benefit-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .luxury-benefit-card {
        padding: 10px 10px !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }

    .benefit-icon-bubble {
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
    }

    .benefit-text-wrap strong {
        font-size: 11.5px !important;
    }

    .benefit-text-wrap span {
        font-size: 10px !important;
    }

    .modern-section-title {
        font-size: 18px !important;
    }

    .modern-section-subtitle {
        font-size: 11.5px !important;
    }

    .modern-tabs-pill-bar {
        width: 100% !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .modern-tabs-pill-bar::-webkit-scrollbar {
        display: none !important;
    }

    .modern-tab-btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
}