/* header.css — Redesigned: Dark Luxury Theme */
/* Colors: Primary #1E293B | Accent #C8A96A | Secondary #E5E7EB | Text #111827 | BG #FAF9F6 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&display=swap');

/* ─── CSS Variables ─────────────────────────────────── */
:root {
    --primary:       #0a0e16;
    --accent:        #C8A96A;
    --accent-dark:   #a8864a;
    --secondary:     #E5E7EB;
    --text:          #111827;
    --bg:            #FAF9F6;
    --white:         #ffffff;
    --muted:         #64748B;
    --border:        rgba(200,169,106,0.25);

    /* Layout heights — change these to adjust everything */
    --header-h:      96px;
    --subnav-h:      44px;
    --promo-h:       36px;
}

/* ─── Reset ──────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
     font-family: 'Fredoka', sans-serif; !important;
    background: var(--bg);
    color: var(--text);
    /* Push content below: main header + secondary nav + promo */
    padding-top: calc(var(--header-h));
    /* scrollbar-width: none; */
}
body::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════════════════════
   DESKTOP
══════════════════════════════════════════════════════ */

.desktop { display: block; }

/* ─── Top Header ──────────────────────────────────── */

.desktop .top-header .container-fluid {
    height: 100%;
    padding: 0 24px;
}

.desktop .top-header .container-fluid > .row {
    height: 100%;
    align-items: center;
}

/* ─── Logo ─────────────────────────────────────────── */
.desktop .brand-logo {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.desktop .brand-logo img {
    height: 82px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05) drop-shadow(0 2px 8px rgba(200,169,106,0.3));
    transition: filter 0.3s, transform 0.3s;
}

.desktop .brand-logo:hover img {
    filter: brightness(1.15) drop-shadow(0 4px 16px rgba(200,169,106,0.5));
    transform: scale(1.03);
}

/* ─── Nav Menu (Categories button) ────────────────── */
.desktop .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    height: 100%;
    margin-left: -70px;
}

.desktop .nav-menu li {
    display: flex;
    align-items: center;
    height: 100%;
}

.desktop .nav-menu li a {
    color: var(--accent);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.25s;
}

.desktop .nav-menu li a:hover {
    background: rgba(200,169,106,0.12);
    border-color: var(--accent);
    color: var(--white);
}

/* ─── Search Bar ───────────────────────────────────── */
.desktop .search-wrapper {
    position: relative;
    width: 100%;
}

.desktop .search-col {
    overflow: visible;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.desktop .search-col.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
}

.desktop .search-col.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.desktop .search-input {
    width: 100%;
    padding: 11px 52px 11px 20px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255,255,255,0.07);
    color: var(--white);
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}

.desktop .search-input::placeholder { color: rgba(255,255,255,0.45); }

.desktop .search-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 0 0 3px rgba(200,169,106,0.14);
}

.desktop .search-btn {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    background: #9fdc35;
    border: none;
    padding: 0 18px;
    color: var(--primary);
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    transition: background 0.2s;
}

.desktop .search-btn:hover { background: var(--accent-dark); }

/* Search toggle icon */
.search-toggle-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: color 0.2s, transform 0.2s;
}

.search-toggle-btn:hover,
.search-toggle-btn.active { color: var(--accent); }

/* ─── Social Links ─────────────────────────────────── */
.social-media-links {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 5px;
}

a.social-handles {
    text-decoration: none;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.04em;
    margin-right: 4px;
}

a.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50%;
    font-size: 8px;
    color: var(--primary) !important;
    background: var(--accent);
    border: none;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
}

a.social-link:hover { transform: translateY(-2px); background: var(--white); }
a.social-link.instagram,
a.social-link.x,
a.social-link.facebook,
a.social-link.tiktok { background: var(--accent); }

/* ─── Header Icons ─────────────────────────────────── */
.desktop .header-icons-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    height: 100%;
}

