/* ============================================================
   Phone Bazar Premium — Design System
   "Boutique Amber" — warm cream + charcoal + amber accent
   ============================================================ */

:root {
    /* Brand palette — warm boutique */
    --cream:       #FAF7F0;
    --cream-2:     #F4EFE3;
    --paper:       #FFFFFF;
    --ink:         #1C1917;
    --ink-2:       #44403C;
    --ink-3:       #78716C;
    --line:        #E7E5E0;
    --line-2:      #D6D3CC;

    --amber:       #D97706;
    --amber-deep:  #B45309;
    --amber-soft:  #FEF3C7;
    --amber-50:    #FFFBEB;

    --emerald:     #059669;
    --emerald-deep:#047857;
    --emerald-soft:#D1FAE5;

    --rose:        #E11D48;
    --rose-soft:   #FFE4E6;

    --violet:      #7C3AED;

    /* Gradients */
    --grad-warm:   linear-gradient(135deg, #FBBF24 0%, #D97706 50%, #92400E 100%);
    --grad-cream:  linear-gradient(180deg, #FAF7F0 0%, #F4EFE3 100%);
    --grad-ink:    linear-gradient(135deg, #1C1917 0%, #292524 100%);

    /* Shadows — soft & layered */
    --sh-xs:       0 1px 2px rgba(28, 25, 23, .04);
    --sh-sm:       0 2px 8px rgba(28, 25, 23, .05);
    --sh-md:       0 8px 24px rgba(28, 25, 23, .07);
    --sh-lg:       0 20px 50px rgba(28, 25, 23, .10);
    --sh-amber:    0 10px 30px rgba(217, 119, 6, .28);
    --sh-card:     0 2px 8px rgba(28, 25, 23, .04), 0 12px 32px rgba(28, 25, 23, .04);

    /* Radius */
    --r-sm:        10px;
    --r-md:        14px;
    --r-lg:        20px;
    --r-xl:        28px;
    --r-2xl:       36px;
    --r-full:      999px;

    /* Layout */
    --container:   1280px;
    --header-h:    72px;

    /* Motion */
    --ease:        cubic-bezier(.4, 0, .2, 1);
    --ease-out:    cubic-bezier(.16, 1, .3, 1);
    --spring:      cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv11', 'ss01', 'ss03';
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--amber); color: #fff; }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1rem;
}
@media (min-width: 768px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* ===== Top promo strip ===== */
.top-strip {
    background: var(--ink);
    color: var(--cream-2);
    font-size: .8rem;
    padding: .5rem 0;
    overflow: hidden;
}
.top-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.top-strip-promo {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: var(--amber-soft);
    font-weight: 600;
    animation: marquee 25s linear infinite;
}
.top-strip-promo i { color: var(--amber); font-size: .8rem; }
.top-strip-right { display: flex; gap: 1.25rem; align-items: center; }
.top-strip-link {
    color: var(--cream-2);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    transition: color .2s;
}
.top-strip-link:hover { color: var(--amber); }
@media (max-width: 767px) {
    .top-strip-right { display: none; }
}
@keyframes marquee {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* ===== Site Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 240, .85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-sm); }
.header-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--header-h);
    padding-block: .75rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
    font-weight: 800;
}
.logo-mark {
    width: 44px; height: 44px;
    background: var(--grad-ink);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    font-size: 1.3rem;
    box-shadow: var(--sh-sm);
    position: relative;
    overflow: hidden;
}
.logo-mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(217, 119, 6, .3), transparent 50%);
}
.logo-mark i { position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; }
.logo-text small { font-size: .68rem; color: var(--ink-3); font-weight: 600; }

@media (max-width: 600px) {
    .logo-text small { display: none; }
}

/* Search */
.search-bar {
    flex: 1 1 auto;
    max-width: 540px;
    display: flex;
    align-items: center;
    background: var(--paper);
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-full);
    padding: .25rem .25rem .25rem 1.25rem;
    transition: all .2s var(--ease);
}
.search-bar:focus-within {
    border-color: var(--amber);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, .10);
}
.search-bar .search-icon { color: var(--ink-3); font-size: 1rem; }
.search-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    padding: .55rem .65rem;
    font-size: .92rem;
    color: var(--ink);
}
.search-bar input::placeholder { color: var(--ink-3); }
.search-bar button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem 1.25rem;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: .85rem;
    transition: all .2s var(--ease);
}
.search-bar button:hover {
    background: var(--amber);
    transform: scale(1.02);
}
@media (max-width: 767px) {
    .search-bar--desktop { display: none; }
}
@media (min-width: 768px) {
    .search-bar--mobile { display: none; }
}

