:root {
    --zams-orange: #FF6B00;
    --zams-orange-hover: #E55D00;
    --zams-black: #090A0F;
    --zams-gray: #4B5563;
    --zams-light-gray: #F3F4F6;
    --zams-border: rgba(9, 10, 15, 0.05);
    --zams-border-light: rgba(9, 10, 15, 0.03);
    --zams-whatsapp: #25D366;
    --zams-whatsapp-hover: #20BA5A;
    --zams-gold: #FFB800;
    
    --text-primary: #090A0F;
    --text-secondary: #4B5563;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    
    /* Extended semantic tokens for theming */
    --surface: #FFFFFF;
    --surface-elevated: #FFFFFF;
    --surface-hover: #F3F4F6;
    --surface-warm: #FDF9F3;
    --surface-warm-hover: #FFF5EA;
    --input-bg: #F8F9FA;
    --input-bg-focus: #FFFFFF;
    --overlay-bg: rgba(255, 255, 255, 0.85);
    --overlay-header: rgba(255, 255, 255, 0.8);
    --overlay-footer: rgba(255, 255, 255, 0.4);
    --categories-bg: rgba(255, 255, 255, 0.7);
    --hero-bg: #FDF8F0;
    --hero-gradient: linear-gradient(to right, #FDF8F0 0%, transparent 100%);
    --hero-gradient-mobile: linear-gradient(to right, #FDF8F0 0%, rgba(253,248,240,0.85) 60%, transparent 100%);
    --skeleton-base: #F3F4F6;
    --skeleton-shine: #E5E7EB;
    --badge-section-bg: rgba(9, 10, 15, 0.04);
    --loc-selected-bg: #FFF5EA;
    --scrollbar-thumb: #E0E0E0;
    
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   DARK THEME OVERRIDE
   ========================================== */
[data-theme="dark"] {
    --zams-black: #F1F2F4;
    --zams-gray: #9CA3AF;
    --zams-light-gray: #1E2028;
    --zams-border: rgba(255, 255, 255, 0.08);
    --zams-border-light: rgba(255, 255, 255, 0.04);
    
    --text-primary: #F1F2F4;
    --text-secondary: #9CA3AF;
    --bg-primary: #0F1014;
    --bg-secondary: #14151A;
    
    --surface: #1A1B21;
    --surface-elevated: #1F2027;
    --surface-hover: #252730;
    --surface-warm: #1A1810;
    --surface-warm-hover: #242116;
    --input-bg: #1A1B21;
    --input-bg-focus: #1F2027;
    --overlay-bg: rgba(15, 16, 20, 0.92);
    --overlay-header: rgba(15, 16, 20, 0.88);
    --overlay-footer: rgba(15, 16, 20, 0.6);
    --categories-bg: rgba(15, 16, 20, 0.8);
    --hero-bg: #14151A;
    --hero-gradient: linear-gradient(to right, #14151A 0%, transparent 100%);
    --hero-gradient-mobile: linear-gradient(to right, #14151A 0%, rgba(20,21,26,0.85) 60%, transparent 100%);
    --skeleton-base: #1E2028;
    --skeleton-shine: #282A33;
    --badge-section-bg: rgba(255, 255, 255, 0.04);
    --loc-selected-bg: rgba(255, 107, 0, 0.08);
    --scrollbar-thumb: #3A3C45;
    
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Theme transition for smooth switching */
html[data-theme] body,
html[data-theme] .header,
html[data-theme] .announcement-bar,
html[data-theme] .footer,
html[data-theme] .product-card,
html[data-theme] .cart-drawer,
html[data-theme] .mobile-menu-drawer,
html[data-theme] .collection-highlight-card,
html[data-theme] .collection-page-card,
html[data-theme] .features,
html[data-theme] .auth-card,
html[data-theme] .form-card,
html[data-theme] .tracking-input-card,
html[data-theme] .tracking-details-card,
html[data-theme] .checkout-details-card,
html[data-theme] .checkout-summary-card,
html[data-theme] .profile-card,
html[data-theme] .detail-img-card,
html[data-theme] .review-card,
html[data-theme] .hero,
html[data-theme] .categories-nav {
    transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
    html[data-theme] body,
    html[data-theme] .header,
    html[data-theme] .announcement-bar,
    html[data-theme] .footer,
    html[data-theme] .product-card,
    html[data-theme] .cart-drawer,
    html[data-theme] .mobile-menu-drawer,
    html[data-theme] .collection-highlight-card,
    html[data-theme] .collection-page-card,
    html[data-theme] .features,
    html[data-theme] .auth-card,
    html[data-theme] .form-card,
    html[data-theme] .tracking-input-card,
    html[data-theme] .tracking-details-card,
    html[data-theme] .checkout-details-card,
    html[data-theme] .checkout-summary-card,
    html[data-theme] .profile-card,
    html[data-theme] .detail-img-card,
    html[data-theme] .review-card,
    html[data-theme] .hero,
    html[data-theme] .categories-nav,
    .global-loader,
    #appViewport {
        transition: none;
    }

    .loader-rail span,
    #appViewport.route-entering {
        animation: none !important;
    }

    .loader-content,
    #appViewport.route-exiting,
    #appViewport.route-entering {
        transform: none !important;
    }
}

/* ==========================================
   THEME TOGGLE BUTTON
   ========================================== */
.theme-toggle-btn {
    width: 42px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(9, 10, 15, 0.16);
    background: #FFFFFF;
    cursor: pointer;
    z-index: 10;
    position: relative;
    transition: var(--transition);
    color: #090A0F;
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover {
    background: #FFF5EA;
    border-color: rgba(255, 107, 0, 0.45);
    color: #090A0F;
    transform: translateY(-1px);
}

.theme-toggle-btn:focus-visible {
    outline: 2px solid var(--zams-orange);
    outline-offset: 2px;
}

.theme-toggle-btn .theme-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: currentColor;
    stroke: currentColor;
}

.theme-toggle-btn:hover .theme-icon {
    transform: rotate(15deg);
}

.theme-toggle-btn .theme-label {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Sun icon visible by default (light mode) */
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }

[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: block; }

[data-theme="dark"] .theme-toggle-btn {
    background: #1F2027;
    border-color: rgba(255, 255, 255, 0.22);
    color: #FFFFFF;
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: #252730;
    border-color: rgba(255, 107, 0, 0.55);
    color: #FFFFFF;
}

/* Tooltip */
.theme-toggle-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: var(--zams-black);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.theme-toggle-btn:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Mobile drawer theme toggle */
.drawer-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--zams-border);
    margin-bottom: 1rem;
    background: var(--surface-hover);
}

.drawer-theme-toggle .theme-toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.drawer-theme-toggle .theme-switch {
    width: 44px;
    height: 24px;
    background: var(--zams-light-gray);
    border-radius: 50px;
    border: 1px solid var(--zams-border);
    cursor: pointer;
    z-index: 10;
    position: relative;
    transition: background 0.25s ease;
}

.drawer-theme-toggle .theme-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--zams-orange);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .drawer-theme-toggle .theme-switch {
    background: var(--zams-orange);
    border-color: var(--zams-orange);
}

[data-theme="dark"] .drawer-theme-toggle .theme-switch::after {
    background: #FFFFFF;
    transform: translateX(20px);
}

/* Dark mode specific overrides */
[data-theme="dark"] .cart-btn {
    background: var(--zams-orange);
    color: #FFFFFF;
}

[data-theme="dark"] .close-drawer-btn {
    background: var(--surface-hover);
    color: var(--text-primary);
}

[data-theme="dark"] .cart-item-media,
[data-theme="dark"] .cart-item-image {
    background: var(--surface-hover);
}

[data-theme="dark"] .profile-avatar {
    background: var(--surface-hover);
    border-color: var(--zams-border);
}

[data-theme="dark"] .product-badge {
    background: var(--surface-elevated);
    color: var(--text-primary);
}

[data-theme="dark"] .product-badge.hot {
    background: var(--zams-orange);
    color: #FFFFFF;
}

[data-theme="dark"] .category-chip.active {
    background: var(--zams-orange);
    color: #FFFFFF;
}

[data-theme="dark"] .footer {
    background: #0A0B0E;
    border-top-color: var(--zams-border);
}

[data-theme="dark"] .menu-toggle span {
    background: var(--text-primary);
}

[data-theme="dark"] .btn-outline {
    color: var(--text-primary);
    border-color: var(--zams-border);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--surface-hover);
}

[data-theme="dark"] .stock-meter-container {
    background: rgba(255, 107, 0, 0.05);
    border-color: rgba(255, 107, 0, 0.12);
}

[data-theme="dark"] .track-summary-meta {
    background: var(--surface-hover);
    border-color: var(--zams-border);
}

[data-theme="dark"] .badge-pending { background: rgba(255, 193, 7, 0.15); color: #ffd54f; }
[data-theme="dark"] .badge-confirmed { background: rgba(33, 150, 243, 0.15); color: #64b5f6; }
[data-theme="dark"] .badge-shipped { background: rgba(156, 39, 176, 0.15); color: #ce93d8; }

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

html { 
    scroll-behavior: smooth; 
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* Background Gradients Decors */
.bg-gradient-dec {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.bg-grad-1 {
    top: -10%; left: -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
}

.bg-grad-2 {
    bottom: -10%; right: -10%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(0, 119, 255, 0.06) 0%, transparent 70%);
}

[data-theme="dark"] .bg-gradient-dec {
    opacity: 0.15;
}

/* Premium Global Loading Screen */
.global-loader {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 7, 10, 0.62);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.global-loader.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.18s ease;
}

.loader-content {
    width: min(230px, calc(100vw - 32px));
    height: auto;
    padding: 14px 16px 15px;
    border: 1px solid var(--zams-border);
    border-radius: 22px;
    background: rgba(17, 19, 24, 0.96);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    transform: scale(0.97);
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.global-loader.visible .loader-content {
    opacity: 1;
    transform: scale(1);
}

.loader-wordmark {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.loader-wordmark span {
    color: var(--zams-orange);
}

.route-loader-lottie {
    position: relative;
    width: 80px;
    height: 80px;
    aspect-ratio: 1 / 1;
    margin-top: 7px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.route-loader-lottie-player {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    opacity: 1;
    pointer-events: none;
    transform: scale(3);
    transform-origin: center;
    transition: opacity 0.16s ease;
}

.global-loader.lottie-failed .route-loader-lottie-player {
    opacity: 0;
}

.route-loader-lottie-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.16s ease;
}

.global-loader.lottie-failed .route-loader-lottie-fallback {
    opacity: 1;
}

.route-loader-lottie-fallback i {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--zams-orange) 0 36%, rgba(255, 107, 0, 0.16) 38% 100%);
    box-shadow: 0 0 22px rgba(255, 107, 0, 0.38);
}

.phone-verification-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.72);
}

.phone-verification-panel {
    width: min(440px, 94vw);
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface-elevated);
    color: var(--text-primary);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.phone-verification-panel header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.phone-verification-panel label,
.phone-otp-row {
    display: grid;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .loader-content {
        width: min(220px, calc(100vw - 32px));
    }

    .route-loader-lottie,
    .route-loader-lottie-player {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 425px) {
    .loader-content {
        width: min(205px, 88vw);
        padding: 12px 14px 14px;
    }

    .loader-wordmark {
        font-size: 1.22rem;
    }

    .route-loader-lottie,
    .route-loader-lottie-player {
        width: 64px;
        height: 64px;
    }
}

.loader-rail {
    width: 166px;
    height: 3px;
    margin: 7px 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
    position: relative;
}

.loader-rail span {
    position: absolute;
    top: 0;
    left: -42%;
    width: 42%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--zams-orange), #ffb66d);
    box-shadow: 0 0 16px rgba(255, 107, 0, 0.45);
    animation: loader-rail-travel 1.15s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.loader-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
}

@keyframes loader-rail-travel {
    0% { left: -42%; }
    100% { left: 100%; }
}

#appViewport {
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

#appViewport.route-exiting {
    opacity: 0.98;
    transform: translateY(-4px);
}

#appViewport.route-entering {
    animation: route-content-enter 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes route-content-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--zams-orange);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.65rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    white-space: nowrap;
}

.announcement-ticker {
    overflow: hidden;
    width: 100%;
}

.announcement-track {
    --announcement-gap: 2.5rem;
    display: flex;
    align-items: center;
    width: max-content;
    animation: announcementTicker 32s linear infinite;
    will-change: transform;
}

.announcement-track-set {
    display: flex;
    align-items: center;
    gap: var(--announcement-gap);
    padding-right: var(--announcement-gap);
    flex: 0 0 auto;
    white-space: nowrap;
}

.announcement-track-set span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
}

@keyframes announcementTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-track {
        animation: none;
        transform: none;
        justify-content: center;
        width: 100%;
    }

    .announcement-track-set {
        justify-content: center;
        width: 100%;
        padding-right: 0;
        white-space: normal;
    }

    .announcement-track-set:nth-child(n + 2),
    .announcement-track-set span:nth-child(n + 2) {
        display: none;
    }
}

/* Navigation Header */
.header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--overlay-header);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--zams-border);
    transition: var(--transition);
}

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

.nav :where(.location-widget, .search-form, .nav-icon-link, .cart-btn) {
    min-height: 40px;
    border-radius: 14px;
}

.logo { 
    display: flex; 
    align-items: center; 
    text-decoration: none;
    color: var(--zams-black);
}

/* Location Updater Widget */
.location-widget {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    align-self: center;
    width: 160px;
    min-width: 150px;
    max-width: 170px;
    height: 46px;
    max-height: 48px;
    padding: 0.25rem 0.75rem;
    background: var(--surface-warm);
    border: 1px solid rgba(255,107,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    position: relative;
    flex-shrink: 0;
    overflow: visible;
}

.location-widget:hover {
    background: var(--surface-warm-hover);
}

.location-modal-open {
    overflow: hidden;
}

.location-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.75rem, 4svh, 2rem) clamp(1rem, 4vw, 2rem);
    background: rgba(8, 10, 14, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.location-modal-overlay[hidden] {
    display: none;
}

.location-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.location-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: min(330px, calc(100vw - 2rem));
    max-height: min(520px, calc(100svh - 120px));
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--surface);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--zams-border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    cursor: default;
    overflow-wrap: anywhere;
}

.location-modal-overlay .location-dropdown {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: min(390px, 100%);
    max-height: min(540px, calc(100svh - 2rem));
    z-index: 1;
    transform: translateY(12px) scale(0.98);
}

.location-dropdown.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.location-modal-overlay .location-dropdown.show {
    transform: none;
}

.loc-dropdown-header {
    padding: 0.9rem 1.1rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--zams-border);
    color: var(--zams-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.loc-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loc-modal-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.loc-modal-close:hover {
    color: var(--zams-orange);
    background: rgba(255, 107, 0, 0.08);
}

.loc-action-block {
    padding: 0.85rem 1rem 0.25rem;
}

.loc-action-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    background: var(--surface-warm);
    border: 1px solid var(--zams-border);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.loc-action-btn:hover {
    border-color: var(--zams-orange);
    background: rgba(255, 107, 0, 0.06);
    transform: translateY(-1px);
}

.loc-action-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.12);
    color: var(--zams-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.loc-action-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.loc-action-primary {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--zams-black);
}

.loc-action-secondary {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.loc-search-block {
    padding: 0.75rem 1rem 0.25rem;
}

.loc-input-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loc-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.loc-search-icon {
    position: absolute;
    left: 0.75rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.loc-search-input {
    width: 100%;
    padding: 0.65rem 0.75rem 0.65rem 2.25rem;
    font-size: 0.86rem;
    background: var(--surface-warm);
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    color: var(--zams-black);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.loc-search-input:focus {
    border-color: var(--zams-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

.places-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--surface);
    border: 1px solid var(--zams-orange);
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 10099;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.places-suggestion-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
    border-bottom: 1px solid var(--zams-border);
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--zams-black);
    transition: background 0.15s ease;
}

.places-suggestion-item:last-child {
    border-bottom: none;
}

.places-suggestion-item:hover,
.places-suggestion-item.active {
    background: rgba(255, 107, 0, 0.08);
    color: var(--zams-orange);
}

.loc-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0.85rem 1rem;
    color: var(--text-muted, #71717a);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.loc-divider::before,
.loc-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--zams-border);
}

.loc-divider span {
    padding: 0 0.75rem;
}

.use-location-btn {
    margin: 0.85rem 1rem 0;
    min-height: 42px;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--surface-warm);
    color: var(--zams-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
}

.use-location-btn:hover,
.use-location-btn:focus-visible,
.pin-check-row button:hover,
.pin-check-row button:focus-visible {
    border-color: var(--zams-orange);
    outline: 2px solid rgba(255, 107, 0, 0.25);
}

.use-location-btn:disabled,
.pin-check-row button:disabled {
    opacity: 0.65;
    cursor: progress;
}

.location-status,
.pin-status {
    min-height: 1rem;
    padding: 0.45rem 1rem 0;
    color: var(--zams-gray);
    font-size: 0.74rem;
    line-height: 1.35;
}

.location-status.error,
.pin-status.error { color: #ef5350; }
.location-status.success { color: #2e7d32; }
.location-status.loading,
.pin-status.loading,
.pin-status.info { color: var(--zams-orange); }

.loc-dropdown-search {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--zams-light-gray);
}

.loc-dropdown-search input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
    background: var(--surface);
    color: var(--zams-black);
}

.loc-dropdown-search input:focus {
    border-color: var(--zams-orange);
}

.pin-code-panel {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--zams-light-gray);
}

.pin-code-panel label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--zams-gray);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pin-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem;
    align-items: stretch;
}

.pin-check-row input {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--zams-border);
    border-radius: 9px;
    background: var(--surface);
    color: var(--zams-black);
    font: inherit;
    outline: none;
}

.pin-check-row input:focus {
    border-color: var(--zams-orange);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.18);
}

.pin-check-row button {
    min-height: 42px;
    max-width: 100%;
    border: 1px solid var(--zams-orange);
    border-radius: 9px;
    background: var(--zams-orange);
    color: #ffffff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0 0.85rem;
    cursor: pointer;
    z-index: 10;
    white-space: nowrap;
}

.variant-picker { margin: 1rem 0; display: grid; gap: .9rem; }
.variant-group { display: grid; gap: .45rem; }
.variant-label { font-weight: 700; color: var(--text-primary); font-size: .85rem; }
.variant-size-options, .variant-color-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-size-btn, .variant-color-btn {
    border: 1px solid var(--zams-border);
    background: var(--card-bg);
    color: var(--text-primary);
    border-radius: 8px;
    padding: .55rem .75rem;
    cursor: pointer;
    z-index: 10;
}
.variant-size-btn.selected, .variant-color-btn.selected {
    border-color: var(--zams-orange);
    box-shadow: 0 0 0 2px rgba(255,107,0,.25);
}
.variant-size-btn:disabled, .variant-color-btn:disabled {
    opacity: .38;
    cursor: not-allowed;
    text-decoration: line-through;
}
.variant-color-btn { display: inline-flex; align-items: center; gap: .45rem; }
.variant-swatch {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    display: inline-block;
}
.variant-message { color: var(--text-secondary); font-size: .82rem; }
.variant-sku { color: var(--text-secondary); font-size: .8rem; font-weight: 600; }

.address-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.address-card-grid {
    display: grid;
    gap: .85rem;
}
.address-card {
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    padding: 1rem;
}
.address-card.selected {
    border-color: var(--zams-orange);
    box-shadow: 0 0 0 2px rgba(255,107,0,.2);
}
.address-card-header,
.address-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    flex-wrap: wrap;
}
.address-card-body {
    margin: .75rem 0;
    color: var(--text-secondary);
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.address-delete-btn { color: #ef5350; border-color: rgba(239,83,80,.45); }
.address-form {
    display: grid;
    gap: .9rem;
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
}
.address-form-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.address-form-message,
.address-empty {
    color: var(--text-secondary);
    font-size: .86rem;
}
.checkout-section-block {
    border-bottom: 1px solid var(--zams-border);
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
}
.checkout-selected-address {
    margin-top: 1rem;
    padding: .9rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface-warm);
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.payment-option {
    display: flex;
    gap: .55rem;
    align-items: center;
    padding: .75rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    margin-top: .6rem;
}
.payment-option.disabled {
    opacity: .55;
}
.checkout-summary-card { align-self: start; }
.checkout-sticky-summary {
    position: sticky;
    top: 96px;
}
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: .75rem;
}
.detail-grid span {
    display: block;
    color: var(--text-secondary);
    font-size: .75rem;
}
.detail-grid strong {
    overflow-wrap: anywhere;
}

@media (max-width: 768px) {
    .checkout-sticky-summary { position: static; }
    .address-form-actions .btn,
    .address-card-actions .btn { width: 100%; }
}

.loc-dropdown-list {
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.loc-dropdown-list::-webkit-scrollbar { width: 6px; }
.loc-dropdown-list::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 10px; }

.loc-dropdown-list li {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 10;
    border-bottom: 1px solid var(--zams-light-gray);
    color: var(--text-secondary);
    transition: background 0.2s, color 0.2s;
}

.loc-dropdown-list li:last-child { border-bottom: none; }
.loc-dropdown-list li:hover, .loc-dropdown-list li.selected {
    background: var(--loc-selected-bg);
    color: var(--zams-orange);
    font-weight: 600;
}

.loc-dropdown-list li strong,
.loc-dropdown-list li small {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.loc-dropdown-list li strong {
    color: var(--zams-black);
    font-size: 0.84rem;
}

.loc-dropdown-list li small {
    margin-top: 0.18rem;
    color: var(--zams-gray);
    font-size: 0.72rem;
    line-height: 1.35;
}

.loc-dropdown-list li.loc-list-empty {
    cursor: default;
    color: var(--zams-gray);
    text-align: center;
    pointer-events: none;
}

.location-icon {
    color: var(--zams-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
}

.location-icon .location-svg,
.location-icon svg {
    width: 16px;
    height: 16px;
}

.location-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.loc-label {
    font-size: 9px;
    color: var(--zams-gray);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.loc-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--zams-black);
    line-height: 1.05;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loc-pin {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

@media (max-width: 1024px) {
    .location-widget {
        width: 150px;
        min-width: 145px;
        padding-inline: 0.65rem;
    }
}

/* Search Bar */
.search-bar-container {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--zams-light-gray);
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
    height: 40px;
}

.search-form:focus-within {
    border-color: var(--zams-orange);
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.08);
}

.search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--zams-black);
}

.search-btn {
    background: transparent;
    border: none;
    padding: 0 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-icon {
    width: 18px;
    height: 18px;
    color: var(--zams-orange);
}

/* Nav Actions */
.nav-actions { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
}

.nav-icon-link {
    width: auto;
    height: 40px;
    padding: 0 0.8rem;
    gap: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--zams-border);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
    color: var(--zams-black);
}

.nav-icon-link.active {
    color: var(--zams-orange);
    background: var(--zams-light-gray);
}

.nav-icon-label {
    font-size: 0.8rem;
    font-weight: 600;
}

.nav-icon-link:hover {
    background: var(--zams-light-gray);
    transform: translateY(-1px);
}

.nav-icon {
    display: inline-flex;
    color: currentColor;
}

.nav-icon-badge {
    position: absolute;
    top: -5px; right: -5px;
    background: var(--zams-orange);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-btn { 
    background: var(--zams-black); 
    border: none; 
    color: white; 
    height: 40px;
    padding: 0 1.2rem;
    cursor: pointer;
    z-index: 10; 
    font-size: 0.82rem; 
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition); 
}

.cart-icon {
    display: inline-flex;
}

.cart-btn:hover { 
    opacity: 0.9;
    transform: translateY(-1px);
}

.cart-count { 
    background: var(--zams-orange); 
    color: #FFFFFF; 
    border-radius: 50%; 
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem; 
    font-weight: 700; 
}

.menu-toggle { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    background: none; 
    border: none; 
    cursor: pointer;
    z-index: 10; 
    padding: 5px; 
}

