:root {
    /* Pure Black & Carbon Monochrome Foundation */
    --bg-black: #08080a;
    --bg-carbon: #0f0f13;
    --bg-card: rgba(18, 18, 24, 0.75);
    --bg-card-hover: rgba(28, 28, 36, 0.95);
    --bg-surface: #121217;
    --bg-nav: rgba(8, 8, 10, 0.88);
    --bg-modal: rgba(14, 14, 18, 0.98);

    /* Pure White Core & Clean Typography */
    --white-pure: #ffffff;
    --white-soft: #f4f4f6;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Controlled, Refined Glows */
    --glow-white: 0 4px 16px rgba(255, 255, 255, 0.08);
    --glow-white-sm: 0 2px 10px rgba(255, 255, 255, 0.06);
    --glow-button: 0 4px 18px rgba(255, 255, 255, 0.14);

    /* Sharp Metallic Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 255, 255, 0.22);

    /* Fonts & Shapes */
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-black);
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(255, 255, 255, 0.02) 0px, transparent 40%),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
    background-attachment: fixed;
    color: var(--white-pure);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ========================================================
   GLOBAL SVG ICON CONSTRAINTS (Fixes Giant Icons)
   ======================================================== */
.nav-svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    stroke: currentColor;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.search-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.icon-orb .nav-svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
}

.hero-btn .nav-svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

.pill-chevron {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
}

.social-svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
}

/* Minimal Custom Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* ========================================================
   INTRO SPLASH
   ======================================================== */
.intro-splash {
    position: fixed;
    inset: 0;
    background: #08080a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.intro-splash.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: splashIn 0.5s var(--ease) forwards;
}

@keyframes splashIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.splash-logo {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    line-height: 1;
}

.splash-logo span { color: #71717a; }

.splash-tagline {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-top: 12px;
    text-transform: uppercase;
}

.splash-loader-bar {
    width: 140px;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin: 24px auto 0;
    overflow: hidden;
    position: relative;
}

.splash-loader-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0%;
    background: #ffffff;
    animation: splashFill 0.9s var(--ease) forwards;
}

@keyframes splashFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ========================================================
   NAVBAR & SEARCH
   ======================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 6%;
    gap: 20px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
    user-select: none;
    line-height: 1;
}