.search-mobile-wrap { padding: .5rem 1rem .25rem; }
@media (min-width: 768px) { .search-mobile-wrap { display: none; } }

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-left: auto;
    flex-shrink: 0;
}
.icon-btn {
    position: relative;
    width: 44px; height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    color: var(--ink);
    border-radius: 50%;
    border: 1.5px solid var(--line-2);
    transition: all .2s var(--ease);
    font-size: .95rem;
}
.icon-btn:hover {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
    transform: translateY(-2px);
}
.icon-btn .badge-dot {
    position: absolute;
    top: 6px; right: 6px;
    background: var(--amber);
    color: #fff;
    font-size: .58rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.icon-btn-text {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 44px;
    padding: 0 1rem;
    background: var(--paper);
    color: var(--ink);
    border-radius: var(--r-full);
    border: 1.5px solid var(--line-2);
    font-size: .85rem;
    font-weight: 700;
    transition: all .2s var(--ease);
}
.icon-btn-text:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--amber);
}
.icon-btn-text.wa { background: #22C55E; color: #fff; border-color: #22C55E; }
.icon-btn-text.wa:hover { background: #16A34A; border-color: #16A34A; color: #fff; }

@media (max-width: 768px) {
    .icon-btn-text .label { display: none; }
    .icon-btn-text { padding: 0; width: 44px; justify-content: center; }
}

/* Hamburger */
.hamburger {
    width: 44px; height: 44px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--line-2);
    cursor: pointer;
}
.hamburger span {
    width: 20px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) {
    .hamburger { display: flex; }
}

/* ===== Category nav (sticky below header) ===== */
.cat-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--header-h);
    z-index: 90;
}
.cat-nav-list {
    display: flex;
    gap: .25rem;
    padding-block: .5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.cat-nav-list::-webkit-scrollbar { display: none; }
.cat-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem 1rem;
    border-radius: var(--r-full);
    font-size: .84rem;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
    transition: all .2s var(--ease);
    position: relative;
}
.cat-nav-link:hover { color: var(--amber); background: var(--amber-50); }
.cat-nav-link.active {
    background: var(--ink);
    color: var(--cream);
}
.cat-nav-link .cat-icon { font-size: .9rem; }

/* ===== Mobile drawer ===== */
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%; max-width: 360px;
    background: var(--paper);
    z-index: 200;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .18);
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .4s var(--ease-out), visibility 0s linear .4s;
    overflow-y: auto;
    padding: 1.5rem 1.25rem;
}
.drawer.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .4s var(--ease-out);
}
.drawer-section { margin-bottom: 1.5rem; }
.drawer-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    color: var(--ink-3);
    margin-bottom: .75rem;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem .75rem;
    border-radius: var(--r-md);
    font-weight: 700;
    color: var(--ink);
    transition: all .2s var(--ease);
    font-size: .92rem;
}
.drawer-link:hover { background: var(--cream-2); color: var(--amber); }
.drawer-link i { color: var(--amber); width: 22px; text-align: center; }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
}
.drawer-backdrop.show { opacity: 1; visibility: visible; }
body.nav-locked { overflow: hidden; }