.menu-toggle span { 
    width: 20px; 
    height: 2px; 
    background: var(--zams-black); 
    border-radius: 2px; 
    transition: var(--transition); 
}

/* Category subheader tags bar */
.categories-nav {
    background: var(--categories-bg);
    border-top: 1px solid var(--zams-border-light);
    padding: 0.5rem 2rem;
    overflow-x: auto;
}

.categories-nav::-webkit-scrollbar { display: none; }
.categories-nav { -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
.categories-nav.active-drag { cursor: grabbing; }

.categories-wrapper {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 1400px;
    margin: 0 auto;
}

.category-chip {
    background: transparent;
    border: 1px solid transparent;
    color: var(--zams-gray);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.category-chip:hover {
    color: var(--zams-orange);
    background: var(--zams-light-gray);
}

.category-chip.active {
    background: var(--zams-black);
    color: #FFFFFF;
}

.chip-icon {
    width: 0.95rem;
    height: 0.95rem;
}

/* SPA Viewport Main Element */
#appViewport {
    min-height: 70vh;
    position: relative;
    z-index: 1;
}

/* ==========================================
   ROUTE: HOME VIEW STYLING
   ========================================== */

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 4rem 10% 3rem;
    max-width: 100%;
    margin: 0;
    position: relative;
    background-color: var(--hero-bg); /* Soft warm background */
    overflow: hidden;
}

/* Background Image Layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-image: url('/images/hero-family.png?v=2');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

/* Gradient Blend Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: var(--hero-gradient);
    z-index: 2;
}

.hero-content { 
    position: relative;
    z-index: 3;
    width: 50%;
    max-width: 650px;
    animation: slide-up-reveal 1s cubic-bezier(0.16, 1, 0.3, 1); 
}

@keyframes slide-up-reveal {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge { 
    display: inline-block; 
    background: rgba(255, 107, 0, 0.05); 
    border: 1px solid rgba(255, 107, 0, 0.1); 
    color: var(--zams-orange); 
    padding: 0.4rem 1rem; 
    border-radius: 50px; 
    font-size: 0.65rem; 
    font-weight: 700; 
    letter-spacing: 0.5px; 
    margin-bottom: 1.2rem; 
}

.hero-title { 
    font-size: clamp(2.2rem, 5.5vw, 3.6rem); 
    font-weight: 800;
    line-height: 1.15; 
    margin-bottom: 1.2rem; 
    color: var(--zams-black);
    letter-spacing: -1.2px;
}

.title-line.accent { 
    color: var(--zams-orange); 
}

.hero-desc { 
    font-size: 0.98rem; 
    color: var(--text-secondary); 
    line-height: 1.65; 
    margin-bottom: 2rem; 
    max-width: 580px;
}

.hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.2rem;
}

.hero-trust-badge {
    background: var(--surface);
    color: var(--zams-black);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    border: 1px solid var(--zams-border);
}

.hero-buttons { 
    display: flex; 
    gap: 0.8rem; 
    flex-wrap: wrap; 
}

/* General Buttons */
.btn { 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1.8rem; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.9rem; 
    transition: var(--transition); 
    cursor: pointer;
    z-index: 10; 
    border: none; 
}

.zams-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: -0.14em;
}

.inline-icon,
.badge-icon,
.section-tag-icon,
.action-icon,
.stock-icon,
.spec-icon,
.timeline-icon,
.drawer-icon,
.nav-svg,
.cart-svg,
.location-svg,
.announcement-icon,
.footer-inline-icon {
    width: 1rem;
    height: 1rem;
}

.btn .zams-icon {
    width: 1rem;
    height: 1rem;
}

.announcement-bar span,
.hero-badge,
.hero-trust-badge,
.section-tag,
.coll-action,
.card-cta,
.detail-category-label,
.stock-txt,
.specs-list li,
.drawer-link,
.theme-toggle-label,
.whatsapp-support-btn,
.cart-drawer-header h2,
.form-card h2,
.dashboard-panel-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.route-back-container {
    max-width: 1400px;
    margin: 0 auto -1rem;
    padding: 1.35rem 10% 0;
    position: relative;
    z-index: 2;
}

.route-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--zams-border);
    background: var(--surface);
    color: var(--zams-black);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.route-back-btn:hover {
    background: var(--zams-light-gray);
    color: var(--zams-orange);
    transform: translateY(-1px);
}

.route-back-btn:focus-visible {
    outline: 2px solid var(--zams-orange);
    outline-offset: 3px;
}

.route-back-btn:active {
    transform: translateY(0) scale(0.98);
}

.route-back-icon {
    width: 1rem;
    height: 1rem;
}

.btn-primary { 
    background: var(--zams-orange); 
    color: white; 
}

.btn-primary:hover { 
    background: var(--zams-orange-hover);
    transform: translateY(-2px); 
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.2); 
}

.btn-outline { 
    background: transparent; 
    color: var(--zams-black); 
    border: 1px solid var(--zams-border); 
}

.btn-outline:hover { 
    background: var(--zams-light-gray);
    transform: translateY(-2px); 
}

/* Curations category blocks */
.home-collections {
    padding: 3rem 10% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collections-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.collection-highlight-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 16px;
    padding: 0;
    text-decoration: none;
    color: var(--zams-black);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.has-category-cover-card {
    --category-tone-rgb: 88, 55, 32;
    --category-deep-rgb: 13, 12, 12;
    --category-accent-rgb: 255, 107, 0;
    --category-card-bg: rgb(var(--category-deep-rgb));
}

.collection-highlight-card.no-category-cover-card {
    padding: 2.2rem 1.8rem;
}

.collection-highlight-card.has-category-cover-card {
    min-height: clamp(280px, 28vw, 360px);
    justify-content: flex-end;
    color: #ffffff;
    background: var(--category-card-bg);
    border-color: rgba(var(--category-accent-rgb), 0.28);
    isolation: isolate;
}

/* Desktop Collections In-page Toggle */
.desktop-category-extra {
    display: none !important;
}

.home-collections.expanded .desktop-category-extra {
    display: flex !important;
    animation: fadeInCategoryCard 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-collections-view-all {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 2.5rem;
    text-align: center;
}

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

.collection-highlight-media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: var(--surface-warm);
    overflow: hidden;
}

.collection-highlight-card.no-category-cover-card .collection-highlight-media {
    aspect-ratio: auto;
    display: inline-flex;
    place-items: initial;
    width: max-content;
    margin-bottom: 1rem;
    background: transparent;
    overflow: visible;
}

.collection-highlight-card.has-category-cover-card .collection-highlight-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    aspect-ratio: auto;
    background: var(--category-card-bg);
}

.collection-highlight-media.has-category-cover::after,
.collection-page-media.has-category-cover::after,
.mobile-category-media.has-category-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 58%, rgba(var(--category-accent-rgb), 0.24), rgba(var(--category-accent-rgb), 0) 42%),
        linear-gradient(
            to bottom,
            rgba(var(--category-tone-rgb), 0.03) 0%,
            rgba(var(--category-tone-rgb), 0.08) 34%,
            rgba(var(--category-tone-rgb), 0.28) 50%,
            rgba(var(--category-deep-rgb), 0.72) 68%,
            var(--category-card-bg) 94%,
            var(--category-card-bg) 100%
        );
}

.collection-highlight-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.collection-highlight-content {
    padding: 1.35rem 1.5rem 1.55rem;
}

.collection-highlight-card.no-category-cover-card .collection-highlight-content {
    padding: 0;
}

.collection-highlight-card.has-category-cover-card .collection-highlight-content {
    position: relative;
    z-index: 1;
    min-height: 52%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.25rem, 3vw, 1.7rem);
    text-shadow: 0 2px 12px rgba(var(--category-deep-rgb), 0.85);
}

.collection-highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--zams-orange);
    box-shadow: var(--shadow-md);
}

.collection-highlight-card.has-category-cover-card:hover {
    border-color: rgba(var(--category-accent-rgb), 0.7);
}

.collection-highlight-card.has-category-cover-card:hover .collection-highlight-media img,
.collection-page-card.has-category-cover-card:hover .collection-page-media img {
    transform: scale(1.03);
}

.coll-icon {
    color: var(--zams-orange);
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.has-category-cover-card .coll-icon,
.collection-page-card.has-category-cover-card .card-icon,
.mobile-category-card.has-category-cover-card .mobile-category-icon-fallback {
    color: rgb(var(--category-accent-rgb));
    filter: drop-shadow(0 4px 12px rgba(var(--category-deep-rgb), 0.82));
}

.collection-icon-svg {
    width: 2.5rem;
    height: 2.5rem;
}

.collection-highlight-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.collection-highlight-card.has-category-cover-card h3 {
    color: #ffffff;
}

.coll-action {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--zams-orange);
    margin-top: 1rem;
}

.collection-highlight-card.has-category-cover-card .coll-action {
    color: rgb(var(--category-accent-rgb));
}

/* Features Grid */
.features { 
    padding: 2.1rem 2.4rem; 
    max-width: 1400px;
    margin: 2rem auto;
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid var(--zams-border);
    box-shadow: var(--shadow-sm);
}

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0;
}

.feature-card { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 148px;
    padding: 0.35rem 1.6rem;
    text-align: center; 
    color: inherit;
    text-decoration: none;
}

.feature-card + .feature-card {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card:hover .feature-icon {
    background: rgba(255, 107, 53, 0.18);
    border-color: rgba(255, 107, 53, 0.35);
    transform: translateY(-1px);
}

.feature-icon { 
    width: 50px;
    height: 50px;
    margin-bottom: 0.85rem; 
    color: var(--zams-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 107, 53, 0.13);
    border: 1px solid rgba(255, 107, 53, 0.22);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.feature-icon-svg {
    width: 1.6rem;
    height: 1.6rem;
}

.feature-card h3 { 
    font-size: 1rem; 
    margin-bottom: 0.45rem; 
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.25;
}

.feature-card p { 
    color: var(--text-secondary); 
    max-width: 210px;
    margin: 0 auto;
    font-size: 0.82rem; 
    line-height: 1.45;
}

/* ==========================================
   ROUTE: PRODUCTS VIEW DIRECTORY & CARDS
   ========================================== */

.products-directory {
    padding: 3rem 10% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.section-header { 
    text-align: center; 
    margin-bottom: 3.5rem; 
}

.section-tag { 
    display: inline-flex; 
    align-items: center;
    gap: 0.4rem;
    background: var(--badge-section-bg); 
    color: var(--zams-black); 
    padding: 0.35rem 0.9rem; 
    border-radius: 50px; 
    font-size: 0.68rem; 
    font-weight: 700; 
    margin-bottom: 0.8rem; 
    text-transform: uppercase;
}

.section-title { 
    font-size: clamp(1.8rem, 4vw, 2.6rem); 
    font-weight: 800;
    letter-spacing: -0.8px; 
    margin-bottom: 0.5rem; 
}

.section-title-inline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.title-icon {
    width: 2rem;
    height: 2rem;
    color: var(--zams-orange);
}

.section-desc { 
    color: var(--text-secondary); 
    font-size: 0.88rem; 
}

/* Product Card grid layout */
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); 
    gap: 1.8rem; 
    width: 100%;
}

.product-card { 
    background: var(--surface); 
    border: 1px solid var(--zams-border); 
    border-radius: 20px; 
    padding: 1.25rem; 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: var(--shadow-sm);
    min-height: 100%;
}

.product-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-md); 
    border-color: rgba(255, 107, 0, 0.15);
}

.product-badge { 
    position: absolute; 
    top: 1rem; 
    left: 1rem; 
    background: var(--zams-black); 
    color: white; 
    padding: 0.25rem 0.75rem; 
    border-radius: 50px; 
    font-size: 0.6rem; 
    font-weight: 700; 
    z-index: 2;
    text-transform: uppercase;
}

.product-badge.hot { 
    background: var(--zams-orange); 
}

.wishlist-toggle-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--zams-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 0.9rem;
    z-index: 2;
    transition: var(--transition);
}

.wishlist-toggle-btn:hover, .wishlist-toggle-btn.active {
    background: var(--surface-hover);
    transform: scale(1.05);
}

.product-img-wrapper {
    background: var(--bg-secondary);
    border-radius: 14px;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--zams-border-light);
}

.product-img { 
    transition: var(--transition);
    width: 100%;
    height: 100%;
    max-width: 92%;
    max-height: 145px;
    object-fit: contain;
    display: block;
}

.product-icon-fallback {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-secondary) 100%);
    color: var(--zams-orange);
    border: 1px solid var(--zams-border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder-icon {
    width: 3.4rem;
    height: 3.4rem;
    opacity: 0.9;
}

.wishlist-icon-svg {
    width: 1rem;
    height: 1rem;
}

.wishlist-toggle-btn.active {
    color: var(--zams-orange);
}

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

.product-info {
    margin-bottom: 1rem;
    min-height: 112px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.22rem;
    margin-bottom: 0.5rem;
    min-height: 18px;
}

.star-icon {
    color: var(--zams-gold);
    display: inline-flex;
}

.star-svg {
    width: 0.85rem;
    height: 0.85rem;
}

.rating-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--zams-gray);
    margin-left: 0.2rem;
}

.product-name { 
    font-size: 0.98rem; 
    font-weight: 700; 
    margin-bottom: 0.42rem; 
    color: var(--zams-black);
    line-height: 1.35;
    min-height: 2.65em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc { 
    color: var(--text-secondary); 
    font-size: 0.78rem; 
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer { 
    display: flex; 
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    min-height: 32px;
    flex-wrap: wrap;
}

.product-price { 
    font-size: 1.25rem; 
    font-weight: 800;
    color: var(--zams-black); 
    display: inline-flex;
    align-items: baseline;
    gap: 0.04em;
    line-height: 1;
    white-space: nowrap;
}

.currency-symbol {
    font-size: 0.72em;
    font-weight: 750;
    line-height: 1;
}

.product-compare-price {
    text-decoration: line-through; 
    color: var(--zams-gray); 
    font-size: 0.8rem; 
    opacity: 0.6;
    display: inline-flex;
    align-items: baseline;
    gap: 0.03em;
    white-space: nowrap;
}

/* Double CTA Actions */
.product-actions-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.order-now-btn {
    background-color: var(--zams-whatsapp);
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: var(--transition);
}

.order-now-btn:hover {
    background-color: var(--zams-whatsapp-hover);
    transform: translateY(-1px);
}

.add-cart-btn { 
    background: transparent; 
    border: 1px solid var(--zams-border); 
    color: var(--zams-black); 
    padding: 0.65rem 0.8rem; 
    border-radius: 10px; 
    min-height: 42px;
    cursor: pointer;
    z-index: 10; 
    font-weight: 600; 
    font-size: 0.78rem; 
    transition: var(--transition); 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
}

.add-cart-btn:hover { 
    background: var(--zams-light-gray); 
    transform: translateY(-1px);
}

/* ==========================================
   ROUTE: CURATED COLLECTIONS INDEX
   ========================================== */

.collections-page {
    padding: 3rem 10% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.collections-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.collection-page-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--zams-black);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    justify-content: flex-end;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.collection-page-card.has-category-cover-card {
    min-height: clamp(340px, 31vw, 430px);
    padding: 0;
    justify-content: flex-end;
    color: #ffffff;
    background: var(--category-card-bg);
    border-color: rgba(var(--category-accent-rgb), 0.3);
    isolation: isolate;
}

.collection-page-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--zams-orange);
}

.collection-page-card.has-category-cover-card:hover {
    border-color: rgba(var(--category-accent-rgb), 0.72);
}

.card-bg-glow {
    position: absolute;
    top: -20px; right: -20px;
    opacity: 0.05;
    pointer-events: none;
    transition: var(--transition);
    color: var(--zams-orange);
}

.card-bg-icon {
    width: 8rem;
    height: 8rem;
}

.collection-page-card:hover .card-bg-glow {
    transform: scale(1.15) rotate(10deg);
    opacity: 0.08;
}

.collection-page-media {
    display: none;
}

.collection-page-card.has-category-cover-card .collection-page-media.has-category-cover {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: grid;
    place-items: center;
    aspect-ratio: auto;
    margin: 0;
    border-radius: inherit;
    overflow: hidden;
    background: var(--category-card-bg);
}

.collection-page-card.has-category-cover-card .collection-page-media.has-category-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.45s ease;
}

.card-icon {
    color: var(--zams-orange);
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.collection-page-card.has-category-cover-card .card-bg-glow {
    display: none;
}

.collection-page-card.has-category-cover-card .card-front-content {
    position: relative;
    z-index: 1;
    min-height: 52%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.35rem, 3vw, 2rem);
    text-shadow: 0 2px 14px rgba(var(--category-deep-rgb), 0.88);
}

.collection-page-card.has-category-cover-card .card-icon {
    margin-bottom: 0.85rem;
}

.collection-page-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
}

.collection-page-card.has-category-cover-card h3 {
    color: #ffffff;
}

.card-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.collection-page-card.has-category-cover-card .card-count {
    color: rgba(255, 255, 255, 0.78);
}

.card-cta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--zams-orange);
    margin-top: 1.5rem;
}

.collection-page-card.has-category-cover-card .card-cta {
    color: rgb(var(--category-accent-rgb));
}

/* ==========================================
   ROUTE: PRODUCT DETAILS LAYOUT
   ========================================== */

.product-details-page {
    padding: 2.5rem 10% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumbs {
    font-size: 0.78rem;
    color: var(--zams-gray);
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: var(--zams-gray);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--zams-orange);
}

.breadcrumbs .active {
    color: var(--zams-black);
    font-weight: 600;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4.5rem;
}

.detail-visual-col {
    position: sticky;
    top: 140px;
}

.detail-img-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 24px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.detail-image {
    max-width: 85%;
    max-height: 340px;
    object-fit: contain;
}

.detail-product-fallback {
    width: 85%;
    height: 340px;
}

.detail-product-fallback .product-placeholder-icon {
    width: 6rem;
    height: 6rem;
}

.detail-img-wrapper {
    position: relative;
    width: 100%;
}

.detail-badge {
    position: absolute;
    top: 1.5rem; left: 1.5rem;
    background: var(--zams-orange);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.detail-wishlist-toggle {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--zams-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.detail-wishlist-toggle:hover {
    transform: scale(1.05);
}

.detail-wishlist-toggle.active {
    color: var(--zams-orange);
}

.detail-category-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--zams-orange);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.detail-category-icon {
    width: 1rem;
    height: 1rem;
}

.detail-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.detail-rating-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.stars-group {
    color: var(--zams-gold);
    display: inline-flex;
    gap: 0.12rem;
}

.rating-txt {
    font-size: 0.8rem;
    color: var(--zams-gray);
    font-weight: 500;
}

.detail-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--zams-black);
}

.detail-compare-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--zams-gray);
    opacity: 0.6;
}

/* Availability progress */
.stock-meter-container {
    background: rgba(255, 107, 0, 0.03);
    border: 1px dashed rgba(255, 107, 0, 0.15);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.8rem;
}

.stock-txt {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.stock-status.in-stock {
    color: var(--zams-orange);
    font-weight: 700;
}

.stock-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--zams-light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.stock-progress-bar .progress {
    height: 100%;
    background: var(--zams-orange);
    border-radius: 10px;
}

.detail-description {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.8rem;
}

.specs-list {
    list-style: none;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.specs-list li {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--zams-black);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.spec-icon {
    color: var(--zams-orange);
}

.detail-actions-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.detail-buy-now-btn {
    background: #16a34a !important;
    color: #fff !important;
    border-color: #16a34a !important;
}

.detail-buy-now-btn:hover {
    background: #15803d !important;
}

.detail-cart-btn {
    background: #0284c7 !important;
    color: #fff !important;
    border-color: #0284c7 !important;
}

.detail-cart-btn:hover {
    background: #0369a1 !important;
}

.detail-order-now-btn {
    background: var(--zams-whatsapp);
    color: white;
}

.detail-order-now-btn:hover {
    background: var(--zams-whatsapp-hover);
}

/* Reviews styles */
.product-reviews-section {
    border-top: 1px solid var(--zams-border);
    padding-top: 3.5rem;
    margin-top: 3.5rem;
}

.product-reviews-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.rev-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.rev-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.rev-stars {
    color: var(--zams-gold);
    display: inline-flex;
    gap: 0.1rem;
}

.rev-date {
    font-size: 0.72rem;
    color: var(--zams-gray);
    display: block;
    margin-bottom: 0.8rem;
}

.rev-comment {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.related-products-section {
    margin-top: 4.5rem;
    border-top: 1px solid var(--zams-border-light);
    padding-top: 3.5rem;
}

/* ==========================================
   ROUTE: ORDER TRACKING SYSTEM (TIMELINE)
   ========================================== */

.tracking-page {
    padding: 2.5rem 5% 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.tracking-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 2rem;
}

.tracking-input-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
}

.tracking-input-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tracking-input-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.tracking-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tracking-details-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
}

.track-card-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--zams-border);
    padding-bottom: 1.2rem;
    margin-bottom: 2rem;
}

.order-num-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--zams-gray);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.2rem;
}

.track-card-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
}

/* visual progress line timeline */
.tracking-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}
.tracking-event-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}
.tracking-event-row {
    display: grid;
    gap: .2rem;
    padding: .8rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
}
.tracking-event-row strong {
    color: var(--zams-orange);
    font-size: .82rem;
}
.tracking-event-row span {
    color: var(--text-secondary);
    font-size: .88rem;
}

.timeline-line {
    position: absolute;
    top: 15px; left: 0; right: 0;
    height: 3px;
    background: var(--zams-light-gray);
    z-index: 1;
}

.timeline-line .progress {
    height: 100%;
    background: var(--zams-whatsapp);
    transition: width 0.8s ease;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
}

.step-circle {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--zams-light-gray);
    color: var(--zams-gray);
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.step-check-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.step-txt {
    margin-top: 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--zams-gray);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.timeline-step.completed .step-circle {
    background: var(--zams-whatsapp);
    border-color: var(--zams-whatsapp);
    color: white;
}

.timeline-step.completed .step-txt {
    color: var(--zams-whatsapp);
}

.timeline-step.active .step-circle {
    border-color: var(--zams-orange);
    color: var(--zams-orange);
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.timeline-step.active .step-txt {
    color: var(--zams-black);
}

.track-summary-meta {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid var(--zams-border);
}

.track-summary-meta p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

/* ==========================================
   ROUTE: USER PORTAL / AUTH SCREENS
   ========================================== */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.auth-card h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.auth-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.auth-switch {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--zams-gray);
}

.auth-switch a {
    color: var(--zams-orange);
    text-decoration: none;
    font-weight: 600;
}

/* Profile page portal */
.profile-page {
    padding: 3rem 10% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.profile-layout.redesigned {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 1.25rem;
}

.profile-account-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.profile-account-copy,
.profile-header-actions,
.profile-info-card,
.profile-orders-section {
    min-width: 0;
}

.profile-account-copy .section-title {
    margin-bottom: .2rem;
    overflow-wrap: anywhere;
}

.profile-header-meta,
.profile-header-actions,
.profile-action-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    align-items: center;
}

.profile-header-meta {
    color: var(--text-secondary);
    font-size: .82rem;
    margin-top: .55rem;
}

.profile-header-actions {
    justify-content: flex-end;
}

.profile-logout-btn {
    border-color: rgba(239,83,80,.55);
    color: #ef5350;
}

.profile-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.profile-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--zams-light-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    border: 1px solid var(--zams-border);
    color: var(--zams-orange);
}

.profile-avatar.initials {
    font-size: 1.35rem;
    font-weight: 800;
}

.profile-avatar-icon {
    width: 2.4rem;
    height: 2.4rem;
}

/* Customer dashboard */
.dashboard-page {
    padding: 3rem 10% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dashboard-summary-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 1.3rem;
    color: var(--zams-black);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    min-height: 132px;
    font: inherit;
    cursor: pointer;
    z-index: 10;
}

