/* =====================================================================
   BEAUTY LINK — BRAND DESIGN SYSTEM
   Loaded on every surface: public site, account pages, checkout.
   Admin/POS/HR dashboards (Phase 2+) reuse these same tokens.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,500&family=Jost:wght@400;500;600;700&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    /* ---- Brand core (fixed — do not change without updating the logo too) ---- */
    --brand-primary: #1E1B5C;
    --brand-accent: #EC168C;
    --brand-background: #F8F8FC;
    --brand-surface: #FFFFFF;
    --brand-text: #1E1B5C;
    --brand-muted: #6B6B7A;
    --brand-border: #E7E7EF;
    --brand-success: #198754;
    --brand-warning: #F4A100;
    --brand-danger: #DC3545;
    --brand-pink-bg: #FFF2F8;

    /* ---- Derived tints/shades (computed from the two brand colors above) ---- */
    --brand-primary-hover: #14123F;
    --brand-primary-soft: #E7E6F2;
    --brand-accent-hover: #C10F73;
    --brand-accent-soft: #FFE1F0;
    --brand-ink: #120F3D;               /* near-black navy for high-contrast text on light bg */

    /* ---- Typography ---- */
    --font-display: 'Bodoni Moda', 'Noto Serif Bengali', Georgia, serif;
    --font-body: 'Jost', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-bn: 'Hind Siliguri', 'Jost', sans-serif;

    /* ---- Shape / elevation ---- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(30, 27, 92, 0.06);
    --shadow-md: 0 12px 28px rgba(30, 27, 92, 0.10);
    --shadow-lg: 0 24px 48px rgba(30, 27, 92, 0.14);
    --shadow-glow: 0 10px 30px rgba(236, 22, 140, 0.25);
    --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* =====================================================================
   RESET / BASE
   ===================================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
    font-family: var(--font-body);
    color: var(--brand-text);
    background: var(--brand-background);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
    font-family: var(--font-display);
    color: var(--brand-ink);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

a { color: var(--brand-primary); text-decoration: none; }
a:hover { color: var(--brand-accent); }

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

:focus-visible {
    outline: 2.5px solid var(--brand-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.lang-bn { font-family: var(--font-bn); }

/* Eyebrow / small caps label used above section headings */
.eyebrow {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--brand-accent);
    display: inline-block;
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
    margin-bottom: 0.4rem;
}
.section-subtitle {
    color: var(--brand-muted);
    max-width: 560px;
}
.section-pad { padding-block: clamp(2.5rem, 2rem + 2vw, 4.5rem); }

/* =====================================================================
   SIGNATURE MOTIF — soft "blend" gradient blobs
   A recurring nod to the core beauty ritual of blending shade/tone —
   used behind the hero, section headers, and empty states.
   ===================================================================== */