.logo:hover { opacity: 0.85; }
.logo span { color: #71717a; }

.search-container {
    position: relative;
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-container input,
.mobile-search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 11px 20px 11px 46px;
    border-radius: var(--radius-full);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.2s var(--ease);
}

.search-container input:focus,
.mobile-search-bar input:focus {
    background: #14141a;
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.search-container input:focus + .search-icon { color: #ffffff; }

.mobile-search-bar {
    display: none;
    padding: 12px 5%;
    background: var(--bg-nav);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
}

.mobile-search-bar .search-icon { left: calc(5% + 16px); }

.nav-actions-dock {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-pill-btn {
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-full);
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    backdrop-filter: blur(14px);
    transition: all 0.2s var(--ease);
}

.nav-pill-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.menu-pill { padding: 0 16px 0 8px; gap: 8px; }

.user-avatar-indicator {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-indicator .nav-svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
}

.pill-label { font-size: 13px; font-weight: 700; line-height: 1; }

.cart-pill { padding: 0 16px 0 12px; gap: 10px; }

.cart-pill-icon {
    position: relative;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#cartCount {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ffffff;
    color: #000000;
    font-size: 10px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.cart-pill-val {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    border-left: 1px solid var(--border-subtle);
    padding-left: 10px;
    line-height: 1;
}

.menu-dropdown-container { position: relative; }

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 50px;
    background: var(--bg-modal);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    width: 240px;
    display: none;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    z-index: 210;
    overflow: hidden;
}

.dropdown-menu.active {
    display: flex;
    animation: dropIn 0.2s var(--ease) forwards;
}

@keyframes dropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-header { padding: 14px 18px 8px; }
.dh-title {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.dropdown-divider { height: 1px; background: var(--border-subtle); margin: 4px 0; }

.dropdown-menu a {
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.dropdown-menu a .nav-svg {
    color: var(--text-muted);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding-left: 20px;
}

.dropdown-menu a:hover .nav-svg { color: #ffffff; }

/* ========================================================
   CONTAINER & HERO
   ======================================================== */
.view-container {
    display: none;
    flex: 1;
    padding: 34px 6%;
    max-width: 1340px;
    width: 100%;
    margin: 0 auto;
}

.view-container.active {
    display: block;
    animation: viewFade 0.35s var(--ease);
}

@keyframes viewFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-showcase {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 44px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}

.hero-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1;
}

.hero-action-pill .nav-svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
}

.hero-left-box h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-left-box h2 span { color: #ffffff; }

.hero-left-box p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 26px;
}

.hero-btn {
    width: auto;
    padding: 13px 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 800;
}

.hero-carousel {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 310px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
    background: #000;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.5s var(--ease);
}

.carousel-slide.active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.banner-tag {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    background: rgba(12, 12, 16, 0.88);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tag-label {
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tag-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
    margin: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-price {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
}

.carousel-dots {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    min-height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.carousel-dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 4px;
}

/* ========================================================
   CATEGORY SELECTOR
   ======================================================== */
.brand-selector-section { margin-bottom: 38px; }

.section-badge {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.brand-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.brand-card:hover, .brand-card.active {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

.icon-orb {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
    flex-shrink: 0;
}

.brand-card:hover .icon-orb, .brand-card.active .icon-orb {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.brand-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.brand-title { 
    font-size: 13.5px; 
    font-weight: 700; 
    color: #ffffff; 
    line-height: 1.2;
    display: block;
}

.brand-subtitle { 
    font-size: 11.5px; 
    color: var(--text-muted); 
    line-height: 1.3;
    display: block;
}

/* ========================================================
   PRODUCT GRID & CARDS
   ======================================================== */
.catalog-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.catalog-header-bar h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; line-height: 1; }
.catalog-counter { font-size: 12px; color: var(--text-muted); font-weight: 700; line-height: 1; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: all 0.25s var(--ease);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.product-image-wrap {
    width: 100%;
    height: 240px;
    background: #000000;
    position: relative;
    overflow: hidden;
}

.product-image-wrap::after {
    content: 'HEZ.CART';
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(12, 12, 16, 0.85);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 1.2px;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s var(--ease);
}

.product-card:hover .product-image { transform: scale(1.05); }

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(12, 12, 16, 0.85);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(18, 18, 24, 0.6);
}

.product-category {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.product-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.card-action-cue {
    font-size: 11.5px;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.card-action-cue .nav-svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
}

.product-card:hover .card-action-cue {
    color: #ffffff;
    transform: translateX(3px);
}

/* ========================================================
   PRODUCT DETAIL VIEW
   ======================================================== */
.detail-nav-bar { margin-bottom: 22px; }

.back-home-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    line-height: 1;
}

.back-home-btn .nav-svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
}

.back-home-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.gallery-section { display: flex; flex-direction: column; gap: 14px; }

.main-preview-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    display: block;
}

.thumbnail-row { display: flex; gap: 10px; }

.thumb-img {
    width: 74px;
    height: 74px;
    min-width: 74px;
    min-height: 74px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s;
    display: block;
    flex-shrink: 0;
}

.thumb-img.active, .thumb-img:hover {
    opacity: 1;
    border-color: #ffffff;
}

.details-info-section { display: flex; flex-direction: column; gap: 18px; }

.details-title {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.details-price-badge { 
    display: flex; 
    align-items: baseline; 
    gap: 12px; 
}

.details-price {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.tax-tag { font-size: 11px; color: var(--text-muted); font-weight: 700; }

.details-rating {
    font-size: 12.5px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.details-rating .star-icon {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
    stroke: none;
}

.details-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
}

.variant-group h4 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 800;
}

.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }

.variant-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.variant-btn:hover { border-color: rgba(255, 255, 255, 0.25); }

.variant-btn.selected {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}

.action-buttons-group { display: flex; gap: 14px; margin-top: 8px; }

.cart-action-btn, .buy-now-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s var(--ease);
}

.cart-action-btn {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid var(--border-subtle);
}

.cart-action-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.buy-now-btn {
    background: #ffffff;
    color: #000000;
}

.buy-now-btn:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

/* ========================================================
   REVIEWS & RATING PICKER
   ======================================================== */
.rating-picker-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rating-picker-label { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }

.star-rating-select { display: inline-flex; align-items: center; gap: 4px; }
.star-rating-select .star-icon {
    width: 16px;
    height: 16px;
    fill: #3f3f46;
    stroke: none;
    cursor: pointer;
    transition: fill 0.15s;
}

.star-rating-select .star-icon.active, 
.star-rating-select .star-icon:hover { 
    fill: #f59e0b; 
}

.review-input-flex { display: flex; gap: 10px; }

.review-input-flex input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 12.5px;
    outline: none;
}

.review-input-flex input:focus { border-color: rgba(255, 255, 255, 0.4); }

.review-input-flex button {
    background: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    color: #000000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.static-page-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
}

.static-page-content h2 { font-family: var(--font-heading); font-size: 28px; margin-bottom: 16px; }
.static-page-content h3 { font-size: 16px; margin-top: 24px; margin-bottom: 8px; color: #ffffff; }
.static-page-content p { font-size: 14px; color: var(--text-secondary); }

.terms-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }

.terms-card {
    background: rgba(12, 12, 16, 0.75);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
}

.terms-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    color: #ffffff;
}

.terms-card-header .nav-svg { width: 18px; height: 18px; flex-shrink: 0; }
.terms-card-header h4 { font-family: var(--font-heading); font-size: 15px; font-weight: 800; color: #ffffff; }
.terms-card p { font-size: 13.5px; color: var(--text-secondary); }

.terms-alert-box {
    margin-top: 10px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fbbf24;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms-alert-box .nav-svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; stroke: #fbbf24; }

/* ========================================================
   CART DRAWER & MODALS
   ======================================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 100vw;
    height: 100%;
    background: rgba(12, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.8);
    transition: right 0.35s var(--ease);
}

.cart-sidebar.active { right: 0; }

.cart-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-title-row { display: flex; align-items: center; gap: 10px; color: #ffffff; }
.cart-title-row .nav-svg { width: 20px; height: 20px; }
.cart-title-row h3 { font-family: var(--font-heading); font-size: 15px; color: #ffffff; }

#closeCart { 
    background: rgba(255, 255, 255, 0.04); 
    border: 1px solid var(--border-subtle); 
    color: var(--text-secondary); 
    font-size: 20px; 
    cursor: pointer; 
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border-radius: 50%;
    padding: 0;
    transition: all 0.2s;
}

#closeCart:hover { 
    color: #ffffff; 
    background: rgba(255, 255, 255, 0.1); 
    border-color: rgba(255, 255, 255, 0.3);
}

.cart-items { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.empty-cart { text-align: center; color: var(--text-muted); font-size: 13.5px; margin-top: 60px; }

.cart-item-row {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-item-details { 
    display: flex; 
    flex-direction: column; 
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.cart-item-details h4 { 
    font-size: 13px; 
    font-weight: 700; 
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-details span { font-size: 11.5px; color: var(--text-secondary); }

.cart-item-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.qty-btn { 
    background: none; 
    border: none; 
    color: #ffffff; 
    cursor: pointer; 
    font-size: 14px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.remove-item {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.2s;
}

.remove-item .nav-svg {
    width: 14px;
    height: 14px;
    stroke: #ef4444;
}

.remove-item:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
}

.cart-footer { padding: 22px; border-top: 1px solid var(--border-subtle); background: var(--bg-black); }
.cart-summary-line { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--text-secondary); margin-bottom: 12px; }

.free-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 10px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.cart-total span:last-child { font-family: var(--font-heading); font-size: 19px; color: #ffffff; line-height: 1; }

/* MODALS */
.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.96);
    background: var(--bg-modal);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 92%;
    max-width: 440px;
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s var(--ease);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}

.auth-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.auth-box { position: relative; }
.order-box { max-width: 520px; }

.close-auth {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 18px;
    padding: 0;
    z-index: 10;
    transition: all 0.2s;
}

.close-auth:hover { 
    color: #ffffff; 
    border-color: rgba(255, 255, 255, 0.35); 
    background: rgba(255, 255, 255, 0.12); 
}

.modal-header { padding-right: 36px; }
.modal-header h2 { font-family: var(--font-heading); font-size: 22px; }
.modal-header p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; margin-bottom: 20px; }

.auth-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.form-group label { font-size: 10px; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; }

.auth-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
}

.auth-form input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(26, 26, 32, 0.85);
}

