/* 
 * ╔═══════════════════════════════════════════════════════════════╗
 * ║       EVEREST BÜRO — PREMIUM DARK TECH E-COMMERCE THEME      ║
 * ║                    V4.0  |  2026                              ║
 * ╚═══════════════════════════════════════════════════════════════╝
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
    --font: 'Inter', system-ui, sans-serif;

    /* Brand Colors */
    --orange: #f97316;
    --orange-dark: #ea6b0a;
    --orange-glow: rgba(249, 115, 22, 0.2);
    --orange-light: #fff7ed;

    /* Surface */
    --surface-0: #0d0d14;
    --surface-1: #131320;
    --surface-2: #1a1a2e;
    --surface-3: #21213a;
    --surface-card: #17172a;
    --surface-glass: rgba(255, 255, 255, 0.04);

    /* Text */
    --text-1: #f4f4f8;
    --text-2: #b0b0cc;
    --text-3: #6b6b90;

    /* Borders */
    --border: rgba(255, 255, 255, 0.07);
    --border-highlight: rgba(249, 115, 22, 0.4);

    /* Shadows */
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.45);
    --shadow-glow: 0 0 24px rgba(249, 115, 22, 0.15);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.6);

    /* Logo — dark mode: white pill so coloured logo is visible */
    --logo-bg: #ffffff;
    --logo-radius: 10px;
    --logo-padding: 5px 12px;
    --logo-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);

    /* Geometry */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-w: 1280px;
    --hdr-h: 68px;
}


/* ═══════════════════════════════════════
   RESET
═══════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background: var(--surface-0);
    color: var(--text-1);
    line-height: 1.6;
    padding-bottom: 72px;
    overflow-x: hidden;
    /* room for mobile nav */
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s var(--ease);
}

img {
    max-width: 100%;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: var(--font);
}

ul,
ol {
    list-style: none;
}

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--surface-1);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-3);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange);
}

/* ═══════════════════════════════════════
   LIGHT THEME OVERRIDES
   Applied via .light-theme class on <html>
═══════════════════════════════════════ */
.light-theme {
    --surface-0: #f0f2f5;
    --surface-1: #ffffff;
    --surface-2: #f5f6fa;
    --surface-3: #eaecf2;
    --surface-card: #ffffff;
    --surface-glass: rgba(0, 0, 0, 0.02);

    --text-1: #0f0f1a;
    --text-2: #383860;
    --text-3: #8888aa;

    --border: rgba(0, 0, 0, 0.09);
    --border-highlight: rgba(249, 115, 22, 0.5);

    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 20px rgba(249, 115, 22, 0.12);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.14);

    /* Logo — light mode: transparent pill, logo shows on white header naturally */
    --logo-bg: transparent;
    --logo-radius: 0;
    --logo-padding: 0;
    --logo-shadow: none;
}

/* ═══════════════════════════════════════
   TOP UTILITY BAR
═══════════════════════════════════════ */
.topbar {
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-3);
}

.topbar-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 7px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.topbar a {
    color: var(--text-3);
}

.topbar a:hover {
    color: var(--orange);
}

.topbar select {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-3);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    font-size: 11px;
    cursor: pointer;
    outline: none;
}

.topbar select option {
    background: var(--surface-2);
    color: var(--text-1);
}

/* ═══════════════════════════════════════
   MAIN HEADER
═══════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--hdr-h);
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--orange);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: var(--shadow-glow);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.site-logo:hover .logo-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 0 32px rgba(249, 115, 22, 0.35);
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-logo .logo-text strong {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-1);
}

.site-logo .logo-text span {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Logo image — dark mode: invert(1) makes black text white, 
   hue-rotate(180deg) restores the red/blue colors of the mountain. */
.site-logo-img {
    display: block;
    width: auto;
    flex-shrink: 0;
    filter: invert(1) hue-rotate(180deg);
    transition: filter .3s ease, opacity .2s ease;
}

.site-logo-img:hover {
    opacity: 0.85;
}

/* Light mode: remove filter — logo shows exactly as designed */
.light-theme .site-logo-img {
    filter: none;
}