.blend-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.blend-blob--pink { background: radial-gradient(circle at 30% 30%, #FF6FB8, var(--brand-accent) 70%); }
.blend-blob--navy { background: radial-gradient(circle at 60% 40%, #4A45A8, var(--brand-primary) 75%); }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-pill);
    padding: 0.72rem 1.6rem;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
    border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-brand-accent {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn-brand-accent:hover { background: var(--brand-accent-hover); color: #fff; box-shadow: 0 14px 34px rgba(236,22,140,0.32); }
.btn-brand-accent:disabled, .btn-brand-accent.disabled { background: #F3B9D8; box-shadow: none; cursor: not-allowed; }

.btn-brand-primary {
    background: var(--brand-primary);
    color: #fff;
}
.btn-brand-primary:hover { background: var(--brand-primary-hover); color: #fff; }

.btn-outline-brand {
    background: transparent;
    color: var(--brand-primary);
    border-color: var(--brand-border);
}
.btn-outline-brand:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }

.btn-ghost-accent {
    background: var(--brand-accent-soft);
    color: var(--brand-accent-hover);
}
.btn-ghost-accent:hover { background: var(--brand-accent); color: #fff; }

.btn-sm { padding: 0.45rem 1.05rem; font-size: 0.875rem; }
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-icon-circle {
    width: 44px; height: 44px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1.5px solid var(--brand-border); color: var(--brand-primary);
    transition: var(--transition);
}
.btn-icon-circle:hover { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.btn-icon-circle.is-active { background: var(--brand-accent-soft); border-color: var(--brand-accent); color: var(--brand-accent-hover); }

/* =====================================================================
   BADGES
   ===================================================================== */
.badge-pill { border-radius: var(--radius-pill); font-weight: 600; font-size: 0.72rem; padding: 0.32em 0.75em; letter-spacing: 0.02em; }
.badge-sale { background: var(--brand-accent); color: #fff; }
.badge-new { background: var(--brand-primary); color: #fff; }
.badge-outofstock { background: #F1F1F5; color: var(--brand-muted); }
.badge-lowstock { background: #FFF4E0; color: #9A6300; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
    background: var(--brand-surface);
    border-bottom: 1px solid var(--brand-border);
    position: sticky; top: 0; z-index: 1030;
}
.topbar {
    background: var(--brand-primary);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
}
.topbar a { color: #fff; }

.brand-logo img { height: 52px; width: 52px; object-fit: contain; }
.brand-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--brand-ink);
    line-height: 1.1;
}
.brand-wordmark small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-accent);
    font-weight: 600;
}

.main-nav a {
    color: var(--brand-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--brand-accent); transition: width var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--brand-accent); }

.header-search {
    background: var(--brand-background);
    border: 1.5px solid var(--brand-border);
    border-radius: var(--radius-pill);
}
.header-search input {
    background: transparent; border: none; outline: none;
    font-family: var(--font-body); font-size: 0.92rem; width: 100%;
}

.cart-count-bubble {
    position: absolute; top: -4px; right: -6px;
    background: var(--brand-accent); color: #fff;
    font-size: 0.66rem; font-weight: 700;
    min-width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--brand-primary); color: rgba(255,255,255,0.75); }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }
.social-circle {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08); color: #fff; transition: var(--transition);
}
.social-circle:hover { background: var(--brand-accent); color: #fff; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--brand-pink-bg) 100%);
}
.hero-copy h1 { font-size: clamp(2.1rem, 1.7rem + 2.4vw, 3.4rem); }
.hero-copy .lead { color: var(--brand-muted); font-size: 1.08rem; max-width: 480px; }
.hero-stats { gap: 1.75rem; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--brand-primary); font-weight: 600; }
.hero-stats .stat-label { font-size: 0.78rem; color: var(--brand-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-primary), #423DAA 60%, var(--brand-accent) 130%);
}
.hero-visual .logo-mark { width: 46%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25)); }

/* =====================================================================
   CATEGORY TILES
   ===================================================================== */
.category-tile {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    display: flex; align-items: flex-end;
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-tile .tile-bg { position: absolute; inset: 0; }
.category-tile .tile-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,27,92,0) 40%, rgba(18,15,61,0.75) 100%); }
.category-tile .tile-label { position: relative; padding: 1.1rem; font-weight: 600; font-family: var(--font-body); }

/* =====================================================================
   PRODUCT CARD
   ===================================================================== */
.product-card {
    background: var(--brand-surface);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.product-card .thumb-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--brand-pink-bg);
    overflow: hidden;
}
.product-card .thumb-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity var(--transition), transform 500ms ease;
}
.product-card .thumb-wrap img.thumb-secondary {
    position: absolute; inset: 0; opacity: 0;
}
.product-card:hover .thumb-secondary { opacity: 1; }
.product-card:hover .thumb-primary { opacity: 0; }
.product-card:hover .thumb-wrap img { transform: scale(1.04); }

.product-card .card-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.product-card .quick-actions {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(6px);
    transition: var(--transition);
}
.product-card:hover .quick-actions { opacity: 1; transform: translateX(0); }
.product-card .quick-actions .btn-icon-circle { width: 38px; height: 38px; box-shadow: var(--shadow-sm); }