/* ============================================================
   HERO — full-bleed carousel with Ken Burns effect
============================================================ */
.hero {
    position: relative;
    background: var(--ink);
    overflow: hidden;
    margin-bottom: 0;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(380px, 56vh, 580px);
    overflow: hidden;
}
@media (min-width: 1024px) {
    .hero-slider { height: clamp(480px, 64vh, 660px); }
}
.hero-track {
    display: flex;
    height: 100%;
    transition: transform .8s var(--ease-out);
    will-change: transform;
}
.hero-slide {
    flex: 0 0 100%;
    position: relative;
    height: 100%;
    display: block;
    overflow: hidden;
    color: inherit;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 8s ease-out;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 25, 23, .88) 0%, rgba(28, 25, 23, .55) 45%, rgba(28, 25, 23, .15) 100%);
}
@media (max-width: 767px) {
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(28, 25, 23, .3) 0%, rgba(28, 25, 23, .9) 65%, rgba(28, 25, 23, .98) 100%);
    }
}
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5rem;
    max-width: 720px;
    color: #fff;
}
@media (min-width: 768px) {
    .hero-slide-content { padding: 0 4rem; }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--amber);
    color: var(--ink);
    padding: .4rem .9rem;
    border-radius: var(--r-full);
    font-size: .72rem;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    box-shadow: var(--sh-amber);
}
.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.025em;
    margin-bottom: 1rem;
    color: #fff;
}
.hero-title .accent { color: var(--amber); }
.hero-subtitle {
    font-size: clamp(.95rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, .82);
    line-height: 1.6;
    max-width: 540px;
    margin-bottom: 2rem;
    font-weight: 500;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--amber);
    color: var(--ink);
    padding: .9rem 1.85rem;
    border-radius: var(--r-full);
    font-weight: 800;
    font-size: .95rem;
    width: fit-content;
    transition: all .25s var(--spring);
    box-shadow: var(--sh-amber);
}
.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.06);
}
.hero-cta i { transition: transform .2s; }
.hero-cta:hover i { transform: translateX(4px); }

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.5rem;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: .92rem;
    margin-left: .5rem;
    transition: all .25s var(--ease);
}
.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .6);
}

/* Slider controls */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    transition: all .25s var(--ease);
    font-size: 1rem;
}
.hero-arrow:hover {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
    transform: translateY(-50%) scale(1.08);
}
.hero-arrow.prev { left: 1.25rem; }
.hero-arrow.next { right: 1.25rem; }
@media (max-width: 767px) {
    .hero-arrow { width: 38px; height: 38px; font-size: .8rem; }
    .hero-arrow.prev { left: .5rem; }
    .hero-arrow.next { right: .5rem; }
}

.hero-dots {
    position: absolute;
    bottom: 1.75rem; left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 5;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: all .3s var(--ease);
    border: none;
    padding: 0;
}
.hero-dot.active {
    width: 30px;
    border-radius: var(--r-full);
    background: var(--amber);
}

/* ============================================================
   SERVICES STRIP — premium icon strip
============================================================ */
.services {
    background: var(--paper);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--line);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(6, 1fr); } }

.service {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .25rem;
    transition: transform .2s var(--ease);
}
.service:hover { transform: translateY(-2px); }
.service-ico {
    width: 42px; height: 42px;
    background: var(--amber-50);
    color: var(--amber-deep);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.service-text { display: flex; flex-direction: column; line-height: 1.25; }
.service-text strong { font-size: .82rem; font-weight: 700; color: var(--ink); }
.service-text small { font-size: .68rem; color: var(--ink-3); font-weight: 500; }
@media (max-width: 480px) {
    .service-ico { width: 36px; height: 36px; font-size: .9rem; }
    .service-text strong { font-size: .74rem; }
    .service-text small { font-size: .62rem; }
}

/* ============================================================
   SECTION HEADER — premium with accent bar
============================================================ */
.sec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.sec-title-wrap { display: flex; flex-direction: column; gap: .3rem; }
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 800;
    color: var(--amber-deep);
    text-transform: uppercase;
    letter-spacing: .08em;
}
.sec-eyebrow::before {
    content: '';
    width: 20px; height: 2px;
    background: var(--amber);
    border-radius: 2px;
}
.sec-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -.02em;
}
.sec-sub {
    font-size: .88rem;
    color: var(--ink-2);
    max-width: 540px;
    line-height: 1.55;
}
.sec-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.2rem;
    background: var(--paper);
    color: var(--ink);
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-full);
    font-size: .85rem;
    font-weight: 700;
    transition: all .2s var(--ease);
    white-space: nowrap;
}
.sec-cta:hover {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
    transform: translateX(4px);
}
.sec-cta i { font-size: .75rem; }