/* Legacy logo-wrap (keep for backwards compat, now unused) */
.logo-wrap {
    display: flex;
    align-items: center;
}


/* Search */
.header-search {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.header-search input {
    width: 100%;
    height: 42px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 13.5px;
    padding: 0 48px 0 18px;
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.header-search input::placeholder {
    color: var(--text-3);
}

.header-search input:focus {
    border-color: var(--border-highlight);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

.header-search button {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    width: 36px;
    background: var(--orange);
    color: white;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s var(--ease);
}

.header-search button:hover {
    background: var(--orange-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.hdr-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all .2s var(--ease);
    cursor: pointer;
}

.hdr-btn:hover {
    border-color: var(--border-highlight);
    color: var(--orange);
    background: var(--surface-3);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    height: 42px;
    background: var(--orange);
    color: white;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.cart-btn:hover {
    background: var(--orange-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.cart-btn .cart-badge {
    background: white;
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* ═══════════════════════════════════════
   CATEGORY NAV
═══════════════════════════════════════ */
.cat-nav {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
    display: none;
}

.cat-nav-list {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 4px;
    align-items: center;
    white-space: nowrap;
}

.cat-nav-list li a {
    display: block;
    padding: 11px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-2);
    border-bottom: 2px solid transparent;
    transition: color .2s var(--ease), border-color .2s var(--ease);
    letter-spacing: 0.3px;
}

.cat-nav-list li a:hover,
.cat-nav-list li a.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ═══════════════════════════════════════
   CONTAINER
═══════════════════════════════════════ */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════ */
.hero-wrap {
    padding: 24px 24px 0;
    max-width: var(--max-w);
    margin: 0 auto;
}

.hero-slider {
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    height: 400px;
    background: var(--surface-2);
    box-shadow: var(--shadow-card);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s var(--ease);
    display: none;
}

.hero-slide.active {
    opacity: 1;
    display: block;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider overlay gradient */
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 2;
}

/* Slider dots */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all .3s var(--ease);
}

.hero-dot.active {
    width: 24px;
    background: var(--orange);
}

/* Slider arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s var(--ease);
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: var(--orange);
}

.hero-arrow.prev {
    left: 16px;
}

.hero-arrow.next {
    right: 16px;
}

/* ═══════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════ */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 40px;
}

.section-heading h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading h2::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--orange);
    border-radius: 99px;
    flex-shrink: 0;
}

.section-heading a {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1.5px solid var(--border);
    padding: 6px 14px;
    border-radius: 999px;
    transition: all .2s ease;
    text-decoration: none;
}

.section-heading a:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}

/* ═══════════════════════════════════════
   CATEGORY CIRCLES
═══════════════════════════════════════ */
.category-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 10px 22px;
    margin: 20px 0;
}

.cat-circles {
    display: flex;
    gap: 20px;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0;
}

.cat-circles::-webkit-scrollbar {
    display: none;
}

.cat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    width: 110px;
    transition: transform .3s var(--ease);
}

.cat-circle:hover,
.cat-circle:active {
    transform: translateY(12px);
}

.cat-circle-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-circle-img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 2px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s var(--ease);
    position: absolute;
    z-index: 2;
}

.cat-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-circle-img i {
    font-size: 28px;
    color: var(--text-3);
    transition: color .25s var(--ease);
}

.cat-circle:hover .cat-circle-img {
    border-color: var(--orange);
    transform: scale(0.85);
}

.cat-circle:hover .cat-circle-img i {
    color: var(--orange);
}

.cat-circle-text-svg {
    position: absolute;
    width: 100px;
    height: 100px;
    top: -12px;
    left: -12px;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: all .3s var(--ease);
    animation: rotateText 10s linear infinite;
}

.cat-circle-text-svg text {
    fill: var(--orange);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cat-circle:hover .cat-circle-text-svg {
    opacity: 1;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.cat-circle-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--text-2);
    text-align: center;
    line-height: 1.3;
    transition: all .3s var(--ease);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cat-circle:hover .cat-circle-label {
    opacity: 0;
    transform: translateY(10px);
}

/* ═══════════════════════════════════════
   FEATURED SECTION
═══════════════════════════════════════ */
.featured-section {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 8px 36px 36px;
    margin: 0 0 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    position: relative;
}

.featured-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 24px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--border);
}

