/* === SELF-HOSTED INTER FONT === */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* === RESET & BASE STYLES === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0369a1;
    --primary-dark: #075985;
    --primary-darker: #0b3558;
    --primary-light: #0ea5e9;
    --primary-lighter: #7dd3fc;
    --primary-50: #f0f9ff;
    --primary-100: #e0f2fe;
    --secondary-green: #f59e0b;
    --success-green: #059669;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;
    --accent-navy: #0f172a;

    /* Gold accent */
    --gold: #C0A16B;
    --gold-dark: #a08550;
    --gold-light: #d4ba8a;

    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-default: rgba(0, 0, 0, 0.1);
    --surface-elevated: #ffffff;
    --surface-sunken: #fafafa;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;

    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03);
    --shadow-md: 0 2px 8px -2px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 4px 16px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 8px 30px -8px rgb(0 0 0 / 0.12);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;

    /* Z-index system */
    --z-ticker: 900;
    --z-header: 1000;
    --z-mobile-menu: 1500;
    --z-modal: 2000;
    --z-notification: 3000;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    -webkit-touch-callout: none;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 var(--space-6); } }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1280px) { .container { padding: 0 40px; } }

a { color: #3b82f6; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #2563eb; }

img { max-width: 100%; height: auto; }

/* === BUTTONS === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    padding: var(--space-3) var(--space-6); font-weight: 600; font-size: var(--font-size-sm);
    border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
    transition: all var(--transition-fast); text-decoration: none; white-space: nowrap;
    user-select: none; min-height: 44px; line-height: 1.4; letter-spacing: 0.01em;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 2px 4px rgba(3,105,161,0.2); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); box-shadow: 0 4px 8px rgba(3,105,161,0.3); }
.btn-secondary { background: var(--white); color: var(--gray-700); border-color: var(--gray-300); }
.btn-secondary:hover { background: var(--gray-50); border-color: var(--gray-400); color: var(--gray-900); }
.btn-success { background: var(--success-green); color: var(--white); }
.btn-success:hover { background: #047857; }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; min-height: 36px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-lg); }

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.hidden { display: none; }
.text-sm { font-size: var(--font-size-sm); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.desktop-only { display: none; }
@media (min-width: 768px) { .desktop-only { display: flex; } }
.mobile-only { display: flex; }
@media (min-width: 768px) { .mobile-only { display: none; } }

/* === UTILITY CLASSES: SECTION === */
.section-heading { color: #0f172a; }
.section-icon { color: #0369a1; margin-right: 8px; }
.section-alt { background-color: var(--gray-50); }

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    padding: 10px 0;
    position: relative;
    z-index: var(--z-ticker);
    font-size: 0.85rem;
    text-align: center;
}
.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}
.announcement-icon { font-size: 1.1rem; line-height: 1; }
.announcement-text { letter-spacing: 0.01em; line-height: 1.4; }
.announcement-text strong { font-weight: 800; }
@media (max-width: 767px) {
    .announcement-bar { font-size: 0.78rem; padding: 8px 0; }
    .announcement-icon { font-size: 0.95rem; }
}
@media (max-width: 479px) {
    .announcement-bar { font-size: 0.72rem; padding: 7px 0; }
    .announcement-inner { gap: 0.375rem; }
}

/* ========================================================================
   LAYER 1 — UTILITY BAR (dark teal gradient)
   ======================================================================== */
.utility-bar {
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
    color: rgba(255,255,255,0.75);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.utility-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.utility-bar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.utility-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.utility-bar a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition-fast);
}
.utility-bar a:hover { color: #fff; }
.utility-divider {
    color: rgba(255,255,255,0.15);
}
.crypto-badge {
    color: var(--gold-light);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(192,161,107,0.12);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    letter-spacing: 0.02em;
}
.utility-wholesale-link {
    color: var(--gold-light) !important;
    font-weight: 700;
}
.utility-wholesale-link:hover {
    color: var(--gold) !important;
}

/* Utility bar mobile */
@media (max-width: 767px) {
    .utility-bar { text-align: center; padding: 5px 0; font-size: 11px; }
    .utility-bar-inner { justify-content: center; }
    .utility-bar-right { display: none; }
    .utility-bar-left a { display: none; }
    .utility-bar-left > .utility-divider { display: none; }
    .crypto-badge { font-size: 10px; padding: 2px 10px; }
}

/* Hide old trust bar */
.trust-bar { display: none; }

/* ========================================================================
   LAYER 2 — MAIN HEADER (sticky, frosted glass)
   ======================================================================== */
.header {
    background: rgba(255,255,255,0.95);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    box-shadow: 0 1px 0 var(--gray-200);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
    flex-shrink: 0;
    min-height: 44px;
}
.logo:hover { text-decoration: none; opacity: 0.85; }
.logo-img {
    height: 36px;
    width: 36px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
}
.logo-mark {
    display: block;
    flex: 0 0 auto;
    transition: transform 0.25s cubic-bezier(.2,.7,.3,1);
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
@media (max-width: 768px) { .logo-mark { width: 32px; height: 32px; } }
.footer-logo-img {
    width: 30px; height: 30px; border-radius: 4px; object-fit: cover; margin-right: 8px;
}
.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.logo-text small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0;
    margin-top: 1px;
}

/* Merck-style Search Bar */
.header-search {
    flex: 1;
    max-width: 520px;
    display: none;
}
@media (min-width: 768px) { .header-search { display: flex; } }
.header-search-form {
    display: flex;
    width: 100%;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.header-search-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3,105,161,0.1);
}
.header-search-input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--gray-800);
    background: var(--white);
}
.header-search-input::placeholder { color: var(--gray-400); }
.header-search-btn {
    padding: 0 20px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: background var(--transition-fast);
}
.header-search-btn:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-cta-btn {
    font-size: 0.75rem !important;
}