/* ============================================================
   PRODUCT CARD — premium boutique style
============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}
@media (min-width: 640px)  { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.product-card {
    position: relative;
    background: var(--paper);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: all .35s var(--ease-out);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--amber);
}
.product-card.out-of-stock { opacity: .85; }

.card-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 50% 35%, var(--paper) 0%, var(--cream-2) 80%);
    overflow: hidden;
}
.card-img-wrap img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform .5s var(--ease-out);
}
.product-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Floating action buttons on image */
.card-quick-actions {
    position: absolute;
    top: 1rem; right: 1rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    z-index: 3;
    opacity: 0;
    transform: translateX(10px);
    transition: all .3s var(--ease-out);
}
.product-card:hover .card-quick-actions {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .card-quick-actions { opacity: 1; transform: translateX(0); }
}
.quick-btn {
    width: 36px; height: 36px;
    background: var(--paper);
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    box-shadow: var(--sh-sm);
    border: 1px solid var(--line);
    transition: all .2s var(--ease);
}
.quick-btn:hover {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
}
.quick-btn.active { background: var(--amber); color: #fff; border-color: var(--amber); }

/* Badges on image */
.card-badges {
    position: absolute;
    top: 1rem; left: 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    z-index: 2;
    pointer-events: none;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .28rem .65rem;
    border-radius: var(--r-full);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.3;
    backdrop-filter: blur(8px);
    box-shadow: var(--sh-xs);
    white-space: nowrap;
}
.pill-preowned { background: rgba(5, 150, 105, .92); color: #fff; }
.pill-new      { background: var(--amber); color: var(--ink); }
.pill-flash    { background: var(--ink); color: var(--amber); }
.pill-featured { background: rgba(124, 58, 237, .92); color: #fff; }
.pill-discount { background: rgba(225, 29, 72, .92); color: #fff; }
.pill-oos      { background: rgba(28, 25, 23, .82); color: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }

/* Card body */
.card-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .4rem;
}
.card-brand {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .68rem;
    color: var(--ink-3);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.card-brand::before {
    content: '';
    width: 14px; height: 2px;
    background: var(--amber);
    border-radius: 2px;
}
.card-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.card-title a:hover { color: var(--amber-deep); }

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .1rem;
}
.card-spec {
    display: inline-flex;
    padding: .15rem .5rem;
    background: var(--cream-2);
    border-radius: 6px;
    font-size: .65rem;
    color: var(--ink-2);
    font-weight: 600;
}

.card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem;
    margin-top: auto;
    padding-top: .4rem;
    flex-wrap: wrap;
}
.card-price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    flex-wrap: wrap;
}
.price-now {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
}
.price-was {
    font-size: .76rem;
    color: var(--ink-3);
    text-decoration: line-through;
    font-weight: 600;
}
.save-pill {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    background: var(--amber-soft);
    color: var(--amber-deep);
    border: 1px solid #FCD34D;
    border-radius: var(--r-full);
    padding: .15rem .55rem;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1.3;
}

.card-stock {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .68rem;
    font-weight: 700;
}
.card-stock.in  { color: var(--emerald-deep); }
.card-stock.low { color: var(--amber-deep); }
.card-stock.out { color: var(--rose); }
.card-stock i { font-size: .6rem; }

.card-cta {
    margin-top: .65rem;
    display: flex;
    gap: .5rem;
}
.btn-card {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem .5rem;
    border-radius: var(--r-full);
    font-size: .76rem;
    font-weight: 800;
    transition: all .2s var(--ease);
    white-space: nowrap;
    letter-spacing: .01em;
}
.btn-card-primary {
    background: var(--ink);
    color: var(--amber);
    border: 1.5px solid var(--ink);
}
.btn-card-primary:hover {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
    transform: translateY(-2px);
    box-shadow: var(--sh-amber);
}
.btn-card-outline {
    background: var(--paper);
    color: var(--ink);
    border: 1.5px solid var(--line-2);
}
.btn-card-outline:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--amber);
}
.btn-card.disabled {
    background: var(--cream-2);
    color: var(--ink-3);
    border-color: var(--line);
    cursor: not-allowed;
}