.featured-heading .heading-content h2 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-2);
    margin: 0;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-all {
    padding: 9px 20px;
    background: var(--surface-1);
    color: var(--text-1);
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all .25s ease;
    border: 1.5px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-view-all.icon-only {
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    justify-content: center;
}

.btn-view-all:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--orange-glow);
}

@media (max-width: 768px) {
    .featured-section {
        padding: 4px 16px 16px;
    }

    .featured-heading {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 0 12px;
        margin-top: 0 !important;
    }

    .featured-heading .heading-content h2 {
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════
   PRODUCT GRID
═══════════════════════════════════════ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ═══════════════════════════════════════
   INFINITE SCROLL
═══════════════════════════════════════ */
#load-more-trigger {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0 8px;
    min-height: 60px;
}

.infinite-loader {
    display: flex;
    gap: 8px;
    align-items: center;
}

.infinite-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    animation: infiniteBounce 1.2s ease-in-out infinite;
}

.infinite-loader span:nth-child(1) { animation-delay: 0s; }
.infinite-loader span:nth-child(2) { animation-delay: 0.2s; }
.infinite-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes infiniteBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40%           { transform: scale(1.0); opacity: 1; }
}

.infinite-end {
    font-size: 13px;
    color: var(--text-3);
    letter-spacing: 0.5px;
    padding: 8px 20px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ═══════════════════════════════════════
   PRODUCT CARD
═══════════════════════════════════════ */
.product-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-highlight);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: var(--orange);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--r-sm);
    letter-spacing: .8px;
    text-transform: uppercase;
}

.product-image {
    aspect-ratio: 1;
    background: var(--surface-2);
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

/* Quick-add overlay button */
.product-image .quick-add {
    position: absolute;
    inset-x: 0;
    bottom: 0;
    background: rgba(249,115,22,.92);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity .25s ease, transform .25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    border: none;
    width: 100%;
}

.product-card:hover .product-image .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-brand {
    font-size: 10px;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}

.product-title a {
    color: inherit;
}

.product-title a:hover {
    color: var(--orange);
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -.5px;
    margin-top: 4px;
}

/* ═══════════════════════════════════════
   PROMO BANNER CARD
═══════════════════════════════════════ */
.promo-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
    box-shadow: var(--shadow-card);
}

.promo-card img.promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 1;
    transition: transform .5s var(--ease), opacity .3s var(--ease);
}

.promo-card:hover img.promo-bg {
    transform: scale(1.04);
    opacity: 0.6;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 65%);
    z-index: 2;
}

.promo-card .promo-body {
    position: relative;
    z-index: 3;
    padding: 28px 24px;
}

.promo-card .promo-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    line-height: 1.25;
    margin-bottom: 10px;
}

.promo-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
    line-height: 1.5;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: white;
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s var(--ease), transform .2s var(--ease);
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-promo:hover {
    background: var(--orange-dark);
    color: white;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   SPLIT SECTION
═══════════════════════════════════════ */
.split-section {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
    }

    .promo-card {
        min-height: 260px;
    }
}

/* ═══════════════════════════════════════
   FEATURES BAR
═══════════════════════════════════════ */
.features-bar {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-right: 1px solid var(--border);
    transition: background .2s var(--ease);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: var(--surface-3);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--orange-glow);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--orange);
    flex-shrink: 0;
}

.feature-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 11px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   SPLIT SECTION & PROMO CARD
═══════════════════════════════════════ */
.split-section {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
    }
}

.promo-card {
    background: var(--surface-2);
    border-radius: var(--r-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
}

.promo-card .promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.promo-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
}

.promo-body {
    position: relative;
    z-index: 3;
    padding: 30px;
    color: white;
}

.promo-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.promo-card h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.promo-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 25px;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--orange);
    color: white;
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-weight: 700;
    text-decoration: none;
    transition: all .25s var(--ease);
}

