/* ================================================================
   ODERELA — styles.css
   Complete rewrite with warm design system
   ================================================================ */

:root {
    --brand:        #e54e14;
    --brand-dark:   #c93e0e;
    --brand-light:  #fff3ee;
    --brand-subtle: rgba(229,78,20,0.10);

    --ink-900: #1a1410;
    --ink-700: #2d2520;
    --ink-500: #5a524a;
    --ink-400: #8a8078;
    --ink-300: #b8b3ac;
    --ink-200: #ddd9d3;
    --ink-100: #ede9e3;
    --ink-50:  #f8f7f4;

    --surface: #ffffff;
    --page-bg: #f8f7f4;

    --dark-900: #1a1410;
    --dark-800: #231e19;
    --dark-700: #2d2822;

    --r-sm:  8px;
    --r-md:  10px;
    --r-lg:  14px;
    --r-xl:  18px;
    --r-2xl: 22px;

    --shadow-sm: 0 1px 3px rgba(26,20,16,0.07), 0 1px 2px rgba(26,20,16,0.04);
    --shadow-md: 0 4px 16px rgba(26,20,16,0.09), 0 1px 4px rgba(26,20,16,0.05);
    --shadow-lg: 0 12px 32px rgba(26,20,16,0.12), 0 2px 8px rgba(26,20,16,0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    background: var(--page-bg);
    color: var(--ink-900);
    height: 100%;
    overflow: hidden;
}

/* ================================================================
   DESKTOP SIDEBAR
================================================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 270px;
    height: 100vh;
    background: var(--surface);
    border-right: 1px solid var(--ink-100);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 4px 0 24px rgba(26,20,16,0.08);
}
.sidebar.active { transform: translateX(0); }

.sidebar-scrollable {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.25rem 1rem;
    scrollbar-width: none;
}
.sidebar-scrollable::-webkit-scrollbar { display: none; }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 1.25rem 0.875rem;
    flex-shrink: 0;
    border-bottom: 1px solid var(--ink-50);
}
.sidebar-brand img { max-width: 120px; height: auto; }

.close-sidebar {
    display: flex;
    background: var(--ink-50);
    border: none;
    cursor: pointer;
    padding: 0.45rem;
    border-radius: var(--r-sm);
    color: var(--ink-500);
    transition: all 0.2s;
    align-items: center;
    justify-content: center;
}
.close-sidebar:hover { background: var(--ink-100); color: var(--ink-900); }
.close-sidebar svg { width: 17px; height: 17px; }

.sidebar-menu { list-style: none; }
.sidebar-menu li { margin-bottom: 2px; }
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.875rem;
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--ink-500);
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
}
.sidebar-menu a:hover { background: var(--ink-50); color: var(--ink-900); }
.sidebar-menu a.active { background: var(--brand-light); color: var(--brand); }
.sidebar-menu svg { width: 18px; height: 18px; flex-shrink: 0; }

.cart-badge {
    background: var(--brand);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 0.125rem 0.45rem;
    border-radius: 999px;
    margin-left: auto;
    display: none;
}

.sidebar-divider { height: 1px; background: var(--ink-50); margin: 0.75rem 0; }

.sidebar-section-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-300);
    padding: 0 0.875rem;
    margin-bottom: 0.35rem;
    margin-top: 0.25rem;
    display: block;
}

.sidebar-link-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 5px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}
.sidebar-link-tag.green { color: #10b981; background: rgba(16,185,129,0.1); }
.sidebar-link-tag.amber { color: #f59e0b; background: rgba(245,158,11,0.1); }
.sidebar-link-tag.blue  { color: #3b82f6; background: rgba(59,130,246,0.1); }

.sidebar-footer {
    border-top: 1px solid var(--ink-50);
    padding: 0.875rem 1.25rem 1.25rem;
    flex-shrink: 0;
}
.sidebar-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.625rem;
    margin-bottom: 0.5rem;
}
.sidebar-footer-links a {
    font-size: 11px;
    color: var(--ink-300);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.sidebar-footer-links a:hover { color: var(--ink-500); }
.sidebar-footer-copy { font-size: 10.5px; color: var(--ink-200); font-weight: 500; }

/* ================================================================
   OVERLAY
================================================================ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26,20,16,0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 190;
}
.overlay.active { display: block; }

/* ================================================================
   AD TICKER
================================================================ */
.ad-ticker {
    background: linear-gradient(90deg, var(--dark-900) 0%, var(--dark-800) 50%, var(--dark-900) 100%);
    border-bottom: 1px solid rgba(229,78,20,0.25);
    height: 36px;
    overflow: hidden;
    position: relative;
}
.ad-ticker.dismissed { display: none; }

.ad-ticker-inner {
    max-width: 1300px;
    margin: 0 auto;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.ad-ticker-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f97316;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(229,78,20,0.12);
    border: 1px solid rgba(229,78,20,0.22);
    padding: 0.2rem 0.6rem 0.2rem 0.4rem;
    border-radius: 999px;
}
.ad-ticker-label svg { width: 10px; height: 10px; }

.ad-ticker-track-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.ad-ticker-track-wrap::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(90deg, var(--dark-900), transparent);
    z-index: 2;
    pointer-events: none;
}
.ad-ticker-track-wrap::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 40px;
    background: linear-gradient(270deg, var(--dark-800), transparent);
    z-index: 2;
    pointer-events: none;
}