/* ============================================================
   SLIDER (horizontal scroll)
============================================================ */
.slider-wrap {
    position: relative;
    margin: 0 -.5rem;
    padding: 0 .5rem;
}
.slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 230px;
    gap: .9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 1.25rem;
    scroll-padding-inline: .5rem;
}
.slider::-webkit-scrollbar { display: none; }
@media (min-width: 640px)  { .slider { grid-auto-columns: 250px; } }
@media (min-width: 1024px) { .slider { grid-auto-columns: 290px; gap: 1.25rem; } }
.slider-item { scroll-snap-align: start; }

.slider-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    background: var(--paper);
    color: var(--ink);
    border: 1.5px solid var(--line-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all .2s var(--ease);
    font-size: .9rem;
    box-shadow: var(--sh-md);
}
.slider-arrow:hover {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
}
.slider-arrow.prev { left: -10px; }
.slider-arrow.next { right: -10px; }
@media (max-width: 1023px) { .slider-arrow { display: none; } }

/* ============================================================
   CATEGORY CIRCLES
============================================================ */
.cat-circles {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 110px;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: .5rem 0 1rem;
    scroll-snap-type: x mandatory;
}
.cat-circles::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .cat-circles { grid-auto-columns: 130px; } }

.cat-circle {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem .5rem;
    transition: all .25s var(--ease);
}
.cat-circle:hover { transform: translateY(-3px); }
.cat-circle-img {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: .65rem;
    transition: all .3s var(--ease);
    box-shadow: var(--sh-sm);
}
.cat-circle:hover .cat-circle-img {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
    transform: scale(1.05);
}
.cat-circle-name {
    font-size: .8rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}
.cat-circle-count {
    font-size: .68rem;
    color: var(--ink-3);
    font-weight: 600;
}
@media (max-width: 480px) {
    .cat-circle-img { width: 72px; height: 72px; font-size: 1.8rem; }
}

/* ============================================================
   BRAND STRIP — premium chips
============================================================ */
.brand-chips {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: .25rem 0 1rem;
}
.brand-chips::-webkit-scrollbar { display: none; }
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .65rem 1.2rem;
    background: var(--paper);
    border: 1.5px solid var(--line-2);
    border-radius: var(--r-full);
    font-size: .85rem;
    font-weight: 700;
    color: var(--ink-2);
    white-space: nowrap;
    transition: all .2s var(--ease);
}
.brand-chip:hover, .brand-chip.active {
    background: var(--ink);
    color: var(--amber);
    border-color: var(--ink);
}
.brand-chip i { font-size: .9rem; }