.btn-promo:hover {
    background: #e66512;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.footer-body {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 56px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .footer-body {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col .footer-logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col .footer-logo-text span {
    color: var(--orange);
}

.footer-col p {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.75;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--text-2);
    transition: color .2s var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-3);
    flex-shrink: 0;
    transition: background .2s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--orange);
}

.footer-col ul li a:hover::before {
    background: var(--orange);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 18px 24px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   MOBILE NAV BAR
═══════════════════════════════════════ */
/* ═══════════════════════════════════════
   PREMIUM MOBILE NAV BAR
═══════════════════════════════════════ */
.premium-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    padding-bottom: env(safe-area-inset-bottom);
    background: transparent;
}

@media (max-width: 768px) {
    .premium-bottom-nav {
        display: block;
    }
}

.nav-items-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: rgba(var(--surface-1-rgb, 19, 19, 32), 0.85); /* fallback */
    background: var(--surface-1);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 65px;
    padding: 0 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 20%;
    height: 100%;
    color: var(--text-3);
    font-size: 10px;
    font-weight: 600;
    transition: all .2s var(--ease);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
}

.mob-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
    transition: color .2s var(--ease), transform .2s var(--ease);
}

.mob-nav-item.active,
.mob-nav-item:hover {
    color: var(--orange);
}

.mob-nav-item.active i {
    transform: translateY(-2px);
}

.icon-wrapper {
    position: relative;
}

.mob-nav-item .mob-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--orange);
    color: white;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.4);
}

/* Center FAB */
.nav-item-center {
    width: 20%;
    display: flex;
    justify-content: center;
    position: relative;
    top: -20px;
}

.nav-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 6px 16px var(--orange-glow), 0 2px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.nav-fab:active {
    transform: scale(0.92);
}

/* ═══════════════════════════════════════
   BOTTOM SHEETS (Premium Drawers)
═══════════════════════════════════════ */
.sheet-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9995;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.sheet-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface-1);
    border-top-left-radius: var(--r-xl);
    border-top-right-radius: var(--r-xl);
    z-index: 9996;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1); /* slight bounce */
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.bottom-sheet.show {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.sheet-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-1);
    margin: 0;
}

.close-sheet {
    background: var(--surface-3);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.sheet-body {
    overflow-y: auto;
    padding: 16px 24px 24px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.sheet-body::-webkit-scrollbar { display: none; }

/* Menu Sheet specific */
.sheet-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.sheet-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-2);
    border-radius: var(--r-md);
    color: var(--text-1);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: border-color .2s, background .2s;
}

.sheet-menu-item i {
    color: var(--orange);
    font-size: 16px;
}

/* Settings Sheet specific */
.settings-group {
    margin-bottom: 24px;
}

.settings-group:last-child {
    margin-bottom: 0;
}

.settings-group label {
    display: block;
    font-size: 12px;
    color: var(--text-3);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.segmented-control {
    display: flex;
    background: var(--surface-2);
    border-radius: var(--r-lg);
    padding: 4px;
    gap: 4px;
}

.seg-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 0;
    border-radius: var(--r-md);
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s var(--ease);
}

.seg-btn img {
    border-radius: 2px;
}

.seg-btn.active {
    background: var(--surface-1);
    color: var(--text-1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════
   MOBILE HEADER
═══════════════════════════════════════ */
.mobile-header-bar {
    display: none;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    flex-direction: column;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 999;
}

@media (max-width: 768px) {
    .mobile-header-bar {
        display: flex;
    }

    .site-header,
    .topbar {
        display: none;
    }

    .cat-nav {
        display: none;
    }
}

.mob-hdr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mob-hdr-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    flex: 1;
}

.mob-hdr-search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-1);
    font-family: var(--font);
    font-size: 13px;
    padding: 10px 14px;
    outline: none;
}

.mob-hdr-search input::placeholder {
    color: var(--text-3);
}