.dashboard-summary-card:hover,
.dashboard-summary-card:focus-visible {
    border-color: var(--zams-orange);
    transform: translateY(-2px);
    outline: none;
    box-shadow: var(--shadow-md);
}

.dashboard-card-icon {
    color: var(--zams-orange);
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 107, 0, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-card-svg {
    width: 1.2rem;
    height: 1.2rem;
}

.dashboard-card-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.dashboard-card-label {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
}

.dashboard-location-card {
    text-align: left;
}

.dashboard-location-value {
    font-size: 0.95rem;
    line-height: 1.35;
}

.dashboard-panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 2rem;
    align-items: start;
}

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

.dashboard-panel-header h2 {
    border: none;
    padding: 0;
    margin: 0;
}

.dashboard-panel-link {
    color: var(--zams-orange);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.account-summary-list {
    display: grid;
    gap: 0.8rem;
}

.account-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--zams-border-light);
    font-size: 0.85rem;
}

.account-summary-list span {
    color: var(--text-secondary);
}

.account-summary-list strong {
    color: var(--zams-black);
    text-align: right;
}

.dashboard-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.dashboard-state {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
}

.profile-card h3 {
    font-weight: 800;
    font-size: 1.15rem;
}

.profile-email {
    font-size: 0.85rem;
    color: var(--zams-gray);
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
}

.profile-meta {
    font-size: 0.72rem;
    color: var(--zams-gray);
}

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.profile-orders-section {
    margin-top: 1.25rem;
}

.return-request-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 96px;
    gap: .75rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--surface);
}

.return-request-item span {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.return-request-item strong,
.return-request-item small {
    overflow-wrap: anywhere;
}

.return-request-item small {
    color: var(--zams-gray);
}

.notification-widget {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: center;
}

.notification-toggle {
    appearance: none;
    -webkit-appearance: none;
    height: 40px;
    min-height: 40px;
    width: auto;
    background: #15171d;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    color: #F5F5F5;
    font: inherit;
    line-height: 1;
    margin: 0;
    padding: 0 0.8rem;
    cursor: pointer;
    z-index: 10;
}

.notification-toggle:hover,
.notification-toggle:focus-visible {
    background: #1d212b;
    border-color: rgba(255,255,255,0.15);
    color: #F5F5F5;
    outline: none;
}

.notification-toggle.active {
    color: var(--zams-orange);
    border-color: rgba(255, 107, 0, 0.35);
    background: rgba(255, 107, 0, 0.12);
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + .75rem);
    right: 0;
    width: min(360px, 88vw);
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: .75rem;
    z-index: 80;
}

.notification-dropdown-header {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    padding: .25rem .25rem .65rem;
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--zams-orange);
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
    z-index: 10;
}

.notification-preview-list {
    display: grid;
    gap: .45rem;
    max-height: 360px;
    overflow: auto;
}
.notification-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: .65rem .8rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.notification-filter-row.full {
    padding: 0 0 1rem;
    border-bottom: 0;
}
.notification-chip {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: var(--text-secondary);
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .78rem;
    cursor: pointer;
    z-index: 10;
}
.notification-chip.active {
    background: rgba(255,107,0,.16);
    color: #fff;
    border-color: rgba(255,107,0,.45);
}
.alerts-list {
    display: grid;
    gap: .75rem;
}
.alert-row {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .85rem;
    align-items: center;
    padding: .9rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
}
.alert-row.unread {
    border-color: rgba(255,107,0,.38);
    background: rgba(255,107,0,.07);
}
.alert-row p {
    margin: .2rem 0;
    color: var(--text-secondary);
}
.alert-row small {
    color: var(--text-muted);
}
.alert-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,107,0,.14);
    color: var(--zams-orange);
}
.notification-pref-grid {
    display: grid;
    gap: .75rem;
}
.notification-pref-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
}
.notification-pref-row div {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.notification-pref-row label {
    color: var(--text-secondary);
    font-size: .86rem;
}
@media (max-width: 720px) {
    .alert-row,
    .notification-pref-row {
        grid-template-columns: 1fr;
        display: grid;
    }
}

.notification-preview {
    display: grid;
    gap: .2rem;
    width: 100%;
    text-align: left;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--zams-light-gray);
    color: var(--zams-black);
    padding: .75rem;
    cursor: pointer;
    z-index: 10;
}

.notification-preview.unread {
    border-color: rgba(255, 107, 0, .35);
    background: rgba(255, 107, 0, .08);
}

.notification-preview span,
.notification-preview small,
.notification-empty {
    color: var(--zams-gray);
    font-size: .78rem;
}

.return-tracker-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: .6rem;
    margin: 1rem 0;
}

.return-step {
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    padding: .75rem;
    background: var(--zams-light-gray);
    text-transform: capitalize;
}

.return-step.active {
    border-color: rgba(255, 107, 0, .45);
    background: rgba(255, 107, 0, .08);
}

.return-step span {
    display: block;
    color: var(--zams-gray);
    font-size: .75rem;
    margin-top: .25rem;
}

.return-tracker-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
}

.return-evidence-list {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.return-evidence-list img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--zams-border);
}

.return-order-summary {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    align-items: center;
    margin-top: 1rem;
    padding: .75rem;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--zams-light-gray);
}

/* ==========================================
   ROUTE: SECURE CHECKOUT PAGE
   ========================================== */

.checkout-page {
    padding: 3rem 10% 5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.62fr 1fr;
    gap: 24px;
    align-items: start;
    margin: 2rem auto 0 auto;
    max-width: 1280px;
}

.checkout-details-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
}

.checkout-details-card h3, .checkout-summary-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    border-bottom: 1px solid var(--zams-border);
    padding-bottom: 0.8rem;
}

.checkout-summary-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: var(--shadow-md);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--zams-border);
    color: var(--zams-orange);
    margin-bottom: 1rem;
}

.empty-state-svg {
    width: 2.4rem;
    height: 2.4rem;
}

.empty-state h3 {
    color: var(--zams-black);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.empty-state p {
    font-size: 0.88rem;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5;
}

.cart-page-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.cart-page-list {
    display: grid;
    gap: 1rem;
}

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

.cart-page-item:last-child {
    border-bottom: none;
}

.cart-page-summary {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--zams-border);
    max-width: 420px;
    margin-left: auto;
}

/* ==========================================
   COMPONENTS: SIDEBAR DRAWER & OVERLAYS
   ========================================== */

/* Cart Side Drawer */
.cart-drawer {
    position: fixed;
    top: 0; right: -420px;
    width: 420px; max-width: 100%;
    height: 100vh;
    background: var(--overlay-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--zams-border);
    z-index: 10005;
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    right: 0;
}

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

.cart-drawer-header h2 {
    font-size: 1.15rem;
    font-weight: 800;
}

.close-drawer-btn {
    background: var(--zams-light-gray);
    border: none;
    color: var(--zams-black);
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 0.8rem;
    transition: var(--transition);
}

.close-drawer-btn:hover {
    transform: rotate(90deg);
}

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

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

.cart-item-media,
.cart-item-image {
    background: var(--zams-light-gray);
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
}

.cart-item-image {
    object-fit: contain;
    padding: 0.3rem;
}

.cart-item-media .product-placeholder-icon {
    width: 1.5rem;
    height: 1.5rem;
}

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

.cart-item-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--zams-black);
}

.cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.1rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--zams-orange);
    font-size: 0.82rem;
}

.cart-item-qty {
    font-size: 0.75rem;
    color: var(--zams-gray);
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--zams-gray);
    width: 24px; height: 24px;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    color: var(--zams-orange);
}

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

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cart-total-label {
    font-size: 0.9rem;
    color: var(--zams-gray);
    font-weight: 600;
}

.cart-total-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--zams-orange);
}

.cart-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(9, 10, 15, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Drawer Side Nav */
.mobile-menu-drawer {
    position: fixed;
    top: 0; left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--surface);
    z-index: 10005;
    box-shadow: 10px 0 40px rgba(0,0,0,0.05);
    transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.mobile-menu-drawer.open {
    left: 0;
}

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

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--zams-gray);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    transition: var(--transition);
}

.drawer-link:hover, .drawer-link.active {
    color: var(--zams-orange);
    background: var(--zams-light-gray);
}

.drawer-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.drawer-footer {
    border-top: 1px solid var(--zams-border);
    padding-top: 1.5rem;
}

.drawer-footer p {
    font-size: 0.72rem;
    color: var(--zams-gray);
    margin-bottom: 0.5rem;
}

.whatsapp-support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem;
    background: var(--zams-whatsapp);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 0.45rem;
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(9, 10, 15, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================
   COMPONENTS: FORMS & INPUTS
   ========================================== */

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--zams-gray);
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--zams-border);
    background: var(--bg-secondary);
    color: var(--zams-black);
    font-size: 0.88rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--zams-orange);
    outline: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
    background: var(--input-bg-focus);
}

.form-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Dynamic Forms Cards spacing */
.form-card {
    background: var(--surface);
    border: 1px solid var(--zams-border);
    border-radius: 20px;
    padding: 2.2rem;
}

.form-card h2 {
    font-size: 1.15rem;
    font-weight: 800;
    border-bottom: 1px solid var(--zams-border);
    padding-bottom: 0.8rem;
    margin-bottom: 1.5rem;
}

/* Data Tables */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--zams-border);
}

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

.product-table th, 
.product-table td { 
    padding: 1rem; 
    text-align: left; 
    border-bottom: 1px solid var(--zams-border); 
}

.product-table th { 
    color: var(--zams-gray); 
    font-size: 0.72rem; 
    text-transform: uppercase; 
    font-weight: 700;
    background: var(--bg-secondary);
}

.product-table tr:last-child td {
    border-bottom: none;
}

/* Badges */
.badge { 
    display: inline-block; 
    padding: 0.25rem 0.75rem; 
    border-radius: 30px; 
    font-size: 0.7rem; 
    font-weight: 700; 
    text-transform: uppercase;
}

.badge-pending { background: rgba(255, 193, 7, 0.1); color: #b78103; }
.badge-confirmed { background: rgba(33, 150, 243, 0.1); color: #0d47a1; }
.badge-shipped { background: rgba(156, 39, 176, 0.1); color: #4a148c; }
.badge-delivered { background: rgba(76, 175, 80, 0.1); color: #1b5e20; }
.badge-cancelled { background: rgba(244, 67, 54, 0.1); color: #b71c1c; }

/* Alert Dialog Banners */
.toast { 
    position: fixed; 
    bottom: 2rem; 
    right: 2rem; 
    background: rgba(12, 14, 18, 0.96); 
    color: #fff; 
    padding: 0.9rem 1rem; 
    border-radius: 8px; 
    display: none; 
    z-index: 10010; 
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.82rem;
    max-width: min(360px, calc(100vw - 2rem));
    border-left: 4px solid #4b5563;
    animation: slide-in-toast 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
}
.toast-success { border-left-color: #22c55e; }
.toast-error { border-left-color: #ef4444; }
.toast-warning { border-left-color: #f59e0b; }
.toast-info { border-left-color: #60a5fa; }

@media (max-width: 640px) {
    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        max-width: none;
    }
}

.order-card-grid {
    display: grid;
    gap: 0.9rem;
    container-type: inline-size;
}

.order-card-grid-dashboard .customer-order-card {
    grid-template-columns: 1fr;
}

.order-card-grid-dashboard .order-card-product {
    grid-template-columns: 72px minmax(0, 1fr);
}

.order-card-grid-dashboard .order-card-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-card-grid-dashboard .order-card-status {
    gap: 0.65rem;
}

.order-card-grid-dashboard .order-card-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, max-content));
}

.order-card-grid-dashboard .order-card-actions {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    justify-content: stretch;
    min-width: 0;
}

.order-card-grid-dashboard .order-card-actions .btn {
    width: 100%;
}

.customer-order-card {
    display: grid;
    grid-template-columns: minmax(230px, 1.4fr) minmax(180px, 1fr) minmax(220px, 1.2fr) auto;
    gap: 20px;
    align-items: start;
    padding: 1rem 1.1rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: rgba(255,255,255,0.03);
    min-width: 0;
}

.order-card-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
}

.order-card-media img,
.order-card-media .cart-item-image,
.order-card-media .product-fallback,
.order-card-media .product-icon-fallback {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: contain;
}

.order-card-media {
    width: 72px;
    min-width: 72px;
}

.order-card-main,
.order-card-meta,
.order-card-status,
.order-card-actions {
    min-width: 0;
}

.order-card-main h3 {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.order-card-main p,
.order-card-meta span {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
    margin: 0.18rem 0 0;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.order-card-meta {
    display: grid;
    gap: 0.65rem;
}

.order-card-meta > div:not(.order-card-badges) {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.order-card-meta strong {
    font-size: .84rem;
    overflow-wrap: normal;
    word-break: normal;
    white-space: normal;
    min-width: 0;
}

.order-card-badges,
.order-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-card-status {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.order-card-badges .badge {
    max-width: 100%;
}

.order-card-actions {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    justify-items: stretch;
    min-width: 150px;
}

.order-card-actions .btn {
    width: 150px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    white-space: nowrap;
    padding-inline: 0.8rem;
}

.order-progress-preview {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
}

.order-progress-step {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 18px;
}

.order-progress-step i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    border: 1px solid var(--zams-border);
    position: relative;
    z-index: 1;
}

.order-progress-step:not(:last-child)::after {
    content: "";
    height: 2px;
    flex: 1 1 auto;
    background: rgba(255,255,255,.15);
    margin: 0 4px;
}

.order-progress-step.done i {
    background: var(--zams-orange);
    border-color: var(--zams-orange);
}

.order-progress-step.done:not(:last-child)::after {
    background: rgba(255,107,0,.7);
}

.order-progress-cancelled {
    margin-top: 0;
}

.order-progress-current {
    color: var(--zams-orange);
    font-weight: 700;
    font-size: 0.78rem;
    margin: 0;
    line-height: 1.35;
}

.pin-status {
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    padding: 0.75rem;
    background: rgba(255,255,255,0.03);
}

.pin-status.checking { border-color: #60a5fa; color: #bfdbfe; }
.pin-status.success { border-color: #22c55e; color: #bbf7d0; }
.pin-status.unavailable { border-color: #ef4444; color: #fecaca; }
.pin-status.warning { border-color: #f59e0b; color: #fde68a; }

.payment-issue-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0,0,0,0.62);
}

.payment-issue-panel {
    position: relative;
    width: min(460px, 100%);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--zams-border);
    background: var(--card-bg, #111);
    box-shadow: var(--shadow-lg);
}

.payment-issue-actions {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.payment-issue-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

@media (max-width: 1099px) {
    .customer-order-card {
        grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    }
    .order-card-meta,
    .order-card-status {
        grid-column: auto;
    }
    .order-card-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(auto-fit, minmax(150px, max-content));
        justify-content: end;
    }
    .order-card-actions .btn {
        width: 150px;
    }
}

@media (max-width: 760px) {
    .customer-order-card {
        grid-template-columns: 1fr;
    }
    .order-card-product {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .order-card-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .order-card-status,
    .order-card-actions {
        grid-column: auto;
    }
    .order-card-actions {
        grid-template-columns: 1fr;
        justify-content: stretch;
        min-width: 0;
    }
    .order-card-actions .btn {
        width: 100%;
    }
    .order-card-media img,
    .order-card-media .cart-item-image,
    .order-card-media .product-fallback,
    .order-card-media .product-icon-fallback {
        width: 72px;
        height: 72px;
    }
}

@container (max-width: 760px) {
    .customer-order-card {
        grid-template-columns: 1fr;
    }
    .order-card-product {
        grid-template-columns: 72px minmax(0, 1fr);
    }
    .order-card-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .order-card-actions {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        min-width: 0;
        justify-content: stretch;
    }
    .order-card-actions .btn {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .order-card-meta {
        grid-template-columns: 1fr;
    }
}

@keyframes slide-in-toast { 
    from { transform: translateY(120%); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

/* Flash deals banner countdown details */
.deals-banner { 
    padding: 5rem 5% 4.5rem; 
    background: var(--zams-black); 
    border-radius: 24px;
    margin: 3rem 10% 5rem;
    text-align: center; 
    position: relative; 
    z-index: 1; 
    overflow: hidden; 
}

[data-theme="dark"] .deals-banner {
    background: #000000;
    background-image: none;
    box-shadow: inset 0 0 0 1px #27272A;
}

[data-theme="dark"] .deals-banner::before,
[data-theme="dark"] .deals-banner::after {
    content: none;
    display: none;
    background: none;
    background-image: none;
    opacity: 1;
}

.deals-tag { 
    display: inline-block; 
    background: var(--zams-orange); 
    color: #FFFFFF;
    padding: 0.35rem 0.9rem; 
    border-radius: 50px; 
    font-size: 0.68rem; 
    font-weight: 700; 
    margin-bottom: 1.2rem; 
    text-transform: uppercase;
}

.deals-title { 
    font-size: clamp(1.8rem, 4vw, 2.6rem); 
    font-weight: 800;
    margin-bottom: 0.8rem; 
    color: #FFFFFF;
    letter-spacing: -0.8px;
}

.deals-desc { 
    color: rgba(255, 255, 255, 0.7); 
    max-width: 540px; 
    margin: 0 auto 2.2rem; 
    font-size: 0.92rem;
    line-height: 1.55;
}

[data-theme="dark"] .deals-desc,
[data-theme="dark"] .time-label {
    color: #A1A1AA;
}

.countdown { 
    display: flex; 
    justify-content: center; 
    gap: 1.2rem; 
    margin-bottom: 2.2rem; 
}

.time-block { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.time-num { 
    font-size: 2.2rem; 
    font-weight: 800;
    background: rgba(255, 255, 255, 0.05); 
    color: #FFFFFF;
    padding: 0.4rem 0.8rem; 
    border-radius: 12px; 
    min-width: 60px; 
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.time-label { 
    font-size: 0.65rem; 
    color: rgba(255, 255, 255, 0.5); 
    margin-top: 0.4rem; 
    text-transform: uppercase;
}

/* Support CTA */
.support-cta {
    background: linear-gradient(135deg, #100f0f 0%, #1c1a18 100%);
    border-radius: 20px;
    padding: 3.5rem 4rem;
    margin: 4rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.support-content {
    max-width: 50%;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 107, 0, 0.3);
    background: rgba(255, 107, 0, 0.05);
    color: var(--zams-orange);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.support-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--zams-orange);
    border-radius: 50%;
}

.support-cta h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.support-cta h2 .accent {
    color: var(--zams-orange);
}

.support-cta p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

.support-actions {
    display: flex;
    gap: 1rem;
}

.support-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.support-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-icon {
    background: rgba(255, 107, 0, 0.15);
    color: var(--zams-orange);
}

.wa-icon {
    background: rgba(37, 211, 102, 0.15);
    color: #25D366;
}

.support-btn-text {
    display: flex;
    flex-direction: column;
}

.support-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.support-subtitle {
    font-size: 0.75rem;
    color: #888;
}

@media (max-width: 1024px) {
    .support-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
        padding: 3rem;
    }
    .support-content { max-width: 100%; }
}

@media (max-width: 768px) {
    .support-cta {
        margin: 3rem 5%;
        padding: 2.5rem 1.5rem;
    }
    .support-actions {
        flex-direction: column;
        width: 100%;
    }
    .support-btn { width: 100%; }
}

/* Newsletter block */
.newsletter { 
    padding: 5rem 5% 4rem; 
    text-align: center; 
}

.newsletter h2 { 
    font-size: 1.8rem; 
    font-weight: 800;
    margin-bottom: 0.5rem; 
    letter-spacing: -0.5px;
}

.newsletter p { 
    color: var(--text-secondary); 
    margin-bottom: 1.8rem; 
    font-size: 0.9rem;
}

.newsletter-form { 
    display: flex; 
    gap: 0.6rem; 
    max-width: 440px; 
    margin: 0 auto; 
    flex-wrap: wrap; 
}

.newsletter-input { 
    flex: 1; 
    min-width: 220px; 
    padding: 0.75rem 1.2rem; 
    border-radius: 12px; 
    border: 1px solid var(--zams-border); 
    background: var(--surface); 
    color: var(--zams-black); 
    font-size: 0.88rem; 
    outline: none; 
    transition: var(--transition); 
}

.newsletter-input:focus { 
    border-color: var(--zams-orange); 
}

.content-page {
    padding: 4rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-hero {
    margin-bottom: 2rem;
}

.content-hero .section-desc {
    max-width: 780px;
    line-height: 1.75;
}

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

.content-section-card,
.content-contact-card {
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.content-section-card {
    padding: 1.25rem;
}

.content-section-card h2 {
    font-size: 1rem;
    margin-bottom: 0.65rem;
    color: var(--zams-black);
}

.content-section-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* Legal policy pages */
.legal-page {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 4.75rem 2rem 5rem;
    overflow: clip;
}

.legal-progress-shell {
    position: sticky;
    top: 0;
    z-index: 6;
    width: 100%;
    height: 3px;
    margin-bottom: 2.4rem;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.legal-progress-bar {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--zams-orange), #ffb66d);
    transform: scaleX(0);
    transform-origin: left center;
}

.legal-hero {
    position: relative;
    max-width: 980px;
    margin: 0 auto 4.2rem;
    padding: 4.25rem 0 2rem;
    isolation: isolate;
}

.legal-hero-glow {
    position: absolute;
    right: 10%;
    top: 12%;
    z-index: -1;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.22), rgba(255, 107, 0, 0));
    filter: blur(10px);
    pointer-events: none;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.09);
    color: var(--zams-orange);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.legal-eyebrow-icon {
    width: 1rem;
    height: 1rem;
}

.legal-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(2.35rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: 0;
}

.legal-updated {
    margin: 1.3rem 0 0;
    color: var(--zams-orange);
    font-size: 0.88rem;
    font-weight: 800;
}

.legal-intro {
    max-width: 780px;
    margin-top: 1.4rem;
    display: grid;
    gap: 0.85rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.legal-intro p {
    margin: 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 7rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: var(--shadow-sm);
}

.legal-toc-title {
    margin-bottom: 0.35rem;
    color: var(--text-primary);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-toc-link {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.45rem;
    width: 100%;
    padding: 0.55rem 0.45rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    text-align: left;
    font: inherit;
    font-size: 0.82rem;
    line-height: 1.35;
    cursor: pointer;
    z-index: 10;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.legal-toc-link span {
    color: rgba(255, 107, 0, 0.72);
    font-weight: 800;
}

.legal-toc-link:hover,
.legal-toc-link:focus-visible,
.legal-toc-link.active {
    color: var(--zams-orange);
    background: rgba(255, 107, 0, 0.08);
    transform: translateX(2px);
    outline: none;
}

.legal-content {
    min-width: 0;
    display: grid;
    gap: 1.1rem;
}

.legal-section {
    scroll-margin-top: 7.5rem;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1.45rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 107, 0, 0.06), transparent 36%),
        var(--surface);
    box-shadow: var(--shadow-sm);
}

.legal-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 107, 0, 0.12);
    color: var(--zams-orange);
    font-size: 0.9rem;
    font-weight: 800;
}

.legal-section-copy {
    min-width: 0;
}

.legal-section h2 {
    margin: 0 0 0.85rem;
    color: var(--text-primary);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    line-height: 1.25;
}

.legal-blocks {
    display: grid;
    gap: 0.8rem;
}

.legal-section p,
.legal-copy-block p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.78;
}

.legal-list {
    display: grid;
    gap: 0.42rem;
    margin: 0.65rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.legal-list li::marker {
    color: var(--zams-orange);
}

.legal-highlight,
.legal-sequence {
    border: 1px solid rgba(255, 107, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.08);
}

.legal-highlight {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
}

.legal-highlight p {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-highlight-icon {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.24rem;
    color: var(--zams-orange);
}

.legal-sequence {
    padding: 0.85rem 0.95rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.65;
}

.legal-contact-list {
    display: grid;
    gap: 0.7rem;
    margin: 0;
    padding: 0.95rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface-elevated);
    font-style: normal;
}

.legal-contact-list span {
    display: grid;
    gap: 0.15rem;
}

.legal-contact-list strong {
    color: var(--text-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
}

.legal-contact-list em,
.legal-contact-list a {
    color: var(--text-secondary);
    font-style: normal;
    text-decoration: none;
}

.legal-contact-list a:hover {
    color: var(--zams-orange);
}

.legal-support-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-top: 0.8rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 107, 0, 0.22);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 107, 0, 0.04));
}

.legal-support-kicker {
    color: var(--zams-orange);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.legal-support-block h2 {
    margin: 0.2rem 0 0.4rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.legal-support-block p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.65;
}

.legal-support-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.legal-policy-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.8rem;
}

.legal-policy-link {
    position: relative;
    display: grid;
    gap: 0.28rem;
    min-height: 96px;
    padding: 1rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-primary);
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.legal-policy-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.7rem;
    height: 2px;
    background: var(--zams-orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.legal-policy-link.next {
    text-align: right;
}

.legal-policy-link.next::after {
    transform-origin: right center;
}

.legal-policy-link span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
}

.legal-policy-link.next span {
    justify-content: flex-end;
}

.legal-policy-link strong {
    font-size: 1.05rem;
    line-height: 1.35;
}

.legal-policy-arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s ease;
}

.legal-policy-link:hover,
.legal-policy-link:focus-visible {
    border-color: rgba(255, 107, 0, 0.32);
    background: rgba(255, 107, 0, 0.06);
    transform: translateY(-2px);
    outline: none;
}

.legal-policy-link:hover::after,
.legal-policy-link:focus-visible::after {
    transform: scaleX(1);
}

.legal-policy-link.prev:hover .legal-policy-arrow,
.legal-policy-link.prev:focus-visible .legal-policy-arrow {
    transform: translateX(-4px);
}

.legal-policy-link.next:hover .legal-policy-arrow,
.legal-policy-link.next:focus-visible .legal-policy-arrow {
    transform: translateX(4px);
}

.legal-motion-block {
    opacity: 0;
    transform: translateY(42px) scale(0.985);
    transition:
        opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--legal-stagger, 0ms),
        transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--legal-stagger, 0ms);
}

.legal-motion-block.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.legal-section .legal-section-number,
.legal-section h2,
.legal-section .legal-blocks {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-section.is-visible .legal-section-number,
.legal-section.is-visible h2,
.legal-section.is-visible .legal-blocks {
    opacity: 1;
    transform: translateY(0);
}

.legal-section.is-visible h2 {
    transition-delay: 90ms;
}

.legal-section.is-visible .legal-blocks {
    transition-delay: 170ms;
}

@media (max-width: 1024px) {
    .legal-page {
        padding-inline: 1.5rem;
    }

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

    .legal-toc {
        display: none;
    }

    .legal-content {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding: 3.25rem 1.35rem 4rem;
    }

    .legal-progress-shell {
        margin-bottom: 1.5rem;
    }

    .legal-hero {
        margin-bottom: 2.4rem;
        padding-top: 2.8rem;
    }

    .legal-hero h1 {
        font-size: clamp(2rem, 12vw, 3.2rem);
    }

    .legal-section {
        grid-template-columns: 1fr;
        gap: 0.9rem;
        padding: 1.2rem;
    }

    .legal-section-number {
        width: 44px;
        height: 44px;
    }

    .legal-support-block,
    .legal-policy-nav {
        grid-template-columns: 1fr;
    }

    .legal-support-actions {
        justify-content: flex-start;
    }

    .legal-policy-link.next {
        text-align: left;
    }

    .legal-policy-link.next span {
        justify-content: flex-start;
    }
}

@media (max-width: 425px) {
    .legal-page {
        padding-inline: 1.25rem;
    }

    .legal-intro,
    .legal-section p,
    .legal-copy-block p,
    .legal-list {
        font-size: 0.9rem;
    }

    .legal-highlight {
        grid-template-columns: 1fr;
    }

    .legal-support-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .legal-motion-block,
    .legal-section .legal-section-number,
    .legal-section h2,
    .legal-section .legal-blocks,
    .legal-policy-link,
    .legal-policy-arrow,
    .legal-toc-link,
    .legal-hero-glow {
        animation: none !important;
        transition-duration: 1ms !important;
        transition-delay: 0ms !important;
        transform: none !important;
    }

    .legal-motion-block,
    .legal-section .legal-section-number,
    .legal-section h2,
    .legal-section .legal-blocks {
        opacity: 1 !important;
    }
}

.about-editorial-hero,
.contact-hero {
    max-width: 900px;
    margin-bottom: 2.5rem;
}

.about-editorial-hero h1,
.contact-hero h1 {
    font-size: clamp(2.2rem, 7vw, 5rem);
    line-height: 1.02;
    letter-spacing: 0;
    color: var(--zams-black);
    margin: .35rem 0 1rem;
}

.about-editorial-hero p,
.contact-hero p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.28rem);
    line-height: 1.7;
    max-width: 760px;
}

.about-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-editorial-card,
.contact-direct-card,
.contact-form-card {
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    min-width: 0;
}

.about-editorial-card span {
    display: block;
    color: var(--zams-orange);
    font-weight: 800;
    margin-bottom: .75rem;
}

.about-editorial-card h2,
.contact-direct-card h2 {
    color: var(--zams-black);
    font-size: 1.15rem;
    margin-bottom: .7rem;
}

.about-editorial-card p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 1.25rem;
    align-items: start;
}

.contact-direct-card {
    display: grid;
    gap: .75rem;
}

.contact-direct-card a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--zams-black);
    text-decoration: none;
    padding: .75rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
}

.contact-direct-card a:hover {
    border-color: var(--zams-orange);
    color: var(--zams-orange);
}

.contact-form-card {
    display: grid;
    gap: 1rem;
}

.content-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.content-contact-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    color: var(--zams-black);
    text-decoration: none;
    transition: var(--transition);
}

.content-contact-card:hover,
.content-contact-card:focus-visible {
    border-color: var(--zams-orange);
    transform: translateY(-2px);
    outline: none;
}

.content-contact-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--zams-orange);
}

