/* =========================================================
   PAGE INDEX MOBILE NAVBAR
   Silver Star Vending
   Full header + mobile actions + mobile drawer + cart drawer
   ========================================================= */

   :root {
    --nav-text: #0f172a;
    --nav-text-soft: #475569;
    --nav-text-muted: #64748b;
    --nav-text-inverse: #f8fafc;
  
    --nav-white: #ffffff;
    --nav-surface: rgba(255, 255, 255, 0.90);
    --nav-surface-strong: rgba(255, 255, 255, 0.96);
    --nav-surface-soft: #f8fafc;
    --nav-surface-softer: #f1f5f9;
  
    --nav-line: rgba(15, 23, 42, 0.08);
    --nav-line-strong: rgba(15, 23, 42, 0.14);
  
    --nav-brand-1: #38bdf8;
    --nav-brand-2: #2563eb;
    --nav-brand-3: #1d4ed8;
    --nav-brand-4: #172554;
  
    --nav-accent-cyan: #06b6d4;
    --nav-success: #10b981;
    --nav-danger: #ef4444;
    --nav-danger-deep: #b91c1c;
  
    --nav-shadow-1: 0 8px 24px rgba(15, 23, 42, 0.05);
    --nav-shadow-2: 0 16px 36px rgba(15, 23, 42, 0.08);
    --nav-shadow-3: 0 24px 56px rgba(15, 23, 42, 0.14);
    --nav-shadow-brand: 0 18px 36px rgba(37, 99, 235, 0.22);
  
    --nav-radius-xs: 10px;
    --nav-radius-sm: 14px;
    --nav-radius-md: 18px;
    --nav-radius-lg: 24px;
    --nav-radius-xl: 28px;
    --nav-radius-pill: 999px;
  
    --nav-header-height: 88px;
    --nav-header-height-mobile: 74px;
    --nav-max-width: 1440px;
    --nav-gutter: 28px;
  }
  
  /* =========================================================
     GLOBAL SHELL
     ========================================================= */
  
  .site-nav-shell {
    position: relative;
    z-index: 220;
  }
  
  .site-nav-shell,
  .site-nav-shell * {
    box-sizing: border-box;
  }
  
  .site-nav-shell a,
  .site-nav-shell button {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* =========================================================
     HEADER
     ========================================================= */
  
  .site-header {
    position: fixed;
    inset: 10px 0 auto 0;
    z-index: 220;
    transition:
      inset 0.28s ease,
      transform 0.28s ease,
      backdrop-filter 0.28s ease,
      -webkit-backdrop-filter 0.28s ease;
  }
  
  .site-header::before {
    content: "";
    position: absolute;
    inset: 0 0;
    background:
      linear-gradient(180deg, rgba(15, 23, 42, 0.30), rgba(15, 23, 42, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow:
      0 22px 48px rgba(2, 8, 23, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
    pointer-events: none;
    transition:
      background 0.28s ease,
      border-color 0.28s ease,
      box-shadow 0.28s ease,
      opacity 0.28s ease;
  }
  
  .site-header.is-scrolled,
  .site-header.menu-open {
    inset: 0 0 auto 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  
  .site-header.is-scrolled::before,
  .site-header.menu-open::before {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }
  
  .site-header .container {
    width: 100%;
    max-width: var(--nav-max-width);
    margin: 0 auto;
    padding: 0 var(--nav-gutter);
    min-height: var(--nav-header-height);
    display: flex;
    align-items: center;
  }
  
  .header-inner {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-width: 0;
    position: relative;
    z-index: 2;
  }
  
  /* =========================================================
     LOGO
     ========================================================= */
  
  .logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    text-decoration: none;
    position: relative;
    z-index: 2;
  }
  
  .logo-scroll-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0.28s ease;
  }
  
  .logo-scroll-icon,
  .logo-scroll-text {
    display: block;
    object-fit: cover;
    max-width: 100%;
  }
  
  .logo-scroll-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    filter: drop-shadow(0 10px 18px rgba(2, 8, 23, 0.18));
  }
  
  .logo-scroll-text {
    width: 220px;
    height: 88px;
    max-width: 220px;
    padding-top: 30px;
    filter: drop-shadow(0 10px 18px rgba(2, 8, 23, 0.14));
  }
  
  /* =========================================================
     DESKTOP NAV
     ========================================================= */
  
  .nav-desktop {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }
  
  .nav-primary-shell {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
  }
  
  .nav-links {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px;
    border-radius: var(--nav-radius-pill);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
      0 14px 28px rgba(2, 8, 23, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
      background 0.24s ease,
      border-color 0.24s ease,
      box-shadow 0.24s ease;
  }
  
  .site-header.is-scrolled .nav-links,
  .site-header.menu-open .nav-links {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 12px 24px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .nav-link {
    min-height: 42px;
    padding: 0 14px;
    border-radius: var(--nav-radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    color: var(--nav-text-inverse);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition:
      color 0.22s ease,
      background 0.22s ease,
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .site-header.is-scrolled .nav-link,
  .site-header.menu-open .nav-link {
    color: var(--nav-text);
  }
  
  .nav-link:hover,
  .nav-link:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
    outline: none;
  }
  
  .site-header.is-scrolled .nav-link:hover,
  .site-header.is-scrolled .nav-link:focus-visible,
  .site-header.menu-open .nav-link:hover,
  .site-header.menu-open .nav-link:focus-visible {
    background: rgba(15, 23, 42, 0.05);
  }
  
  /* =========================================================
     AUTH VISIBILITY
     ========================================================= */
  
  .site-nav-shell[data-auth="logged-out"] .nav-auth-user,
  .site-nav-shell[data-auth="logged-out"] .mobile-auth-user {
    display: none !important;
  }
  
  .site-nav-shell[data-auth="logged-in"] .nav-auth-guest,
  .site-nav-shell[data-auth="logged-in"] .mobile-auth-guest {
    display: none !important;
  }
  
  .site-nav-shell[data-auth="logged-out"] .nav-auth-guest {
    display: flex;
  }
  
  .site-nav-shell[data-auth="logged-in"] .nav-auth-user {
    display: flex;
  }
  
  .site-nav-shell[data-auth="logged-out"] .mobile-auth-guest {
    display: grid;
  }
  
  .site-nav-shell[data-auth="logged-in"] .mobile-auth-user {
    display: flex;
  }
  
  /* =========================================================
     GUEST ACTIONS
     ========================================================= */
  
  .nav-auth-guest {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  
  .nav-account-btn {
    min-width: 0;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      background 0.22s ease,
      color 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .nav-account-btn:hover,
  .nav-account-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .nav-btn-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
  }
  
  .nav-account-btn-secondary {
    color: var(--nav-text-inverse);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow:
      0 12px 28px rgba(2, 8, 23, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
  
  .nav-account-btn-primary {
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--nav-brand-1) 0%, var(--nav-brand-2) 56%, var(--nav-brand-4) 100%);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow:
      var(--nav-shadow-brand),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .site-header.is-scrolled .nav-account-btn-secondary,
  .site-header.menu-open .nav-account-btn-secondary {
    color: var(--nav-text);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 12px 24px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  /* =========================================================
     LOGGED IN ACTIONS
     ========================================================= */
  
  .nav-auth-user {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .nav-dashboard-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  .nav-dashboard-action {
    min-height: 56px;
    padding: 0 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow:
      0 14px 28px rgba(2, 8, 23, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      color 0.22s ease;
  }
  
  .nav-dashboard-action:hover,
  .nav-dashboard-action:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .site-header.is-scrolled .nav-dashboard-action,
  .site-header.menu-open .nav-dashboard-action {
    color: var(--nav-text);
    border-color: rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 14px 28px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .nav-dashboard-action-cart {
    appearance: none;
  }
  
  .nav-dashboard-action-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    line-height: 1;
  }
  
  .site-header.is-scrolled .nav-dashboard-action-icon,
  .site-header.menu-open .nav-dashboard-action-icon {
    background: rgba(37, 99, 235, 0.10);
    color: var(--nav-brand-3);
  }
  
  .nav-dashboard-action-label {
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }
  
  .nav-dashboard-action-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nav-danger), var(--nav-danger-deep));
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
      0 8px 16px rgba(185, 28, 28, 0.24),
      0 0 0 2px rgba(15, 23, 42, 0.14);
  }
  
  .site-header.is-scrolled .nav-dashboard-action-badge,
  .site-header.menu-open .nav-dashboard-action-badge {
    box-shadow:
      0 8px 16px rgba(185, 28, 28, 0.20),
      0 0 0 2px #ffffff;
  }
  
  .nav-account-chip {
    min-width: 0;
    width: 176px;
    min-height: 56px;
    padding: 0 12px 0 10px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow:
      0 14px 28px rgba(2, 8, 23, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      color 0.22s ease;
  }
  
  .nav-account-chip:hover,
  .nav-account-chip:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .site-header.is-scrolled .nav-account-chip,
  .site-header.menu-open .nav-account-chip {
    color: var(--nav-text);
    border-color: rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 14px 28px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .nav-account-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(135deg, var(--nav-brand-2), var(--nav-brand-4));
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow:
      0 10px 18px rgba(37, 99, 235, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .nav-account-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
  }
  
  .nav-account-name {
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .nav-account-role {
    font-size: 11px;
    font-weight: 700;
    color: rgba(248, 250, 252, 0.74);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .site-header.is-scrolled .nav-account-role,
  .site-header.menu-open .nav-account-role {
    color: var(--nav-text-muted);
  }
  
  .nav-signout-btn {
    min-height: 56px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    box-shadow:
      0 14px 28px rgba(2, 8, 23, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease,
      color 0.22s ease;
  }
  
  .nav-signout-btn:hover,
  .nav-signout-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .site-header.is-scrolled .nav-signout-btn,
  .site-header.menu-open .nav-signout-btn {
    color: var(--nav-text);
    border-color: rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 14px 28px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  /* =========================================================
     UNIVERSAL CART ACCESS
     ========================================================= */
  
  .nav-utility-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  
  .nav-dashboard-action-cart-universal {
    min-width: 112px;
    position: relative;
    isolation: isolate;
  }
  
  .nav-dashboard-action-cart-universal::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
      linear-gradient(135deg, rgba(56, 189, 248, 0.20), rgba(37, 99, 235, 0.14), rgba(29, 78, 216, 0.16));
    opacity: 0.9;
    z-index: -1;
    pointer-events: none;
  }
  
  .site-header.is-scrolled .nav-dashboard-action-cart-universal::before,
  .site-header.menu-open .nav-dashboard-action-cart-universal::before {
    background:
      linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(37, 99, 235, 0.08), rgba(29, 78, 216, 0.10));
  }
  
  .nav-dashboard-action-cart-universal:hover,
  .nav-dashboard-action-cart-universal:focus-visible {
    box-shadow:
      0 18px 30px rgba(2, 8, 23, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .site-header.is-scrolled .nav-dashboard-action-cart-universal:hover,
  .site-header.is-scrolled .nav-dashboard-action-cart-universal:focus-visible,
  .site-header.menu-open .nav-dashboard-action-cart-universal:hover,
  .site-header.menu-open .nav-dashboard-action-cart-universal:focus-visible {
    box-shadow:
      0 16px 28px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(37, 99, 235, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
  
  /* =========================================================
     MOBILE HEADER ACTIONS
     ========================================================= */
  
  .mobile-header-actions {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
  }
  
  .mobile-cart-trigger,
  .nav-toggle {
    appearance: none;
    -webkit-appearance: none;
  }
  
  .mobile-cart-trigger {
    position: relative;
    min-width: 0;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(37, 99, 235, 0.14), rgba(15, 23, 42, 0.18));
    color: #ffffff;
    box-shadow:
      0 12px 24px rgba(2, 8, 23, 0.14),
      0 12px 28px rgba(37, 99, 235, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease,
      background 0.22s ease;
  }
  
  .mobile-cart-trigger:hover,
  .mobile-cart-trigger:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow:
      0 16px 30px rgba(2, 8, 23, 0.18),
      0 16px 34px rgba(37, 99, 235, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  
  .mobile-cart-trigger-icon {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    line-height: 1;
  }
  
  .mobile-cart-trigger-text {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
  }
  
  .mobile-cart-trigger-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nav-danger), var(--nav-danger-deep));
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow:
      0 10px 16px rgba(185, 28, 28, 0.24),
      0 0 0 2px rgba(15, 23, 42, 0.22);
  }
  
  .site-header.is-scrolled .mobile-cart-trigger,
  .site-header.menu-open .mobile-cart-trigger {
    color: var(--nav-text);
    border-color: rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 12px 22px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .site-header.is-scrolled .mobile-cart-trigger-icon,
  .site-header.menu-open .mobile-cart-trigger-icon {
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
  }
  
  .site-header.is-scrolled .mobile-cart-trigger-badge,
  .site-header.menu-open .mobile-cart-trigger-badge {
    box-shadow:
      0 8px 16px rgba(185, 28, 28, 0.20),
      0 0 0 2px #ffffff;
  }
  
  /* =========================================================
     MOBILE TOGGLE
     ========================================================= */
  
  .nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow:
      0 12px 24px rgba(2, 8, 23, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition:
      transform 0.22s ease,
      background 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }
  
  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease,
      background 0.22s ease;
  }
  
  .site-header.is-scrolled .nav-toggle,
  .site-header.menu-open .nav-toggle {
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 12px 22px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .site-header.is-scrolled .nav-toggle span,
  .site-header.menu-open .nav-toggle span {
    background: var(--nav-text);
  }
  
  .site-header.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  
  .site-header.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .site-header.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
  
  /* =========================================================
     DRAWER OVERLAY / MOBILE DRAWER
     ========================================================= */
  
  .drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    background: rgba(2, 8, 23, 0.50);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  
  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  html.drawer-open,
  body.drawer-open {
    overflow: hidden;
  }
  
  .mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 999;
    width: min(92vw, 390px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background:
      linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: -24px 0 56px rgba(15, 23, 42, 0.16);
    transition: right 0.34s cubic-bezier(.22, .61, .36, 1);
  }
  
  .mobile-drawer.open {
    right: 0;
  }
  
  .mobile-drawer-header {
    flex: 0 0 auto;
    min-height: 80px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  }
  
  .mobile-drawer-brand {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .mobile-drawer-title {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--nav-text);
  }
  
  .mobile-drawer-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--nav-text-muted);
  }
  
  .mobile-close {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--nav-text);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    box-shadow:
      0 10px 18px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.90);
  }
  
  .mobile-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scrollbar-width: thin;
  }
  
  /* =========================================================
     MOBILE HERO PANEL
     ========================================================= */
  
  .mobile-hero-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background:
      radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 44%),
      linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(15, 23, 42, 0.04)),
      linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow:
      0 18px 30px rgba(37, 99, 235, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .mobile-hero-panel-copy {
    display: grid;
    gap: 6px;
  }
  
  .mobile-hero-kicker {
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--nav-brand-3);
  }
  
  .mobile-hero-panel-copy strong {
    color: var(--nav-text);
    font-size: 17px;
    line-height: 1.25;
    font-weight: 900;
  }
  
  .mobile-hero-panel-copy p {
    margin: 0;
    color: var(--nav-text-soft);
    font-size: 12.5px;
    line-height: 1.65;
  }
  
  .mobile-hero-actions {
    display: grid;
    gap: 10px;
  }
  
  .mobile-hero-action {
    min-height: 70px;
    padding: 12px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--nav-text);
    border: 1px solid rgba(15, 23, 42, 0.06);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    box-shadow:
      0 12px 20px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
    position: relative;
    cursor: pointer;
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }
  
  .mobile-hero-action:hover,
  .mobile-hero-action:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow:
      0 16px 24px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }
  
  .mobile-hero-action-cart {
    border-color: rgba(37, 99, 235, 0.12);
    background:
      linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(37, 99, 235, 0.06)),
      linear-gradient(180deg, #ffffff, #f8fafc);
  }
  
  .mobile-hero-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
    font-size: 16px;
  }
  
  .mobile-hero-action-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .mobile-hero-action-copy strong {
    color: var(--nav-text);
    font-size: 13px;
    font-weight: 900;
  }
  
  .mobile-hero-action-copy small {
    color: var(--nav-text-muted);
    font-size: 11px;
    font-weight: 700;
  }
  
  .mobile-hero-action-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nav-danger), var(--nav-danger-deep));
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 16px rgba(185, 28, 28, 0.18);
  }
  
  /* =========================================================
     MOBILE ACCOUNT SUMMARY
     ========================================================= */
  
  .mobile-account-summary {
    flex-direction: column;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(56, 189, 248, 0.10), rgba(37, 99, 235, 0.06));
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow:
      0 16px 26px rgba(37, 99, 235, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }
  
  .mobile-account-top {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .mobile-account-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
      linear-gradient(135deg, var(--nav-brand-2), var(--nav-brand-4));
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow:
      0 12px 18px rgba(37, 99, 235, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .mobile-account-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  
  .mobile-account-copy strong {
    font-size: 14px;
    font-weight: 900;
    color: var(--nav-text);
  }
  
  .mobile-account-copy span {
    font-size: 12px;
    line-height: 1.45;
    color: var(--nav-text-soft);
  }
  
  .mobile-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  
  .mobile-dashboard-card {
    min-height: 84px;
    padding: 12px;
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-decoration: none;
    color: var(--nav-text);
    border: 1px solid rgba(15, 23, 42, 0.06);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 12px 20px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
    cursor: pointer;
    text-align: left;
    font: inherit;
  }
  
  .mobile-dashboard-card:hover,
  .mobile-dashboard-card:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow:
      0 16px 24px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
  
  .mobile-dashboard-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
    font-size: 15px;
  }
  
  .mobile-dashboard-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .mobile-dashboard-text strong {
    font-size: 13px;
    font-weight: 900;
    color: var(--nav-text);
  }
  
  .mobile-dashboard-text small {
    font-size: 11px;
    font-weight: 700;
    color: var(--nav-text-muted);
  }
  
  .mobile-dashboard-card.has-badge {
    position: relative;
  }
  
  .mobile-dashboard-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--nav-danger), var(--nav-danger-deep));
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 16px rgba(185, 28, 28, 0.18);
  }
  
  .mobile-auth-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* =========================================================
     MOBILE GUEST ACTIONS
     ========================================================= */
  
  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .mobile-actions .nav-account-btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    border-radius: 16px;
  }
  
  .mobile-actions .nav-account-btn-secondary {
    color: var(--nav-text);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 12px 20px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.90);
  }
  
  .mobile-actions .nav-account-btn-primary {
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--nav-accent-cyan) 0%, var(--nav-brand-2) 58%, var(--nav-brand-3) 100%);
    border-color: rgba(37, 99, 235, 0.18);
    box-shadow:
      0 14px 24px rgba(37, 99, 235, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  /* =========================================================
     MOBILE NAV
     ========================================================= */
  
  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .mobile-nav-label {
    padding: 0 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--nav-text-muted);
  }
  
  .mobile-panel-link {
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--nav-text);
    border: 1px solid rgba(15, 23, 42, 0.07);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 10px 18px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
    cursor: pointer;
    font: inherit;
  }
  
  .mobile-panel-link:hover,
  .mobile-panel-link:focus-visible {
    transform: translateY(-1px);
    outline: none;
    box-shadow:
      0 14px 24px rgba(15, 23, 42, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
  
  .mobile-panel-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
    font-size: 15px;
  }
  
  .mobile-auth-mini-btn {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--nav-text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    box-shadow:
      0 10px 18px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease,
      border-color 0.22s ease;
  }
  
  .mobile-auth-mini-btn:hover,
  .mobile-auth-mini-btn:focus-visible {
    transform: translateY(-1px);
    outline: none;
  }
  
  .mobile-auth-mini-btn-danger {
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.16);
    background:
      linear-gradient(180deg, #ffffff, #fef2f2);
  }
  
  /* =========================================================
     CART DRAWER
     ========================================================= */
  
  .cart-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(2, 8, 23, 0.54);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.22s ease;
  }
  
  .cart-drawer-backdrop.is-visible {
    opacity: 1;
  }
  
  html.cart-drawer-open,
  body.cart-drawer-open {
    overflow: hidden;
  }
  
  .cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1100;
    width: min(94vw, 470px);
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,250,252,0.98) 100%);
    box-shadow: -26px 0 60px rgba(15, 23, 42, 0.18);
    transition: right 0.3s cubic-bezier(.22, .61, .36, 1);
  }
  
  .cart-drawer.is-open {
    right: 0;
  }
  
  .cart-drawer-header {
    flex: 0 0 auto;
    padding: 20px 18px 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }
  
  .cart-drawer-heading {
    min-width: 0;
  }
  
  .cart-drawer-kicker {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: var(--nav-text-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }
  
  .cart-drawer-heading h2 {
    margin: 0;
    color: var(--nav-text);
    font-size: 24px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    font-weight: 900;
  }
  
  .cart-drawer-heading p {
    margin: 0.72rem 0 0;
    color: var(--nav-text-soft);
    font-size: 14px;
    line-height: 1.7;
  }
  
  .cart-drawer-close {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    color: var(--nav-text);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow:
      0 10px 18px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .cart-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 18px;
  }
  
  .cart-drawer-list {
    display: grid;
    gap: 12px;
  }
  
  .cart-drawer-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow:
      0 12px 20px rgba(15, 23, 42, 0.04),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .cart-drawer-item-media {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #eef4f7;
  }
  
  .cart-drawer-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .cart-drawer-item-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }
  
  .cart-drawer-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }
  
  .cart-drawer-item-type {
    display: inline-flex;
    margin-bottom: 6px;
    padding: 0.34rem 0.56rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .cart-drawer-item-top h3 {
    margin: 0;
    color: var(--nav-text);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
  }
  
  .cart-drawer-remove {
    border: 1px solid rgba(239, 68, 68, 0.16);
    background: linear-gradient(180deg, #ffffff, #fef2f2);
    color: #991b1b;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
  }
  
  .cart-drawer-item-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--nav-text-soft);
    font-size: 12px;
  }
  
  .cart-drawer-item-meta a {
    color: var(--nav-brand-3);
    font-weight: 800;
    text-decoration: none;
  }
  
  .cart-drawer-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  
  .cart-drawer-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255,255,255,0.92);
  }
  
  .cart-drawer-qty button {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--nav-brand-3);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
  }
  
  .cart-drawer-qty span {
    min-width: 18px;
    text-align: center;
    color: var(--nav-text);
    font-size: 13px;
    font-weight: 800;
  }
  
  .cart-drawer-line-total {
    color: var(--nav-text);
    font-size: 14px;
    font-weight: 900;
  }
  
  .cart-drawer-footer {
    flex: 0 0 auto;
    padding: 16px 18px 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.98) 100%);
  }
  
  .cart-drawer-summary {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
  }
  
  .cart-drawer-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--nav-text-soft);
    font-size: 13px;
  }
  
  .cart-drawer-summary-row strong {
    color: var(--nav-text);
    font-size: 14px;
    font-weight: 900;
  }
  
  .cart-drawer-actions {
    display: grid;
    gap: 10px;
  }
  
  .cart-drawer-btn {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
  }
  
  .cart-drawer-btn-secondary {
    color: var(--nav-text);
    background:
      linear-gradient(180deg, #ffffff, #f8fafc);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow:
      0 10px 18px rgba(15, 23, 42, 0.05),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  
  .cart-drawer-btn-primary {
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--nav-accent-cyan) 0%, var(--nav-brand-2) 58%, var(--nav-brand-3) 100%);
    box-shadow:
      0 14px 24px rgba(37, 99, 235, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .cart-drawer-btn-primary-alt {
    color: #ffffff;
    background:
      linear-gradient(135deg, #22d3ee 0%, #0f8aad 58%, #155e75 100%);
    box-shadow:
      0 14px 24px rgba(15, 138, 173, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  
  .dashboard-empty-state {
    padding: 20px 18px;
    border-radius: 20px;
    border: 1px dashed rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    display: grid;
    gap: 10px;
  }
  
  .dashboard-empty-state strong {
    color: var(--nav-text);
    font-size: 15px;
    font-weight: 900;
  }
  
  .dashboard-empty-state p {
    margin: 0;
    color: var(--nav-text-soft);
    font-size: 13px;
    line-height: 1.65;
  }
  
  .dashboard-btn {
    min-height: 46px;
    padding: 0 16px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
  }
  
  .dashboard-btn-primary {
    color: #ffffff;
    background:
      linear-gradient(135deg, var(--nav-accent-cyan) 0%, var(--nav-brand-2) 58%, var(--nav-brand-3) 100%);
  }
  
  /* =========================================================
     DESKTOP FITTING
     ========================================================= */
  
  @media (min-width: 981px) {
    .site-nav-shell[data-auth="logged-out"] .nav-desktop,
    .site-nav-shell[data-auth="logged-in"] .nav-desktop {
      justify-content: flex-end;
      gap: 12px;
    }
  
    .site-nav-shell[data-auth="logged-out"] .nav-primary-shell,
    .site-nav-shell[data-auth="logged-in"] .nav-primary-shell {
      flex: 0 1 auto;
      min-width: 0;
      justify-content: flex-end;
    }
  
    .site-nav-shell[data-auth="logged-out"] .nav-links,
    .site-nav-shell[data-auth="logged-in"] .nav-links {
      flex: 0 1 auto;
      justify-content: flex-end;
      margin-left: auto;
    }
  
    .mobile-header-actions {
      display: none !important;
    }
  }
  
  @media (max-width: 1420px) {
    .nav-dashboard-actions {
      gap: 8px;
    }
  
    .nav-utility-actions {
      gap: 8px;
    }
  
    .nav-dashboard-action-cart-universal {
      min-width: 104px;
    }
  }
  
  @media (max-width: 1340px) {
    .nav-link {
      padding: 0 12px;
      font-size: 12.5px;
    }
  
    .nav-account-chip {
      width: 162px;
    }
  }
  
  @media (max-width: 1240px) {
    .site-header .container {
      padding: 0 22px;
    }
  
    .nav-links {
      padding: 6px;
    }
  
    .nav-link {
      padding: 0 10px;
      font-size: 12px;
    }
  
    .nav-dashboard-action {
      min-height: 50px;
      min-width: 50px;
      padding-inline: 0;
    }
  
    .nav-dashboard-action-label {
      display: none;
    }
  
    .nav-dashboard-action-badge {
      min-width: 18px;
      height: 18px;
      padding: 0 5px;
    }
  
    .nav-dashboard-action-cart-universal {
      min-width: 50px;
      padding-inline: 0;
    }
  
    .nav-account-chip,
    .nav-signout-btn {
      min-height: 50px;
    }
  
    .nav-account-chip {
      width: 146px;
    }
  
    .nav-account-role {
      display: none;
    }
  
    .nav-signout-btn span:last-child {
      display: none;
    }
  }
  
  @media (max-width: 1140px) {
    .header-inner {
      gap: 14px;
    }
  
    .logo-scroll-icon {
      width: 58px;
      height: 58px;
      flex-basis: 58px;
    }
  
    .logo-scroll-text {
      height: 34px;
      max-width: 152px;
    }
  
    .nav-auth-guest {
      gap: 8px;
    }
  
    .nav-account-btn {
      padding: 0 13px;
    }
  
    .nav-account-btn .nav-btn-label {
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  
    .nav-account-chip {
      width: 136px;
    }
  }
  
  /* =========================================================
     MOBILE BREAKPOINT
     ========================================================= */
  
  @media (max-width: 980px) {
    .header-inner {
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 12px;
    }
  
    .nav-desktop {
      display: none;
    }
  
    .mobile-header-actions {
      display: inline-flex;
    }
  
    .nav-toggle {
      display: flex;
    }
  
    .site-header .container {
      min-height: var(--nav-header-height-mobile);
      padding: 0 18px;
    }
  
    .logo {
      min-width: 0;
      max-width: 100%;
    }
  
    .logo-scroll-icon {
      width: 54px;
      height: 54px;
      flex-basis: 54px;
    }
  
    .logo-scroll-text {
      height: 66px;
      max-width: min(42vw, 148px);
      margin-left: -20px;
      margin-top: 5px;
    }
  
    .cart-drawer {
      width: min(96vw, 430px);
    }
  }
  
  /* =========================================================
     SMALL PHONES
     ========================================================= */
  
  @media (max-width: 560px) {
    .site-header {
      inset: 6px 0 auto 0;
    }
  
    .site-header::before {
      inset: 0 10px;
      border-radius: 20px;
    }
  
    .site-header .container {
      padding: 0 14px;
    }
  
    .mobile-drawer {
      width: min(94vw, 360px);
    }
  
    .mobile-drawer-body {
      padding: 14px;
    }
  
    .logo-scroll-icon {
      width: 48px;
      height: 48px;
      flex-basis: 48px;
    }
  
    .logo-scroll-text {
      height: 28px;
      max-width: min(40vw, 128px);
    }
  
    .mobile-header-actions {
      gap: 8px;
    }
  
    .mobile-cart-trigger {
      min-height: 44px;
      padding: 0 12px;
    }
  
    .mobile-cart-trigger-text {
      display: none;
    }
  
    .mobile-cart-trigger-icon {
      width: 24px;
      height: 24px;
      flex-basis: 24px;
    }
  
    .cart-drawer {
      width: 100%;
    }
  
    .cart-drawer-header,
    .cart-drawer-body,
    .cart-drawer-footer {
      padding-left: 14px;
      padding-right: 14px;
    }
  
    .cart-drawer-item {
      grid-template-columns: 1fr;
    }
  
    .cart-drawer-item-media {
      aspect-ratio: 16 / 10;
    }
  
    .cart-drawer-item-top,
    .cart-drawer-item-bottom {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  
  @media (max-width: 430px) {
    .site-header::before {
      inset: 0 8px;
    }
  
    .site-header .container {
      padding: 0 12px;
    }
  
    .logo {
      max-width: 100%;
    }
  
    .mobile-header-actions {
      gap: 7px;
    }
  
    .mobile-cart-trigger,
    .nav-toggle {
      width: 42px;
      min-width: 42px;
      height: 42px;
      min-height: 42px;
      padding: 9px;
      border-radius: 13px;
      justify-content: center;
    }
  
    .mobile-cart-trigger {
      padding: 0;
    }
  
    .mobile-cart-trigger-icon {
      width: 22px;
      height: 22px;
      flex-basis: 22px;
      border-radius: 8px;
      font-size: 12px;
    }
  
    .mobile-cart-trigger-badge {
      top: -5px;
      right: -5px;
      min-width: 20px;
      height: 20px;
      font-size: 9px;
    }
  
    .logo-scroll-wrap {
      gap: 8px;
    }
  
    .logo-scroll-icon {
      width: 42px;
      height: 42px;
      flex-basis: 42px;
    }
  
    .logo-scroll-text {
      height: 24px;
      max-width: min(39vw, 114px);
    }
  
    .mobile-dashboard-grid {
      grid-template-columns: 1fr;
    }
  
    .mobile-drawer-header {
      min-height: 72px;
      padding: 12px 14px;
    }
  
    .mobile-hero-panel {
      padding: 14px;
      border-radius: 20px;
    }
  
    .mobile-account-summary {
      padding: 12px;
      border-radius: 18px;
    }
  
    .mobile-dashboard-card {
      min-height: 76px;
    }
  
    .mobile-panel-link {
      min-height: 50px;
      border-radius: 14px;
    }
  }
  
  @media (max-width: 360px) {
    .site-header .container {
      padding: 0 10px;
    }
  
    .logo-scroll-icon {
      width: 38px;
      height: 38px;
      flex-basis: 38px;
    }
  
    .logo-scroll-text {
      height: 21px;
      max-width: 92px;
    }
  
    .mobile-drawer {
      width: 100%;
    }
  
    .mobile-auth-footer {
      flex-direction: column;
    }
  
    .mobile-hero-action {
      min-height: 66px;
      padding: 11px;
    }
  }



  /* =========================================================
   MOBILE LOGO TEXT HARDENING
   Reliable logo2 rendering for iPhone and small mobile devices
   Append at the end of page-index-mobilenav.css
   ========================================================= */

.logo-scroll-text {
  display: block;
  width: 220px;
  height: 88px;
  max-width: 220px;
  object-fit: cover;
  object-position: left center;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 0;
  image-rendering: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 980px) {
  .logo-scroll-wrap {
    gap: 8px;
    align-items: center;
  }

  .logo-scroll-text {

    max-width: 140px;
    min-width: 140px;
    max-height: 90px;
    min-height: 90px;
margin-bottom: 15px;
    object-fit: cover;
    object-position: left center;
    overflow: visible;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .logo-scroll-text {
    width: 80px;
    height: 25px;
    max-width: 80px;
    min-width: 80px;
    max-height: 25px;
    min-height: 25px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 430px) {
  .logo-scroll-text {
    width: 80px;
    height: 25px;
    max-width: 80px;
    min-width: 80px;
    max-height: 25px;
    min-height: 25px;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 360px) {
  .logo-scroll-text {
    width: 80px;
    height: 25px;
    max-width: 80px;
    min-width: 80px;
    max-height: 25px;
    min-height: 25px;
    margin: 0;
    padding: 0;
  }
}