.mob-hdr-search button {
    background: var(--orange);
    color: white;
    border: none;
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

/* ═══════════════════════════════════════
   MOBILE DRAWER
═══════════════════════════════════════ */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(3px);
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(300px, 85vw);
    height: 100%;
    background: var(--surface-1);
    border-right: 1px solid var(--border);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: left .3s var(--ease);
    overflow-y: auto;
}

.mobile-drawer.open {
    left: 0;
}

.drawer-hdr {
    background: linear-gradient(135deg, var(--orange) 0%, #c2440a 100%);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 800;
    color: white;
    font-size: 15px;
    letter-spacing: 2px;
    flex-shrink: 0;
}

.drawer-hdr button {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background .2s;
}

.drawer-hdr button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    color: var(--text-2);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s var(--ease);
}

.drawer-nav-item:first-child {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
    border-bottom-color: rgba(249, 115, 22, 0.15);
    font-weight: 700;
}

.drawer-nav-item:hover {
    background: var(--surface-2);
    color: var(--orange);
    padding-left: 24px;
}

.drawer-nav-item i {
    font-size: 11px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-3);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-3);
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb span {
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-family: var(--font);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s var(--ease);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-glow);
}

.btn-danger {
    background: #ef4444;
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-1px);
}

.btn-success {
    background: #22c55e;
    color: white;
}

.btn-success:hover {
    background: #16a34a;
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 12px;
}

/* ═══════════════════════════════════════
   FORM INPUTS
═══════════════════════════════════════ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
}

.form-control {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-1);
    font-family: var(--font);
    font-size: 14px;
    padding: 11px 15px;
    width: 100%;
    outline: none;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-control::placeholder {
    color: var(--text-3);
}

.form-control:focus {
    border-color: var(--border-highlight);
    box-shadow: 0 0 0 3px var(--orange-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--surface-2);
    color: var(--text-1);
}

/* ═══════════════════════════════════════
   CARDS (Generic)
═══════════════════════════════════════ */
.card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}

/* ═══════════════════════════════════════
   BADGE
═══════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

.badge-orange {
    background: var(--orange-glow);
    color: var(--orange);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-green {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-red {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ═══════════════════════════════════════
   ALERTS / NOTIFICATIONS
═══════════════════════════════════════ */
.alert {
    border-radius: var(--r-md);
    padding: 14px 18px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #22c55e;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.alert-info {
    background: var(--orange-glow);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--orange);
}

/* ═══════════════════════════════════════
   TABLE
═══════════════════════════════════════ */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--surface-2);
    color: var(--text-3);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-2);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: var(--surface-2);
}

/* ═══════════════════════════════════════
   PAGINATION
═══════════════════════════════════════ */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--text-2);
    text-decoration: none;
    transition: all .2s var(--ease);
}

.pagination a:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--orange-glow);
}

.pagination .current,
.pagination .active {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}

/* ═══════════════════════════════════════
   PRODUCT DETAIL PAGE
═══════════════════════════════════════ */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    margin-top: 12px;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

.product-detail-img {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    aspect-ratio: 1;
}

.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-info h1 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-1);
    line-height: 1.3;
}

.product-detail-price {
    font-size: 32px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: -1px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    width: fit-content;
}

.quantity-input button {
    width: 40px;
    height: 42px;
    background: var(--surface-2);
    color: var(--text-2);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s var(--ease);
}

.quantity-input button:hover {
    background: var(--surface-3);
    color: var(--orange);
}

.quantity-input input {
    width: 52px;
    height: 42px;
    background: none;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    color: var(--text-1);
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font);
    outline: none;
}

.qty-minus,
.qty-plus {
    cursor: pointer;
}

/* ═══════════════════════════════════════
   CART PAGE
═══════════════════════════════════════ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-summary-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    position: sticky;
    top: 90px;
}

.order-summary-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-2);
    margin-bottom: 12px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800;
    color: var(--text-1);
    border-top: 1px solid var(--border);
    padding-top: 14px;
    margin-top: 6px;
}

.summary-total .price {
    color: var(--orange);
}

/* ═══════════════════════════════════════
   CATEGORY PAGE
═══════════════════════════════════════ */
.cat-page-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .cat-page-grid {
        grid-template-columns: 1fr;
    }
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sidebar-card ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-card ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    font-size: 13px;
    color: var(--text-2);
    border-radius: var(--r-sm);
    transition: all .2s var(--ease);
}