.desktop .header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.desktop .header-icons a {
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, transform 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.desktop .header-icons a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.desktop .header-icons a.footer-link {
    color: var(--accent) !important;
    font-size: 13px;
}

.desktop .header-icons a.footer-link:hover { color: var(--white) !important; }

/* ══════════════════════════════════════════════════════
   SECONDARY NAV
   — fixed below the main header
   — targets BOTH .desktop .secondary-nav
     AND the bare <nav class="secondary-nav"> the
     PHP template renders outside .desktop wrapper
══════════════════════════════════════════════════════ */

.desktop .secondary-nav,
nav.secondary-nav {
     background: var(--primary);
    top: var(--header-h);          /* sits flush below main header */
    left: 0;
    width: 100vw;
    height: var(--subnav-h);
    z-index: 199;                  /* just below main header */
    padding: 0;
    margin: 0 !important;          /* override any PHP-template margin */
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 3px 14px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
}

.desktop .secondary-nav-list,
nav.secondary-nav .secondary-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
    gap: 0;
}

.desktop .secondary-nav-list li a,
nav.secondary-nav .secondary-nav-list li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--subnav-h);
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0 22px;
    white-space: nowrap;
    transition: color 0.25s, background 0.25s;
}

.desktop .secondary-nav-list li a::after,
nav.secondary-nav .secondary-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.desktop .secondary-nav-list li a:hover,
nav.secondary-nav .secondary-nav-list li a:hover {
    color: var(--accent);
    background: rgba(200,169,106,0.06);
}

.desktop .secondary-nav-list li a:hover::after,
nav.secondary-nav .secondary-nav-list li a:hover::after {
    width: 60%;
}

/* Active state */
.secondary-nav-list li.active a {
    color: var(--accent) !important;
}

.secondary-nav-list li.active a::after {
    width: 60%;
}