.ad-ticker-track {
    display: flex;
    align-items: center;
    gap: 0;
    white-space: nowrap;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}
.ad-ticker-track:hover { animation-play-state: paused; }

@keyframes tickerScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ad-ticker-item {
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    padding: 0 2.5rem;
    display: inline-flex;
    align-items: center;
}
.ad-ticker-sep { color: #f97316; font-size: 10px; opacity: 0.45; flex-shrink: 0; }

.ad-ticker-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0.25rem 0.375rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.ad-ticker-close:hover { color: white; background: rgba(255,255,255,0.08); }

/* ================================================================
   MAIN CONTENT
================================================================ */
.main-content {
    height: var(--app-h, 100dvh);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ================================================================
   HEADER
================================================================ */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--ink-100);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 50;
    flex-shrink: 0;
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    justify-content: flex-end;
}

.header-logo-link {
    display: flex;
    align-items: center;
}
.header-logo-link img {
    max-width: 120px;
    height: auto;
}

.menu-toggle {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--r-sm);
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}
.menu-toggle:hover { background: var(--ink-50); }

.ham-lines { display: flex; flex-direction: column; gap: 5px; }
.ham-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── Cart button ── */
.cart-button {
    position: relative;
    background: var(--surface);
    border: 1.5px solid var(--ink-100);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    color: var(--ink-700);
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-button:hover { border-color: var(--brand); color: var(--brand); }
.cart-button svg { width: 20px; height: 20px; }

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brand);
    color: white;
    font-size: 9px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: none;
    text-align: center;
    border: 2px solid var(--surface);
    line-height: 14px;
}
.cart-count[style*="block"],
.cart-count[style*="flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   SEARCH BAR
================================================================ */
.header-search {
    width: 100%;
    max-width: 480px;
    display: block;
}

.hs-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--ink-50);
    border: 1.5px solid var(--ink-100);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    height: 40px;
}
.hs-wrap:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(229,78,20,0.10);
    background: var(--surface);
}

.hs-icon {
    width: 16px;
    height: 16px;
    color: var(--ink-300);
    flex-shrink: 0;
    margin-left: 0.875rem;
    transition: color 0.2s;
    pointer-events: none;
}
.hs-wrap:focus-within .hs-icon { color: var(--brand); }