/* Mobile search toggle */
.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
}
.mobile-search-toggle:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-color: var(--primary-100);
}
@media (max-width: 767px) { .mobile-search-toggle { display: flex; } }

/* Basket / Cart toggle */
.basket-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}
.basket-toggle:hover {
    background: var(--primary-50);
    color: var(--primary);
    border-color: var(--primary-100);
}
.basket-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--error-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}
.basket-count:empty,
.basket-count[data-count="0"] { display: none; }

/* Old cart button compatibility */
.cart-btn {
    display: flex; align-items: center; gap: var(--space-2);
    padding: var(--space-2) var(--space-4); background: var(--primary);
    color: var(--white); border: none; border-radius: var(--radius-lg);
    cursor: pointer; font-size: var(--font-size-sm); font-weight: 500;
    transition: all var(--transition-fast); position: relative;
    min-height: 44px;
}
.cart-btn:hover { background: var(--primary-dark); }
.cart-count {
    background: var(--error-red); color: white; border-radius: 50%;
    width: 20px; height: 20px; display: flex; align-items: center;
    justify-content: center; font-size: 0.7rem; font-weight: 700;
}
.cart-btn-text { display: none; }
@media (min-width: 480px) { .cart-btn-text { display: inline; } }

/* Warehouse button */
.warehouse-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-dark);
    transition: all 0.15s;
}
.warehouse-btn:hover {
    background: var(--primary-100);
    border-color: var(--primary);
}
@media (max-width: 768px) {
    .warehouse-btn .warehouse-btn-name { display: none; }
}

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background var(--transition-fast);
}
.hamburger-btn:hover { background: var(--gray-50); }
.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gray-600);
    border-radius: 1px;
    transition: all 0.3s ease;
}
@media (max-width: 767px) { .hamburger-btn { display: flex; } }

/* Mobile search bar (collapsible under header) */
.mobile-search-bar {
    display: none;
    padding: 0 16px 12px;
    background: rgba(255,255,255,0.95);
}
.mobile-search-bar.open { display: block; }
.mobile-search-bar form {
    display: flex;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.mobile-search-bar form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(3,105,161,0.1);
}
.mobile-search-bar input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--gray-800);
    background: var(--white);
    min-width: 0;
}
.mobile-search-bar input::placeholder { color: var(--gray-400); }
.mobile-search-bar button {
    padding: 0 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background var(--transition-fast);
}
.mobile-search-bar button:hover { background: var(--primary-dark); }

/* ========================================================================
   LAYER 3 — NAVIGATION BAR (teal gradient)
   ======================================================================== */
.nav-bar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.nav-bar-inner {
    display: none;
    align-items: center;
}
@media (min-width: 768px) { .nav-bar-inner { display: flex; } }
.nav-desktop { display: contents; }
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-link {
    display: block;
    padding: 14px 22px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    letter-spacing: 0.01em;
}
.nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}
.nav-link.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 600;
    border-bottom-color: var(--gold);
}