.product-card .card-body-custom { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-card .cat-label { font-size: 0.72rem; color: var(--brand-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.product-card .prod-name { font-family: var(--font-body); font-weight: 600; font-size: 0.96rem; color: var(--brand-ink); margin: 0.15rem 0 0.35rem; }
.product-card .prod-name a { color: inherit; }
.product-card .prod-name a:hover { color: var(--brand-accent); }

.price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-top: auto; }
.price-now { font-weight: 700; color: var(--brand-primary); font-size: 1.05rem; }
.price-was { color: var(--brand-muted); text-decoration: line-through; font-size: 0.85rem; }
.discount-tag { color: var(--brand-accent); font-size: 0.78rem; font-weight: 600; }

.rating-stars { color: var(--brand-warning); font-size: 0.8rem; letter-spacing: 1px; }
.rating-stars .star-empty { color: #E2E2EA; }

.add-to-cart-mini {
    margin-top: 0.65rem;
    width: 100%;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border-radius: var(--radius-pill);
    font-size: 0.85rem; font-weight: 600;
    padding: 0.5rem;
    border: none;
    transition: var(--transition);
}
.add-to-cart-mini:hover { background: var(--brand-accent); color: #fff; }

/* =====================================================================
   WATCH AND BUY — shoppable video carousel
   ===================================================================== */
.wnb-section { background: #fff; position: relative; }

.wnb-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 6px 6px 20px;
    margin: 0 -6px;
    cursor: grab;
    scrollbar-width: none;
}
.wnb-track::-webkit-scrollbar { display: none; }
.wnb-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.wnb-track.is-dragging .wnb-card { pointer-events: none; }

.wnb-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: var(--brand-ink);
    box-shadow: var(--shadow-sm);
    aspect-ratio: 9 / 16;
}
@media (max-width: 480px) { .wnb-card { width: 78vw; max-width: 300px; } }

.wnb-card video, .wnb-card .wnb-poster {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.wnb-card .wnb-poster { transition: opacity var(--transition); }
.wnb-card.is-playing .wnb-poster { opacity: 0; pointer-events: none; }

.wnb-play-btn {
    position: absolute; inset: 0; margin: auto; width: 58px; height: 58px;
    border-radius: 50%; background: rgba(255,255,255,0.92);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-accent); font-size: 1.3rem; z-index: 3;
    transition: var(--transition); border: none;
}
.wnb-card.is-playing .wnb-play-btn { opacity: 0; pointer-events: none; transform: scale(0.85); }
.wnb-card:hover .wnb-play-btn { transform: scale(1.08); }

.wnb-gradient-top { position: absolute; top: 0; left: 0; right: 0; height: 90px; background: linear-gradient(180deg, rgba(0,0,0,0.45), transparent); z-index: 2; }
.wnb-gradient-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(0deg, rgba(0,0,0,0.82), transparent); z-index: 2; }

.wnb-controls-top { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 4; display: flex; justify-content: space-between; }
.wnb-mute-btn {
    width: 30px; height: 30px; border-radius: 50%; border: none;
    background: rgba(18,15,61,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}

.wnb-progress-wrap { position: absolute; top: 8px; left: 10px; right: 10px; height: 3px; background: rgba(255,255,255,0.3); border-radius: 2px; z-index: 4; overflow: hidden; }
.wnb-progress-bar { height: 100%; width: 0%; background: #fff; border-radius: 2px; }

.wnb-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 12px; color: #fff; }
.wnb-product-row { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); border-radius: var(--radius-md); padding: 6px; margin-bottom: 8px; }
.wnb-product-row img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; background: #fff; flex-shrink: 0; }
.wnb-product-row .wnb-pname { font-size: 0.76rem; font-weight: 600; line-height: 1.2; }
.wnb-product-row .wnb-pvariant { font-size: 0.68rem; opacity: 0.8; }
.wnb-product-row .wnb-price-now { font-size: 0.8rem; font-weight: 700; color: #FFD9EE; }
.wnb-product-row .wnb-price-was { font-size: 0.66rem; text-decoration: line-through; opacity: 0.65; }

.wnb-cta-row { display: flex; gap: 6px; }
.wnb-cta-row .btn { flex: 1; padding: 0.4rem 0.5rem; font-size: 0.74rem; }
.wnb-multi-badge { position: absolute; bottom: 90px; left: 12px; z-index: 3; background: rgba(18,15,61,0.6); color:#fff; font-size: 0.68rem; padding: 3px 9px; border-radius: var(--radius-pill); }

.wnb-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--brand-border);
    background: #fff; color: var(--brand-primary); box-shadow: var(--shadow-md);
    display: flex; align-items: center; justify-content: center; z-index: 5;
    transition: var(--transition);
}
.wnb-nav-btn:hover { background: var(--brand-accent); color: #fff; border-color: var(--brand-accent); }
.wnb-nav-prev { left: -20px; }
.wnb-nav-next { right: -20px; }
@media (max-width: 991px) { .wnb-nav-btn { display: none; } }

.wnb-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.wnb-dots button { width: 7px; height: 7px; border-radius: 50%; border: none; background: var(--brand-border); padding: 0; transition: var(--transition); }
.wnb-dots button.active { background: var(--brand-accent); width: 20px; border-radius: 4px; }

/* =====================================================================
   QUICK VIEW MODAL (Watch & Buy + product grid quick add)
   ===================================================================== */
.quickview-modal .modal-content { border-radius: var(--radius-lg); border: none; overflow: hidden; }
.qv-gallery { background: var(--brand-pink-bg); }
.shade-swatch {
    width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--brand-border);
    display: inline-block; cursor: pointer; position: relative;
}
.shade-swatch.selected { border-color: var(--brand-accent); box-shadow: 0 0 0 3px var(--brand-accent-soft); }
.variant-chip {
    border: 1.5px solid var(--brand-border); border-radius: var(--radius-pill);
    padding: 0.4rem 1rem; font-size: 0.88rem; font-weight: 500; background: #fff; color: var(--brand-text);
    cursor: pointer; transition: var(--transition);
}
.variant-chip.selected { border-color: var(--brand-accent); background: var(--brand-accent-soft); color: var(--brand-accent-hover); }
.variant-chip:disabled, .variant-chip.unavailable { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--brand-border); border-radius: var(--radius-pill); overflow: hidden; }
.qty-stepper button { width: 38px; height: 38px; border: none; background: #fff; color: var(--brand-primary); font-size: 1.1rem; }
.qty-stepper button:hover { background: var(--brand-background); }
.qty-stepper input { width: 42px; border: none; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* =====================================================================
   FORMS
   ===================================================================== */
.form-control, .form-select {
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--brand-border);
    padding: 0.65rem 0.9rem;
    font-family: var(--font-body);
}
.form-control:focus, .form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px var(--brand-accent-soft);
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--brand-text); }
.auth-card { max-width: 460px; margin-inline: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.75rem, 1.4rem + 1.5vw, 3rem); }