.hs-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 0.75rem;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-900);
    outline: none;
    min-width: 0;
}
.hs-input::placeholder { color: var(--ink-300); font-weight: 400; }
.hs-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.hs-btn {
    background: var(--brand);
    border: none;
    cursor: pointer;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
}
.hs-btn:hover { background: var(--brand-dark); }
.hs-btn svg { width: 13px; height: 13px; }

/* ================================================================
   REGION SELECTOR
================================================================ */
.region-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--surface);
    border: 1.5px solid var(--ink-100);
    border-radius: var(--r-md);
    padding: 0 0.875rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-700);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    height: 40px;
}
.region-selector-btn:hover,
.region-selector-btn.dropdown-open {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--brand);
}
.region-selector-btn.dropdown-open {
    box-shadow: 0 0 0 3px rgba(229,78,20,0.10);
}
.region-btn-icon {
    width: 15px;
    height: 15px;
    color: var(--brand);
    flex-shrink: 0;
    transition: color 0.2s;
}
.region-selector-btn .region-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100px;
}
.chevron-down {
    width: 12px;
    height: 12px;
    color: var(--ink-300);
    flex-shrink: 0;
    transition: transform 0.25s, color 0.2s;
}
.region-selector-btn.dropdown-open .chevron-down {
    transform: rotate(180deg);
}

/* Mobile compact region button */
.region-btn-mobile-compact {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: var(--surface);
    border: 1.5px solid var(--ink-100);
    border-radius: var(--r-md);
    padding: 0 0.625rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-700);
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    height: 36px;
}
.region-btn-mobile-compact .region-btn-icon { width: 13px; height: 13px; color: var(--brand); }
.region-btn-mobile-compact .region-name {
    font-size: 11px;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.region-btn-mobile-compact:hover,
.region-btn-mobile-compact.dropdown-open {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--brand);
}
.region-btn-mobile-compact.dropdown-open {
    box-shadow: 0 0 0 3px rgba(229,78,20,0.10);
}

/* ================================================================
   REGION DROPDOWN
================================================================ */
.region-dd-scrim {
    position: fixed;
    inset: 0;
    z-index: 590;
    display: none;
}
.region-dd-scrim.open { display: block; }

.region-dropdown-wrap {
    position: absolute;
    z-index: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
    transition: opacity 0.18s cubic-bezier(0.4,0,0.2,1),
                transform 0.18s cubic-bezier(0.34,1.4,0.64,1);
    transform-origin: top right;
}
.region-dropdown-wrap.open {
    pointer-events: all;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.region-dropdown {
    background: var(--surface);
    border-radius: var(--r-xl);
    width: 300px;
    box-shadow:
        0 4px 6px -1px rgba(26,20,16,0.07),
        0 20px 50px -10px rgba(26,20,16,0.18),
        0 0 0 1px rgba(26,20,16,0.05);
    overflow: hidden;
}

.region-dropdown-header {
    padding: 1rem 1.125rem 0.75rem;
    border-bottom: 1px solid var(--ink-50);
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.region-dropdown-header-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--r-sm);
    background: linear-gradient(135deg, var(--brand-light), #fed7aa);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.region-dropdown-header-icon svg { width: 13px; height: 13px; color: var(--brand); }
.region-dropdown-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand);
}
.region-dropdown-title {
    font-size: 12px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

.region-dropdown-body {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: none;
}
.region-dropdown-body::-webkit-scrollbar { display: none; }

.region-dd-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: background 0.15s;
    border: 1.5px solid transparent;
}
.region-dd-option:hover {
    background: var(--ink-50);
    border-color: var(--ink-100);
}
.region-dd-option.selected {
    background: var(--brand-light);
    border-color: #fed7aa;
}
.region-dd-option-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--r-sm);
    background: var(--ink-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}