/* ========================================================================
   MOBILE MENU — Slide-in panel from right
   ======================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: var(--z-mobile-menu);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mobile-menu-overlay.open { opacity: 1; pointer-events: auto; }

.mobile-menu {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 320px;
    max-width: 85%;
    background: #fff;
    z-index: calc(var(--z-mobile-menu) + 1);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 2px solid var(--primary);
    background: var(--gray-50);
}
.mobile-menu-title {
    font-weight: 800;
    font-size: 17px;
    color: var(--primary);
}
.mobile-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-500);
    line-height: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu-close:hover { color: var(--gray-800); }

/* Mobile menu search */
.mobile-menu-search {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-search-form {
    display: flex;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.mobile-menu-search-form input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: none;
    outline: none;
    font-size: 0.875rem;
    font-family: var(--font-family);
}
.mobile-menu-search-form button {
    padding: 0 0.875rem;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
}

/* Mobile menu nav links */
.mobile-menu-nav { padding: 8px 0; }
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}
.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--primary);
    background: var(--primary-50);
    border-left-color: var(--primary);
    text-decoration: none;
}
.mobile-menu-link i {
    width: 20px;
    text-align: center;
    color: var(--gray-400);
    font-size: 14px;
}
.mobile-menu-link.active i { color: var(--primary); }

/* Mobile menu contact section */
.mobile-menu-contact {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}
.mobile-menu-contact-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-800);
}
.mobile-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    transition: all var(--transition-fast);
}
.mobile-contact-btn:hover { text-decoration: none; transform: translateY(-1px); }
.mobile-contact-btn.tg { background: #e0f2fe; color: #0284c7; }
.mobile-contact-btn.wa { background: #dcfce7; color: #16a34a; }
.mobile-contact-btn.email { background: var(--primary-50); color: var(--primary); }

/* Old mobile nav compatibility (used in mobile menu now) */
.mobile-nav-links { list-style: none; }
.mobile-nav-links li { border-bottom: 1px solid var(--gray-100); }
.mobile-nav-links a {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-3) var(--space-2); color: var(--gray-700);
    text-decoration: none; font-weight: 500; transition: color 0.15s ease;
}
.mobile-nav-links a:hover { color: var(--primary); }
.mobile-nav-links a.active { color: var(--primary); font-weight: 600; }
.mobile-nav-links a i { width: 20px; text-align: center; color: var(--primary); }

/* Old mobile-menu-footer (for backward compat) */
.mobile-menu-footer {
    margin-top: var(--space-6); padding-top: var(--space-4);
    border-top: 1px solid var(--gray-100);
    display: flex; flex-direction: column; gap: var(--space-3);
}
.mobile-menu-footer a {
    display: flex; align-items: center; gap: var(--space-2);
    color: var(--primary); text-decoration: none; font-size: var(--font-size-sm); font-weight: 500;
}
.mobile-menu-footer a:hover { text-decoration: underline; }

/* ========================================================================
   MOBILE BOTTOM NAVIGATION BAR (fixed, 4 items)
   ======================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--gray-200);
    display: none;
    justify-content: space-around;
    padding: 8px 0 env(safe-area-inset-bottom, 4px);
    z-index: var(--z-header);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
@media (max-width: 767px) { .mobile-bottom-nav { display: flex; } }

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: var(--gray-400);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    transition: color var(--transition-fast);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item:hover { text-decoration: none; color: var(--primary); }
.bottom-nav-item i { font-size: 18px; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item:active { color: var(--primary); }

.bottom-nav-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(12px);
    background: var(--error-red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.bottom-nav-badge:empty,
.bottom-nav-badge[data-count="0"] { display: none; }

/* ========================================================================
   NON-HEADER STYLES (preserved from original)
   ======================================================================== */

/* === CHINESE CULTURAL ACCENTS === */
.cn-accent { font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif; }
.cn-divider {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    margin: 1.5rem 0; color: var(--gray-300);
}
.cn-divider::before, .cn-divider::after {
    content: ''; flex: 1; max-width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
}
.cn-divider span { font-size: 0.75rem; color: var(--gray-400); letter-spacing: 0.1em; }
.cn-seal {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border: 2px solid #dc2626; border-radius: 4px;
    color: #dc2626; font-size: 0.6rem; font-weight: 800;
    font-family: 'Noto Serif SC', serif; transform: rotate(-3deg);
    line-height: 1;
}

/* === MODAL SYSTEM === */
.modal {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: var(--z-modal); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: var(--space-4); align-items: flex-start; justify-content: center;
    opacity: 0; transition: opacity 0.25s ease; backdrop-filter: blur(4px);
}
.modal.show { display: flex; opacity: 1; }
.modal-content {
    background: var(--white); border-radius: var(--radius-xl);
    width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow-xl); margin: auto;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}