/* ============================================================
   PERKS (pre-owned benefits)
============================================================ */
.perks {
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--r-2xl);
    padding: 2rem;
    margin: 0 0 2rem;
}
.perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
@media (min-width: 768px) { .perks-grid { grid-template-columns: repeat(4, 1fr); } }
.perk {
    display: flex;
    align-items: center;
    gap: .85rem;
}
.perk-ico {
    width: 48px; height: 48px;
    background: rgba(217, 119, 6, .15);
    color: var(--amber);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.perk strong { display: block; font-size: .88rem; font-weight: 700; color: var(--cream); }
.perk small { font-size: .72rem; color: rgba(250, 247, 240, .65); }
@media (max-width: 600px) {
    .perks { padding: 1.25rem; border-radius: var(--r-xl); }
    .perk-ico { width: 38px; height: 38px; font-size: 1rem; }
    .perk strong { font-size: .8rem; }
    .perk small { font-size: .65rem; }
}

/* ============================================================
   FEATURE BANNER (split layout)
============================================================ */
.feature-banner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}
@media (min-width: 768px) {
    .feature-banner { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.feature-card {
    position: relative;
    background: var(--ink);
    border-radius: var(--r-2xl);
    padding: 2rem 2rem;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--cream);
}
.feature-card.amber { background: linear-gradient(135deg, #FBBF24 0%, #D97706 50%, #92400E 100%); color: var(--ink); }
.feature-card.emerald { background: linear-gradient(135deg, #6EE7B7 0%, #059669 50%, #047857 100%); color: #fff; }
.feature-eyebrow {
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .8;
    margin-bottom: .5rem;
}
.feature-title {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: .5rem;
    letter-spacing: -.02em;
}
.feature-desc { font-size: .88rem; opacity: .85; line-height: 1.5; max-width: 90%; }
.feature-card .feature-cta {
    margin-top: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255, 255, 255, .15);
    border: 1px solid rgba(255, 255, 255, .25);
    color: inherit;
    padding: .55rem 1.1rem;
    border-radius: var(--r-full);
    font-size: .82rem;
    font-weight: 700;
    width: fit-content;
    transition: all .2s var(--ease);
}
.feature-card .feature-cta:hover { background: rgba(255, 255, 255, .25); transform: translateX(3px); }
.feature-card.amber .feature-cta { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.feature-card.amber .feature-cta:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.feature-card.emerald .feature-cta { background: var(--ink); color: #6EE7B7; border-color: var(--ink); }

/* Decorative shapes */
.feature-card::after {
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 140px; height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    pointer-events: none;
}
.feature-card::before {
    content: '';
    position: absolute;
    right: 30px; bottom: -40px;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    pointer-events: none;
}

/* ============================================================
   STATS BAND
============================================================ */
.stats-band {
    background: var(--grad-ink);
    color: var(--cream);
    padding: 2.5rem 0;
    text-align: center;
    margin: 2rem 0;
    border-radius: var(--r-2xl);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat strong {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--amber);
    letter-spacing: -.02em;
    line-height: 1;
    margin-bottom: .35rem;
}
.stat span { font-size: .82rem; color: rgba(250, 247, 240, .8); font-weight: 600; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: var(--ink);
    color: var(--cream);
    padding: 3rem 0 0;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand strong { font-size: 1.3rem; }
.footer-brand p {
    color: rgba(250, 247, 240, .7);
    font-size: .88rem;
    line-height: 1.65;
    margin: .85rem 0 1.25rem;
    max-width: 320px;
}
.footer-social {
    display: flex;
    gap: .5rem;
}
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(250, 247, 240, .08);
    color: var(--cream);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    transition: all .2s var(--ease);
}
.footer-social a:hover {
    background: var(--amber);
    color: var(--ink);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: .92rem;
    font-weight: 800;
    color: var(--cream);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.footer-col ul li {
    margin-bottom: .55rem;
}
.footer-col ul li a {
    color: rgba(250, 247, 240, .7);
    font-size: .85rem;
    transition: all .2s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-col ul li i { color: var(--amber); font-size: .65rem; }

.footer-contact li {
    color: rgba(250, 247, 240, .75);
    font-size: .85rem;
    margin-bottom: .65rem;
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    line-height: 1.5;
}
.footer-contact i { color: var(--amber); margin-top: .15rem; }

.footer-bottom {
    border-top: 1px solid rgba(250, 247, 240, .12);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: .8rem;
    color: rgba(250, 247, 240, .6);
}

/* Newsletter form */
.newsletter-form {
    display: flex;
    background: rgba(250, 247, 240, .08);
    border: 1px solid rgba(250, 247, 240, .15);
    border-radius: var(--r-full);
    padding: .25rem;
    margin-top: 1rem;
    max-width: 320px;
}
.newsletter-form input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--cream);
    padding: .55rem .85rem;
    font-size: .85rem;
}
.newsletter-form input::placeholder { color: rgba(250, 247, 240, .5); }
.newsletter-form button {
    background: var(--amber);
    color: var(--ink);
    padding: .55rem 1rem;
    border-radius: var(--r-full);
    font-weight: 700;
    font-size: .8rem;
    transition: all .2s var(--ease);
}
.newsletter-form button:hover { background: var(--cream); }

/* ============================================================
   FLOATING WHATSAPP + SCROLL TOP
============================================================ */
.float-wa {
    position: fixed;
    bottom: 1.25rem; right: 1.25rem;
    width: 56px; height: 56px;
    background: #22C55E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 80;
    box-shadow: 0 8px 24px rgba(34, 197, 94, .4);
    transition: all .25s var(--spring);
}
.float-wa:hover { transform: scale(1.08); }
.float-wa .pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22C55E;
    animation: pulse 2s infinite;
    z-index: -1;
}
@keyframes pulse {
    0%   { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.scroll-top {
    position: fixed;
    bottom: 1.25rem; left: 1.25rem;
    width: 44px; height: 44px;
    background: var(--ink);
    color: var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    z-index: 80;
    box-shadow: var(--sh-md);
    opacity: 0;
    visibility: hidden;
    transition: all .3s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ============================================================
   MOBILE BOTTOM NAV
============================================================ */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: .5rem .35rem calc(.5rem + env(safe-area-inset-bottom, 0px));
    z-index: 70;
}
.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .35rem .15rem;
    color: var(--ink-3);
    font-size: .65rem;
    font-weight: 700;
    transition: all .2s var(--ease);
}
.bottom-nav-item i { font-size: 1.15rem; }
.bottom-nav-item.active { color: var(--amber); }
.bottom-nav-item.highlight {
    position: relative;
    margin-top: -22px;
}
.bottom-nav-item.highlight .ico-wrap {
    background: var(--ink);
    color: var(--amber);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--sh-md);
    border: 3px solid var(--cream);
}
.bottom-nav-item.highlight i { font-size: 1.2rem; }
@media (min-width: 1024px) { .bottom-nav { display: none; } }
@media (min-width: 768px) { .bottom-nav-item { font-size: .72rem; } }

@media (max-width: 767px) {
    body { padding-bottom: 70px; }
}

/* ============================================================
   SECTION SPACING
============================================================ */
.section { padding: 2.5rem 0; }
@media (min-width: 768px) { .section { padding: 3.5rem 0; } }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--paper);
    border-radius: var(--r-2xl);
    border: 1px dashed var(--line-2);
}
.empty-state i {
    font-size: 3rem;
    color: var(--ink-3);
    margin-bottom: 1rem;
    opacity: .5;
}
.empty-state h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: .35rem; }
.empty-state p { color: var(--ink-2); font-size: .9rem; max-width: 360px; margin: 0 auto 1.25rem; }

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Filter bar */
.filter-bar {
    background: var(--paper);
    border-radius: var(--r-xl);
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--line);
    box-shadow: var(--sh-xs);
    margin-bottom: 1.5rem;
}
.filter-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
@media (min-width: 768px) {
    .filter-form { grid-template-columns: 1fr 1.8fr auto auto; align-items: end; }
}
.filter-group { display: flex; flex-direction: column; gap: .3rem; }
.filter-group label {
    font-size: .68rem;
    font-weight: 800;
    color: var(--ink-3);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.filter-group select, .filter-input-wrap input {
    width: 100%;
    padding: .7rem .95rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-md);
    background: var(--cream);
    font-size: .88rem;
    color: var(--ink);
    transition: all .2s var(--ease);
    font-family: inherit;
    font-weight: 500;
}
.filter-group select:focus, .filter-input-wrap input:focus {
    outline: none;
    border-color: var(--amber);
    background: var(--paper);
    box-shadow: 0 0 0 4px rgba(217, 119, 6, .08);
}
.filter-input-wrap { position: relative; }
.filter-input-wrap i {
    position: absolute;
    left: .9rem; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-3);
    font-size: .9rem;
}
.filter-input-wrap input { padding-left: 2.4rem; }
.filter-actions { display: flex; gap: .5rem; }
.btn-filter, .btn-clear {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .75rem 1.25rem;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: .85rem;
    transition: all .2s var(--ease);
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn-filter { background: var(--ink); color: var(--amber); }
.btn-filter:hover { background: var(--amber); color: var(--ink); }
.btn-clear { background: var(--cream-2); color: var(--ink-2); border-color: var(--line-2); }
.btn-clear:hover { background: var(--rose-soft); color: var(--rose); border-color: var(--rose); }

/* Toast notifications */
.toast-wrap {
    position: fixed;
    top: 1.25rem; right: 1.25rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-width: 360px;
}
.toast {
    display: flex;
    align-items: center;
    gap: .65rem;
    background: var(--paper);
    color: var(--ink);
    padding: .85rem 1.1rem;
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    border-left: 4px solid var(--amber);
    font-size: .88rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(40px);
    transition: all .3s var(--ease-out);
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast.hide { opacity: 0; transform: translateX(40px); }
.toast.success { border-color: var(--emerald); }
.toast.error   { border-color: var(--rose); }
.toast.warning { border-color: var(--amber); }