.secondary-nav-list li.deals a {
    color: var(--accent-dark);
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════
   PROMO BANNER
   — fixed right below the secondary nav
══════════════════════════════════════════════════════ */

.desktop .promo-banner {
        background: #ffee00;
    color: var(--primary);
    text-align: center;
    height: var(--promo-h);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    top: calc(var(--header-h) + var(--subnav-h));
    left: 0;
    width: 100vw;
    z-index: 198;
    /* No margins — layout is handled by fixed positioning */
    margin: 0 !important;
    border-radius: 0;
}

.desktop .promo-banner h3 {
    font-family: 'Fredoka', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    line-height: 1;
}

.desktop .promo-banner .badge-applied {
    background: var(--primary);
    color: var(--accent);
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.15s;
}

.desktop .promo-banner .badge-applied:hover {
    background: #0f172a;
    transform: scale(1.04);
}

.desktop .promo-banner small {
    display: inline;
    font-size: 11px;
    opacity: 0.7;
    margin-right: 4px;
}

/* ══════════════════════════════════════════════════════
   ACCOUNT DROPDOWN
══════════════════════════════════════════════════════ */

.account-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.account-dropdown:hover {
    background: rgba(200,169,106,0.14);
    border-color: var(--accent);
}

.account-icon {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 1;
    transition: color 0.2s;
}

.account-icon .fa-chevron-down {
    font-size: 10px;
    opacity: 0.7;
    transition: transform 0.3s;
}

.account-dropdown:hover .account-icon .fa-chevron-down { transform: rotate(180deg); }

.account-menu {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    right: 1.5%;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(30,41,59,0.18), 0 2px 8px rgba(30,41,59,0.08);
    min-width: 290px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    z-index: 30000;
    border: 1px solid var(--secondary);
    overflow: hidden;
}

.account-dropdown:hover .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.account-menu::before {
    content: '';
    position: absolute;
    top: -7px; right: 22px;
    width: 13px; height: 13px;
    background: var(--primary);
    transform: rotate(45deg);
    border-radius: 2px;
}

.user-info {
    padding: 18px 20px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar i { font-size: 2.2rem; color: var(--accent); }

.user-details h4 {
    margin: 0 0 3px 0;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.user-details p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.guest-info {
    padding: 20px;
    text-align: center;
    background: var(--primary);
    color: var(--white);
}

.guest-info h4 {
    font-family: 'Playfair Display', serif;
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    color: var(--accent);
}

.guest-info p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.6); }

.account-menu-list { list-style: none; padding: 6px 0; margin: 0; }
.account-menu-list li { border-bottom: 1px solid #f1f1f1; }
.account-menu-list li:last-child { border-bottom: none; }

.account-menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    color: var(--text) !important;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.account-menu-list a:hover {
    background: #faf8f3;
    color: var(--accent-dark) !important;
}

.account-menu-list i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    color: var(--accent);
}

.auth-buttons {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px !important;
    transition: all 0.2s;
}

.login-btn { background: var(--primary); color: var(--accent) !important; border: 1.5px solid var(--primary); }
.login-btn:hover { background: #0f172a; color: var(--white) !important; }

a.auth-btn.register-btn { background: var(--white); color: var(--primary) !important; border: 1.5px solid var(--primary) !important; }
a.auth-btn.register-btn:hover { background: var(--primary); color: var(--white) !important; }

.menu-divider { height: 1px; background: var(--secondary); }

.menu-footer {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    background: #f8f8f5;
}

.footer-link { font-size: 11.5px; color: var(--muted); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s; }
.footer-link:hover { color: var(--accent-dark); }

/* ══════════════════════════════════════════════════════
   CART BADGE
══════════════════════════════════════════════════════ */

.header-icons a.cart-link,
.header-icons-section a.cart-link {
    position: relative;
    display: inline-flex;
}

.cart-badge {
    position: absolute;
    top: -17px;
    right: -13px;
    background: #ffffff;
    color: #56537d;
    border-radius: 10px;
    /* padding: 5px 5px; */
    min-width: 17px;
    height: 20px;
    font-size: 14px;
    line-height: 17px;
    border: 2px solid #fff;
    text-align: center;
    font-weight: 700;
    z-index: 2;
}

/* ══════════════════════════════════════════════════════
   LIVE SEARCH RESULTS
══════════════════════════════════════════════════════ */

.search-wrapper { position: relative; }

.search-results {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border: 1.5px solid var(--secondary);
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 28px rgba(30,41,59,0.14);
    display: none;
}

.search-results.active { display: block; }

.search-result-item {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0ee;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background 0.15s;
}

.search-result-item:hover { background: #faf8f3; }
.search-result-item:last-child { border-bottom: none; }
.search-result-item .product-info { flex: 1; }

.search-result-item .product-title { font-weight: 500; color: var(--text); margin: 0; font-size: 13.5px; }
.search-result-item .product-price { color: var(--accent-dark); font-weight: 700; margin: 2px 0 0; font-size: 12.5px; }
.search-result-item .product-image { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--secondary); }

.search-no-results { padding: 20px; text-align: center; color: var(--muted); font-style: italic; font-size: 13.5px; }
.search-loading { padding: 20px; text-align: center; color: var(--muted); font-size: 13.5px; }
.search-loading i { animation: spin 0.9s linear infinite; }

.search-view-all {
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: #f8f6f0;
    border-top: 1px solid #ece8e0;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-dark);
    transition: background 0.15s;
}

.search-view-all:hover { background: #f0ece0; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════
   SLIDING MENU
══════════════════════════════════════════════════════ */

.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.active { opacity: 1; visibility: visible; }

.sliding-menu {
    position: fixed;
    top: 0; left: -400px;
    width: 360px; height: 100%;
    background: var(--bg);
    z-index: 120000 !important;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 28px rgba(30,41,59,0.18);
}

.sliding-menu.active { left: 0; }

.menu-header {
    background: var(--primary);
    color: var(--white);
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1;
}

.menu-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 600;
    color: var(--accent);
    margin: 0;
}

.menu-close {
    background: none;
    border: 1px solid rgba(200,169,106,0.4);
    color: var(--accent);
    font-size: 24px;
    cursor: pointer;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.menu-close:hover { background: rgba(200,169,106,0.15); }

.menu-list { list-style: none; padding: 8px 0; margin: 0; }
.menu-item { border-bottom: 1px solid var(--secondary); }

.menu-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.15s, color 0.15s, padding-left 0.2s;
}

.menu-item a:hover { background: #f3ede0; color: var(--accent-dark); padding-left: 30px; }

.menu-item i { color: var(--accent); font-size: 14px; flex-shrink: 0; }
.menu-item.new-arrivals a { color: var(--accent-dark); font-weight: 700; }
.menu-item.sale a { color: #dc3545; font-weight: 800; }

.menu-section-title {
    padding: 14px 24px 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ══════════════════════════════════════════════════════
   PRELOADER
══════════════════════════════════════════════════════ */

#globalPreloader { position: fixed; inset: 0; z-index: 99999; }

.preloader-backdrop {
    position: absolute; inset: 0;
    background: rgba(250,249,246,0.85);
    backdrop-filter: blur(3px);
}

.preloader-spinner {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.loader {
    width: 44px; height: 44px;
    border: 3px solid var(--secondary);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin-bottom: 14px;
}

/* ══════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════ */

.mobile { display: none; }

@media (max-width: 992px) {
    .desktop { display: none; }
    .mobile  { display: block; }
    body { padding-top: 0; }
}

/* ── Mobile Top Header ── */
.mobile .top-header {
    background: var(--primary);
    color: var(--white);
    padding: 0;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    z-index: 9999;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 4px 24px rgba(0,0,0,0.22);
    overflow: visible;
}

#mobileCrackerCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.mobile .header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
}

.mobile .logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile .menu-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 20px;
    cursor: pointer;
    padding: 5px 9px;
    border-radius: 7px;
    transition: background 0.2s;
}

.mobile .menu-toggle:hover { background: rgba(200,169,106,0.15); }
.mobile .logo { text-decoration: none; color: var(--white); }

.mobile .header-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mobile .header-icons a {
    color: var(--white);
    text-decoration: none;
    font-size: 19px;
    position: relative;
    transition: color 0.2s;
}

.mobile .header-icons a:hover { color: var(--accent); }

/* ── Mobile Nav ── */
.mobile .nav-menu {
    background: var(--bg);
    border-bottom: 1.5px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(30,41,59,0.06);
    margin-top: 66px;
}

.mobile .nav-menu ul {
    list-style: none; margin: 0; padding: 0;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.mobile .nav-menu ul::-webkit-scrollbar { display: none; }
.mobile .nav-menu li { padding: 11px 16px; margin-top: 10px; }

.mobile .nav-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.mobile .nav-menu a:hover { color: var(--accent-dark); }

/* Active state mobile nav */
.mobile .nav-menu li.active a { color: var(--accent-dark); }

/* ── Mobile Search ── */
.mobile .search-promo-section {
    background: var(--primary);
    border-bottom: 1.5px solid var(--border);
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}

.mobile .search-container {
    position: relative;
    padding: 10px 14px;
}

.mobile .search-wrapper { position: relative; width: 100%; }

.mobile .search-input {
    width: 100%;
    padding: 11px 48px 11px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13.5px;
    font-family: 'DM Sans', sans-serif;
    background: rgba(255,255,255,0.07);
    color: var(--white);
    outline: none;
    margin: 0;
    transition: border-color 0.25s, background 0.25s;
}

.mobile .search-input::placeholder { color: rgba(255,255,255,0.45); }

.mobile .search-input:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.11);
}

.mobile .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: #9fdc35;
    border: none;
    padding: 0px 20px;
    margin: 10px;
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    border-radius: 0 8px 8px 0;
    transition: background 0.2s;
}

.mobile .search-btn:hover { background: var(--accent-dark); }

.mobile .search-results {
    left: 0; right: 0;
    border-radius: 0 0 10px 10px;
    border: 1.5px solid var(--border);
    border-top: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    background: var(--white);
}

/* ── Mobile Promo ── */
.mobile .promo-banner {
    background: #9fdc35;
    color: var(--primary);
    padding: 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.mobile .promo-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.2;
}

.mobile .promo-btn {
    background: var(--primary);
    color: var(--accent);
    border: none;
    padding: 5px 13px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11.5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.mobile .promo-btn:hover { background: #0f172a; transform: scale(1.04); }

/* ── Mobile Account Dropdown ── */
.mobile .account-dropdown { padding: 4px 10px; border: 1px solid var(--border); border-radius: 20px; }
.mobile .account-menu { right: -10px; min-width: 250px; }

.mobile-user-info { background: var(--primary); padding: 15px 18px; border-bottom: 1px solid var(--border); }
.mobile-auth { padding: 14px; }

.mobile-auth-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-auth-btn:hover { background: var(--accent-dark); }
.mobile-menu-list a { padding: 12px 16px; font-size: 13.5px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .sliding-menu { width: 90%; left: -90%; }

    .cart-badge { top: -9px; right: -12px; min-width: 18px; height: 18px; font-size: 10px; line-height: 18px; }

    .mobile .nav-menu ul { font-size: 11.5px; }
    .mobile .nav-menu li { padding: 10px 12px; }
    .mobile .header-icons { gap: 14px; }
}