.modal.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.modal-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: var(--space-4) var(--space-6); border-bottom: 2px solid var(--primary-100);
    position: sticky; top: 0; z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    background: linear-gradient(135deg, var(--primary-50), var(--white));
}
.modal-title { font-size: var(--font-size-lg); font-weight: 700; color: var(--primary-darker); }
.modal-close {
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: 50%;
    cursor: pointer; color: var(--gray-600); transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.modal-close:hover { background: var(--error-red); color: var(--white); border-color: var(--error-red); transform: rotate(90deg); }
.modal-body { padding: var(--space-4) var(--space-6); }

/* === NOTIFICATION TOAST === */
.notification-toast {
    position: fixed; top: 20px; right: 20px; z-index: var(--z-notification);
    transform: translateX(120%); transition: transform 0.3s ease;
}
.notification-toast.show { transform: translateX(0); }
.toast-content {
    display: flex; align-items: center; gap: var(--space-3);
    padding: var(--space-3) var(--space-4); background: var(--white);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--success-green); min-width: 280px;
    max-width: 90vw;
}
.toast-content.error { border-left-color: var(--error-red); }
.toast-content.warning { border-left-color: var(--warning-yellow); }
.toast-content.info { border-left-color: var(--primary); }
.toast-icon { font-size: 1.2rem; }
.toast-message { font-weight: 600; font-size: var(--font-size-sm); }
.toast-subtitle { font-size: var(--font-size-xs); color: var(--gray-500); }
.toast-close { background: none; border: none; color: var(--gray-400); cursor: pointer; padding: 4px; }
.toast-actions {
    display: flex; gap: 8px; padding: 0 var(--space-4) var(--space-3);
    background: var(--white); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.toast-action-btn {
    flex: 1; padding: 8px 12px; border: none; border-radius: var(--radius-md);
    font-size: 0.8rem; font-weight: 600; cursor: pointer; display: flex;
    align-items: center; justify-content: center; gap: 6px; transition: all 0.15s ease;
}
.toast-view-cart { background: var(--gray-100); color: var(--gray-700); }
.toast-view-cart:hover { background: var(--gray-200); }
.toast-checkout { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.toast-checkout:hover { opacity: 0.9; }
.toast-shipping-hint {
    padding: 6px var(--space-4) var(--space-3); background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-xl);
    font-size: 0.78rem; color: var(--gray-600); text-align: center;
}

/* === SEARCH DROPDOWN === */
.search-container { position: relative; flex-shrink: 0; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-size: var(--font-size-sm); }
.search-input {
    width: 220px; padding: var(--space-2) var(--space-3) var(--space-2) 36px;
    border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    font-size: var(--font-size-sm); outline: none; transition: all var(--transition-fast);
    min-height: 44px;
}
.search-input:focus { border-color: var(--primary); width: 280px; }
.search-dropdown {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    z-index: 100; max-height: 400px; overflow-y: auto; margin-top: 4px;
}
.search-result-item {
    display: flex; align-items: center; padding: var(--space-3);
    border-bottom: 1px solid var(--gray-100); cursor: pointer;
    transition: background var(--transition-fast);
}
.search-result-item:hover { background: var(--primary-50); }
.search-result-info { flex: 1; }
.search-result-name { font-weight: 600; font-size: var(--font-size-sm); color: var(--gray-900); }
.search-result-details { font-size: var(--font-size-xs); color: var(--gray-500); }
.search-result-price { font-weight: 600; color: var(--primary); font-size: var(--font-size-sm); }

/* === SHIPPING INFO === */
.shipping-info {
    display: flex; align-items: center; gap: var(--space-2);
    padding: var(--space-2) var(--space-3); background: var(--primary-50);
    border: 1px solid var(--primary-100); border-radius: var(--radius-md);
    font-size: 0.75rem; color: var(--primary-dark);
}
.shipping-info i { color: var(--primary); font-size: 0.7rem; }

/* === PAGE HERO (About, Contact) === */
.page-hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-50) 50%, var(--primary-100) 100%);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--border-subtle);
}
.page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.page-hero p {
    font-size: 1rem;
    color: var(--gray-500);
}