.content-contact-card small {
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Footer layout */
.footer { 
    padding: 5rem 10% 2rem; 
    border-top: 1px solid var(--zams-border); 
    background: var(--zams-black);
    color: #FFFFFF;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.8fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 2.5rem;
}

.footer-brand {
    min-width: 0;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 2rem; 
    max-width: none;
    margin: 0; 
}

.footer-logo { 
    margin-bottom: 1rem; 
}

.footer-desc { 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.85rem; 
    line-height: 1.6; 
    max-width: 280px;
}

.footer-col h4 { 
    margin-bottom: 1rem; 
    color: #FFFFFF; 
    font-size: 0.82rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a { 
    display: block; 
    color: rgba(255, 255, 255, 0.6); 
    text-decoration: none; 
    padding: 0.35rem 0; 
    transition: var(--transition); 
    font-size: 0.85rem; 
}

.footer-col a:hover { 
    color: var(--zams-orange); 
    padding-left: 4px; 
}

.social-links,
.footer-social-row { 
    display: flex; 
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.social-link { 
    width: 36px; 
    height: 36px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: rgba(255, 255, 255, 0.05); 
    border-radius: 10px; 
    text-decoration: none; 
    transition: var(--transition); 
    color: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.08);
}

.social-icon {
    width: 1.05rem;
    height: 1.05rem;
}

.close-icon,
.remove-icon {
    width: 0.95rem;
    height: 0.95rem;
}

.social-link:hover { 
    background: var(--zams-orange); 
    transform: translateY(-2px); 
    color: #fff;
}

.footer-bottom { 
    text-align: center; 
    padding-top: 1.8rem; 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
    color: rgba(255, 255, 255, 0.4); 
    font-size: 0.78rem; 
}

.whatsapp-support-widget {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 980;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.whatsapp-float-main {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--zams-whatsapp);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.whatsapp-float-main:hover,
.whatsapp-float-main:focus-visible {
    background: var(--zams-whatsapp-hover);
    transform: translateY(-2px);
    outline: none;
}

.whatsapp-float-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.whatsapp-support-panel {
    width: min(350px, calc(100vw - 2rem));
    border-radius: 12px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--zams-border);
    box-shadow: var(--shadow-lg);
    transform-origin: bottom right;
    animation: whatsapp-panel-in .22s ease-out;
}

.whatsapp-support-panel[hidden] {
    display: none;
}

.whatsapp-support-panel header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: center;
    padding: 1rem;
    background: var(--zams-whatsapp);
    color: #fff;
}

.whatsapp-support-panel header strong,
.whatsapp-support-panel header small {
    display: block;
    line-height: 1.3;
}

.whatsapp-support-panel header small {
    opacity: .86;
    font-size: .76rem;
}

.whatsapp-panel-icon {
    width: 1.35rem;
    height: 1.35rem;
}

.whatsapp-support-panel header button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: rgba(255,255,255,.16);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.whatsapp-panel-body {
    display: grid;
    gap: .65rem;
    padding: 1rem;
}

.whatsapp-message-bubble {
    justify-self: start;
    max-width: 92%;
    padding: .75rem .9rem;
    border-radius: 12px 12px 12px 4px;
    background: rgba(255,255,255,.055);
    color: var(--zams-black);
    font-size: .9rem;
    line-height: 1.45;
}

.whatsapp-panel-body button {
    width: 100%;
    text-align: left;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: rgba(255,255,255,.03);
    color: var(--zams-black);
    padding: .72rem .8rem;
    font: inherit;
    font-size: .84rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.whatsapp-panel-body button:hover,
.whatsapp-panel-body button:focus-visible {
    border-color: var(--zams-orange);
    color: var(--zams-orange);
    outline: none;
}

@keyframes whatsapp-panel-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.customer-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.64);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.customer-confirm-panel {
    width: min(420px, 100%);
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--zams-black);
    padding: 1.25rem;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.customer-confirm-panel h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.customer-confirm-panel p {
    color: var(--text-secondary);
    line-height: 1.55;
    margin-right: 1.5rem;
}

.customer-confirm-panel footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.customer-confirm-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
}

/* Click ripple */
.click-effect {
    position: fixed;
    width: 80px; height: 80px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, rgba(255, 107, 0, 0.02) 60%, transparent 70%);
    animation: ripple-click 0.5s ease-out forwards;
}