/* =====================================================================
   ALERTS / FLASH
   ===================================================================== */
.alert-brand { border-radius: var(--radius-md); border: none; padding: 0.9rem 1.1rem; }
.alert-brand.alert-success { background: #E7F5EC; color: #0F5132; }
.alert-brand.alert-danger { background: #FBEAEC; color: #7A1F2B; }
.alert-brand.alert-info { background: var(--brand-primary-soft); color: var(--brand-primary); }
.alert-brand.alert-warning { background: #FFF4E0; color: #8A5B00; }

/* =====================================================================
   BREADCRUMB / PAGINATION
   ===================================================================== */
.breadcrumb-brand { font-size: 0.85rem; color: var(--brand-muted); }
.breadcrumb-brand a { color: var(--brand-muted); }
.breadcrumb-brand a:hover { color: var(--brand-accent); }

.pagination-brand { display: flex; gap: 6px; list-style: none; padding: 0; }
.pagination-brand a, .pagination-brand span {
    width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--brand-border); color: var(--brand-text); font-weight: 600; font-size: 0.9rem;
}
.pagination-brand a:hover { border-color: var(--brand-accent); color: var(--brand-accent); }
.pagination-brand .active span { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.pagination-brand .disabled span { opacity: 0.4; }

/* =====================================================================
   MISC / UTILITY
   ===================================================================== */
.section-band-pink { background: var(--brand-pink-bg); }
.chip-filter {
    border: 1.5px solid var(--brand-border); border-radius: var(--radius-pill);
    padding: 0.4rem 0.95rem; font-size: 0.85rem; background: #fff; color: var(--brand-text); transition: var(--transition);
}
.chip-filter.active, .chip-filter:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

.trust-strip { border-top: 1px solid var(--brand-border); border-bottom: 1px solid var(--brand-border); background: #fff; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--brand-muted); }
.trust-item i { color: var(--brand-accent); font-size: 1.2rem; }

.skeleton { background: linear-gradient(90deg, #F0F0F5 25%, #F8F8FC 37%, #F0F0F5 63%); background-size: 400% 100%; animation: skeleton-loading 1.4s ease infinite; }
@keyframes skeleton-loading { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .blend-blob { width: 220px; height: 220px; left: 50%; top: 0; transform: translateX(-50%); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--brand-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-muted); }

/* ---- Chat Assistant Widget ------------------------------------------------- */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 1050; }
.chat-toggle-btn {
    width: 58px; height: 58px; border-radius: 50%; border: none;
    background: var(--brand-accent); color: #fff; font-size: 1.4rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s ease;
}
.chat-toggle-btn:hover { transform: scale(1.06); }
.chat-panel {
    position: absolute; right: 0; bottom: 72px; width: 340px; max-width: calc(100vw - 40px);
    height: 460px; max-height: calc(100vh - 140px);
    background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.22);
    display: flex; flex-direction: column; overflow: hidden;
}
.chat-panel-header {
    background: var(--brand-ink); color: #fff; padding: 14px 16px;
    display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #FAF9F7; }
.chat-bubble { max-width: 84%; padding: 10px 13px; border-radius: 14px; font-size: 0.87rem; line-height: 1.4; }
.chat-bubble-bot { background: #fff; border: 1px solid var(--brand-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble-user { background: var(--brand-accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-product-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.chat-product-item {
    display: block; padding: 8px 10px; background: var(--brand-accent-soft); border-radius: 10px;
    color: var(--brand-ink); text-decoration: none; font-size: 0.82rem; font-weight: 500;
}
.chat-product-item:hover { background: var(--brand-accent); color: #fff; }
.chat-cta-link { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--brand-accent-hover); text-decoration: none; font-size: 0.85rem; }
.chat-input-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--brand-border); flex-shrink: 0; background: #fff; }
.chat-input-form input { border-radius: 20px; }
.chat-input-form button { border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; padding: 0; }
.chat-typing { display: inline-flex; gap: 3px; padding: 2px 0; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-muted); animation: chatTypingBounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 480px) {
    .chat-panel { width: calc(100vw - 24px); right: -8px; }
}