.region-dd-option-icon svg { width: 13px; height: 13px; color: var(--ink-300); transition: color 0.15s; }
.region-dd-option.selected .region-dd-option-icon {
    background: linear-gradient(135deg, var(--brand), #f97316);
}
.region-dd-option.selected .region-dd-option-icon svg { color: white; }
.region-dd-option-name {
    flex: 1;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-700);
}
.region-dd-option.selected .region-dd-option-name { color: var(--brand); }
.region-dd-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--ink-200);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}
.region-dd-option.selected .region-dd-check {
    background: var(--brand);
    border-color: var(--brand);
}
.region-dd-check-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.15s, transform 0.15s;
}
.region-dd-option.selected .region-dd-check-dot {
    opacity: 1;
    transform: scale(1);
}

.region-dropdown-footer {
    padding: 0.5rem 0.75rem 0.75rem;
    border-top: 1px solid var(--ink-50);
}
.region-dropdown-footer p {
    font-size: 10px;
    color: var(--ink-300);
    text-align: center;
    line-height: 1.5;
}

/* ================================================================
   CONTENT
================================================================ */
.content {
    flex: 1;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    padding: 1.75rem 1.5rem;
}

/* ================================================================
   SITE FOOTER
================================================================ */
.site-footer {
    background: var(--dark-900);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
    flex-shrink: 0;
}
.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 1.5rem;
}
.dbb-top {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 1.25rem;
    align-items: start;
}
.dbb-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.75;
    display: block;
    margin-bottom: 0.875rem;
}
.dbb-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    line-height: 1.7;
    max-width: 160px;
}
.dbb-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.dbb-group { display: flex; flex-direction: column; gap: 0.5rem; }
.dbb-group-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f97316;
    margin-bottom: 0.25rem;
}
.dbb-group-links { display: flex; flex-direction: column; gap: 0.3rem; }
.dbb-group-links a {
    font-size: 12.5px;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    white-space: nowrap;
}
.dbb-group-links a:hover { color: rgba(255,255,255,0.85); }
.dbb-socials { display: flex; flex-direction: column; gap: 0.5rem; flex-shrink: 0; }
.dbb-social-icons { display: flex; align-items: center; gap: 0.5rem; }
.dbb-social-btn {
    width: 36px; height: 36px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: all 0.2s;
}
.dbb-social-btn:hover {
    background: rgba(229,78,20,0.15);
    border-color: rgba(229,78,20,0.3);
    color: #f97316;
    transform: translateY(-2px);
}
.dbb-social-btn svg { width: 15px; height: 15px; }
.dbb-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.dbb-bottom span { font-size: 11px; color: rgba(255,255,255,0.2); font-weight: 500; }
.dbb-bottom a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color 0.2s; }
.dbb-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ================================================================
   TOAST
================================================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--dark-900);
    color: white;
    padding: 0.875rem 1.375rem;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 600;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: #10b981; }
.toast.error { background: #ef4444; }

/* ================================================================
   MOBILE BOTTOM NAVIGATION
================================================================ */
.mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-900);
    padding: 0.875rem 0.4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
}
.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: rgba(255,255,255,0.35);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    position: relative;
}
.mobile-nav-item.active { color: var(--brand); }
.mobile-nav-item svg { width: 22px; height: 22px; }
.mobile-nav-item .mobile-cart-badge {
    position: absolute;
    top: -4px;
    right: 18%;
    background: var(--brand);
    color: white;
    font-size: 9px;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
    display: none;
}

/* ================================================================
   MOBILE SIDEBAR
================================================================ */
.mobile-sidebar-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 200;
    pointer-events: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}
.mobile-sidebar-scrim.open {
    background: rgba(26,20,16,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: all;
}

.mobile-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    max-width: 88vw;
    height: 100dvh;
    background: var(--dark-900);
    z-index: 210;
    transform: translateX(-100%);
    transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mobile-sidebar.open { transform: translateX(0); }
.mobile-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), #f97316, #fb923c);
    z-index: 1;
}