@keyframes ripple-click {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.reveal { 
    opacity: 0; 
    transform: translateY(20px); 
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */
.anim-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-slide-up {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-slide-left {
    animation: slideLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-slide-right {
    animation: slideRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skeleton-loading {
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-shine) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: skeleton-glow 1.5s infinite linear;
    border-radius: 8px;
    color: transparent !important;
}
.skeleton-loading * {
    visibility: hidden;
}

.page-transition-enter {
    animation: pageEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hover-scale {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-scale:hover {
    transform: scale(1.03);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

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

@keyframes pageEnter {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.reveal { 
    opacity: 0; 
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Launch polish: product gallery, checkout controls, order details, and responsive safety */
.product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: inherit;
}

.product-gallery:focus-visible,
.variant-picker.variant-picker-error {
    outline: 2px solid var(--zams-orange);
    outline-offset: 3px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 1px solid var(--zams-border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-primary);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    z-index: 3;
}

.gallery-prev { left: 0.8rem; }
.gallery-next { right: 0.8rem; }

.gallery-thumbs {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem;
    justify-content: center;
    z-index: 3;
}

.gallery-thumb {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--surface);
    padding: 3px;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.gallery-thumb.active {
    border-color: var(--zams-orange);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.product-gallery-admin {
    display: grid;
    gap: 0.75rem;
}

.gallery-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.gallery-preview-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
}

.gallery-preview-card.primary {
    border-color: rgba(255, 107, 0, 0.55);
    background: rgba(255, 107, 0, 0.08);
}

.gallery-preview-card img {
    width: 72px;
    height: 72px;
    border-radius: 7px;
    object-fit: cover;
    background: var(--surface-secondary);
}

.gallery-preview-card div {
    min-width: 0;
}

.gallery-preview-card small {
    display: block;
    margin-top: 0.2rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-preview-card .btn {
    min-height: 32px;
    padding: 0.4rem 0.55rem;
}

.variant-picker-error {
    border-radius: 8px;
    background: rgba(255, 107, 0, 0.06);
    padding: 0.75rem;
}

.variant-picker-error .variant-message {
    color: var(--zams-orange);
    font-weight: 700;
}

.pending-stock {
    color: var(--text-secondary);
    font-weight: 700;
}

.cart-qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.cart-qty-controls button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--zams-border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-primary);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
}

.cart-qty-controls span {
    min-width: 2ch;
    text-align: center;
    font-weight: 800;
}

.cart-remove-inline {
    color: #d32f2f !important;
}

.checkout-pin-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pin-status.loading::before,
.pin-status.checking::before,
.is-loading::before {
    content: '';
    width: 0.9em;
    height: 0.9em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    display: inline-block;
    margin-right: 0.45rem;
    vertical-align: -0.12em;
    animation: zamsSpin 0.8s linear infinite;
}

@keyframes zamsSpin {
    to { transform: rotate(360deg); }
}

.order-detail-page {
    max-width: 1280px;
}

.order-detail-hero,
.order-detail-layout,
.order-detail-items,
.order-detail-card,
.order-detail-summary,
.order-detail-actions {
    min-width: 0;
}

.order-detail-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--zams-border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.order-detail-hero h2 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: 0;
}

.order-detail-hero p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.order-detail-status-stack,
.order-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.order-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 1rem;
    align-items: start;
}

.order-detail-main {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.order-detail-card,
.order-detail-summary {
    padding: 1.25rem;
    border-radius: 12px;
}

.order-detail-card h3,
.order-detail-summary h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.order-detail-summary {
    position: sticky;
    top: 126px;
    display: grid;
    gap: 1rem;
}

.order-detail-items {
    display: grid;
    gap: 0.75rem;
}

.order-detail-item-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.order-detail-item-card strong,
.order-detail-item-card span {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.order-detail-item-card span {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.order-detail-item-total {
    font-weight: 800;
    color: var(--zams-orange);
}

.order-detail-item-card .review-item-actions {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-detail-address {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.55;
}

.fulfilment-stepper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.fulfilment-step {
    position: relative;
    display: grid;
    gap: 0.35rem;
    align-content: start;
    min-width: 0;
    padding: 0.75rem;
    border: 1px solid var(--zams-border);
    border-radius: 10px;
    background: var(--surface);
}

.fulfilment-step-icon {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: var(--text-secondary);
    background: var(--bg-secondary);
}

.fulfilment-step strong {
    font-size: 0.78rem;
    line-height: 1.25;
}

.fulfilment-step small {
    color: var(--text-secondary);
    font-size: 0.7rem;
    line-height: 1.3;
}

.fulfilment-step.completed {
    border-color: rgba(37, 211, 102, 0.32);
}

.fulfilment-step.completed .fulfilment-step-icon {
    color: #ffffff;
    background: var(--zams-whatsapp);
}

.fulfilment-step.active {
    border-color: rgba(255, 107, 0, 0.42);
    background: rgba(255, 107, 0, 0.06);
}

.fulfilment-step.active .fulfilment-step-icon {
    color: #ffffff;
    background: var(--zams-orange);
}

.profile-card-title-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.compact-profile-form {
    display: grid;
    gap: 0.85rem;
}

.profile-edit-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.notification-dropdown {
    max-height: min(520px, calc(100vh - 140px));
    overflow: auto;
}

.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (320px to 4K)
   ========================================== */

/* 4K and Ultra Wide Screens (2560px and above) */
@media (min-width: 2560px) {
    .nav, .hero, .home-collections, .features, .products-directory, .product-detail-layout, .footer-grid, .auth-layout, .tracking-container {
        max-width: 1800px;
    }
    .hero-title { font-size: 5rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
    .footer-inner { grid-template-columns: minmax(240px, .9fr) minmax(0, 1.8fr); }
    .footer-grid { grid-template-columns: repeat(4, minmax(140px, 1fr)); }
}

/* 1024px - Tablets / Small Laptops */
@media (max-width: 1024px) {
    .nav, .home-collections, .features, .products-directory, .product-detail-layout, .footer-grid, .auth-layout, .tracking-container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .route-back-container,
    .dashboard-page,
    .content-page {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .hero { 
        padding: 3rem 5% 2rem; 
    }
    .hero::before { width: 100%; }
    .hero::after { 
        left: 0;
        right: auto;
        width: 100%;
        background: var(--hero-gradient-mobile); 
    }
    .hero-title { font-size: 3.2rem; }
    
    .hero-content { 
        width: 100%; 
        max-width: 650px; 
        position: relative;
        z-index: 3;
    }
    .hero-badges-row, .hero-buttons { justify-content: flex-start; }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .detail-visual-col { position: static; }
    .detail-img-card { height: 400px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
}

/* 1440px - Large Desktops */
@media (max-width: 1440px) {
    .nav, .hero, .home-collections, .features, .products-directory, .product-detail-layout, .footer-grid {
        max-width: 1200px;
    }
}

/* 1280px - Small Desktops / Laptops */
@media (max-width: 1280px) {
    .hero { gap: 2rem; padding: 3rem 5% 2rem; }
    .hero-title { font-size: 3.2rem; }
    .product-detail-layout { gap: 2rem; padding: 2rem 5%; }
}

/* 1024px - Tablets Landscape / Small Laptops */
@media (max-width: 1024px) {
    .hero { 
        grid-template-columns: 1fr;
        text-align: center; 
        padding-top: 5rem;
        gap: 3rem;
    }
    .hero-content { max-width: 100%; }
    .hero-badges-row, .hero-buttons { justify-content: center; }
    .spider-circle { width: 260px; height: 260px; }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .detail-visual-col { position: static; }
    .detail-img-card { height: 400px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 768px - Tablets Portrait */
@media (max-width: 768px) {
    .nav { padding: 1rem 1.5rem; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .features {
        padding: 1.8rem 1.25rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .feature-card {
        padding: 1rem 1.1rem;
    }
    .feature-card + .feature-card {
        border-left: 0;
    }
    .feature-card:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    .feature-card:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .tracking-layout, .profile-layout, .profile-layout.redesigned, .checkout-layout { grid-template-columns: 1fr; }
    .profile-account-header { grid-template-columns: 1fr; align-items: start; }
    .profile-header-actions { justify-content: flex-start; }
    .return-request-item { grid-template-columns: auto minmax(0, 1fr); }
    .return-request-item .return-request-qty { grid-column: 1 / -1; }
    .return-tracker-item { grid-template-columns: 56px minmax(0, 1fr); }
    .return-evidence-list { grid-column: 1 / -1; justify-content: flex-start; }
    .notification-dropdown { right: -4rem; }
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }
    .dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dashboard-panel-grid {
        grid-template-columns: 1fr;
    }
    .about-editorial-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .content-page { padding-top: 3rem; padding-bottom: 3rem; }
    .cart-drawer { width: 100%; max-width: 400px; }
    .detail-img-card { height: 320px; }
}

/* 425px - Large Mobile */
@media (max-width: 425px) {
    .nav { padding: 0.8rem 1rem; }
    .route-back-container {
        padding-top: 1rem;
    }
    .route-back-btn {
        width: 40px;
        padding: 0;
    }
    .route-back-btn span {
        display: none;
    }
    .hero-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .features {
        padding: 1.55rem 1.15rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .feature-card {
        padding: 1.05rem 0.4rem;
    }
    .feature-card:nth-child(even) {
        border-left: 0;
    }
    .feature-card:nth-child(n + 2) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .dashboard-summary-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-summary-card {
        min-height: auto;
    }
    .cart-page-card {
        padding: 1.2rem;
    }
    .cart-page-item {
        align-items: flex-start;
    }
    .cart-page-summary {
        max-width: none;
    }
    .footer-grid { grid-template-columns: 1fr; }
    .customer-confirm-panel footer .btn { width: 100%; }
    .whatsapp-support-widget { right: 0.9rem; bottom: 0.9rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
    .time-num { font-size: 1.5rem; min-width: 50px; }
}

/* 375px - Medium Mobile */
@media (max-width: 375px) {
    .hero-title { font-size: 1.6rem; }
    .coll-icon { font-size: 2rem; }
    .collection-highlight-card { padding: 1.5rem; }
    .time-num { font-size: 1.3rem; min-width: 45px; }
    .detail-img-card { height: 260px; }
    .cart-drawer { max-width: 100%; }
}

/* 320px - Small Mobile */
@media (max-width: 320px) {
    .hero-title { font-size: 1.4rem; }
    .time-num { font-size: 1.1rem; min-width: 40px; }
    .countdown { gap: 0.5rem; }
    .product-card { padding: 1rem; }
    .detail-img-card { height: 220px; }
    .detail-price-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

.password-field {
    position: relative;
}

.password-field .form-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--zams-orange);
    background: rgba(255, 107, 0, 0.08);
    outline: 2px solid rgba(255, 107, 0, 0.25);
}

@media (max-width: 1180px) {
    .order-detail-layout {
        grid-template-columns: 1fr;
    }

    .order-detail-summary {
        position: static;
    }

    .fulfilment-stepper {
        grid-template-columns: repeat(6, minmax(126px, 1fr));
        overflow-x: auto;
        padding-bottom: 0.3rem;
    }
}

@media (max-width: 768px) {
    .checkout-page,
    .tracking-page,
    .orders-page,
    .profile-page,
    .product-details-page,
    .cart-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .checkout-details-card,
    .checkout-summary-card,
    .tracking-input-card,
    .tracking-details-card,
    .form-card {
        padding: 1.1rem;
        border-radius: 12px;
    }

    .checkout-layout {
        gap: 1rem;
    }

    .checkout-pin-check-row {
        grid-template-columns: 1fr;
    }

    .order-detail-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .order-detail-status-stack,
    .order-detail-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .order-detail-actions .btn {
        flex: 1 1 160px;
    }

    .order-detail-item-card {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .order-detail-item-total,
    .order-detail-item-card .review-item-actions {
        grid-column: 1 / -1;
    }

    .fulfilment-stepper {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .fulfilment-step {
        grid-template-columns: 34px minmax(0, 1fr);
        align-items: center;
    }

    .fulfilment-step small {
        grid-column: 2;
    }

    .notification-dropdown {
        right: 0;
        width: min(360px, calc(100vw - 1rem));
    }

    .gallery-thumbs {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .announcement-track {
        --announcement-gap: 1.4rem;
        animation-duration: 24s;
    }

    .detail-img-card {
        height: min(320px, 86vw);
    }

    .gallery-nav {
        width: 34px;
        height: 34px;
    }

    .gallery-thumb {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .cart-qty-controls {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .profile-card-title-row,
    .profile-edit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-edit-actions .btn {
        width: 100%;
    }

    .order-detail-actions .btn {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-track,
    .pin-status.loading::before,
    .pin-status.checking::before,
    .is-loading::before {
        animation: none !important;
    }
}

.password-toggle-icon {
    width: 18px;
    height: 18px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.email-verification-card strong {
    color: var(--zams-orange);
}

.otp-input {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.45rem;
}

.verification-message {
    min-height: 1.2rem;
    margin-top: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

@media (max-width: 560px) {
    .location-dropdown {
        width: min(92vw, 330px);
        left: 50%;
        transform: translate(-50%, 10px);
    }

    .location-dropdown.show {
        transform: translate(-50%, 0);
    }

    .pin-check-row {
        grid-template-columns: 1fr;
    }

    .pin-check-row button {
        width: 100%;
        white-space: normal;
    }
}

.review-summary-card {
    display: grid;
    grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.2fr);
    gap: 1.25rem;
    padding: 1rem;
    margin: 1rem 0 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.review-summary-card strong {
    display: block;
    font-size: 2rem;
    color: var(--zams-orange);
}

.review-summary-card small,
.rating-bar-row small {
    color: var(--zams-gray);
}

.rating-distribution {
    display: grid;
    gap: 0.5rem;
}

.rating-bar-row {
    display: grid;
    grid-template-columns: 56px 1fr 32px;
    gap: 0.65rem;
    align-items: center;
    font-size: 0.85rem;
}

.rating-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.rating-bar span {
    display: block;
    height: 100%;
    background: var(--zams-orange);
}

.official-answer {
    border-left: 3px solid var(--zams-orange);
    padding-left: 0.75rem;
}

.review-section-heading,
.review-filter-row,
.review-card-actions,
.review-item-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.review-section-heading {
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-filter-row .form-input {
    min-width: 160px;
}

.review-checkbox,
.admin-check-row {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.review-avatar {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.16);
    color: var(--zams-orange);
    font-weight: 800;
}

.review-media-strip {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.review-media-strip button {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 10;
}

.review-media-strip img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
}

.review-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.72);
}

.review-modal-open {
    overflow: hidden;
}

.review-modal {
    width: min(96vw, 760px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--zams-dark, #090a0f);
    color: var(--text-primary);
    padding: 1.25rem;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.review-modal.small {
    width: min(94vw, 460px);
}

.review-modal.image-viewer {
    width: min(94vw, 980px);
}

.review-modal.image-viewer img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.review-modal header,
.review-modal footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.review-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.review-rating-input button,
.review-icon-btn {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 10;
}

.review-rating-input button {
    font-size: 1.8rem;
}

.review-rating-input button.active {
    color: var(--zams-orange);
}

.review-form-message,
.review-help {
    min-height: 1.1rem;
    color: var(--zams-orange);
    font-size: 0.85rem;
}

.review-image-preview,
.qa-list,
.qa-answer-list {
    display: grid;
    gap: 0.75rem;
}

.review-image-preview {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
}

.review-image-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.review-image-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.review-image-card button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 10;
}

.review-image-card small {
    display: block;
    padding: 0.45rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-upload-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.review-upload-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: var(--zams-orange);
    transition: width 0.25s ease;
}

.qa-card,
.qa-answer {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
}

.qa-card small,
.qa-answer span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.qa-answer.official {
    border-color: rgba(255, 107, 0, 0.45);
    background: rgba(255, 107, 0, 0.08);
}

@media (max-width: 720px) {
    .review-summary-card {
        grid-template-columns: 1fr;
    }

    .review-section-heading {
        align-items: stretch;
        flex-direction: column;
    }
}


/* NEW ORDER TRACKER TIMELINE */
.order-tracker-timeline { display: flex; align-items: flex-start; justify-content: space-between; margin: 2rem 0; position: relative; }
.timeline-progress-bg { position: absolute; top: 16px; left: 32px; right: 32px; height: 2px; background: var(--zams-border); z-index: 1; }
.timeline-progress-fill { position: absolute; top: 16px; left: 32px; height: 2px; background: #4ade80; z-index: 1; transition: width 0.3s ease; }
.tracker-step { flex: 1; text-align: center; position: relative; z-index: 2; padding: 0 0.2rem; }
.tracker-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 2px solid var(--zams-border); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem auto; font-size: 1.1rem; transition: all 0.3s ease; }
.tracker-step.completed .tracker-icon { background: #4ade80; border-color: #4ade80; color: #111; }
.tracker-step.active .tracker-icon { background: var(--zams-orange); border-color: var(--zams-orange); color: #fff; box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2); }
.tracker-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.2rem; }
.tracker-meta { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.2; word-break: break-word; }

@media (max-width: 768px) {
    .order-tracker-timeline { flex-direction: column; margin: 1.5rem 0; }
    .timeline-progress-bg { left: 16px; top: 16px; bottom: 16px; width: 2px; height: auto; right: auto; }
    .timeline-progress-fill { left: 16px; top: 16px; width: 2px; height: 0; }
    .tracker-step { display: flex; text-align: left; padding: 0; margin-bottom: 1.5rem; width: 100%; align-items: flex-start; }
    .tracker-step:last-child { margin-bottom: 0; }
    .tracker-icon { margin: 0 1rem 0 0; flex-shrink: 0; }
    .tracker-content { flex: 1; min-width: 0; padding-top: 0.3rem; }
}

.tracking-details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; border-top: 1px dashed var(--zams-border); padding-top: 2rem; }
.tracking-detail-item { display: flex; flex-direction: column; gap: 0.4rem; }
.tracking-detail-label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.tracking-detail-value { font-weight: 600; font-size: 1rem; color: var(--text-primary); }


/* ORDER SUCCESS PAGE */
.success-header-block { text-align: center; margin-bottom: 3rem; margin-top: 2rem; }
.success-icon-animated { margin: 0 auto 1.5rem; width: 80px; height: 80px; }
.checkmark { width: 80px; height: 80px; border-radius: 50%; display: block; stroke-width: 3; stroke: #4ade80; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #4ade80; animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
.checkmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: #4ade80; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.checkmark__check { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; }
.crossmark { width: 80px; height: 80px; border-radius: 50%; display: block; stroke-width: 3; stroke: #ef4444; stroke-miterlimit: 10; margin: 0 auto; box-shadow: inset 0px 0px 0px #ef4444; animation: fillCross .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both; }
.crossmark__circle { stroke-dasharray: 166; stroke-dashoffset: 166; stroke-width: 3; stroke-miterlimit: 10; stroke: #ef4444; fill: none; animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards; }
.crossmark__cross { transform-origin: 50% 50%; stroke-dasharray: 48; stroke-dashoffset: 48; animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards; }
@keyframes stroke { 100% { stroke-dashoffset: 0; } }
@keyframes scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes fill { 100% { box-shadow: inset 0px 0px 0px 40px rgba(74, 222, 128, 0.1); } }
@keyframes fillCross { 100% { box-shadow: inset 0px 0px 0px 40px rgba(239, 68, 68, 0.12); } }
@media (prefers-reduced-motion: reduce) {
    .checkmark, .checkmark__circle, .checkmark__check,
    .crossmark, .crossmark__circle, .crossmark__cross { animation: none !important; stroke-dashoffset: 0 !important; }
}
.failed-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.5rem; color: #ef4444 !important; }
.success-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: #4ade80; }
.success-amount { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.success-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.success-order-id { display: inline-block; padding: 0.5rem 1rem; background: var(--surface-hover); border-radius: 50px; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px; }
.success-layout { display: flex; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.success-layout > div { flex: 1; min-width: 320px; }
.success-card { background: var(--surface); border: 1px solid var(--zams-border); border-radius: 12px; padding: 2rem; }
.success-item { display: flex; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--zams-border); }
.success-item:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.success-item-img { width: 60px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.success-item-img img { width: 100%; height: 100%; object-fit: cover; }
.success-item-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.2rem; }
.success-item-meta { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.4rem; }
.success-item-price { font-weight: 700; color: var(--zams-orange); }
.delivery-info-block { margin-bottom: 3rem; }
.success-actions-block { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.btn-success-action { padding: 1.1rem 3rem; font-size: 1.1rem; border-radius: 50px; min-width: 220px; text-align: center; }
.success-secondary-actions { text-align: center; }

/* Animated Theme Toggle */
::view-transition-group(root) {
    animation-duration: 0.4s;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}
::view-transition-old(root) {
    z-index: 1;
}
::view-transition-new(root) {
    z-index: 9999;
    animation: theme-reveal 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes theme-reveal {
    from {
        clip-path: circle(0px at var(--theme-reveal-x, 50%) var(--theme-reveal-y, 50%));
    }
    to {
        clip-path: circle(var(--theme-reveal-r, 100vw) at var(--theme-reveal-x, 50%) var(--theme-reveal-y, 50%));
    }
}
.theme-transitioning, .theme-transitioning * {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease !important;
}

.product-card .add-cart-btn {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}
.product-card .add-cart-btn:hover {
    background: #15803d;
}

/* Secure Checkout Redesign */
.checkout-redesigned-left { background: transparent; border: none; box-shadow: none; padding: 0; }
.checkout-section-block { background: var(--surface); border: 1px solid var(--zams-border); border-radius: 16px; padding: 1.8rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.checkout-section-block h3 { margin-bottom: 1.25rem; font-size: 1.15rem; color: var(--text-primary); }
.checkout-redesigned-right { background: var(--surface); border: 1px solid var(--zams-border); border-radius: 16px; padding: 2rem; box-shadow: var(--shadow-sm); position: sticky; top: 6rem; }
.checkout-coupon-box.redesigned-coupon { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px dashed var(--zams-border); }
.checkout-divider { border: 0; border-top: 1px dashed var(--zams-border); margin: 1.5rem 0; }
.btn-pay-securely { width: 100%; margin-top: 0.5rem; height: 56px; font-size: 1.1rem; font-weight: 700; border-radius: 12px; background: var(--zams-orange) !important; border: none; color: #fff; box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3); transition: transform 0.1s, box-shadow 0.2s, background 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-pay-securely:hover:not(:disabled) { background: #e65c00 !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 107, 0, 0.4); }
.btn-pay-securely:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3); }

#zamsPaymentLoader { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 999999; background: rgba(0, 0, 0, 0.65); display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
#zamsPaymentLoader.visible { display: flex; }
.zpl-panel { background: var(--surface); padding: 2.5rem 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); text-align: center; }
.zpl-brand { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 1.5rem; }
.zpl-dot { width: 14px; height: 14px; background-color: var(--zams-orange); border-radius: 50%; animation: zpl-bounce 1.4s infinite ease-in-out both; }
.zpl-dot:nth-child(1) { animation-delay: -0.32s; }
.zpl-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes zpl-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
.zpl-text { font-size: 1.15rem; font-weight: 600; color: var(--text-primary); margin: 0; }

@media (max-width: 480px) { .detail-actions-group { grid-template-columns: 1fr; } }

/* Checkout Redesign Additions */
.summary-product-row { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--zams-border); margin: 0; }
.summary-product-row:last-child { border-bottom: none; }
.summary-product-thumb { width: 64px; height: 64px; flex-shrink: 0; background: var(--surface-hover); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.summary-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.summary-product-details { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.summary-product-name { font-weight: 700; font-size: 0.95rem; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-product-meta { font-size: 0.8rem; color: var(--text-secondary); }
.summary-product-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.25rem; }
.summary-product-price { font-weight: 700; font-size: 1rem; color: var(--text-primary); }
.checkout-qty-controls { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--surface-hover); padding: 0.15rem; border-radius: 6px; border: 1px solid var(--zams-border); }
.checkout-qty-controls button { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--zams-border); border-radius: 4px; color: var(--text-primary); cursor: pointer; }
.checkout-qty-controls button:hover { border-color: var(--zams-orange); color: var(--zams-orange); }
.checkout-qty-controls span { min-width: 1.5rem; text-align: center; font-size: 0.85rem; font-weight: 600; }
.cart-remove-inline { margin-left: 0.5rem; color: var(--text-secondary); }

.redesigned-coupon label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.coupon-input-group { display: flex; gap: 0.5rem; }
.coupon-input-group input { flex: 1; background: var(--surface-hover); border: 1px solid var(--zams-border); color: var(--text-primary); border-radius: 8px; padding: 0.6rem 1rem; font-size: 0.95rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.coupon-input-group input::placeholder { color: var(--text-secondary); }
.coupon-input-group input:focus { border-color: var(--zams-orange); box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.15); }
.coupon-input-group button { border-radius: 8px; padding: 0.6rem 1.25rem; font-weight: 600; white-space: nowrap; }

.checkout-price-breakdown { padding-top: 0.5rem; }
.checkout-price-breakdown .cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; font-size: 0.95rem; color: var(--text-secondary); }
.checkout-price-breakdown .breakdown-value { font-family: monospace; font-size: 1rem; color: var(--text-primary); text-align: right; }
.checkout-price-breakdown .highlight-discount { color: var(--zams-whatsapp); }
.grand-total-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0 1rem; }
.grand-label { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.grand-value { font-size: 1.5rem; font-weight: 800; color: var(--zams-orange); font-family: monospace; }

/* Modernized Delivery Address Card UI */
.modern-address-card {
    position: relative;
    padding: 1.25rem 1.4rem !important;
    border-radius: 14px !important;
    background: var(--surface) !important;
    border: 1.5px solid var(--zams-border) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modern-address-card:hover {
    border-color: rgba(255,107,0,0.4) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.modern-address-card.selected {
    border-color: var(--zams-orange) !important;
    background: linear-gradient(180deg, rgba(255,107,0,0.04) 0%, var(--surface) 100%) !important;
    box-shadow: 0 0 0 2px rgba(255,107,0,0.25), 0 8px 24px rgba(255,107,0,0.08) !important;
}

.modern-address-card .address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--zams-border);
    padding-bottom: 0.75rem;
    gap: 0.5rem;
}

.address-type-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: var(--surface-hover);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    border: 1px solid var(--zams-border);
}

.badge-default-tag {
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25D366 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    border-radius: 20px !important;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.7rem !important;
}

.badge-selected-tag {
    background: rgba(255, 107, 0, 0.12) !important;
    color: var(--zams-orange) !important;
    font-weight: 700 !important;
    border: 1px solid rgba(255, 107, 0, 0.35) !important;
    border-radius: 20px !important;
    padding: 0.2rem 0.55rem !important;
    font-size: 0.7rem !important;
}

.address-recipient-title strong {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.2px;
}

.modern-address-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.modern-address-body .address-street {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
}

.modern-address-body .address-landmark {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.modern-address-body .address-city-pin {
    margin: 0.2rem 0 0 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.modern-address-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--zams-border);
    flex-wrap: wrap;
}

.btn-deliver-here {
    background: var(--zams-orange) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0.45rem 1rem !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(255,107,0,0.3) !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-deliver-here:hover {
    background: #e05e00 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,0,0.4) !important;
}

.btn-selected-active {
    background: rgba(37, 211, 102, 0.15) !important;
    color: #25D366 !important;
    border: 1.5px solid rgba(37, 211, 102, 0.4) !important;
    font-weight: 700 !important;
    padding: 0.45rem 1rem !important;
    border-radius: 8px !important;
    pointer-events: none;
}

.address-btn-pill {
    border-radius: 20px !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
}

.checkout-address-grid .address-card { padding: 1rem; border-radius: 8px; }
.checkout-address-grid .address-card-header strong { font-size: 0.95rem; }
.checkout-address-grid .address-card-header .badge { font-size: 0.7rem; padding: 0.1rem 0.4rem; background: var(--surface-hover); color: var(--text-secondary); border: 1px solid var(--zams-border); }
.checkout-address-grid .address-card-body { margin: 0.5rem 0; font-size: 0.85rem; }
.checkout-address-grid .address-card-actions { margin-top: 0.75rem; gap: 0.4rem; }
.checkout-address-grid .address-card-actions .btn { padding: 0.35rem 0.6rem; font-size: 0.8rem; border-radius: 6px; }

.pin-status.success.inline-success { background: transparent !important; border: none !important; box-shadow: none !important; color: var(--zams-whatsapp, #25D366) !important; padding: 0 !important; margin-top: 0.5rem !important; font-weight: 600 !important; font-size: 0.95rem; }
.checkout-section-block { padding: 1.5rem !important; margin-bottom: 1.25rem !important; border-radius: 12px !important; }
.checkout-section-block h3 { margin-bottom: 1rem !important; font-size: 1.05rem !important; }
.address-section-header { margin-bottom: 1rem !important; }

.contact-verification-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 600px) { .contact-verification-grid { grid-template-columns: 1fr; gap: 1.25rem; } }
.contact-detail-col { display: flex; flex-direction: column; min-width: 0; }
.contact-detail-col strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.05rem; color: var(--text-primary); line-height: 1.4; }
.contact-detail-col span { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 600; }
.contact-detail-col strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.05rem; color: var(--text-primary); line-height: 1.4; }
.verification-status { font-size: 0.85rem; margin-top: 0.35rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; }
.verification-status.verified { color: var(--zams-whatsapp, #25D366); }
.verification-status.unverified { color: var(--text-secondary); }

.checkout-address-grid .address-card-actions [data-address-select] { background: var(--text-primary); color: var(--surface); border-color: var(--text-primary); font-weight: 700; }
/* Shopping Cart Page Redesign */
.cart-header-actions { display: flex; align-items: center; }

.cart-layout-container { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
}

@media(min-width: 1024px) {
    .cart-layout-container { 
        grid-template-columns: minmax(0, 1fr) 380px; 
        gap: 40px; 
    }
}

.cart-left-column { display: flex; flex-direction: column; }
.cart-column-title { 
    font-size: 1.3rem; 
    font-weight: 800; 
    margin-bottom: 1.5rem; 
    color: var(--text-primary); 
    letter-spacing: -0.3px; 
}
.cart-items-wrapper { 
    display: flex; 
    flex-direction: column; 
    border-top: 1px solid var(--zams-border); 
}

.cart-item-row { 
    display: grid; 
    grid-template-columns: minmax(0, 1fr) auto auto; 
    gap: 24px; 
    align-items: center; 
    padding: 1.5rem 0; 
    border-bottom: 1px solid var(--zams-border); 
}

.cart-item-product-area {
    display: flex;
    align-items: center;
    gap: 18px;
}

@media(max-width: 768px) {
    .cart-item-row { 
        grid-template-columns: 1fr;
        gap: 1rem; 
        padding: 1.25rem 0;
    }
    .cart-item-product-area {
        align-items: flex-start;
    }
    .premium-qty-controls { justify-self: start; }
    .cart-remove-btn { justify-self: end; }

    /* On mobile, put qty and remove side by side under the product info */
    .cart-item-row {
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "product product"
            "qty remove";
    }
    .cart-item-product-area { grid-area: product; }
    .premium-qty-controls { grid-area: qty; }
    .cart-remove-btn { grid-area: remove; }
}

.cart-item-media-box { 
    width: 76px; 
    height: 76px; 
    flex-shrink: 0; 
    background: var(--surface-hover); 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
}
.cart-item-media-box img, .cart-item-media-box .product-fallback, .cart-item-media-box .cart-item-image { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
}

.cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-item-info .cart-item-name { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.cart-item-info .cart-item-meta { font-size: 0.85rem; color: var(--text-secondary); }
.cart-item-price-text { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-top: 0.15rem; }

.premium-qty-controls { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    background: var(--surface-hover); 
    padding: 0.25rem; 
    border-radius: 8px; 
    border: 1px solid var(--zams-border); 
}
.premium-qty-controls button { 
    width: 32px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--surface); 
    border: 1px solid var(--zams-border); 
    border-radius: 6px; 
    cursor: pointer; 
    color: var(--text-primary); 
    transition: all 0.2s;
}
.premium-qty-controls button:hover { border-color: var(--zams-orange); color: var(--zams-orange); }
.premium-qty-controls span { min-width: 1.5rem; text-align: center; font-weight: 600; font-size: 0.95rem; }

.cart-remove-btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.4rem; 
    background: transparent; 
    border: 1px solid transparent; 
    color: var(--text-secondary); 
    font-size: 0.85rem; 
    font-weight: 600; 
    cursor: pointer; 
    padding: 0.4rem 0.6rem; 
    border-radius: 6px; 
    transition: all 0.2s; 
}
.cart-remove-btn:hover { color: #ef5350; background: rgba(239, 83, 80, 0.1); border-color: rgba(239, 83, 80, 0.2); }

.cart-right-column { position: sticky; top: 6rem; align-self: start; }
.cart-summary-card { 
    background: var(--surface); 
    border: 1px solid var(--zams-border); 
    border-radius: 20px; 
    padding: 2rem; 
    box-shadow: 0 4px 24px rgba(0,0,0,0.06); 
}

.cart-summary-body { display: flex; flex-direction: column; }
.summary-line { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 1rem; font-weight: 500; }
.summary-line.text-muted { color: var(--text-secondary); font-size: 0.9rem; }
.summary-divider { border: 0; border-top: 1px dashed var(--zams-border); margin: 1.25rem 0; }
.summary-line.summary-total { font-size: 1.35rem; font-weight: 800; color: var(--text-primary); margin-bottom: 1.5rem; margin-top: 0.5rem; }
.summary-total span:last-child { color: var(--zams-orange); }

.btn-checkout-cta { 
    height: 56px; 
    font-size: 1.1rem; 
    font-weight: 700;
    border-radius: 12px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 0.75rem; 
    width: 100%; 
    box-shadow: 0 4px 12px rgba(255,107,0,0.25); 
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s; 
    border: none;
}
.btn-checkout-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,107,0,0.35); }

.btn-continue-shopping { 
    height: 48px; 
    border-radius: 12px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    font-weight: 600;
    color: var(--text-secondary);
    border-color: var(--zams-border);
}
.btn-continue-shopping:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background: transparent;
}


/* ========================================================= */
/* ZAMSS MOBILE-FIRST REARCHITECTURE (ZOPEX INSPIRED)        */
/* ========================================================= */

/* Desktop defaults */
.mobile-only { display: none !important; }
.desktop-only { display: flex; /* Or whatever it naturally is, we rely on @media to hide it */ }

@media (min-width: 1025px) {
    .mobile-only { display: none !important; }
}

@media (max-width: 1024px) {
    /* 1. HIDE DESKTOP SHELL */
    .desktop-only { display: none !important; }

    /* 2. REVEAL MOBILE SHELL */
    .mobile-only { display: flex !important; }

    /* Global Mobile Resets to prevent horizontal overflow */
    body {
        overflow-x: hidden;
        font-size: 15px;
    }
    .main-content {
        padding-bottom: 0;
    }

    .route-back-container {
        max-width: none;
        width: 100%;
        margin: 0;
        padding: 0.75rem 0.85rem 0;
    }

    .auth-page,
    .tracking-page,
    .orders-page,
    .profile-page,
    .collections-page,
    .wishlist-page,
    .content-page {
        margin-top: 0;
        padding-top: 0.85rem;
    }

    .auth-layout,
    .tracking-container {
        padding-top: 0;
    }

    .collections-full-grid {
        margin-top: 0;
        gap: 0.75rem;
    }

    .collections-page > .section-header {
        display: none;
    }

    .collection-page-card {
        border-radius: 14px;
        padding: 0;
        min-height: 0;
    }

    .collection-page-card.has-category-cover-card {
        min-height: clamp(230px, 48vw, 340px);
    }

    .collection-page-card .card-bg-glow,
    .collection-page-card .card-icon,
    .collection-page-card .card-cta {
        display: none;
    }

    .collection-page-card.has-category-cover-card .card-icon,
    .collection-page-card.has-category-cover-card .card-cta {
        display: inline-flex;
    }

    .collection-page-media {
        display: grid;
        place-items: center;
        aspect-ratio: 1 / 0.78;
        overflow: hidden;
        background: var(--surface-warm);
    }

    .collection-page-media.has-category-cover {
        aspect-ratio: 1 / 0.78;
        margin: 0;
        border-radius: 14px 14px 0 0;
    }

    .collection-page-card.has-category-cover-card .collection-page-media.has-category-cover {
        position: absolute;
        inset: 0;
        aspect-ratio: auto;
        border-radius: inherit;
    }

    .collection-page-media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .collection-page-media-fallback {
        color: var(--zams-orange);
    }

    .collection-page-media-fallback svg {
        width: 42px;
        height: 42px;
    }

    .collection-page-card .card-front-content {
        padding: 0.7rem;
    }

    .collection-page-card.has-category-cover-card .card-front-content {
        min-height: 54%;
        padding: clamp(0.9rem, 3vw, 1.25rem);
    }

    .collection-page-card h3 {
        margin: 0 0 0.2rem;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .collection-page-card.has-category-cover-card h3 {
        font-size: clamp(0.98rem, 2.8vw, 1.15rem);
    }

    .collection-page-card .card-count {
        font-size: 0.72rem;
    }

    /* ------------------------------------- */
    /* MOBILE HEADER */
    /* ------------------------------------- */
    .mobile-nav {
        display: flex !important;
        flex-direction: column;
        background: var(--surface);
        padding: 0.55rem 0.75rem 0.65rem;
        border-bottom: 1px solid var(--zams-border);
        position: sticky;
        top: 0;
        z-index: 1000;
        gap: 0.55rem;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;
        box-sizing: border-box;
    }
    .mobile-header-row {
        display: grid;
        grid-template-columns: 40px minmax(104px, 118px) max-content 38px 38px;
        align-items: center;
        gap: 9px;
        min-height: 42px;
        width: 100%;
        min-width: 0;
    }
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        background: var(--surface-hover);
        border: 1px solid var(--zams-border);
        border-radius: 11px;
        color: var(--text-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex: 0 0 auto;
    }
    .mobile-logo {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        color: var(--text-primary);
        min-width: 0;
    }
    .mobile-logo svg {
        width: 118px;
        height: 32px;
        flex: 0 1 auto;
    }
    .mobile-location-btn {
        min-width: 0;
        width: 124px;
        height: 38px;
        padding: 0 0.65rem;
        display: flex;
        align-items: center;
        gap: 0.3rem;
        border: 1px solid rgba(255, 107, 0, 0.16);
        border-radius: 999px;
        background: var(--surface-warm);
        color: var(--text-primary);
        cursor: pointer;
        overflow: hidden;
    }
    .mobile-location-icon {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        color: var(--zams-orange);
    }
    .mobile-loc-value {
        width: auto;
        color: var(--text-primary);
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;
        text-transform: uppercase;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mobile-icon-btn {
        width: 38px;
        height: 38px;
        background: var(--surface-hover);
        border: 1px solid var(--zams-border);
        border-radius: 11px;
        color: var(--text-primary);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex: 0 0 auto;
    }
    .mobile-cart-count {
        position: absolute;
        top: -3px;
        right: -3px;
        background: var(--zams-orange);
        color: white;
        font-size: 0.65rem;
        font-weight: bold;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ------------------------------------- */
    /* MOBILE SEARCH */
    /* ------------------------------------- */
    .mobile-search-row {
        width: 100%;
        min-width: 0;
    }
    .mobile-search-form {
        display: flex;
        position: relative;
        width: 100%;
    }
    .mobile-search-input {
        width: 100%;
        height: 46px;
        min-width: 0;
        border-radius: 12px;
        background: var(--bg-secondary);
        border: 1px solid var(--zams-border);
        color: var(--text-primary);
        padding: 0 3rem 0 1rem;
        font-size: 0.9rem;
        outline: none;
    }
    .mobile-search-btn {
        position: absolute;
        right: 0;
        top: 0;
        height: 46px;
        width: 46px;
        background: transparent;
        border: none;
        color: var(--zams-orange);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mobile-search-btn svg {
        width: 19px;
        height: 19px;
    }

    .mobile-delivery-bar {
        display: none !important;
    }

    .categories-nav {
        padding: 0.35rem 0.75rem 0.55rem;
        width: 100vw;
        max-width: 100vw;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-inline: contain;
        box-sizing: border-box;
    }
    .categories-wrapper {
        width: max-content;
        min-width: 100%;
        max-width: none;
        gap: 0.45rem;
    }
    .category-chip {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0.55rem 0.85rem;
        border-radius: 999px;
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    /* ------------------------------------- */
    /* MOBILE HERO (CARD STYLE) */
    /* ------------------------------------- */
    .hero {
        position: relative;
        width: calc(100vw - 1.5rem);
        max-width: none;
        min-height: clamp(500px, calc(100svh - 210px), 560px) !important;
        margin: 0.75rem 0.75rem 1.35rem;
        padding: 0 !important;
        border-radius: 24px;
        overflow: hidden;
        display: flex !important;
        align-items: flex-end;
        justify-content: flex-end !important;
        text-align: left !important;
        background: #f8f4ec !important;
        box-shadow: 0 16px 34px rgba(9, 10, 15, 0.18);
    }
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-image: url('/images/hero-family.png?v=2');
        background-size: cover;
        background-position: 55% center;
        z-index: 1;
    }
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background:
            radial-gradient(ellipse at 18% 68%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.1) 32%, rgba(255, 255, 255, 0) 62%),
            linear-gradient(to top, rgba(248, 244, 236, 0.98) 0%, rgba(248, 244, 236, 0.94) 16%, rgba(248, 244, 236, 0.78) 31%, rgba(248, 244, 236, 0.48) 47%, rgba(248, 244, 236, 0.16) 64%, rgba(248, 244, 236, 0) 80%);
        z-index: 2;
        pointer-events: none;
    }
    .hero-content {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        box-sizing: border-box;
        width: 100% !important;
        max-width: none !important;
        position: relative;
        z-index: 3;
        padding: 0 1.1rem 1rem;
        text-align: left !important;
        color: #171717;
        animation: none;
    }
    .hero-visual {
        display: none !important;
    }
    .hero-title {
        font-size: clamp(1.05rem, 5vw, 1.35rem) !important;
        font-weight: 700 !important;
        color: #151515 !important;
        line-height: 1.2 !important;
        margin-bottom: 0.45rem !important;
        letter-spacing: 0 !important;
        text-shadow: none !important;
        white-space: nowrap;
    }
    .hero-title .title-line {
        display: inline;
    }
    .hero-title .title-line + .title-line::before {
        content: " ";
    }
    .hero-desc {
        max-width: 100% !important;
        font-size: clamp(0.75rem, 3vw, 0.84rem) !important;
        color: rgba(23, 23, 23, 0.78) !important;
        margin-bottom: 0.62rem !important;
        line-height: 1.42 !important;
        overflow-wrap: anywhere;
    }
    .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch;
        gap: 0.65rem !important;
        width: min(100%, 440px) !important;
    }
    .hero-buttons .btn {
        width: auto !important;
        max-width: 215px !important;
        flex: 0 1 215px !important;
        min-height: 44px !important;
        padding: 0.62rem 0.85rem !important;
        border-radius: 11px !important;
        font-size: 0.84rem !important;
        justify-content: center !important;
    }
    .hero-buttons .btn-outline {
        background: rgba(255, 255, 255, 0.42) !important;
        border: 1px solid rgba(23, 23, 23, 0.18) !important;
        color: #171717 !important;
    }
    .hero-badges-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        gap: 0.42rem !important;
        margin-bottom: 0.55rem !important;
    }
    .hero-badge,
    .hero-trust-badge {
        background: rgba(255, 255, 255, 0.54) !important;
        color: #292929 !important;
        border: 1px solid rgba(255, 107, 0, 0.24) !important;
        font-size: 0.66rem !important;
        backdrop-filter: blur(8px);
    }
    .hero > .hero-content > .hero-badge {
        display: none !important;
    }

    .home-collections {
        padding: 1rem 0.75rem 1.5rem !important;
        margin: 0 !important;
        max-width: none !important;
    }
    .desktop-collections-header,
    .desktop-collections-grid {
        display: none !important;
    }
    .mobile-categories-panel {
        display: block !important;
        width: 100%;
    }
    .mobile-categories-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.9rem;
    }
    .mobile-categories-heading h2 {
        margin: 0;
        color: var(--text-primary);
        font-size: 1.25rem;
        font-weight: 750;
        line-height: 1.2;
    }
    .mobile-categories-heading a {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        color: var(--zams-orange);
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
    .mobile-category-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .mobile-category-card {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-width: 0;
        min-height: 0;
        border: 1px solid var(--zams-border);
        border-radius: 16px;
        background: var(--surface);
        color: var(--text-primary);
        text-decoration: none;
        box-shadow: 0 10px 24px rgba(9, 10, 15, 0.06);
    }
    .mobile-category-card.has-category-cover-card {
        position: relative;
        justify-content: flex-end;
        min-height: clamp(168px, 47vw, 230px);
        background: var(--category-card-bg);
        color: #ffffff;
        border-color: rgba(var(--category-accent-rgb), 0.28);
        isolation: isolate;
    }
    .mobile-category-media {
        display: grid;
        place-items: center;
        aspect-ratio: 1 / 0.82;
        background: var(--surface-warm);
        overflow: hidden;
    }
    .mobile-category-card.has-category-cover-card .mobile-category-media {
        position: absolute;
        inset: 0;
        z-index: 0;
        aspect-ratio: auto;
        background: var(--category-card-bg);
    }
    .mobile-category-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.45s ease;
    }
    .mobile-category-icon-fallback {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        color: var(--zams-orange);
        border-radius: 16px;
        background: rgba(255, 107, 0, 0.1);
    }
    .mobile-category-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        min-height: 46px;
        padding: 0.65rem 0.7rem;
        font-size: 0.86rem;
        font-weight: 700;
        line-height: 1.2;
    }
    .mobile-category-card.has-category-cover-card .mobile-category-label {
        position: relative;
        z-index: 1;
        min-height: 50%;
        align-items: flex-end;
        color: #ffffff;
        padding: 1rem 0.85rem 0.85rem;
        text-shadow: 0 2px 12px rgba(var(--category-deep-rgb), 0.86);
    }
    .mobile-category-label span {
        min-width: 0;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
    .mobile-category-arrow {
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
        color: var(--zams-orange);
    }
    .mobile-category-extra {
        display: none;
    }
    .mobile-categories-panel.expanded .mobile-category-extra {
        display: flex;
    }
    .mobile-category-more-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 132px;
        height: 44px;
        margin: 1.15rem auto 0;
        padding: 0 1.25rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 107, 0, 0.28);
        background: rgba(255, 107, 0, 0.08);
        color: var(--zams-orange);
        font-size: 0.9rem;
        font-weight: 750;
        cursor: pointer;
    }

    .whatsapp-support-widget {
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        z-index: 950;
    }
    .whatsapp-float-main {
        width: 50px;
        height: 50px;
    }

    .section-title {
        font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
    }
    .section-desc {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
    }
    .products,
    .home-collections,
    .features,
    .support-cta,
    .newsletter {
        margin-block: 1.5rem !important;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .hero-content,
    .section-header,
    .category-card,
    .product-card,
    .feature-card,
    .collection-highlight-card,
    .collection-page-card,
    .support-cta,
    .footer-col,
    .footer-brand {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 560ms cubic-bezier(0.16, 1, 0.3, 1), transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
        transition-delay: var(--reveal-delay, 0ms);
        will-change: opacity, transform;
    }
    .reveal-left { transform: translateX(-16px); }
    .reveal-right { transform: translateX(16px); }
    .reveal-scale { transform: scale(0.97); }
    .is-revealed {
        opacity: 1 !important;
        transform: none !important;
    }

    .location-dropdown.mobile-location-dropdown {
        position: fixed;
        top: 88px;
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        max-height: calc(100svh - 120px);
        overflow-y: auto;
        z-index: 10020;
        transform: translateY(10px);
    }
    .location-dropdown.mobile-location-dropdown.show {
        transform: translateY(0);
    }

    @media (max-width: 600px) {
        .collections-full-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .collection-page-media {
            aspect-ratio: 1 / 0.62;
        }

        .collection-page-media.has-category-cover {
            aspect-ratio: 1 / 0.62;
        }

        .collection-page-card .card-front-content {
            padding: 0.6rem 0.65rem;
        }
    }

    @media (max-width: 480px) {
        .mobile-nav {
            padding-inline: 0.55rem;
        }
        .mobile-header-row {
            grid-template-columns: 40px minmax(94px, 108px) max-content 38px 38px;
            gap: 7px;
        }
        .mobile-logo svg {
            width: 108px;
            height: 31px;
        }
        .mobile-location-btn {
            width: 112px;
            height: 38px;
            padding-inline: 0.45rem;
        }
        .mobile-loc-value {
            font-size: 0.64rem;
        }
        .categories-nav {
            padding-inline: 0.5rem;
        }
        .hero-buttons {
            width: min(100%, 440px) !important;
        }
        .hero-buttons .btn {
            height: 44px !important;
        }
        .hero {
            margin-inline: 0.75rem;
            border-radius: 22px;
            min-height: clamp(500px, calc(100svh - 210px), 550px) !important;
        }
        .mobile-category-grid {
            gap: 0.65rem;
        }
        .mobile-category-label {
            min-height: 44px;
            padding: 0.58rem 0.64rem;
            font-size: 0.82rem;
        }
    }

    @media (max-width: 390px) {
        .hero-buttons {
            flex-direction: column !important;
            width: min(100%, 245px) !important;
        }
        .hero-buttons .btn {
            flex: 0 0 auto !important;
            width: 100% !important;
            max-width: none !important;
        }
    }

    @media (max-width: 340px) {
        .hero-title {
            white-space: normal;
        }
        .mobile-header-row {
            grid-template-columns: 36px minmax(72px, 78px) 88px 34px 34px;
            gap: 4px;
        }
        .mobile-menu-toggle,
        .mobile-icon-btn {
            width: 34px;
            height: 34px;
        }
        .mobile-menu-toggle {
            width: 36px;
            height: 36px;
        }
        .mobile-logo svg {
            width: 78px;
            height: 30px;
        }
        .mobile-location-btn {
            width: 88px;
            height: 34px;
            padding-inline: 0.35rem;
            gap: 0.2rem;
        }
        .mobile-location-icon {
            width: 12px;
            height: 12px;
            flex-basis: 12px;
        }
        .mobile-loc-value {
            font-size: 0.57rem;
        }
        .hero-buttons {
            width: min(100%, 210px) !important;
        }
    }

    @media (min-width: 341px) and (max-width: 380px) {
        .hero-buttons {
            width: min(100%, 245px) !important;
        }
        .mobile-loc-value {
            font-size: 0.62rem;
        }
    }

    @media (min-width: 381px) and (max-width: 480px) {
        .mobile-location-btn {
            width: 122px;
        }
    }

    /* ------------------------------------- */
    /* MOBILE PRODUCT GRID */
    /* ------------------------------------- */
    .products-directory {
        padding-inline: 1rem !important;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    @media (min-width: 600px) {
        .product-grid { grid-template-columns: repeat(3, 1fr) !important; }
    }
    .product-card {
        border-radius: 12px !important;
    }
    .product-img-wrapper {
        aspect-ratio: 1 / 1 !important;
    }
    .product-title {
        font-size: 0.85rem !important;
        line-height: 1.3 !important;
    }
    .product-price-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.2rem !important;
    }
    .product-price { font-size: 1rem !important; }
    .product-compare { font-size: 0.75rem !important; }
    .add-cart-btn {
        font-size: 0.8rem !important;
        padding: 0.5rem !important;
    }

    /* ------------------------------------- */
    /* MOBILE PRODUCT DETAIL STICKY CTA */
    /* ------------------------------------- */
    .product-detail-layout {
        padding: 1rem !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding-bottom: 90px !important; /* Space for sticky actions */
    }
    .detail-actions-group {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: var(--surface) !important;
        padding: 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        z-index: 900 !important;
        border-top: 1px solid var(--zams-border) !important;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.05) !important;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
    .detail-actions .btn {
        flex: 1 !important;
        height: 48px !important;
        font-size: 0.9rem !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    /* Hide normal bottom nav if product detail */
    /* ------------------------------------- */
    /* MOBILE CHECKOUT STACKED CARDS */
    /* ------------------------------------- */
    .checkout-page {
        padding: 1rem !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    .checkout-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .checkout-main, .checkout-sidebar {
        width: 100% !important;
    }
    .checkout-details-card, .checkout-summary-card {
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    .contact-email, .contact-phone {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        max-width: 100% !important;
    }

    /* ------------------------------------- */
    /* MOBILE CART POLISH */
    /* ------------------------------------- */
    .cart-page {
        padding: 1rem !important;
    }
    .cart-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .cart-item-row {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }
    .cart-item-actions {
        width: 100% !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .cart-item-product-area {
        width: 100% !important;
    }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .hero-content,
    .section-header,
    .category-card,
    .product-card,
    .feature-card,
    .collection-highlight-card,
    .collection-page-card,
    .support-cta,
    .footer-col,
    .footer-brand {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Bestsellers Container Fix */
.bestsellers-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.4rem;
}


/* ==========================================
   MOBILE PRODUCT CARD REFACTOR (COMPACT 2-COL)
   ========================================== */
@media (max-width: 1024px) {
    /* 1. Two-column grid, safe against overflow */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.65rem !important;
        padding-bottom: 2rem !important; /* Buffer for floating WA */
    }
    
    /* Safely expand to 3 columns on tablet sizes if needed, 
       but user requested exactly 2 on 360, 390, 430. 
       We will keep it 2 cols until 600px, then 3. */
    @media (min-width: 600px) {
        .product-grid {
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        }
    }

    /* 2. Compact Square-Oriented Card */
    .product-card {
        padding: 0.65rem !important;
        min-height: 0 !important;
        border-radius: 12px !important;
        gap: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        box-sizing: border-box !important;
    }

    /* Image Wrapper - 1:1 Aspect Ratio */
    .product-card .product-img-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin-bottom: 0.5rem !important;
        border-radius: 8px !important;
        padding: 0 !important;
    }

    .product-card .product-img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important; /* per existing design */
    }

    /* 3. Fit Product Details */
    .product-card .product-info {
        min-height: 0 !important;
        margin-bottom: 0.4rem !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .product-card .product-rating {
        min-height: 0 !important;
        margin-bottom: 0.25rem !important;
    }

    .product-card .rating-value {
        font-size: 0.65rem !important;
    }

    .product-card .product-name {
        min-height: 0 !important;
        font-size: 0.8rem !important;
        margin-bottom: 0.2rem !important;
        line-height: 1.25 !important;
        -webkit-line-clamp: 2 !important;
    }

    .product-card .product-desc {
        font-size: 0.65rem !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 0 !important;
    }

    .product-card .product-footer {
        margin-top: auto !important;
        gap: 0.5rem !important;
    }

    .product-card .price-container {
        min-height: 0 !important;
        gap: 0.25rem !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    .product-card .product-price {
        font-size: 0.95rem !important;
    }

    .product-card .product-compare-price {
        font-size: 0.7rem !important;
    }

    .product-card .add-cart-btn {
        min-height: 36px !important;
        padding: 0.3rem 0.4rem !important;
        font-size: 0.75rem !important;
        gap: 0.2rem !important;
    }
    
    .product-card .add-cart-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .product-card .product-badge {
        top: 0.4rem !important;
        left: 0.4rem !important;
        padding: 0.15rem 0.4rem !important;
        font-size: 0.55rem !important;
    }

    .product-card .wishlist-toggle-btn {
        top: 0.4rem !important;
        right: 0.4rem !important;
        width: 26px !important;
        height: 26px !important;
    }
}


/* ==========================================
   USER REQUESTED UX FIXES
   ========================================== */
   
/* 1. Hide description in product card (keep in detail view) */
.product-card .product-desc {
    display: none !important;
}

/* 2. Fix WhatsApp icon overlapping sticky Add to Cart on mobile */
@media (max-width: 1024px) {
    body:has(.detail-actions-group) .whatsapp-support-widget {
        bottom: calc(85px + env(safe-area-inset-bottom)) !important;
    }
}

/* 3. Gap between reviews and Load More button */
.review-load-row {
    margin-top: 2rem !important;
    text-align: center;
}

/* 4. White color gradient for product image wrappers to blend JPEGs */
.product-img-wrapper, .detail-img-card {
    background: radial-gradient(circle at center, #ffffff 0%, #f4f4f5 100%) !important;
}

/* Also make sure the fallback icon looks okay on white background */
.product-img-wrapper .product-icon-fallback,
.detail-img-card .product-icon-fallback {
    background: transparent !important;
    color: var(--zams-orange) !important;
}


/* 1. Lift background image up slightly so "zamss.in" is above the text */
    .hero::before {
        background-position: 55% 75% !important; 
    }

    /* 2. Side-by-side buttons in 1x2 matrix on mobile */
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-buttons .btn {
        flex: 1 1 50% !important;
        width: 100% !important;
        max-width: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-inline: 0.5rem !important;
    }
}

/* 3. Dark mode gradient fix for the hardcoded light gradient */
html[data-theme="dark"] .hero::after {
    background: 
        radial-gradient(ellipse at 18% 68%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 32%, transparent 62%),
        linear-gradient(to top, #0F1014 0%, #0F1014f2 16%, #0F1014c7 31%, #0F10147a 47%, #0F101429 64%, transparent 80%) !important;
}



/* 1. Lift the entire content block up so text clears the background box */
    .hero-content {
        padding-bottom: 2.5rem !important;
    }

    /* 2. Force buttons into single line with smaller/flexible font */
    .hero-buttons .btn {
        white-space: nowrap !important;
        font-size: clamp(0.7rem, 3.5vw, 0.85rem) !important;
        padding-inline: 0.2rem !important;
        letter-spacing: -0.01em !important;
    }

    /* 3. Light purple color for Explore Collections button */
    .hero-buttons .btn-outline {
        background: #F3E8FF !important; /* light purple */
        color: #581C87 !important; /* deep purple text */
        border: 1px solid #D8B4FE !important; /* purple border */
    }
}

/* Dark mode variant for the purple button to look native */
html[data-theme="dark"] .hero-buttons .btn-outline {
    background: rgba(147, 51, 234, 0.2) !important; /* translucent purple */
    color: #E9D5FF !important; /* light purple text */
    border-color: rgba(147, 51, 234, 0.5) !important;
}



/* ==========================================
   MOBILE HERO FIXES (Max-width 1024px ONLY)
   ========================================== */
@media (max-width: 1024px) {
    /* Lift image up */
    .hero::before {
        background-position: 55% 75% !important; 
    }

    /* 1x2 Buttons */
    .hero-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-buttons .btn {
        flex: 1 1 50% !important;
        width: 100% !important;
        max-width: none !important;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-inline: 0.2rem !important;
        white-space: nowrap !important;
        font-size: clamp(0.7rem, 3.5vw, 0.85rem) !important;
        letter-spacing: -0.01em !important;
    }

    /* Lift content up */
    .hero-content {
        padding-bottom: 2.5rem !important;
    }

    /* Purple button (Mobile only) */
    .hero-buttons .btn-outline {
        background: #F3E8FF !important; 
        color: #581C87 !important; 
        border: 1px solid #D8B4FE !important; 
    }

    /* Mobile Dark Mode Specifics */
    html[data-theme="dark"] .hero::after {
        background: 
            radial-gradient(ellipse at 18% 68%, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 32%, transparent 62%),
            linear-gradient(to top, #0F1014 0%, #0F1014f2 16%, #0F1014c7 31%, #0F10147a 47%, #0F101429 64%, transparent 80%) !important;
    }

    html[data-theme="dark"] .hero-title {
        color: #FFFFFF !important;
    }
    
    html[data-theme="dark"] .hero-desc {
        color: rgba(255, 255, 255, 0.78) !important;
    }

    html[data-theme="dark"] .hero-buttons .btn-outline {
        background: rgba(147, 51, 234, 0.2) !important; 
        color: #E9D5FF !important; 
        border-color: rgba(147, 51, 234, 0.5) !important;
    }
}


/* ==========================================
   DESKTOP UX FIXES (Min-width 1025px)
   ========================================== */
@media (min-width: 1025px) {
    /* 1. Remove gap in product cards to make them square */
    .product-card .product-desc {
        display: none !important;
    }
    .product-card .product-info {
        min-height: 0 !important;
        margin-bottom: 0.5rem !important;
    }
    .product-card .product-rating {
        min-height: 0 !important;
        margin-bottom: 0.35rem !important;
    }
    .product-card .product-footer {
        margin-top: auto !important;
    }
    
    /* Make image wrappers square to enforce the square shape */
    .product-img-wrapper {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
    }

    /* 2. Shrink width of Hero text area */
    .hero-content {
        max-width: 520px !important;
    }

    /* 3. Reduce width/length of Hero buttons */
    .hero-buttons {
        gap: 1rem !important;
    }
    .hero-buttons .btn {
        width: auto !important;
        min-width: 170px !important;
        max-width: 220px !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}



/* ==========================================
   DESKTOP PRODUCT IMAGE ENLARGEMENT (Min-width 1025px)
   ========================================== */
@media (min-width: 1025px) {
    /* Allow the inner product image to enlarge and fill the square tab */
    .product-card .product-img {
        max-width: none !important;
        max-height: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        padding: 1.5rem !important; /* Keep a nice safe area from the edges */
        box-sizing: border-box !important;
    }
}


/* ==========================================================================
   Cinematic Hollywood Comet & Chrome Sweep Logo Styles (Zero-Delay)
   ========================================================================== */
.header .logo,
.mobile-header .mobile-logo {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    outline: none !important;
}

.zamss-kinetic-logo {
    display: inline-flex;
    align-items: baseline;
    font-family: 'Poppins', var(--font-primary, sans-serif);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -1.2px;
    color: var(--zams-black, #111827);
    cursor: pointer;
    user-select: none;
    line-height: 1;
    position: relative;
    padding: 3px 0;
}

[data-theme="dark"] .zamss-kinetic-logo,
.dark-theme .zamss-kinetic-logo {
    color: #ffffff;
}

.zamss-kinetic-logo .z-char {
    display: inline-block;
    position: relative;
    z-index: 3;
    font-weight: 800;
}

.zamss-kinetic-logo .amss-group {
    display: inline-block;
    max-width: 0px;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    filter: blur(5px) brightness(1.3);
    background: linear-gradient(110deg, currentColor 25%, #ff9533 50%, currentColor 75%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(-12px) scale(0.96);
    transition: max-width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.45s ease,
                filter 0.5s ease,
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.zamss-kinetic-logo .dot-char {
    display: inline-block;
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    background: #FF6B00;
    box-shadow: 0 0 12px #FF6B00, 0 0 24px rgba(255, 107, 0, 0.7);
    margin-left: 2.5px;
    margin-bottom: 2px;
    position: relative;
    z-index: 4;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s ease;
}

/* Comet Trail Laser Line */
.zamss-kinetic-logo .dot-char::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 2.5px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.9));
    border-radius: 999px;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

/* Active / Expanded Hollywood State */
.zamss-kinetic-logo.expanded .amss-group {
    max-width: 105px;
    opacity: 1;
    filter: blur(0px) brightness(1);
    transform: translateX(0) scale(1);
}

.zamss-kinetic-logo.animating .amss-group {
    animation: zamssChromeSheen 1.4s ease forwards;
}

.zamss-kinetic-logo.expanded .dot-char {
    box-shadow: 0 0 18px #ff7b00, 0 0 35px rgba(255, 123, 0, 0.85);
    transform: scale(1.15);
}

.zamss-kinetic-logo.expanded .dot-char::before {
    width: 35px;
    opacity: 1;
}

@keyframes zamssChromeSheen {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile responsive sizing */
.zamss-kinetic-logo.mobile-variant {
    font-size: 1.45rem;
    letter-spacing: -1px;
}
.zamss-kinetic-logo.mobile-variant .dot-char {
    width: 6px;
    height: 6px;
    margin-bottom: 1.5px;
}
.zamss-kinetic-logo.mobile-variant.expanded .amss-group {
    max-width: 85px;
}

@media (min-width: 1025px) {
    .header .nav .logo {
        flex-shrink: 0 !important;
        min-width: 145px !important;
    }
    .zamss-kinetic-logo {
        font-size: 1.9rem;
    }
    .zamss-kinetic-logo.expanded .amss-group {
        max-width: 120px;
    }
}


/* ==========================================================================
   Clean Single Search Delivery Modal Styles
   ========================================================================== */
.location-modal-overlay .location-dropdown {
    width: min(420px, 92vw) !important;
    max-height: none !important;
    overflow: visible !important;
    background: #18181b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75) !important;
    border-radius: 16px !important;
    padding: 0 0 1rem 0 !important;
}

.modern-location-modal {
    overflow: visible !important;
}

.loc-dropdown-header {
    padding: 1.1rem 1.4rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.loc-dropdown-header .loc-header-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.loc-modal-close {
    background: transparent !important;
    border: none !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: #a1a1aa !important;
    cursor: pointer !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
}

.loc-modal-close:hover {
    color: #ff6b00 !important;
    background: rgba(255, 107, 0, 0.1) !important;
}

.loc-search-block.single-loc-search {
    padding: 1.25rem 1.4rem 0.5rem 1.4rem !important;
    position: relative !important;
    overflow: visible !important;
}

.loc-search-block .loc-input-label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.loc-search-row {
    display: flex !important;
    gap: 0.6rem !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
}

.loc-search-input-wrap {
    position: relative !important;
    overflow: visible !important;
    flex: 1 !important;
    display: block !important;
}

.loc-search-input {
    width: 100% !important;
    height: 46px !important;
    padding: 0 1rem 0 2.5rem !important;
    font-size: 0.95rem !important;
    background: #09090b !important;
    border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
    color: #fff !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.loc-search-input:focus {
    border-color: #ff6b00 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.25) !important;
}

.loc-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a1a1aa;
    pointer-events: none;
    z-index: 2;
}

.loc-search-btn {
    position: static !important;
    padding: 0 1.25rem !important;
    height: 46px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 0.92rem !important;
    background: #ff6b00 !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
}

.loc-search-btn:hover {
    background: #e05e00 !important;
}

/* Linear Dropdown breaking out with its own linear scroll */
.places-suggestions {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #18181b !important;
    border: 1px solid rgba(255, 107, 0, 0.5) !important;
    border-radius: 12px !important;
    max-height: 280px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 99999 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9) !important;
}

.places-suggestions::-webkit-scrollbar {
    width: 6px;
}
.places-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.places-suggestion-item {
    padding: 0.85rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    display: flex !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.places-suggestion-item:last-child {
    border-bottom: none !important;
}

.places-suggestion-item:hover {
    background: rgba(255, 107, 0, 0.14) !important;
}

.places-suggestion-item strong {
    color: #fff !important;
    font-size: 0.92rem !important;
}

.places-suggestion-item span {
    color: #a1a1aa !important;
    font-size: 0.8rem !important;
    line-height: 1.35;
}

.modern-location-modal .pin-status,
.location-modal-overlay .pin-status {
    padding: 0.75rem 1.25rem !important;
    margin: 0.75rem auto 0 auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    width: fit-content !important;
    border-radius: 8px !important;
}

.modern-location-modal .pin-status.success,
.location-modal-overlay .pin-status.success {
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.35) !important;
}

.loc-list-empty,
.loc-dropdown-list {
    display: none !important;
}

/* ==========================================================================
   PREMIUM PRODUCT REVIEWS & QUESTIONS STYLING REDESIGN
   ========================================================================== */

/* 1. Review Cards Redesign */
.premium-rev-card {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    transition: all 0.25s ease !important;
}

.premium-rev-card:hover {
    border-color: rgba(255, 107, 0, 0.3) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-2px);
}

.rev-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.rev-user-info {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.rev-user-info .review-avatar {
    width: 44px !important;
    height: 44px !important;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.25), rgba(255, 107, 0, 0.08)) !important;
    color: #ff6b00 !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
    border-radius: 50% !important;
}

.rev-user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rev-name-stars {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rev-name-stars .rev-name {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.rev-name-stars .rev-stars {
    color: #ffb703 !important;
    font-size: 0.95rem !important;
    display: inline-flex;
    gap: 2px;
}

.rev-sub-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rev-sub-meta .rev-date {
    font-size: 0.78rem !important;
    color: #a1a1aa !important;
    margin: 0 !important;
}

.rev-verified-pill {
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    color: #22c55e !important;
    background: rgba(34, 197, 94, 0.12) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
}

/* Three Dots Context Menu */
.rev-menu-wrap {
    position: relative;
    flex-shrink: 0;
}

.rev-menu-btn {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    transition: all 0.2s ease !important;
}

.rev-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.rev-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 155px;
    background: #18181b !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
    padding: 0.35rem !important;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
}

.rev-dropdown-menu.show {
    display: flex !important;
    animation: fadeInMenu 0.15s ease-out;
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.rev-dropdown-menu button {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    padding: 0.55rem 0.85rem !important;
    background: transparent !important;
    border: none !important;
    color: #e4e4e7 !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.15s ease !important;
}

.rev-dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.rev-dropdown-menu button.danger-btn {
    color: #ef4444 !important;
}

.rev-dropdown-menu button.danger-btn:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
}

/* Review Content Styling */
.rev-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.rev-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.rev-comment {
    font-size: 0.92rem !important;
    color: #d4d4d8 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

.rev-pros-cons {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.badge-tag {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.rev-pros .badge-tag {
    background: rgba(34, 197, 94, 0.16);
    color: #22c55e;
}
.rev-pros span:last-child {
    color: #d1fae5;
}

.rev-cons .badge-tag {
    background: rgba(239, 68, 68, 0.16);
    color: #ef4444;
}
.rev-cons span:last-child {
    color: #fee2e2;
}

/* Review Images (Large, Premium Thumbnails) */
.premium-media-strip {
    display: flex !important;
    gap: 0.85rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.25rem !important;
}

.review-media-thumb {
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: #090a0f !important;
}

.review-media-thumb:hover {
    border-color: #ff6b00 !important;
    transform: scale(1.05);
}

.review-media-thumb img {
    width: 96px !important;
    height: 96px !important;
    object-fit: cover !important;
    display: block !important;
}

.rev-official-reply {
    background: rgba(255, 107, 0, 0.07) !important;
    border-left: 3px solid #ff6b00 !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 0.85rem 1rem !important;
    margin: 0.25rem 0 !important;
}

.rev-official-reply .reply-badge {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #ff6b00 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.35rem !important;
}

.rev-official-reply p {
    font-size: 0.88rem !important;
    color: #e4e4e7 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Review Actions */
.review-card-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 0.85rem !important;
}

.rev-action-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding: 0.4rem 0.75rem !important;
    font-size: 0.78rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #a1a1aa !important;
    transition: all 0.2s ease !important;
}

.rev-action-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.rev-action-btn.report-btn {
    margin-left: auto !important;
    color: #71717a !important;
}

.rev-action-btn.report-btn:hover {
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35) !important;
}


/* 2. Questions & Answers Section Redesign */
.premium-qa-card {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 1.25rem 1.5rem !important;
    margin-bottom: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    transition: all 0.2s ease !important;
}

.premium-qa-card:hover {
    border-color: rgba(255, 107, 0, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

.qa-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.qa-question-box {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.qa-q-badge {
    width: 28px;
    height: 28px;
    background: #ff6b00;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 6px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.qa-question-text {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    display: block !important;
}

.qa-meta-text {
    font-size: 0.78rem !important;
    color: #a1a1aa !important;
    display: block !important;
    margin-top: 0.25rem !important;
}

/* Answers in Storefront */
.qa-answer-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    padding-left: 2.5rem !important;
}

.qa-answer {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 10px !important;
    padding: 0.85rem 1rem !important;
}

.qa-answer.official {
    background: rgba(255, 107, 0, 0.06) !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

.qa-ans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.35rem;
}

.qa-ans-tag-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.qa-ans-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 4px;
}

.qa-ans-tag.official-tag {
    color: #ff6b00;
    background: rgba(255, 107, 0, 0.16);
}

.qa-ans-author {
    font-size: 0.75rem;
    color: #71717a;
}

.qa-ans-text {
    font-size: 0.9rem !important;
    color: #e4e4e7 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.qa-ans-delete-btn {
    background: transparent;
    border: none;
    color: #71717a;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    display: grid;
    place-items: center;
    transition: color 0.15s ease;
}

.qa-ans-delete-btn:hover {
    color: #ef4444;
}

.qa-card-bottom {
    display: flex;
    justify-content: flex-end;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   ENHANCED SPACIOUS ORDER TRACKER & GLOWING TIMELINE GRAPHICS (SCREENSHOTS 4 & 5)
   ========================================================================== */

.timeline-scroll-wrapper {
    width: 100% !important;
    overflow: visible !important;
}

.modern-tracker-timeline {
    position: relative !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    margin: 2.2rem 0 1.5rem !important;
    padding: 0 1rem !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.timeline-track-wrap {
    position: absolute !important;
    top: 19px !important;
    left: calc(1rem + (100% - 2rem) / 12) !important;
    right: calc(1rem + (100% - 2rem) / 12) !important;
    height: 4px !important;
    z-index: 1 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.timeline-track-wrap .timeline-progress-bg {
    position: absolute !important;
    inset: 0 !important;
    background: transparent !important;
}

.timeline-track-wrap .timeline-progress-fill {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    background: linear-gradient(90deg, #059669, #10b981) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7) !important;
    border-radius: 999px !important;
    transition: width 0.4s ease !important;
    max-width: 100% !important;
}

.modern-tracker-timeline .tracker-step {
    flex: 1 1 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0 2px !important;
    min-width: 0 !important;
}

.modern-tracker-timeline .tracker-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: #0d1117 !important;
    border: 2px solid rgba(255, 255, 255, 0.16) !important;
    color: #71717a !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 auto 0.6rem auto !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 2 !important;
}

[data-theme="light"] .modern-tracker-timeline .tracker-icon,
:root:not([data-theme="dark"]) .modern-tracker-timeline .tracker-icon {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #94a3b8 !important;
}

[data-theme="light"] .modern-tracker-timeline .tracker-step.completed .tracker-icon,
:root:not([data-theme="dark"]) .modern-tracker-timeline .tracker-step.completed .tracker-icon {
    background: #10b981 !important;
    border-color: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
}

.modern-tracker-timeline .tracker-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.modern-tracker-timeline .tracker-step.completed .tracker-icon {
    background: #064e3b !important;
    border-color: #059669 !important;
    color: #34d399 !important;
    box-shadow: 0 0 14px rgba(5, 150, 105, 0.45) !important;
}

.modern-tracker-timeline .tracker-step.active .tracker-icon,
.modern-tracker-timeline .tracker-icon.pulse-glow {
    background: #431407 !important;
    border-color: #ea580c !important;
    color: #fb923c !important;
    animation: activeGlowPulse 1.8s infinite ease-in-out !important;
}

.modern-tracker-timeline .tracker-step.completed:last-child .tracker-icon,
.modern-tracker-timeline .tracker-icon.delivered-glow {
    background: #064e3b !important;
    border-color: #059669 !important;
    color: #34d399 !important;
    animation: deliveredGlowPulse 2s infinite ease-in-out !important;
}

@keyframes activeGlowPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7), 0 0 14px rgba(234, 88, 12, 0.85);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(234, 88, 12, 0.25), 0 0 24px rgba(234, 88, 12, 1);
        transform: scale(1.06);
    }
}

@keyframes deliveredGlowPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7), 0 0 14px rgba(5, 150, 105, 0.85);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(5, 150, 105, 0.25), 0 0 24px rgba(5, 150, 105, 1);
        transform: scale(1.06);
    }
}

.modern-tracker-timeline .tracker-title {
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    color: var(--text-primary, #ffffff) !important;
    margin-bottom: 0.25rem !important;
    white-space: normal !important;
    line-height: 1.25 !important;
}

[data-theme="light"] .modern-tracker-timeline .tracker-title,
:root:not([data-theme="dark"]) .modern-tracker-timeline .tracker-title {
    color: #111827 !important;
}

.modern-tracker-timeline .step-br {
    display: block !important;
}

.modern-tracker-timeline .tracker-meta {
    font-size: 0.72rem !important;
    color: var(--text-secondary, #a1a1aa) !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    margin: 0 auto !important;
}

[data-theme="light"] .modern-tracker-timeline .tracker-meta,
:root:not([data-theme="dark"]) .modern-tracker-timeline .tracker-meta {
    color: #64748b !important;
}

.timeline-track-wrap {
    position: absolute !important;
    top: 19px !important;
    left: calc(1rem + (100% - 2rem) / 12) !important;
    right: calc(1rem + (100% - 2rem) / 12) !important;
    height: 4px !important;
    z-index: 1 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

[data-theme="light"] .timeline-track-wrap,
:root:not([data-theme="dark"]) .timeline-track-wrap {
    background: #cbd5e1 !important;
}

.timeline-track-wrap .timeline-progress-fill {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: var(--track-fill, 0%) !important;
    height: 100% !important;
    background: linear-gradient(90deg, #059669, #10b981) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.7) !important;
    border-radius: 999px !important;
    transition: width 0.4s ease, height 0.4s ease !important;
    max-width: 100% !important;
}

@media (max-width: 768px) {
    .modern-tracker-timeline {
        flex-direction: column !important;
        padding: 0 !important;
    }
    .timeline-track-wrap {
        left: 17px !important;
        top: 19px !important;
        bottom: 35px !important;
        width: 4px !important;
        height: auto !important;
        right: auto !important;
        background: rgba(255, 255, 255, 0.15) !important;
    }
    [data-theme="light"] .timeline-track-wrap,
    :root:not([data-theme="dark"]) .timeline-track-wrap {
        background: #cbd5e1 !important;
    }
    .timeline-track-wrap .timeline-progress-fill {
        width: 100% !important;
        height: var(--track-fill, 0%) !important;
        background: linear-gradient(180deg, #059669, #10b981) !important;
    }
    .modern-tracker-timeline .tracker-step {
        display: flex !important;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        align-items: flex-start !important;
    }
    .modern-tracker-timeline .tracker-icon {
        margin: 0 1rem 0 0 !important;
        flex-shrink: 0 !important;
    }
}

/* 2. Order Tracking Detail Grid (Screenshot 4) */
.modern-tracking-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    gap: 0.75rem !important;
    margin-top: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 1.25rem !important;
}

.modern-track-card {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 0.6rem 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    transition: all 0.2s ease !important;
}

.modern-track-card:hover {
    border-color: rgba(255, 107, 0, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

.track-card-ico {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 107, 0, 0.12) !important;
    color: #ff6b00 !important;
    display: grid !important;
    place-items: center !important;
    flex-shrink: 0 !important;
}

.track-card-ico svg {
    width: 16px !important;
    height: 16px !important;
}

.track-card-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.1rem !important;
    overflow: hidden !important;
}

.track-card-text .tracking-detail-label {
    font-size: 0.65rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #a1a1aa !important;
    font-weight: 600 !important;
}

.track-card-text .tracking-detail-value {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.track-card-text .tracking-detail-value.status-val {
    color: #10b981 !important;
}


/* 3. Modern Payment Overview Card (Screenshot 5) */
.modern-payment-card-box {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    padding: 1.35rem 1.45rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.15rem !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

.modern-payment-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 0.85rem !important;
}

.modern-pay-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.modern-pay-badge {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    padding: 3px 9px !important;
    border-radius: 6px !important;
}

.modern-pay-badge.badge-paid {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25) !important;
}

.modern-pay-badge.badge-pending {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

.modern-pay-badge.badge-failed {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.modern-pay-amount-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 10px !important;
}

.pay-amount-label {
    font-size: 0.82rem !important;
    color: #a1a1aa !important;
    font-weight: 600 !important;
}

.pay-amount-val {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ff6b00 !important;
}

.modern-pay-detail-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.pay-detail-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 0.45rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.pay-detail-row:last-child {
    border-bottom: none !important;
}

.pay-prop-label {
    font-size: 0.8rem !important;
    color: #71717a !important;
}

.pay-prop-val {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #e4e4e7 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.pay-tag {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 2px 7px !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
}

.pay-provider-tag {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.order-detail-grid {
    margin-top: 2.25rem !important;
    padding-top: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.pay-ref-code {
    font-family: monospace !important;
    font-size: 0.78rem !important;
    color: #e4e4e7 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}



/* ==========================================================================
   COMPACT WRITE-A-REVIEW MODAL (NO INNER SCROLL, 1-VIEWPORT DESIGN)
   ========================================================================== */
.compact-write-review-modal {
    width: min(94vw, 780px) !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    padding: 1.25rem 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
}

.compact-review-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 0.75rem !important;
    margin-bottom: 0.85rem !important;
}

.compact-review-header h2 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.compact-review-sub {
    font-size: 0.8rem !important;
    color: #a1a1aa !important;
    margin: 0.2rem 0 0 !important;
}

.compact-review-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    overflow: hidden !important;
}

.compact-review-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
}

.compact-review-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
}

.form-group-compact {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
}

.form-group-compact.flex-grow-grp {
    flex: 1 !important;
}

.compact-label {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #a1a1aa !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.rating-badge-preview {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #ffb703 !important;
    text-transform: none !important;
}

.compact-stars {
    display: flex !important;
    gap: 4px !important;
}

.compact-stars button {
    font-size: 1.6rem !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: transform 0.15s ease !important;
}

.compact-stars button:hover {
    transform: scale(1.18) !important;
}

.compact-input {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.75rem !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.compact-textarea {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    resize: none !important;
    height: 80px !important;
}

.compact-pros-cons-row {
    display: flex !important;
    gap: 0.75rem !important;
}

.pro-label {
    color: #34d399 !important;
}

.con-label {
    color: #f87171 !important;
}

.compact-recommend-toggle {
    display: flex !important;
    gap: 0.75rem !important;
}

.recommend-pill {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #a1a1aa !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.recommend-pill input {
    display: none !important;
}

.recommend-pill.active {
    background: rgba(255, 107, 0, 0.15) !important;
    border-color: #ff6b00 !important;
    color: #ffffff !important;
}

.compact-file-input {
    font-size: 0.76rem !important;
    padding: 0.35rem !important;
    height: 32px !important;
}

.review-file-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.4rem !important;
    margin-top: 0.4rem !important;
    max-height: 70px !important;
    overflow-y: auto !important;
}

.review-file-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 0.25rem 0.6rem !important;
    font-size: 0.78rem !important;
    color: var(--text-primary, #fff) !important;
    max-width: 180px !important;
}

[data-theme="light"] .review-file-badge {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

.review-file-badge .file-name-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.review-file-badge .file-remove-btn {
    background: none !important;
    border: none !important;
    color: #ef4444 !important;
    font-size: 1rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin-left: 0.2rem !important;
}

.compact-img-strip {
    display: flex !important;
    gap: 0.5rem !important;
    margin-top: 0.35rem !important;
    overflow-x: auto !important;
    grid-template-columns: none !important;
}

.compact-card {
    width: 44px !important;
    height: 44px !important;
    flex-shrink: 0 !important;
    border-radius: 6px !important;
}

.compact-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.compact-card button {
    width: 18px !important;
    height: 18px !important;
    top: 2px !important;
    right: 2px !important;
    font-size: 0.6rem !important;
}

.compact-card small {
    display: none !important;
}

.compact-review-footer {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.75rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 0.75rem !important;
    margin-top: 0.25rem !important;
}

.btn-compact-cancel {
    padding: 0.5rem 1.15rem !important;
    font-size: 0.85rem !important;
}

.btn-compact-submit {
    padding: 0.5rem 1.45rem !important;
    font-size: 0.85rem !important;
    background: #ff6b00 !important;
    color: #ffffff !important;
    border: none !important;
}

@media (max-width: 680px) {
    .compact-write-review-modal {
        max-height: 94vh !important;
        overflow-y: auto !important;
    }
    .compact-review-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }
}

/* ==========================================================================
   PRODUCT DELIVERY DETAILS BOX (SCREENSHOT 3: FLIPKART STYLE)
   ========================================================================== */
.product-delivery-section-wrap {
    width: 100% !important;
    margin: 1.5rem 0 2.5rem !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.product-delivery-details-box {
    width: 100% !important;
    margin: 0 !important;
    padding: 1.25rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    box-sizing: border-box !important;
}

.product-delivery-details-box.delivery-box-error {
    border-color: var(--zams-orange) !important;
    outline: 2px solid var(--zams-orange) !important;
    outline-offset: 3px !important;
    animation: delBoxShake 0.45s ease-in-out !important;
}

@keyframes delBoxShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

[data-theme="light"] .product-delivery-details-box,
:root:not([data-theme="dark"]) .product-delivery-details-box {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
}

.del-box-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 0.6rem !important;
    margin-bottom: 0.1rem !important;
}

[data-theme="light"] .del-box-header,
:root:not([data-theme="dark"]) .del-box-header {
    border-color: #e2e8f0 !important;
}

.del-box-title {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--text-primary, #ffffff) !important;
    letter-spacing: -0.01em !important;
}

[data-theme="light"] .del-box-title,
:root:not([data-theme="dark"]) .del-box-title {
    color: #0f172a !important;
}

.del-box-row {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.65rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    transition: background-color 0.2s ease, border-color 0.2s ease !important;
}

[data-theme="light"] .del-box-row,
:root:not([data-theme="dark"]) .del-box-row {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
}

.del-location-row {
    cursor: pointer !important;
}

.del-location-row:hover {
    background: rgba(255, 107, 0, 0.05) !important;
    border-color: rgba(255, 107, 0, 0.3) !important;
}

.del-row-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ff6b00 !important;
    flex-shrink: 0 !important;
}

.del-row-icon svg {
    width: 20px !important;
    height: 20px !important;
}

.del-row-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 !important;
    gap: 0.5rem !important;
}

.del-loc-label {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: var(--text-primary, #ffffff) !important;
}

[data-theme="light"] .del-loc-label,
:root:not([data-theme="dark"]) .del-loc-label {
    color: #1e293b !important;
}

.del-change-loc-btn {
    background: none !important;
    border: none !important;
    color: #2563eb !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    padding: 0 !important;
    transition: color 0.15s ease !important;
}

.del-change-loc-btn:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

.del-arrow-chevron {
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

.del-date-text {
    font-size: 0.88rem !important;
    color: var(--text-secondary, #94a3b8) !important;
}

[data-theme="light"] .del-date-text,
:root:not([data-theme="dark"]) .del-date-text {
    color: #475569 !important;
}

.del-date-text strong {
    color: var(--text-primary, #ffffff) !important;
    font-weight: 700 !important;
}

[data-theme="light"] .del-date-text strong,
:root:not([data-theme="dark"]) .del-date-text strong {
    color: #0f172a !important;
}

/* ==========================================================================
   PRODUCT DESCRIPTION FULL-WIDTH CONTAINER (SCREENSHOTS 4 & 5)
   ========================================================================== */
.product-description-container {
    width: 100% !important;
    margin: 2.5rem 0 3.5rem !important;
}

.product-description-card {
    background: #11131a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    padding: 2.25rem 2.5rem !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4) !important;
}

.desc-heading-wrap {
    margin-bottom: 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-bottom: 1rem !important;
}

.desc-eyebrow {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ff6b00 !important;
    display: block !important;
    margin-bottom: 0.25rem !important;
}

.desc-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.product-description-body {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    font-size: 0.98rem !important;
    line-height: 1.85 !important;
    color: #d1d5db !important;
    font-family: inherit !important;
}

/* ==========================================================================
   TWINKLING STAR RATING ANIMATION & MODERN REVIEWS SUMMARY UI
   ========================================================================== */
@keyframes starTwinkle {
    0% {
        opacity: 0.85;
        transform: scale(1);
        filter: drop-shadow(0 0 1px rgba(255, 183, 3, 0.4));
    }
    1.5% {
        opacity: 1;
        transform: scale(1.28);
        filter: drop-shadow(0 0 10px rgba(255, 183, 3, 1)) drop-shadow(0 0 18px rgba(255, 107, 0, 0.9));
    }
    3% {
        opacity: 0.85;
        transform: scale(1);
        filter: drop-shadow(0 0 1px rgba(255, 183, 3, 0.4));
    }
    100% {
        opacity: 0.85;
        transform: scale(1);
        filter: drop-shadow(0 0 1px rgba(255, 183, 3, 0.4));
    }
}

.single-star-shimmer {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffb703 !important;
    animation: starTwinkle 17s infinite ease-in-out !important;
    will-change: transform, filter, opacity;
}

.single-star-shimmer svg {
    width: 1.15em !important;
    height: 1.15em !important;
    fill: #ffb703 !important;
}

/* Sequential linear wave across 5 stars over ~1.5s, then 15s pause before restarting */
.single-star-shimmer:nth-child(1) { animation-delay: 0s !important; }
.single-star-shimmer:nth-child(2) { animation-delay: 0.35s !important; }
.single-star-shimmer:nth-child(3) { animation-delay: 0.7s !important; }
.single-star-shimmer:nth-child(4) { animation-delay: 1.05s !important; }
.single-star-shimmer:nth-child(5) { animation-delay: 1.4s !important; }

/* Modern Reviews Summary Card UI */
.modern-rev-summary-card {
    background: linear-gradient(135deg, #12151d 0%, #0d0f15 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 1.5rem 1.75rem !important;
    margin: 1.5rem 0 2rem !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
    display: grid !important;
    grid-template-columns: 240px 1fr !important;
    gap: 2rem !important;
    align-items: center !important;
}

.rev-summary-score-col {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-right: 1.5rem !important;
}

.score-display-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.score-big-num {
    font-size: 3.4rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #ffffff !important;
    letter-spacing: -1px !important;
}

.score-meta-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
}

.score-shimmer-stars {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 1.25rem !important;
}

.score-sub-text {
    font-size: 0.78rem !important;
    color: #a1a1aa !important;
    line-height: 1.4 !important;
}

.modern-dist-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
}

.modern-dist-bars .rating-bar-row {
    display: grid !important;
    grid-template-columns: 55px 1fr 35px !important;
    align-items: center !important;
    gap: 0.85rem !important;
}

.bar-star-num {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #e4e4e7 !important;
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
}

.dist-star {
    color: #ffb703 !important;
    font-size: 0.95rem !important;
}

.modern-dist-bars .rating-bar {
    height: 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    overflow: hidden !important;
}

.modern-dist-bars .rating-bar span {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #ff6b00, #ffb703) !important;
    border-radius: 999px !important;
    box-shadow: 0 0 8px rgba(255, 107, 0, 0.6) !important;
}

.bar-count-val {
    font-size: 0.8rem !important;
    color: #71717a !important;
    text-align: right !important;
    font-weight: 600 !important;
}

@media (max-width: 768px) {
    .modern-rev-summary-card {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
    .rev-summary-score-col {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        padding-right: 0 !important;
        padding-bottom: 1rem !important;
    }
}


/* ==========================================================================
   PRODUCT DETAIL VIEW: COMPACT IMAGE FRAME, PROFESSIONAL TYPOGRAPHY & PRICE
   ========================================================================== */

/* 1. Compact image frame fitting actual image proportions without huge empty white canvas */
.product-detail-layout {
    grid-template-columns: 420px minmax(0, 1fr) !important;
    gap: 3rem !important;
    align-items: start !important;
}

.detail-img-card {
    height: auto !important;
    max-height: 480px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
}

.product-gallery {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
}

.detail-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* 2. Refined, professional title & font scaling */
.detail-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px !important;
    color: #ffffff !important;
    margin-bottom: 0.6rem !important;
    line-height: 1.25 !important;
}

/* 3. Refined professional price & currency formatting */
.detail-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.75rem !important;
    margin-bottom: 1.35rem !important;
}

.detail-price {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, sans-serif !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
    color: #ffffff !important;
    font-feature-settings: "cv02", "cv03", "cv04", "cv11" !important;
}

.detail-compare-price {
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #71717a !important;
    text-decoration: line-through !important;
}

/* 4. Taglines / Specs List styling */
.specs-list {
    margin: 1.5rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 0.75rem 1.25rem !important;
}

.specs-list li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #d1d5db !important;
}

.specs-list .spec-icon {
    width: 16px !important;
    height: 16px !important;
    color: #ea580c !important;
    flex-shrink: 0 !important;
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .detail-img-card {
        max-height: 380px !important;
    }
}


/* ==========================================================================
   MODERN SLEEK AVAILABILITY PILL BADGE UI
   ========================================================================== */
.stock-meter-container {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 0.65rem 1rem !important;
    margin-bottom: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    max-width: 480px !important;
}

.stock-txt {
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    color: #a1a1aa !important;
}

.stock-icon {
    width: 16px !important;
    height: 16px !important;
    color: #ff6b00 !important;
    flex-shrink: 0 !important;
}

.stock-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 6px !important;
    letter-spacing: 0.3px !important;
}

.stock-status.in-stock {
    color: #10b981 !important;
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.stock-status.in-stock::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 6px #10b981 !important;
}

.stock-status.pending-stock {
    color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

.stock-status.pending-stock::before {
    content: "⏳" !important;
    font-size: 0.75rem !important;
}

.stock-status.out-stock {
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

.stock-status.out-stock::before {
    content: "✕" !important;
    font-size: 0.75rem !important;
}

.stock-progress-bar {
    width: 100% !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}

.stock-progress-bar .progress {
    height: 100% !important;
    background: linear-gradient(90deg, #10b981, #34d399) !important;
    border-radius: 999px !important;
    transition: width 0.3s ease !important;
}


/* ==========================================================================
   FUTURISTIC CYBERPUNK / GLASSMORPHIC AVAILABILITY WIDGET
   ========================================================================== */
.tech-availability-wrap {
    position: relative !important;
    overflow: hidden !important;
    max-width: 440px !important;
    margin-bottom: 1.6rem !important;
    padding: 0.75rem 1.15rem !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    border-radius: 14px !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tech-availability-wrap:hover {
    border-color: rgba(255, 107, 0, 0.35) !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 107, 0, 0.15) !important;
}

/* Moving Light Beam / Shimmer Animation across the card */
.tech-radar-pulse {
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.12), rgba(255, 255, 255, 0.15), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: techRadarSweep 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1) !important;
    pointer-events: none !important;
}

@keyframes techRadarSweep {
    0% { left: -150%; }
    35% { left: 200%; }
    100% { left: 200%; }
}

.tech-avail-content {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

.tech-avail-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    flex-shrink: 0 !important;
}

.tech-avail-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #a1a1aa !important;
}

/* Radar Sonar Glowing Dot */
.tech-avail-dot-ring {
    position: relative !important;
    width: 14px !important;
    height: 14px !important;
    display: grid !important;
    place-items: center !important;
}

.tech-avail-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 8px #10b981 !important;
    z-index: 2 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease !important;
}

.tech-avail-dot-ring::after {
    content: "" !important;
    position: absolute !important;
    inset: -2px !important;
    border-radius: 50% !important;
    background: rgba(16, 185, 129, 0.4) !important;
    animation: sonarRipple 2s infinite cubic-bezier(0, 0.2, 0.8, 1) !important;
    z-index: 1 !important;
}

@keyframes sonarRipple {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Right Badge Styling with animated live states */
.tech-avail-right {
    min-width: 0 !important;
}

.tech-avail-right .stock-status {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.tech-avail-right .stock-status.in-stock {
    color: #34d399 !important;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(6, 78, 59, 0.25) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.25) !important;
}

.tech-avail-right .stock-status.pending-stock {
    color: #fbbf24 !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(67, 20, 7, 0.25) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.2) !important;
    animation: amberPulseGlow 2.5s infinite ease-in-out !important;
}

@keyframes amberPulseGlow {
    0%, 100% { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
    50% { border-color: rgba(245, 158, 11, 0.8); box-shadow: 0 0 18px rgba(245, 158, 11, 0.45); }
}

.tech-avail-right .stock-status.out-stock {
    color: #f87171 !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(69, 10, 10, 0.25) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.2) !important;
}


/* ==========================================================================
   SEAMLESS MINIMALIST TECH LIVE AVAILABILITY STATUS (NO HEAVY BOXES)
   ========================================================================== */
.product-stock-line {
    display: flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0.4rem 0 !important;
    font-size: 0.88rem !important;
}

/* Glowing Pulse Live Beacon */
.stock-live-dot-wrap {
    position: relative !important;
    width: 14px !important;
    height: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.stock-live-dot {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 2 !important;
}

.stock-live-dot.active {
    background: #10b981 !important;
    box-shadow: 0 0 8px #10b981, 0 0 16px rgba(16, 185, 129, 0.6) !important;
}

.stock-live-dot.pending {
    background: #f59e0b !important;
    box-shadow: 0 0 8px #f59e0b, 0 0 16px rgba(245, 158, 11, 0.5) !important;
}

.stock-live-dot.inactive {
    background: #ef4444 !important;
    box-shadow: 0 0 8px #ef4444 !important;
}

.stock-live-dot-wrap::after {
    content: "" !important;
    position: absolute !important;
    inset: -3px !important;
    border-radius: 50% !important;
    animation: beaconRadar 2.2s infinite ease-out !important;
    z-index: 1 !important;
}

.stock-live-dot.active ~ .stock-live-dot-wrap::after,
.stock-live-dot-wrap:has(.active)::after {
    background: rgba(16, 185, 129, 0.35) !important;
}

.stock-live-dot-wrap:has(.pending)::after {
    background: rgba(245, 158, 11, 0.35) !important;
}

@keyframes beaconRadar {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

.stock-live-label {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #71717a !important;
}

.stock-live-status-val {
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    transition: color 0.25s ease !important;
}

.stock-live-status-val.status-in-stock {
    color: #34d399 !important;
}

.stock-live-status-val.status-pending {
    color: #f59e0b !important;
    font-weight: 600 !important;
}

.stock-live-status-val.status-out-stock {
    color: #f87171 !important;
}

/* Hide the old bulky box styling completely */
.tech-availability-wrap,
.stock-meter-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}


/* ==========================================================================
   CYBER HOLOGRAPHIC PILL BADGE (3D NEON + SHIMMER FLOW)
   ========================================================================== */
.holographic-avail-pill {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.45rem 1.1rem !important;
    border-radius: 999px !important;
    margin-bottom: 1.6rem !important;
    overflow: hidden !important;
    cursor: default !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 1. State: In Stock (Cyber Emerald Neon) */
.holographic-avail-pill.state-in-stock {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.3) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.holographic-avail-pill.state-in-stock .holo-gem-icon {
    color: #34d399 !important;
    filter: drop-shadow(0 0 5px #10b981) !important;
    animation: gemPulse 2s infinite ease-in-out !important;
}

.holographic-avail-pill.state-in-stock .holo-val-text {
    color: #34d399 !important;
    font-weight: 800 !important;
}

/* 2. State: Pending Size Selection (Cyber Amber Neon) */
.holographic-avail-pill.state-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(67, 20, 7, 0.3) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.holographic-avail-pill.state-pending .holo-gem-icon {
    color: #fbbf24 !important;
    filter: drop-shadow(0 0 5px #f59e0b) !important;
    animation: gemPulse 2.4s infinite ease-in-out !important;
}

.holographic-avail-pill.state-pending .holo-val-text {
    color: #fbbf24 !important;
    font-weight: 700 !important;
}

/* 3. State: Out of Stock (Ruby Red Neon) */
.holographic-avail-pill.state-out-stock {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(69, 10, 10, 0.3) 100%) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
}

.holographic-avail-pill.state-out-stock .holo-gem-icon {
    color: #f87171 !important;
    filter: drop-shadow(0 0 5px #ef4444) !important;
}

.holographic-avail-pill.state-out-stock .holo-val-text {
    color: #f87171 !important;
    font-weight: 700 !important;
}

/* Moving Light Shimmer Ribbon across Holographic Pill */
.holo-shimmer-sweep {
    position: absolute !important;
    top: 0 !important;
    left: -120% !important;
    width: 60% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent) !important;
    transform: skewX(-25deg) !important;
    animation: holoRibbonFlow 3.5s infinite ease-in-out !important;
    pointer-events: none !important;
}

@keyframes holoRibbonFlow {
    0% { left: -120%; }
    40% { left: 180%; }
    100% { left: 180%; }
}

@keyframes gemPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.25); opacity: 1; }
}

.holo-content {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    font-size: 0.82rem !important;
    line-height: 1 !important;
}

.holo-status-prefix {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}

.holo-gem-icon {
    font-size: 0.95rem !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.holo-tag-text {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

.holo-divider {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 0.75rem !important;
}

/* ==========================================================================
   LIGHT MODE ADAPTATIONS FOR PRODUCT DETAIL, REVIEWS & QA
   ========================================================================== */

:root:not([data-theme="dark"]) .detail-title,
[data-theme="light"] .detail-title {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .detail-price,
[data-theme="light"] .detail-price {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .detail-compare-price,
[data-theme="light"] .detail-compare-price {
    color: #94a3b8 !important;
}

:root:not([data-theme="dark"]) .specs-list li,
[data-theme="light"] .specs-list li {
    color: #334155 !important;
}

:root:not([data-theme="dark"]) .variant-label,
[data-theme="light"] .variant-label {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .variant-size-btn,
:root:not([data-theme="dark"]) .variant-color-btn,
[data-theme="light"] .variant-size-btn,
[data-theme="light"] .variant-color-btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .variant-size-btn:hover,
:root:not([data-theme="dark"]) .variant-color-btn:hover,
[data-theme="light"] .variant-size-btn:hover,
[data-theme="light"] .variant-color-btn:hover {
    border-color: #ff6b00 !important;
    background: #fff7ed !important;
}

:root:not([data-theme="dark"]) .variant-size-btn.selected,
:root:not([data-theme="dark"]) .variant-color-btn.selected,
[data-theme="light"] .variant-size-btn.selected,
[data-theme="light"] .variant-color-btn.selected {
    background: #fff7ed !important;
    border-color: #ff6b00 !important;
    color: #ea580c !important;
    font-weight: 700 !important;
}

/* Product Description in Light Mode */
:root:not([data-theme="dark"]) .product-description-card,
[data-theme="light"] .product-description-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

:root:not([data-theme="dark"]) .desc-heading-wrap,
[data-theme="light"] .desc-heading-wrap {
    border-bottom: 1px solid #e2e8f0 !important;
}

:root:not([data-theme="dark"]) .desc-title,
[data-theme="light"] .desc-title {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .product-description-body,
[data-theme="light"] .product-description-body {
    color: #334155 !important;
}

/* Reviews Summary Card in Light Mode */
:root:not([data-theme="dark"]) .modern-rev-summary-card,
[data-theme="light"] .modern-rev-summary-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

:root:not([data-theme="dark"]) .rev-summary-score-col,
[data-theme="light"] .rev-summary-score-col {
    border-color: #e2e8f0 !important;
}

:root:not([data-theme="dark"]) .score-big-num,
[data-theme="light"] .score-big-num {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .score-sub-text,
[data-theme="light"] .score-sub-text {
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .bar-star-num,
[data-theme="light"] .bar-star-num {
    color: #334155 !important;
}

:root:not([data-theme="dark"]) .modern-dist-bars .rating-bar,
[data-theme="light"] .modern-dist-bars .rating-bar {
    background: #f1f5f9 !important;
}

:root:not([data-theme="dark"]) .bar-count-val,
[data-theme="light"] .bar-count-val {
    color: #64748b !important;
}

/* Review Cards in Light Mode */
:root:not([data-theme="dark"]) .premium-rev-card,
[data-theme="light"] .premium-rev-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

:root:not([data-theme="dark"]) .premium-rev-card:hover,
[data-theme="light"] .premium-rev-card:hover {
    border-color: rgba(255, 107, 0, 0.4) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.08) !important;
}

:root:not([data-theme="dark"]) .rev-name-stars .rev-name,
[data-theme="light"] .rev-name-stars .rev-name {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .rev-sub-meta .rev-date,
[data-theme="light"] .rev-sub-meta .rev-date {
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .rev-title,
[data-theme="light"] .rev-title {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .rev-comment,
[data-theme="light"] .rev-comment {
    color: #334155 !important;
}

:root:not([data-theme="dark"]) .rev-pros span:last-child,
[data-theme="light"] .rev-pros span:last-child {
    color: #065f46 !important;
}

:root:not([data-theme="dark"]) .rev-cons span:last-child,
[data-theme="light"] .rev-cons span:last-child {
    color: #991b1b !important;
}

:root:not([data-theme="dark"]) .rev-menu-btn,
[data-theme="light"] .rev-menu-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .rev-menu-btn:hover,
[data-theme="light"] .rev-menu-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .rev-dropdown-menu,
[data-theme="light"] .rev-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

:root:not([data-theme="dark"]) .rev-dropdown-menu button,
[data-theme="light"] .rev-dropdown-menu button {
    color: #334155 !important;
}

:root:not([data-theme="dark"]) .rev-dropdown-menu button:hover,
[data-theme="light"] .rev-dropdown-menu button:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .review-media-thumb,
[data-theme="light"] .review-media-thumb {
    border: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

:root:not([data-theme="dark"]) .review-card-actions,
[data-theme="light"] .review-card-actions {
    border-top: 1px solid #e2e8f0 !important;
}

:root:not([data-theme="dark"]) .rev-action-btn,
[data-theme="light"] .rev-action-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

:root:not([data-theme="dark"]) .rev-action-btn:hover,
[data-theme="light"] .rev-action-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

:root:not([data-theme="dark"]) .rev-action-btn.report-btn,
[data-theme="light"] .rev-action-btn.report-btn {
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .review-section-heading h2,
[data-theme="light"] .review-section-heading h2 {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .review-filter-row .form-input,
[data-theme="light"] .review-filter-row .form-input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .review-checkbox,
[data-theme="light"] .review-checkbox {
    color: #334155 !important;
}

/* Questions & Answers in Light Mode */
:root:not([data-theme="dark"]) .premium-qa-card,
[data-theme="light"] .premium-qa-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}

:root:not([data-theme="dark"]) .premium-qa-card:hover,
[data-theme="light"] .premium-qa-card:hover {
    border-color: rgba(255, 107, 0, 0.35) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.08) !important;
}

:root:not([data-theme="dark"]) .qa-question-text,
[data-theme="light"] .qa-question-text {
    color: #0f172a !important;
}

:root:not([data-theme="dark"]) .qa-meta-text,
[data-theme="light"] .qa-meta-text {
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .qa-answer,
[data-theme="light"] .qa-answer {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

:root:not([data-theme="dark"]) .qa-answer.official,
[data-theme="light"] .qa-answer.official {
    background: #fff7ed !important;
    border: 1px solid rgba(255, 107, 0, 0.3) !important;
}

:root:not([data-theme="dark"]) .qa-ans-tag,
[data-theme="light"] .qa-ans-tag {
    color: #475569 !important;
    background: #e2e8f0 !important;
}

:root:not([data-theme="dark"]) .qa-ans-tag.official-tag,
[data-theme="light"] .qa-ans-tag.official-tag {
    color: #ea580c !important;
    background: rgba(255, 107, 0, 0.14) !important;
}

:root:not([data-theme="dark"]) .qa-ans-author,
[data-theme="light"] .qa-ans-author {
    color: #64748b !important;
}

:root:not([data-theme="dark"]) .qa-ans-text,
[data-theme="light"] .qa-ans-text {
    color: #1e293b !important;
}

:root:not([data-theme="dark"]) .qa-card-bottom,
[data-theme="light"] .qa-card-bottom {
    border-top: 1px solid #f1f5f9 !important;
}

/* Availability Pill in Light Mode */
:root:not([data-theme="dark"]) .holographic-avail-pill.state-pending,
[data-theme="light"] .holographic-avail-pill.state-pending {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
    border: 1px solid #f59e0b !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.15) !important;
}

:root:not([data-theme="dark"]) .holographic-avail-pill.state-pending .holo-val-text,
[data-theme="light"] .holographic-avail-pill.state-pending .holo-val-text {
    color: #b45309 !important;
}

:root:not([data-theme="dark"]) .holographic-avail-pill.state-pending .holo-tag-text,
[data-theme="light"] .holographic-avail-pill.state-pending .holo-tag-text {
    color: #92400e !important;
}

:root:not([data-theme="dark"]) .holographic-avail-pill.state-in-stock,
[data-theme="light"] .holographic-avail-pill.state-in-stock {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border: 1px solid #10b981 !important;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15) !important;
}

:root:not([data-theme="dark"]) .holographic-avail-pill.state-in-stock .holo-val-text,
[data-theme="light"] .holographic-avail-pill.state-in-stock .holo-val-text {
    color: #047857 !important;
}

:root:not([data-theme="dark"]) .holographic-avail-pill.state-in-stock .holo-tag-text,
[data-theme="light"] .holographic-avail-pill.state-in-stock .holo-tag-text {
    color: #065f46 !important;
}