.sidebar-card ul li a:hover,
.sidebar-card ul li a.active {
    background: var(--orange-glow);
    color: var(--orange);
}

.sidebar-card ul li a span {
    font-size: 11px;
    color: var(--text-3);
    background: var(--surface-3);
    padding: 2px 7px;
    border-radius: 99px;
}

/* ═══════════════════════════════════════
   PAGE / 404
═══════════════════════════════════════ */
.page-hero {
    text-align: center;
    padding: 80px 24px;
}

.page-hero h1 {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    color: var(--text-1);
}

.page-hero p {
    font-size: 16px;
    color: var(--text-3);
    margin-top: 14px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ═══════════════════════════════════════
   CHECKOUT
═══════════════════════════════════════ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-section {
    margin-bottom: 24px;
}

.checkout-section h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
}

.checkout-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (max-width: 600px) {
    .checkout-fields {
        grid-template-columns: 1fr;
    }
}

.checkout-fields .full {
    grid-column: 1 / -1;
}

/* ═══════════════════════════════════════
   SUCCESS PAGE
═══════════════════════════════════════ */
.success-wrap {
    text-align: center;
    padding: 80px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #22c55e;
    margin: 0 auto 24px;
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--r-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.contact-info-item .ci-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: var(--orange-glow);
    border: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--orange);
    flex-shrink: 0;
}

.ci-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 3px;
}

.ci-text span {
    font-size: 13px;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   ADMIN / BACK OFFICE
═══════════════════════════════════════ */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--surface-1);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-main {
    background: var(--surface-0);
    padding: 24px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    transition: all .2s var(--ease);
    text-decoration: none;
    border-left: 3px solid transparent;
}

.admin-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 15px;
    color: var(--text-3);
    transition: color .2s;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    color: var(--orange);
    background: var(--orange-glow);
    border-left-color: var(--orange);
}

.admin-nav-item:hover i,
.admin-nav-item.active i {
    color: var(--orange);
}

.stat-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--orange-glow);
    border: 1px solid rgba(249, 115, 22, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--orange);
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-1);
    letter-spacing: -1px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 3px;
}

/* ═══════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════ */
#toast-container {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-1);
    box-shadow: var(--shadow-hover);
    animation: toastIn .3s var(--ease) forwards;
    pointer-events: all;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
}

.toast.success {
    border-left: 3px solid #22c55e;
}

.toast.error {
    border-left: 3px solid #ef4444;
}

.toast.info {
    border-left: 3px solid var(--orange);
}

.toast i.success {
    color: #22c55e;
}

.toast i.error {
    color: #ef4444;
}