/* === ABOUT & CONTACT MODALS === */
.about-content, .contact-content { line-height: 1.7; }
.about-section, .contact-section { margin-bottom: var(--space-6); }
.about-section h3, .contact-section h3 { font-size: var(--font-size-lg); font-weight: 600; margin-bottom: var(--space-3); color: var(--gray-900); }
.about-section p, .contact-section p { margin-bottom: var(--space-3); color: var(--gray-700); }
.about-section ul, .contact-section ul { padding-left: var(--space-6); margin-bottom: var(--space-3); }
.about-section li, .contact-section li { margin-bottom: var(--space-2); color: var(--gray-700); }
.contact-item { display: flex; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-3); }
.contact-item i { color: var(--primary); margin-top: 4px; }
.contact-item a { color: var(--primary); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* === POLICY MODAL === */
.policy-section { margin-bottom: 1.5rem; }
.policy-section h3 {
    font-size: 1rem; font-weight: 600; color: var(--primary-dark);
    margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.policy-section h3 i { color: var(--primary); }
.policy-section ul { list-style: none; padding: 0; }
.policy-section ul li {
    padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
    font-size: 0.875rem; color: var(--gray-700); line-height: 1.5;
}
.policy-section ul li::before {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; color: var(--success-green); font-size: 0.75rem; top: 0.625rem;
}
.policy-highlight {
    background: linear-gradient(135deg, var(--primary-50), #eff6ff);
    border: 1px solid var(--primary-100); border-radius: var(--radius-lg);
    padding: 1rem 1.25rem; margin: 1rem 0;
}
.policy-highlight p { font-size: 0.875rem; color: var(--primary-darker); font-weight: 500; }
.policy-guarantee {
    background: #eff6ff; border: 2px solid #f59e0b; border-radius: var(--radius-lg);
    padding: 1.25rem; text-align: center; margin-top: 1.5rem;
}
.policy-guarantee i { font-size: 2rem; color: #f59e0b; margin-bottom: 0.5rem; }
.policy-guarantee h4 { font-size: 1rem; color: #92400e; margin-bottom: 0.25rem; }
.policy-guarantee p { font-size: 0.8125rem; color: #d97706; }

/* === FOOTER === */
.footer {
    background: linear-gradient(180deg, var(--gray-800) 0%, var(--gray-900) 100%);
    color: var(--gray-400); padding: 3.5rem 0 2rem;
    margin-top: var(--space-8); font-size: var(--font-size-sm);
    margin-bottom: 56px;
}
@media (min-width: 768px) { .footer { margin-bottom: 0; } }
.footer a { color: var(--primary-lighter); text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.footer a:hover { text-decoration: none; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; margin-bottom: 2rem;
}
.footer-col h4 {
    color: var(--white); font-size: 0.9375rem; font-weight: 700; margin-bottom: 1rem;
    text-transform: uppercase; letter-spacing: 0.05em; position: relative; padding-bottom: 0.625rem;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 24px; height: 2px; background: var(--primary); border-radius: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
    color: var(--gray-400); font-size: 0.8125rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    position: relative; display: inline-block;
}
.footer-col ul li a::after {
    content: ''; position: absolute; bottom: -1px; left: 0;
    width: 0; height: 1px; background: var(--primary-lighter); transition: width 0.25s ease;
}
.footer-col ul li a:hover { color: var(--primary-lighter); padding-left: 4px; text-decoration: none; }
.footer-col ul li a:hover::after { width: 100%; }
.footer-col p { font-size: 0.8125rem; line-height: 1.6; }
.footer-bottom {
    border-top: 1px solid var(--gray-700); padding-top: 2rem;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: var(--gray-500); }
.footer-logo {
    display: flex; align-items: center; gap: var(--space-2);
    font-size: 1.1rem; font-weight: 800; color: var(--primary-lighter);
    margin-bottom: 0.75rem; text-decoration: none;
}
.footer-logo small {
    display: block; font-size: 0.6rem; font-weight: 400;
    color: var(--gray-500); letter-spacing: 0.02em;
}
.footer-copyright {
    text-align: center; padding-top: 0.5rem; margin-top: 0.5rem;
    font-size: 0.7rem; color: var(--gray-500);
}
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    background: var(--gray-800); border-radius: var(--radius-md); color: var(--gray-400);
    transition: all 0.25s ease;
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3); }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(24px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.loading { text-align: center; padding: var(--space-8); color: var(--gray-500); }
.loading-spinner {
    width: 40px; height: 40px; border: 3px solid var(--gray-200);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 0.8s linear infinite; margin: 0 auto var(--space-4);
}

/* === RESPONSIVE — MOBILE === */
@media (max-width: 640px) {
    .modal-content { max-width: 100%; margin: var(--space-2); }
    .modal-body { padding: var(--space-3); }
    .modal-header { padding: var(--space-3) var(--space-4); }
    .page-hero h1 { word-wrap: break-word; overflow-wrap: break-word; }
}

@media (max-width: 767px) {
    .header .shipping-info { display: none; }

    body { font-size: 1rem; line-height: 1.65; -webkit-text-size-adjust: 100%; }

    /* Compact header — mobile */
    .header-main { padding: 10px 0; gap: 10px; }
    .logo { gap: 8px; }
    .logo-img { height: 32px; width: 32px; }
    .logo-text { font-size: 17px; }
    .logo-text small { font-size: 11px; }

    /* Header actions */
    .header-actions { gap: 6px; }

    /* Nav bar hidden — hamburger only */
    .nav-bar { display: none; }

    .search-container { width: 100%; }
    .search-input { width: 100%; min-height: 44px; }
    .search-input:focus { width: 100%; }
    .search-dropdown { left: var(--space-2); right: var(--space-2); }

    /* Touch targets */
    .btn { min-height: 44px; padding: 0.625rem 1.25rem; }
    .btn-sm { min-height: 40px; padding: 0.5rem 1rem; }
    .btn-lg { min-height: 52px; padding: 0.875rem 1.5rem; }
    .modal-close { width: 44px; height: 44px; font-size: 1.125rem; }

    /* Modal bottom sheet */
    .modal { padding: 0; align-items: flex-end; }
    .modal-content {
        max-width: 100%; width: 100%; max-height: 95vh; margin: 0;
        border-radius: 12px 12px 0 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
    }
    .modal-header {
        padding: var(--space-4); border-radius: 12px 12px 0 0;
        position: sticky; top: 0; z-index: 2;
    }
    .modal-body { padding: var(--space-4); overflow-y: auto; -webkit-overflow-scrolling: touch; }

    /* Notification toast full width */
    .notification-toast { right: var(--space-3); left: var(--space-3); top: auto; bottom: var(--space-3); }
    .toast-content { width: 100%; min-width: unset; max-width: unset; }

    /* Improve text contrast */
    .text-gray-500 { color: var(--gray-600); }

    /* Page hero */
    .page-hero { padding: 1.75rem 0 1.5rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero p { font-size: 0.9rem; }

    /* Footer */
    .footer { padding: 2rem 0 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .footer-col h4 { font-size: 0.875rem; margin-bottom: 0.875rem; }
    .footer-col ul li a { padding: 0.5rem 0; font-size: 0.875rem; display: block; min-height: 44px; line-height: 2.4; }
    .footer-col p { font-size: 0.875rem; line-height: 1.65; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
    .footer-bottom p { font-size: 0.8125rem; }
    .footer-social { justify-content: center; }
    .footer-social a { width: 44px; height: 44px; font-size: 1.125rem; }

    /* Mobile menu */
    .mobile-menu { width: 300px; }
    .mobile-menu-link { padding: 15px 20px; font-size: 15px; min-height: 48px; }
    .mobile-menu-link i { font-size: 16px; }
    .mobile-contact-btn { padding: 14px 16px; font-size: 14px; min-height: 48px; }

    /* Add bottom padding for bottom nav */
    body { padding-bottom: 64px; }
    .footer { padding-bottom: 20px; }
}

/* === EMAIL CAPTURE POPUP === */
.email-capture-code-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--primary-50);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-lg);
    margin-top: var(--space-3);
}
.email-capture-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--font-size-xs);
    font-weight: 600;
    transition: background var(--transition-fast);
    min-height: 36px;
}
.email-capture-copy-btn:hover { background: var(--primary-dark); }

/* === TELEGRAM REPS MODAL === */
.tg-reps-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.tg-rep-card {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    min-height: 44px;
}
.tg-rep-card:hover {
    background: #e8f4fd;
    border-color: #229ED9;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.tg-rep-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #229ED9, #1a8bc7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.tg-rep-info { flex: 1; }
.tg-rep-name { font-weight: 600; font-size: var(--font-size-sm); color: var(--gray-800); }
.tg-rep-handle { font-size: var(--font-size-xs); color: #229ED9; font-weight: 500; }
.tg-rep-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-3);
    background: #229ED9;
    color: white;
    border-radius: var(--radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    white-space: nowrap;
    min-height: 36px;
}
.tg-rep-card:hover .tg-rep-btn { background: #1a8bc7; }

/* Performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 767px) {
    .modal-content { will-change: transform; }
    .notification-toast { will-change: transform; }
    .modal-close:hover { transform: none; }
    .footer-social a:hover { transform: none; }
}

@media (max-width: 479px) {
    .modal-header { padding: var(--space-3) var(--space-4); }
    .modal-title { font-size: var(--font-size-base); }
    .btn { width: 100%; }
    .btn-lg { padding: 0.75rem 1.25rem; font-size: var(--font-size-base); }
    .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 359px) {
    .modal-header { padding: var(--space-3); }
    .modal-body { padding: var(--space-3); }
    .container { padding: 0 var(--space-3); }
    .logo-text { font-size: 15px; }
    .logo-text small { font-size: 0.55rem; }
    .mobile-menu { width: 280px; }
}

/* Small phones */
@media (max-width: 374px) {
    html { font-size: 14px; }
    .container { padding: 0 12px; }
    .header-main { padding: 8px 0; }
    .logo-img { height: 28px; width: 28px; }
    .logo-text { font-size: 15px; }
}

/* Hide old elements */
.crypto-banner { display: none; }
.trust-bar { display: none; }
.nav-link-secondary { /* keep for backward compat */ }

/* === REPORT LIGHTBOX === */
.report-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.88);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: zoom-out;
}
.report-lightbox.active { display: flex; }
.report-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    border: none;
    transition: background 0.2s;
    z-index: 1;
}
.report-lightbox-close:hover { background: rgba(255,255,255,0.25); }
.report-lightbox-img {
    max-width: 90vw;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    cursor: default;
}
.report-lightbox-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}
.report-lightbox-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}
.report-lightbox-verify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #0369a1;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.report-lightbox-verify:hover { background: #075985; }

/* ============================================================
   FLOATING CHAT BUTTON
   ============================================================ */
.floating-chat {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
}
.floating-chat-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #229ED9, #1a8ec7);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(34, 158, 217, 0.4);
    transition: all 0.3s ease;
    position: relative;
}
.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(34, 158, 217, 0.5);
}
.floating-chat-label {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
}
.floating-chat-menu {
    position: absolute;
    bottom: 66px;
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    pointer-events: none;
    transition: all 0.25s ease;
}
.floating-chat-menu.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.chat-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
}
.chat-option:last-child { border-bottom: none; }
.chat-option:hover { background: #f8fafb; }
.chat-option i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.chat-telegram i { background: #229ED9; color: #fff; }
.chat-whatsapp i { background: #25D366; color: #fff; }
.chat-email i { background: var(--primary, #0369a1); color: #fff; }
.chat-option strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
}
.chat-option span {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
}
/* Hide on mobile (bottom nav has contact) */
@media (max-width: 767px) {
    .floating-chat { display: none; }
}

/* ============================================================
   LIVE ACTIVITY TOAST
   ============================================================ */
.activity-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1400;
    transform: translateY(120%);
    transition: transform 0.4s ease;
    pointer-events: none;
}
.activity-toast.visible {
    transform: translateY(0);
    pointer-events: auto;
}
.activity-toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    border-left: 3px solid var(--primary, #0369a1);
    max-width: 320px;
    min-width: 240px;
}
.activity-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-50, #f0f9ff);
    color: var(--primary, #0369a1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.activity-toast-message {
    font-size: 0.82rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}
.activity-toast-time {
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 2px;
}
.activity-toast-close {
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.activity-toast-close:hover { color: #64748b; }
@media (max-width: 767px) {
    .activity-toast {
        left: 12px;
        right: 12px;
        bottom: 70px; /* above mobile nav */
    }
    .activity-toast-content { max-width: 100%; }
}

/* ============================================================
   RECENTLY VIEWED SECTION
   ============================================================ */
.pd-recently-viewed {
    padding: 2rem 0;
    background: #f8fafb;
    border-top: 1px solid #e5e7eb;
}