.grid-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-group-addon { position: relative; display: flex; align-items: center; width: 100%; }
.input-group-addon input { width: 100%; padding-left: 50px; }
.input-prefix { position: absolute; left: 14px; font-size: 12.5px; font-weight: 800; color: var(--text-muted); pointer-events: none; }

.btn-primary-block {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    border: none;
    background: #ffffff;
    color: #000000;
    font-weight: 800;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
}

.btn-primary-block:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

.btn-secondary-block {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-secondary-block:hover { border-color: rgba(255, 255, 255, 0.3); color: #ffffff; }
.submit-mt { margin-top: 8px; }
.text-center { text-align: center; }

/* PAYMENT MODAL DETAILS */
.order-summary-pill {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    margin: 0 auto 20px;
    line-height: 1;
}

.order-summary-pill strong { font-family: var(--font-heading); font-size: 16px; color: #ffffff; }
.payment-options-stack { display: flex; flex-direction: column; gap: 12px; }

.gateway-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    padding: 15px 18px;
}

.gateway-btn .nav-svg { width: 22px; height: 22px; flex-shrink: 0; }
.gateway-info { display: flex; flex-direction: column; gap: 2px; }
.gateway-info strong { font-size: 13.5px; }
.gateway-info small { font-size: 11.5px; color: var(--text-secondary); }

.payment-highlight-text { font-size: 16px; font-weight: 800; color: #ffffff; margin-bottom: 18px; }

.qr-card-plate {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius-md);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

#qrcodeContainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.merchant-vpa-chip {
    margin-top: 10px;
    background: #000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
}

.merchant-vpa-chip strong { color: #ffffff; }

/* STEPS */
.clean-payment-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.pay-step-row { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
}

.step-num {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.step-desc { 
    font-size: 12.5px; 
    color: var(--text-secondary); 
    line-height: 1.45;
    flex: 1;
}

.step-desc strong { color: #ffffff; }

.utr-input-wrapper { position: relative; width: 100%; display: flex; align-items: center; }

.utr-input-wrapper input {
    width: 100%;
    background: #000;
    border: 1px solid var(--border-subtle);
    color: #ffffff;
    padding: 13px 54px 13px 14px;
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 15px;
    text-align: center;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}

.utr-input-wrapper input:focus { border-color: rgba(255, 255, 255, 0.4); }

.utr-counter {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 700;
    pointer-events: none;
    line-height: 1;
}

.success-icon-wrap { 
    margin-bottom: 14px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-text { margin-bottom: 22px; line-height: 1.6; font-size: 13.5px; color: var(--text-secondary); }
.orders-scroll-container { max-height: 360px; overflow-y: auto; margin-top: 14px; }

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 900;
    display: none;
}

.overlay.active { display: block; }

/* TERMS GATE */
.terms-gate-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(10px);
    z-index: 9998;
    display: none;
}

.terms-gate-backdrop.active { display: block; }

.terms-gate-bar {
    position: fixed;
    bottom: -360px;
    left: 0;
    right: 0;
    background: #0d0d11;
    border-top: 1px solid var(--border-subtle);
    z-index: 9999;
    box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.85);
    transition: bottom 0.4s var(--ease);
    padding: 22px 6%;
}

.terms-gate-bar.active { bottom: 0; }

.terms-gate-content {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.terms-gate-info { flex: 1; }

.terms-gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
    line-height: 1;
}

.terms-gate-badge .nav-svg { width: 14px; height: 14px; }

.terms-gate-info h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.terms-gate-info p { font-size: 13px; color: var(--text-secondary); }
.terms-link-text { color: #ffffff; text-decoration: underline; font-weight: 600; }

.terms-gate-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 320px;
}

.terms-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.terms-checkbox-label input { position: absolute; opacity: 0; height: 0; width: 0; }

.custom-checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.terms-checkbox-label input:checked ~ .custom-checkmark {
    background: #ffffff;
    border-color: #ffffff;
}

.terms-checkbox-label input:checked ~ .custom-checkmark::after {
    content: '✓';
    font-weight: 900;
    font-size: 12px;
    color: #000000;
    line-height: 1;
}

.checkbox-caption { font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.consent-btn { width: 100%; padding: 12px 22px; font-size: 13px; font-weight: 800; border-radius: var(--radius-sm); }

.consent-btn:disabled {
    background: #18181b;
    color: var(--text-muted);
    cursor: not-allowed;
    border: 1px solid var(--border-subtle);
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-black);
    padding: 38px 6% 26px;
    text-align: center;
    margin-top: auto;
}

.footer-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.footer-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 900; letter-spacing: 2px; cursor: pointer; line-height: 1; }
.footer-logo span { color: #71717a; }
.footer-tagline { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; line-height: 1; }

.social-links { display: flex; align-items: center; justify-content: center; gap: 18px; }
.social-links a { 
    color: var(--text-secondary); 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s; 
}

.social-links a:hover { color: #ffffff; }

.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.03); padding-top: 18px; width: 100%; }
.copyright { font-size: 11.5px; color: var(--text-muted); line-height: 1; }

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .hero-showcase { grid-template-columns: 1fr; padding: 32px; gap: 26px; }
    .hero-left-box h2 { font-size: 32px; }
    .product-detail-layout { grid-template-columns: 1fr; padding: 26px; gap: 24px; }
    .main-preview-img { height: 340px; }
    .terms-gate-content { flex-direction: column; align-items: flex-start; gap: 20px; }
    .terms-gate-action { width: 100%; min-width: unset; align-items: flex-start; }
}

@media (max-width: 768px) {
    .navbar { padding: 12px 4%; }
    .search-container { display: none; }
    .mobile-search-bar { display: block; }
    .pill-label, .cart-pill-val { display: none; }
    .menu-pill { padding: 0 10px; }
    .cart-pill { padding: 0 14px; }
    .hero-carousel { height: 240px; }
    .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-image-wrap { height: 180px; }
    .cart-sidebar { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
    .hero-showcase { padding: 22px 16px; }
    .hero-left-box h2 { font-size: 25px; }
    .brand-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .product-image-wrap { height: 220px; }
    .main-preview-img { height: 270px; }
    .action-buttons-group { flex-direction: column; }
}

.track-pill-btn {
    padding: 0 14px;
    gap: 8px;
}
.track-pill-btn .nav-svg {
    width: 15px;
    height: 15px;
}