.toast i.info {
    color: var(--orange);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* ═══════════════════════════════════════
   SEARCH RESULTS
═══════════════════════════════════════ */
.search-page-header {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.search-query {
    font-size: 14px;
    color: var(--text-3);
}

.search-query strong {
    color: var(--orange);
    font-size: 16px;
}

/* ═══════════════════════════════════════
   LOADING / SKELETON
═══════════════════════════════════════ */
@keyframes shimmer {
    from {
        background-position: -400px 0;
    }

    to {
        background-position: 400px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
    background-size: 400px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: var(--r-md);
}

/* ═══════════════════════════════════════
   UTILITY
═══════════════════════════════════════ */
.text-orange {
    color: var(--orange) !important;
}

.text-muted {
    color: var(--text-3) !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-48 {
    margin-top: 48px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.w-full {
    width: 100%;
}

.d-none {
    display: none !important;
}

/* ═══════════════════════════════════════
   HERO WRAPPER + RESPONSIVE ADJUSTMENTS
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-wrap {
        padding: 12px 16px 0;
    }

    .hero-slider {
        height: auto;
        aspect-ratio: 2.5 / 1;
        border-radius: var(--r-lg);
    }

    .container {
        padding: 0 16px;
    }

    .section-heading {
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .features-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: var(--surface-1);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        padding: 16px 4px;
        margin-top: 10px;
        gap: 0;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 0 2px;
        gap: 6px;
        border: none !important;
        background: transparent;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        margin: 0 auto;
    }

    .feature-text strong {
        font-size: 10px;
        display: block;
        line-height: 1;
        white-space: nowrap;
        letter-spacing: -0.3px;
    }

    .feature-text span {
        display: none;
    }

    .cat-circles {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .cat-circles::-webkit-scrollbar {
        display: none;
    }

    .cat-circle {
        flex: 0 0 75px;
        scroll-snap-align: start;
        width: 75px;
        gap: 8px;
    }

    .cat-circle-wrapper,
    .cat-circle-img {
        width: 64px;
        height: 64px;
        margin: 0 auto;
    }

    .cat-circle-img i {
        font-size: 24px;
    }

    .cat-circle-label {
        font-size: 10px;
        letter-spacing: -0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.2;
    }

    .cat-circle-text-svg {
        display: none !important;
    }

    .footer-body {
        padding: 40px 16px 28px;
    }

    .top-featured .products-grid article:nth-child(n+5) {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PWA INSTALL BANNER
═══════════════════════════════════════════════════════════════ */
.pwa-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10000;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.4s ease forwards;
    display: flex;
    justify-content: center;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    width: 100%;
    max-width: var(--max-w);
}

.pwa-icon-wrap img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.pwa-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pwa-text-wrap strong {
    font-size: 14px;
    color: var(--text-1);
}

.pwa-text-wrap span {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.3;
}

.pwa-install-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pwa-close-btn {
    background: transparent;
    border: none;
    color: var(--text-3);
}

/* ═══════════════════════════════════════
   HERO WRAPPER + RESPONSIVE ADJUSTMENTS
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-wrap {
        padding: 12px 16px 0;
    }

    .hero-slider {
        height: auto;
        aspect-ratio: 2.5 / 1;
        border-radius: var(--r-lg);
    }

    .container {
        padding: 0 16px;
    }

    .section-heading {
        margin-top: 28px;
        margin-bottom: 14px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .features-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        background: var(--surface-1);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        padding: 16px 4px;
        margin-top: 10px;
        gap: 0;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 0 2px;
        gap: 6px;
        border: none !important;
        background: transparent;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        margin: 0 auto;
    }

    .feature-text strong {
        font-size: 10px;
        display: block;
        line-height: 1;
        white-space: nowrap;
        letter-spacing: -0.3px;
    }

    .feature-text span {
        display: none;
    }

    .cat-circles {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .cat-circles::-webkit-scrollbar {
        display: none;
    }

    .cat-circle {
        flex: 0 0 75px;
        scroll-snap-align: start;
        width: 75px;
        gap: 8px;
    }

    .cat-circle-wrapper,
    .cat-circle-img {
        width: 64px;
        height: 64px;
        margin: 0 auto;
    }

    .cat-circle-img i {
        font-size: 24px;
    }

    .cat-circle-label {
        font-size: 10px;
        letter-spacing: -0.3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.2;
    }

    .cat-circle-text-svg {
        display: none !important;
    }

    .footer-body {
        padding: 40px 16px 28px;
    }

    .top-featured .products-grid article:nth-child(n+5) {
        display: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PWA INSTALL BANNER
═══════════════════════════════════════════════════════════════ */
.pwa-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--surface-1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10000;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.4s ease forwards;
    display: flex;
    justify-content: center;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 12px;
    width: 100%;
    max-width: var(--max-w);
}

.pwa-icon-wrap img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.pwa-text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pwa-text-wrap strong {
    font-size: 14px;
    color: var(--text-1);
}

.pwa-text-wrap span {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.3;
}

.pwa-install-btn {
    background: var(--orange);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pwa-close-btn {
    background: transparent;
    border: none;
    color: var(--text-3);
    font-size: 18px;
    padding: 0 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide account sidebar on mobile */
@media (max-width: 768px) {
    .account-sidebar {
        display: none !important;
    }
}