.msb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 0;
    flex-shrink: 0;
}
.msb-logo img {
    max-width: 100px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.msb-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.msb-close:hover { background: rgba(255,255,255,0.14); color: white; transform: rotate(90deg); }
.msb-close svg { width: 16px; height: 16px; }

.msb-greeting {
    margin: 1rem 1.25rem 0;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    display: flex; align-items: center; gap: 0.75rem;
    flex-shrink: 0;
}
.msb-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), #f97316);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.msb-avatar svg { width: 18px; height: 18px; color: white; }
.msb-greeting-text { flex: 1; min-width: 0; }
.msb-greeting-text p { font-size: 10px; color: rgba(255,255,255,0.3); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.msb-greeting-text h4 { font-size: 13px; color: white; font-weight: 700; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msb-login-btn {
    background: var(--brand); color: white; border: none;
    padding: 0.4rem 0.75rem; border-radius: var(--r-sm);
    font-size: 11px; font-weight: 700; cursor: pointer;
    text-decoration: none; display: block; white-space: nowrap;
    transition: background 0.2s; flex-shrink: 0;
}
.msb-login-btn:hover { background: var(--brand-dark); }

.msb-nav { flex: 1; overflow-y: auto; padding: 1rem; scrollbar-width: none; }
.msb-nav::-webkit-scrollbar { display: none; }
.msb-section-label {
    font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    color: rgba(255,255,255,0.18); padding: 0 0.625rem; margin-bottom: 0.375rem; margin-top: 1rem; display: block;
}
.msb-section-label:first-child { margin-top: 0; }
.msb-nav-list { list-style: none; }
.msb-nav-list li { margin-bottom: 1px; }
.msb-nav-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 0.75rem; border-radius: var(--r-md);
    text-decoration: none; color: rgba(255,255,255,0.5); font-weight: 600; font-size: 13px;
    transition: all 0.2s; cursor: pointer;
}
.msb-nav-link:hover { background: rgba(255,255,255,0.06); color: white; }
.msb-nav-link.active { background: rgba(229,78,20,0.15); color: #f97316; }
.msb-nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.msb-nav-link > span:not(.msb-link-badge):not(.msb-link-tag) { flex: 1; }
.msb-link-badge {
    background: var(--brand); color: white; font-size: 9px; font-weight: 800;
    padding: 0.1rem 0.4rem; border-radius: 999px; flex-shrink: 0; white-space: nowrap;
}
.msb-link-tag {
    font-size: 9px; font-weight: 700; padding: 0.1rem 0.35rem;
    border-radius: 5px; flex-shrink: 0; white-space: nowrap;
}
.msb-link-tag.green { color: #10b981; background: rgba(16,185,129,0.12); }
.msb-link-tag.amber { color: #f59e0b; background: rgba(245,158,11,0.12); }
.msb-link-tag.blue  { color: #60a5fa; background: rgba(96,165,250,0.12); }
.msb-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 0.75rem 0; }
.msb-footer {
    padding: 0.875rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}
.msb-footer-links { display: flex; gap: 0.5rem 1rem; flex-wrap: wrap; }
.msb-footer-links a { font-size: 11px; color: rgba(255,255,255,0.22); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.msb-footer-links a:hover { color: rgba(255,255,255,0.55); }
.msb-footer-copy { font-size: 10px; color: rgba(255,255,255,0.14); margin-top: 0.625rem; font-weight: 500; }
.msb-social-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.875rem; }
.msb-social-btn {
    width: 34px; height: 34px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: all 0.2s;
}
.msb-social-btn:hover { background: rgba(229,78,20,0.15); border-color: rgba(229,78,20,0.3); color: #f97316; }
.msb-social-btn svg { width: 14px; height: 14px; }

/* ================================================================
   TABLET
================================================================ */
@media (max-width: 1024px) {
    .content { padding: 1.5rem; }
}

/* ================================================================
   MOBILE (≤ 768px)
================================================================ */
@media (max-width: 768px) {
    .sidebar { display: none !important; }
    .ad-ticker { display: none; }
    .site-footer { display: none; }
    .header-center { display: none; }
    .header-region-desktop { display: none !important; }

    .mobile-nav { display: block; }
    .region-btn-mobile-compact { display: flex !important; }

    .header { height: 56px; }
    .header-inner {
        padding: 0 0.875rem;
        gap: 0.5rem;
        justify-content: space-between;
    }
    .header-left { gap: 0.5rem; flex-shrink: 0; }
    .header-logo-link img { max-width: 95px; }
    .header-right { gap: 0.375rem; flex-shrink: 0; }

    .region-dropdown { width: 240px; border-radius: var(--r-lg); }
    .region-dropdown-header { padding: 0.75rem 0.875rem 0.625rem; gap: 0.5rem; }
    .region-dropdown-header-icon { width: 24px; height: 24px; border-radius: 6px; }
    .region-dropdown-header-icon svg { width: 11px; height: 11px; }
    .region-dropdown-label { font-size: 8px; }
    .region-dropdown-title { font-size: 11px; }
    .region-dropdown-body { padding: 0.375rem; max-height: 200px; }
    .region-dd-option { padding: 0.5rem 0.625rem; gap: 0.5rem; border-radius: var(--r-sm); }
    .region-dd-option-icon { width: 26px; height: 26px; border-radius: 6px; }
    .region-dd-option-icon svg { width: 11px; height: 11px; }
    .region-dd-option-name { font-size: 12px; }
    .region-dd-check { width: 16px; height: 16px; }
    .region-dd-check-dot { width: 5px; height: 5px; }
    .region-dropdown-footer { padding: 0.375rem 0.625rem 0.625rem; }
    .region-dropdown-footer p { font-size: 9.5px; }

    .content { padding: 1rem; padding-bottom: 6rem; }
    .toast { bottom: 6rem; right: 1rem; left: 1rem; }
}

/* ================================================================
   REGION DROPDOWN — "Use my location" CTA row
   Append these rules to styles.css
========

/* ================================================================
   REGION DROPDOWN — "Use my location" CTA row
   Append these rules to styles.css
================================================================ */

.region-dd-gps-row {
    padding: 0.5rem 0.5rem 0;
}

.region-dd-gps-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    /* deliberately no background / no brand colour — just a quiet row */
    background: transparent;
    border: 1.5px solid var(--ink-100);
    border-radius: var(--r-md);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.region-dd-gps-btn:hover {
    background: var(--ink-50);
    border-color: var(--ink-200);
}
.region-dd-gps-icon {
    width: 26px;
    height: 26px;
    border-radius: var(--r-sm);
    /* icon box: same neutral ink tone, NOT brand gradient */
    background: var(--ink-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.region-dd-gps-icon svg { width: 12px; height: 12px; color: var(--ink-400); }
.region-dd-gps-label {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    /* muted — clearly secondary to the actual region options */
    color: var(--ink-400);
}
.region-dd-gps-arrow {
    width: 12px;
    height: 12px;
    color: var(--ink-200);
    flex-shrink: 0;
}

.region-dd-divider-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem 0.25rem;
    gap: 0.5rem;
}
.region-dd-divider-row::before,
.region-dd-divider-row::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--ink-100);
}
.region-dd-or-label {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--ink-300);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .region-dd-gps-row { padding: 0.375rem 0.375rem 0; }
    .region-dd-gps-btn { padding: 0.5rem 0.625rem; gap: 0.5rem; }
    .region-dd-gps-icon { width: 24px; height: 24px; }
    .region-dd-gps-icon svg { width: 11px; height: 11px; }
    .region-dd-gps-label { font-size: 11px; }
    .region-dd-divider-row { padding: 0.375rem 0.625rem 0.2rem; }
}