/* ============================================================
   CrackersMela � Blue Glassmorphism Design System
   Palette   #E3F2FD � #90CAF9 � #2196F3 � #0D47A1
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #E3F2FD;
  --bg-deep: #D4E9FB;
  --bg-inner: #F4FAFF;
  --surface: rgba(255, 255, 255, 0.1);
  --surface-2: rgba(255, 255, 255, 0.15);
  --surface-3: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-2: rgba(13, 71, 161, 0.08);
  --ink: #0B1B3A;
  --ink-soft: #28406B;
  --muted: #5B6B8C;
  --muted-2: #8090B0;
  --primary: #2196F3;
  --primary-deep: #0D47A1;
  --primary-mid: #1E88E5;
  --secondary: #90CAF9;
  --cyan: #03A9F4;
  --gold: #F6B93B;
  --amber: #F9A825;
  --coral: #FF6B6B;
  --success: #2E9E5B;
  --danger: #E0464B;
  --shadow-1: 0 6px 24px rgba(13, 71, 161, 0.08);
  --shadow-2: 0 14px 44px rgba(13, 71, 161, 0.14);
  --shadow-3: 0 24px 70px rgba(13, 71, 161, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --blur: blur(18px);
  --blur-sm: blur(12px);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --r: 100%;
  --nav-h: 72px;

  /* --- Layered glass system (strong ? medium ? light) --- */
  --glass-strong-bg: rgba(255, 255, 255, 0.15);
  --glass-strong-blur: blur(26px) saturate(150%);
  --glass-strong-border: rgba(255, 255, 255, 0.85);
  --glass-med-bg: rgba(255, 255, 255, 0.12);
  --glass-med-blur: blur(18px) saturate(135%);
  --glass-med-border: rgba(255, 255, 255, 0.7);
  --glass-light-bg: rgba(255, 255, 255, 0.08);
  --glass-light-blur: blur(10px);
  --glass-light-border: rgba(255, 255, 255, 0.55);

  /* --- Premium radii --- */
  --r-shell: 34px;
  --r-card: 24px;
  --r-panel: 22px;
  --r-field: 16px;
  --r-pill: 999px;

  /* --- Blue-tinted elevation --- */
  --el-1: 0 2px 8px rgba(13, 71, 161, 0.05), 0 8px 24px rgba(13, 71, 161, 0.06);
  --el-2: 0 4px 14px rgba(13, 71, 161, 0.07), 0 16px 40px rgba(13, 71, 161, 0.1);
  --el-3: 0 8px 24px rgba(13, 71, 161, 0.1), 0 28px 64px rgba(13, 71, 161, 0.16);
  --el-blue: 0 8px 22px rgba(33, 150, 243, 0.32);
  --el-blue-hi: 0 12px 30px rgba(33, 150, 243, 0.45);
  --ease: cubic-bezier(0.32, 0.72, 0.35, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% -10%, #CFE6FB 0%, transparent 55%),
    linear-gradient(168deg, #DCEDFC 0%, #E9F4FE 42%, #D6E9FB 100%);
  background-attachment: fixed;
  background-color: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-deep);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-deep));
  border-radius: 99px;
  border: 2px solid var(--bg);
}

:focus-visible {
  outline: 3px solid rgba(33, 150, 243, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Ambient background FX ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float-orb 26s ease-in-out infinite alternate;
}

.bg-orb--1 {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -160px;
  background: radial-gradient(circle at 34% 32%, rgba(144, 202, 249, 0.95), transparent 68%);
}

.bg-orb--2 {
  width: 560px;
  height: 560px;
  top: 18%;
  right: -220px;
  background: radial-gradient(circle at 58% 42%, rgba(33, 150, 243, 0.42), transparent 68%);
  animation-delay: -9s;
}

.bg-orb--3 {
  width: 520px;
  height: 520px;
  bottom: -220px;
  left: 24%;
  background: radial-gradient(circle at 50% 50%, rgba(144, 202, 249, 0.75), transparent 70%);
  animation-delay: -16s;
}

/* Soft light streaks � keeps the field premium, never busy */
.bg-grid {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 34% at 12% 22%, rgba(255, 255, 255, 0.55), transparent 62%),
    radial-gradient(60% 30% at 88% 74%, rgba(255, 255, 255, 0.4), transparent 62%);
}

@keyframes float-orb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, 60px) scale(1.12);
  }
}

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--surface);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
}

.glass-strong {
  background: var(--surface-3);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-2);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: var(--el-blue);
}

.btn-primary:hover {
  box-shadow: var(--el-blue-hi);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-light-blur);
  -webkit-backdrop-filter: var(--glass-light-blur);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--primary-deep);
  box-shadow: var(--el-1);
}

.btn-glass:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--el-2);
}

.btn-white {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: var(--el-2);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--el-3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(13, 71, 161, 0.18);
  color: var(--primary-deep);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.6);
}

.btn-lg {
  height: 54px;
  padding: 0 30px;
  font-size: 15.5px;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Icon-only round button */
.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--primary-deep);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  color: var(--primary);
}

.icon-btn .count-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 8px rgba(33, 150, 243, 0.4);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

#userIconBtn {
  display: inline-flex;
}

.hidden {
  display: none !important;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Promo bar ---------- */
.promo-bar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  color: #fff;
  overflow: hidden;
}

.promo-bar__track {
  display: flex;
  gap: 42px;
  padding: 9px 16px;
  white-space: nowrap;
  animation: promo-scroll 34s linear infinite;
  width: max-content;
}

.promo-bar:hover .promo-bar__track {
  animation-play-state: paused;
}

.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.promo-bar__item svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

@keyframes promo-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- App shell ---------- */
.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  margin: 16px auto 0;
  padding: 14px 14px 30px;
  border-radius: var(--r-shell);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.34) 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--el-3);
}

.app-shell .container {
  max-width: 100%;
  padding: 0 clamp(14px, 2vw, 28px);
}

.shell-main {
  display: block;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.98), rgba(227,242,253,0.96));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(13,71,161,0.12);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--el-3);
}

.nav-inner {
  width: 100%;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-link svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.22s var(--ease);
}

.nav-link:hover {
  background: rgba(33, 150, 243, 0.1);
  color: var(--primary-deep);
}

.nav-link.active {
  background: rgba(33, 150, 243, 0.13);
  color: var(--primary-deep);
  font-weight: 700;
}

/* ---------- Nav dropdowns ---------- */
.nav-drop {
  position: relative;
}

.nav-drop:hover > .nav-link svg,
.nav-drop:focus-within > .nav-link svg {
  transform: rotate(180deg);
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 232px;
  padding: 10px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(227,242,253,0.82));
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 24px 60px rgba(13,71,161,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16,1,0.3,1), transform 0.18s cubic-bezier(0.16,1,0.3,1), visibility 0.18s;
  z-index: 9999;
}

/* invisible bridge so the menu survives the gap on hover */
.nav-drop__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop__menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.nav-drop__menu a:hover {
  background: rgba(33, 150, 243, 0.11);
  color: var(--primary-deep);
}

.nav-drop__menu a .mi {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: rgba(33, 150, 243, 0.11);
}

.nav-drop__menu--cats {
  min-width: 480px;
  max-width: min(100% - 32px, 900px);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  right: 0;
  left: auto;
  transform: translateY(-4px);
  padding: 16px 20px;
}

.nav-drop:hover > .nav-drop__menu--cats,
.nav-drop:focus-within > .nav-drop__menu--cats {
  transform: translateY(0);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(227, 242, 253, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(144, 202, 249, 0.5);
  box-shadow: none;
  color: var(--primary-deep);
}

.nav-actions .icon-btn:hover {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--el-blue);
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  flex: 1 1 240px;
  min-width: 150px;
  max-width: 320px;
  padding: 0 12px 0 15px;
  border-radius: var(--r-pill);
  color: var(--muted);
  background: rgba(227, 242, 253, 0.72);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(144, 202, 249, 0.55);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-search svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--primary);
}

.nav-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
}

.nav-search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.nav-search:focus-within {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12), 0 4px 14px rgba(33, 150, 243, 0.16);
}

.nav-search__close {
  display: none;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(13, 71, 161, 0.08);
  color: var(--muted);
}

.nav-search__close:hover {
  background: rgba(13, 71, 161, 0.14);
  color: var(--primary-deep);
}

.nav-search__close svg { width: 16px; height: 16px; }

.nav-search-open {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--primary-deep);
  background: rgba(227, 242, 253, 0.72);
  border: 1px solid rgba(144, 202, 249, 0.5);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.nav-search-open:hover {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--el-blue);
  transform: translateY(-1px);
}

.nav-search-open svg {
  width: 19px;
  height: 19px;
}

.nav-search__results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  width: min(400px, 84vw);
  max-height: min(60vh, 560px);
  overflow-y: auto;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(227, 242, 253, 0.94));
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 16px 40px rgba(13, 71, 161, 0.14);
}

.nav-search__results[hidden] { display: none; }

.mobile-toggle {
  display: none;
}

.account-chip {
  display: none;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 16px 0 6px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--primary-deep);
  background: rgba(227, 242, 253, 0.72);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(144, 202, 249, 0.5);
  box-shadow: none;
  max-width: 190px;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.account-chip span:not(.avatar) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip:hover {
  background: #fff;
  box-shadow: var(--el-1);
}

.account-chip .avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-transform: uppercase;
}

/* Signed in on desktop: swap the round icon for the named chip.
   Below 820px the chip is suppressed again and the icon returns. */
body.is-authed .account-chip {
  display: inline-flex;
}

body.is-authed #userIconBtn {
  display: none;
}

/* ---------- Account dropdown menu ---------- */
.account-area {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  max-width: calc(100vw - 28px);
  padding: 8px;
  border-radius: 18px;
  background: rgba(10, 14, 20, 0.82);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.24);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  z-index: 70;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0s linear 0.18s;
}

/* Invisible bridge spanning the gap above the menu so the pointer never
   "falls out" while travelling from the avatar into the dropdown. */
.account-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.account-menu__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.account-menu__avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
}

.account-menu__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.account-menu__logged {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.account-menu__email {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.account-menu__item:hover,
.account-menu__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.account-menu__ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.8);
}

.account-menu__ico svg {
  width: 18px;
  height: 18px;
}

.account-menu__item--logout {
  color: #ff8086;
}

.account-menu__item--logout:hover,
.account-menu__item--logout:focus-visible {
  background: rgba(224, 70, 75, 0.14);
  color: var(--danger);
}

.account-menu__divider {
  height: 1px;
  margin: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
}

/* Hover drives the dropdown on fine pointers. Touch devices keep the existing
   tap/click behaviour (navigate to account or open auth) with no hover menu. */
@media (hover: hover) and (pointer: fine) {
  .account-area.has-menu:hover .account-menu,
  .account-area.has-menu:focus-within .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-menu {
    transition: none;
    transform: none;
  }
}

/* ---------- Mobile drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}

.mobile-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 58, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(3px);
}

.mobile-drawer.open .mobile-drawer__scrim {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: rgba(244, 250, 255, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-right: 1px solid var(--glass-border);
  box-shadow: var(--shadow-3);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.mobile-drawer.open .mobile-drawer__panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  transition: background 0.16s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.7);
}

.mobile-nav-link svg {
  width: 21px;
  height: 21px;
  color: var(--primary);
}

.mobile-nav-link .badge-mini {
  margin-left: auto;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 99px;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(46px, 5vw, 78px) 0 0;
  position: relative;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 34px;
}

.section__head--center .section__tag {
  justify-content: center;
}

.section__head--center .section__sub {
  margin-left: auto;
  margin-right: auto;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.section__tag::before {
  content: '';
  width: 22px;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--primary-deep));
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(25px, 3.4vw, 37px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.14;
  color: var(--primary-deep);
}

.section__sub {
  color: var(--muted);
  margin-top: 9px;
  max-width: 620px;
  font-size: 14.5px;
  line-height: 1.65;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-deep);
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--glass-light-blur);
  -webkit-backdrop-filter: var(--glass-light-blur);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--el-1);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}

.section__link:hover {
  transform: translateX(3px);
  background: #fff;
  box-shadow: var(--el-2);
}

.section__link svg {
  width: 16px;
  height: 16px;
}

.section__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin: 18px 0 0;
  padding: clamp(28px, 3.6vw, 54px) clamp(22px, 3.2vw, 52px);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(95% 130% at 90% 4%, rgba(33, 150, 243, 0.17) 0%, transparent 62%),
    radial-gradient(70% 90% at 4% 96%, rgba(144, 202, 249, 0.34) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(227, 242, 253, 0.72) 52%, rgba(255, 255, 255, 0.82) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--el-2);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 3vw, 46px);
  align-items: center;
}

.hero-badge,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(144, 202, 249, 0.7);
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.5px;
  color: var(--primary-deep);
  box-shadow: var(--el-1);
}

.hero-badge .dot,
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 20px 0 16px;
  color: var(--primary-deep);
}

.grad-text {
  background: linear-gradient(120deg, var(--primary-deep) 5%, var(--primary) 55%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lede,
.hero-lede {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.15vw, 17.5px);
  max-width: 480px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface-3);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-2);
  max-width: 540px;
}

.hero-search svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  height: 46px;
  min-width: 0;
}

.hero-search input:focus {
  outline: none;
}

.hero-search .btn {
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  margin-top: 32px;
  flex-wrap: wrap;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
}

.stat .lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

/* Hero visual � real product composition */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, rgba(144, 202, 249, 0.85), rgba(33, 150, 243, 0.3) 56%, transparent 72%);
  filter: blur(18px);
  animation: pulse-glow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1 / 1.02;
}

.hero-shot {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, #E7F3FE 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--el-3);
  transition: transform 0.3s var(--ease);
}

.hero-shot:hover {
  transform: scale(1.03);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.hero-shot__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 750;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
}

.hero-shot__tag b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-shot__tag span {
  color: var(--primary);
  flex-shrink: 0;
}

.hero-shot--main {
  left: 11%;
  top: 3%;
  width: 62%;
  aspect-ratio: 3 / 3.5;
  z-index: 2;
}

.hero-shot--a {
  right: 0;
  top: 27%;
  width: 41%;
  aspect-ratio: 1;
  z-index: 3;
}

.hero-shot--b {
  left: 0;
  bottom: 1%;
  width: 39%;
  aspect-ratio: 1;
  z-index: 3;
}

.hero-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--el-2);
  font-size: 13px;
  font-weight: 800;
  color: var(--primary-deep);
  white-space: nowrap;
  line-height: 1.25;
}

.hero-chip .hc-ic {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
}

.hero-chip .hc-ic svg {
  width: 16px;
  height: 16px;
}

.hero-chip small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.hero-chip--tl {
  top: 1%;
  left: -3%;
}

.hero-chip--br {
  bottom: 9%;
  right: -3%;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 20px;
  border-radius: var(--r-card);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}

.trust-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--el-2);
}

.trust-card .t-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, rgba(33, 150, 243, 0.18), rgba(13, 71, 161, 0.14));
  color: var(--primary-deep);
}

.trust-card .t-icon svg {
  width: 23px;
  height: 23px;
}

.trust-card h4 {
  font-size: 14.5px;
  font-weight: 750;
  color: var(--primary-deep);
  line-height: 1.3;
}

.trust-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 2px;
}

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3);
}

.cat-card::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  right: -50px;
  top: -55px;
  background: radial-gradient(circle, rgba(144, 202, 249, 0.5), transparent 70%);
  z-index: 0;
}

.cat-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cat-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 750;
  position: relative;
  z-index: 1;
}

.cat-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

.cat-card .cat-count {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 750;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

/* ---------- Product grid ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.prod-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prod-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  overflow: hidden;
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease), background 0.26s var(--ease);
  animation: card-in 0.45s var(--ease) backwards;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.prod-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
  border-color: #fff;
  box-shadow: var(--el-3);
}

.prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 10px 10px 0;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(158deg, #ffffff 0%, #E7F3FE 100%);
  display: grid;
  place-items: center;
}

.prod-card__media > a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}

.prod-card:hover .prod-card__media img {
  transform: scale(1.07);
}

.prod-img-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 46px;
  opacity: 0.62;
}

.prod-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}

.badge-off {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  font-weight: 800;
  padding: 5px 11px;
  font-size: 11px;
  letter-spacing: 0.3px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.35);
}

.badge-hot {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-deep);
  border: 1px solid rgba(144, 202, 249, 0.85);
  box-shadow: var(--el-1);
}

.prod-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--muted);
  box-shadow: var(--el-1);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.prod-card__wish:hover {
  transform: scale(1.1);
  background: #fff;
  color: var(--coral);
}

.prod-card__wish.active {
  color: var(--coral);
  background: #fff;
}

.prod-card__wish svg {
  width: 18px;
  height: 18px;
}

.prod-oos-tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(244, 250, 255, 0.62);
  display: grid;
  place-items: center;
}

.prod-oos-tint span {
  background: rgba(13, 71, 161, 0.86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
}

.prod-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.prod-card__cat {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--primary);
}

.prod-card__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.64em;
}

.prod-card__name a {
  color: inherit;
}

.prod-card__name a:hover {
  color: var(--primary);
}

.prod-card__desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.rating-row .stars {
  color: var(--gold);
  font-size: 12.5px;
  letter-spacing: 0.8px;
}

.rating-row span {
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-now {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.2;
}

.price-cmp {
  color: var(--muted-2);
  font-size: 12.5px;
  text-decoration: line-through;
}

.price-off {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--success);
}

.prod-card__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 71, 161, 0.07);
}

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
}

.stock-line svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.stock-line.in {
  color: var(--success);
}

.stock-line.low {
  color: var(--amber);
}

.stock-line.out {
  color: var(--danger);
}

.add-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 17px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--el-blue);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

/* Circular add-to-cart used inside product cards */
.add-btn--round {
  width: 44px;
  height: 44px;
  padding: 0;
  gap: 0;
  border-radius: 50%;
}

.add-btn--round span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.add-btn:hover {
  transform: scale(1.06);
  box-shadow: var(--el-blue-hi);
}

.add-btn:active {
  transform: scale(0.97);
}

.add-btn svg {
  width: 19px;
  height: 19px;
}

.add-btn--round svg {
  width: 20px;
  height: 20px;
}

.add-btn.added {
  background: linear-gradient(135deg, var(--success), #1b7a43);
}

.add-btn:disabled {
  background: rgba(13, 71, 161, 0.12);
  color: var(--muted);
  box-shadow: none;
  transform: none;
}

/* ---------- Deals banner ---------- */
.deals-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary-deep), var(--primary) 62%, #03A9F4);
  color: #fff;
  padding: 44px 40px;
  box-shadow: var(--shadow-3);
}

.deals-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}

.deals-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.deals-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.deals-band p {
  opacity: 0.92;
  max-width: 460px;
}

.countdown {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cd-block {
  min-width: 76px;
  padding: 14px 8px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.cd-block b {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.cd-block span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Offer levels ---------- */
.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.offer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  transition: transform 0.16s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
}

.offer-card .o-emoji {
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  flex-shrink: 0;
}

.offer-card b {
  font-size: 15.5px;
  display: block;
}

.offer-card p {
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  text-align: center;
  padding: 26px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
}

.step-card .s-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 8px 18px rgba(33, 150, 243, 0.35);
}

.step-card h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testi-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  position: relative;
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: rgba(33, 150, 243, 0.14);
  line-height: 1;
}

.testi-card .stars {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

.testi-card .who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.testi-card .who .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.testi-card .who b {
  font-size: 14px;
  display: block;
}

.testi-card .who span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Common page header ---------- */
.page-head {
  padding: 34px 0 6px;
  position: relative;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.6px;
}

.page-head p {
  color: var(--muted);
  margin-top: 6px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.crumbs a:hover {
  color: var(--primary);
}

.crumbs .sep {
  opacity: 0.6;
}

/* ---------- Filters / chips ---------- */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* Horizontally scrollable pill row (mobile-friendly) */
.chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  margin-bottom: -4px;
  scroll-snap-type: x proximity;
}

.chip-row--scroll::-webkit-scrollbar {
  display: none;
}

.chip-row--scroll .chip {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--primary-deep);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--glass-light-blur);
  -webkit-backdrop-filter: var(--glass-light-blur);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--el-1);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
    box-shadow 0.22s var(--ease), color 0.22s var(--ease);
}

.chip:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--el-2);
}

.chip.active {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--el-blue);
}

.sort-select,
.filter-select {
  height: 44px;
  padding: 0 40px 0 16px;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 13.5px;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.82) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%230D47A1" stroke-width="2.4" stroke-linecap="round"><path d="m6 9 6 6 6-6"/></svg>') no-repeat right 15px center;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(144, 202, 249, 0.7);
  box-shadow: var(--el-1);
  cursor: pointer;
}

/* ---------- Shop layout (filters + grid) ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.filter-col {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  display: grid;
  gap: 14px;
}

.filter-card {
  border-radius: var(--r-panel);
  padding: 18px;
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
}

.filter-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.filter-card__head h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.filter-clear {
  font-size: 11.5px;
  font-weight: 750;
  color: var(--primary);
}

.filter-clear:hover {
  text-decoration: underline;
}

.filter-body {
  display: grid;
  gap: 11px;
}

/* Price range */
.range-wrap {
  padding: 2px 2px 0;
}

.range-vals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.range-vals b {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-deep);
  background: rgba(33, 150, 243, 0.1);
  border-radius: 10px;
  padding: 5px 10px;
}

.range-vals span {
  height: 1px;
  flex: 1;
  background: rgba(13, 71, 161, 0.15);
}

.range-slider {
  position: relative;
  height: 26px;
}

.range-slider .rs-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  height: 4px;
  border-radius: 99px;
  background: rgba(13, 71, 161, 0.13);
}

.range-slider .rs-fill {
  position: absolute;
  top: 11px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
}

.range-slider input[type='range'] {
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 26px;
  margin: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
}

.range-slider input[type='range']::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 3px 10px rgba(33, 150, 243, 0.35);
  cursor: grab;
}

.range-slider input[type='range']::-moz-range-thumb {
  pointer-events: auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 3px 10px rgba(33, 150, 243, 0.35);
  cursor: grab;
}

.range-slider input[type='range']::-moz-range-track {
  background: none;
}

/* Checkbox / radio rows */
.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 11px;
  padding: 3px 5px;
  margin: -3px -5px;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.check-row:hover {
  background: rgba(33, 150, 243, 0.08);
  color: var(--primary-deep);
}

.check-row input {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 1.6px solid rgba(13, 71, 161, 0.28);
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  margin: 0;
  cursor: pointer;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease);
}

.check-row input[type='radio'] {
  border-radius: 50%;
}

.check-row input::after {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg) translateY(-1px) scale(0);
  transition: transform 0.16s var(--ease);
}

.check-row input[type='radio']::after {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 50%;
  background: #fff;
  transform: scale(0);
}

.check-row input:checked {
  background: var(--primary);
  border-color: var(--primary);
}

.check-row input:checked::after {
  transform: rotate(-45deg) translateY(-1px) scale(1);
}

.check-row input[type='radio']:checked::after {
  transform: scale(1);
}

.check-row .cr-count {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-2);
}

/* Shop results bar */
.shop-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--r-panel);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  margin-bottom: 20px;
}

.shop-bar__count {
  font-size: 13.5px;
  color: var(--muted);
}

.shop-bar__count b {
  color: var(--primary-deep);
  font-weight: 800;
}

.shop-bar__search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  padding: 0 16px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(144, 202, 249, 0.6);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.shop-bar__search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

.shop-bar__search svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--primary);
}

.shop-bar__search input {
  flex: 1;
  border: none;
  background: transparent;
  height: 100%;
  min-width: 0;
}

.shop-bar__search input:focus {
  outline: none;
}

.shop-bar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Active filter tokens */
.active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.f-token {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 8px 0 13px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(144, 202, 249, 0.7);
}

.f-token b {
  color: var(--muted);
  font-weight: 600;
}

.f-token span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(13, 71, 161, 0.1);
  font-size: 11px;
  line-height: 1;
}

.f-token:hover span {
  background: var(--danger);
  color: #fff;
}

/* Mobile filter trigger + drawer */
.filter-fab {
  display: none;
}

.filter-col.open {
  z-index: 92; /* must clear .filter-backdrop (89) or the drawer is unclickable */
}

.result-count {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px dashed rgba(13, 71, 161, 0.25);
}

.empty-state .e-emoji {
  font-size: 54px;
  margin-bottom: 14px;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- Product detail ---------- */
.prod-detail {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.prod-detail__media {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #fff, var(--bg));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-2);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: clamp(12px, 3.2vw, 28px);
}

.prod-detail__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prod-detail__media .fallback {
  padding: 60px;
  text-align: center;
  font-size: 70px;
}

.prod-detail__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.prod-detail__info h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 8px 0 10px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--glass-border-2);
  color: var(--muted);
}

.meta-pill svg {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.prod-price-big {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.prod-price-big .big {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-deep);
}

.prod-price-big .cmp {
  font-size: 16px;
  color: var(--muted-2);
  text-decoration: line-through;
}

.prod-price-big .off {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 11px;
  border-radius: 99px;
}

.desc-note {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.65;
}

.savings-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(46, 158, 91, 0.12);
  border: 1px solid rgba(46, 158, 91, 0.28);
  color: var(--success);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.savings-note svg {
  width: 17px;
  height: 17px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-3);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  padding: 4px;
  box-shadow: var(--shadow-1);
}

.qty-stepper button {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-deep);
  transition: background 0.14s ease;
}

.qty-stepper button:hover {
  background: rgba(33, 150, 243, 0.14);
}

.qty-stepper b {
  min-width: 44px;
  text-align: center;
  font-size: 16px;
}

.prod-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.prod-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.info-tile {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
}

.info-tile svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.info-tile b {
  display: block;
  font-size: 13.5px;
}

.info-tile span {
  font-size: 12.5px;
  color: var(--muted);
}

.safety-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.08));
  border: 1px solid rgba(13, 71, 161, 0.14);
  font-size: 13.5px;
  color: var(--ink-soft);
}

.safety-box h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-deep);
  margin-bottom: 8px;
  font-size: 15px;
}

.safety-box svg {
  width: 18px;
  height: 18px;
}

.safety-box ul {
  margin-left: 18px;
}

.safety-box li {
  margin-top: 4px;
}

/* ---------- Cart drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 75;
  visibility: hidden;
}

.drawer.open {
  visibility: visible;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 58, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(3px);
}

.drawer.open .drawer__scrim {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 94vw);
  background: rgba(244, 250, 255, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-left: 1px solid var(--glass-border);
  box-shadow: var(--shadow-3);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.drawer.open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--glass-border-2);
}

.drawer__head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-empty {
  text-align: center;
  padding: 40px 10px;
  color: var(--muted);
}

.cart-empty .e-emoji {
  font-size: 46px;
  margin-bottom: 10px;
}

.cart-line {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  animation: card-in 0.3s ease both;
}

.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 11px;
  flex-shrink: 0;
}

.cart-line__body {
  flex: 1;
  min-width: 0;
}

.cart-line__body h4 {
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-line__price {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
}

.cart-line__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.mini-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border-2);
  border-radius: 9px;
}

.mini-qty button {
  width: 26px;
  height: 26px;
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-deep);
  display: grid;
  place-items: center;
}

.mini-qty b {
  min-width: 26px;
  text-align: center;
  font-size: 13px;
}

.cart-line__del {
  margin-left: auto;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.cart-line__del:hover {
  background: rgba(224, 70, 75, 0.1);
}

.drawer__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--glass-border-2);
  background: rgba(255, 255, 255, 0.5);
}

.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 14px;
  color: var(--ink-soft);
}

.sum-row.total {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--glass-border-2);
}

.sum-row.total b {
  font-family: var(--font-display);
  color: var(--primary-deep);
}

.sum-row .save {
  color: var(--success);
  font-weight: 750;
}

/* ---------- Cart / checkout / order pages ---------- */
.layout-2col {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.glass-panel {
  background: var(--surface-2);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 24px;
}

.glass-panel h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.glass-panel .panel-sub {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 18px;
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 750;
  color: var(--ink-soft);
}

.form-field label .req {
  color: var(--danger);
}

.form-field input,
.form-field select,
.form-field textarea {
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--glass-border-2);
  background: rgba(255, 255, 255, 0.75);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.form-field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.16);
}

.form-field.err input,
.form-field.err select {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(224, 70, 75, 0.1);
}

.field-hint {
  font-size: 11.5px;
  color: var(--muted-2);
}

.phone-hint {
  color: var(--muted-2);
  font-size: 11.5px;
}

/* Stepper (checkout) */
.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 26px;
  flex-wrap: wrap;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 750;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}

.step-pill .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(13, 71, 161, 0.1);
  color: var(--primary-deep);
}

.step-pill.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(33, 150, 243, 0.3);
}

.step-pill.active .n {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.step-pill.done {
  background: rgba(46, 158, 91, 0.14);
  color: var(--success);
  border-color: rgba(46, 158, 91, 0.3);
}

.step-pill.done .n {
  background: var(--success);
  color: #fff;
}

.step-sep {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: rgba(13, 71, 161, 0.18);
}

/* Payment options */
.pay-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid var(--glass-border-2);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pay-option:hover {
  border-color: var(--secondary);
}

.pay-option.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12);
}

.pay-option .radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(13, 71, 161, 0.25);
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.pay-option.selected .radio {
  border-color: var(--primary);
}

.pay-option.selected .radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
}

.pay-option .p-emoji {
  font-size: 24px;
}

.pay-option b {
  display: block;
  font-size: 14.5px;
}

.pay-option p {
  font-size: 12.5px;
  color: var(--muted);
}

/* Order summary mini */
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--glass-border-2);
}

.summary-line:last-child {
  border-bottom: none;
}

.summary-line .r {
  font-weight: 700;
}

.order-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
}

.order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.order-item img {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
}

.order-item .q {
  margin-left: auto;
  color: var(--muted);
}

/* ---------- Success / invoice ---------- */
.success-hero {
  text-align: center;
  padding: 34px 0 26px;
}

.success-hero .check {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--success), #1b7a43);
  box-shadow: 0 18px 40px rgba(46, 158, 91, 0.4);
  animation: pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-hero .check svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

@keyframes pop-in {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
}

.success-hero p {
  color: var(--muted);
  margin-top: 8px;
}

.order-code {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 18px;
  background: rgba(33, 150, 243, 0.12);
  border: 1px dashed rgba(33, 150, 243, 0.45);
  border-radius: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-deep);
}

/* Invoice */
.invoice {
  max-width: 660px;
  margin: 0 auto;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-2);
  color: var(--ink);
}

.invoice__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--bg-deep);
}

.invoice__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.invoice__brand b {
  font-family: var(--font-display);
  font-size: 18px;
}

.invoice__brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.invoice__meta {
  text-align: right;
  font-size: 13px;
  color: var(--ink-soft);
}

.invoice__meta b {
  font-size: 16px;
  color: var(--primary-deep);
}

.invoice__body {
  padding: 20px 0;
}

.invoice__addr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.invoice__addr h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
}

.invoice__rows {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.invoice__rows th {
  text-align: left;
  padding: 8px 10px;
  background: var(--bg);
  color: var(--primary-deep);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.invoice__rows td {
  padding: 9px 10px;
  border-bottom: 1px solid #E8F2FB;
}

.invoice__totals {
  margin-top: 14px;
  margin-left: auto;
  width: 240px;
  font-size: 14px;
}

.invoice__totals .row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
}

.invoice__totals .grand {
  font-weight: 800;
  font-size: 16.5px;
  color: var(--primary-deep);
  border-top: 2px solid var(--bg-deep);
  margin-top: 6px;
  padding-top: 10px;
}

.invoice__foot {
  padding-top: 16px;
  border-top: 2px solid var(--bg-deep);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Track order ---------- */
.track-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.track-form input {
  flex: 1;
  min-width: 240px;
  height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1.5px solid var(--glass-border-2);
  background: rgba(255, 255, 255, 0.75);
}

.track-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.16);
}

.timeline {
  position: relative;
  margin: 26px 0 10px;
  padding-left: 0;
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 34px;
  bottom: 4px;
  width: 2px;
  background: rgba(13, 71, 161, 0.15);
}

.timeline__item:last-child::before {
  display: none;
}

.timeline__dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--surface-3);
  border: 1px solid var(--glass-border);
  color: var(--muted);
  font-size: 15px;
  z-index: 1;
}

.timeline__item.done .timeline__dot {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: 0 6px 14px rgba(33, 150, 243, 0.35);
}

.timeline__item.next .timeline__dot {
  border-color: var(--primary);
  color: var(--primary);
}

.timeline__body h4 {
  font-size: 15px;
  font-weight: 800;
}

.timeline__body p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.timeline__body time {
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- Tables (price list / staff) ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 640px;
}

.data-table th {
  text-align: left;
  padding: 13px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(13, 71, 161, 0.06);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.4);
}

.data-table .row-name {
  font-weight: 700;
  color: var(--ink);
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 750;
}

.tag.in {
  background: rgba(46, 158, 91, 0.14);
  color: var(--success);
}

.tag.out {
  background: rgba(224, 70, 75, 0.12);
  color: var(--danger);
}

/* ---------- Staff / tabs ---------- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  transition: all 0.16s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-color: transparent;
}

.tab-btn.danger-zone {
  color: var(--danger);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.kpi {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
}

.kpi .k-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-deep);
}

.kpi .k-lbl {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---------- Content pages ---------- */
.content-card {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
}

.content-card h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  margin: 22px 0 8px;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.content-card ul {
  margin: 8px 0 14px 20px;
  color: var(--ink-soft);
}

.content-card li {
  margin-bottom: 6px;
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  text-align: center;
}

.contact-card .c-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.16), rgba(13, 71, 161, 0.14));
  color: var(--primary-deep);
}

.contact-card .c-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h4 {
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 46px;
  padding: 62px 0 24px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(80% 120% at 88% 0%, rgba(33, 150, 243, 0.36) 0%, transparent 58%),
    radial-gradient(60% 100% at 4% 100%, rgba(33, 150, 243, 0.2) 0%, transparent 60%),
    linear-gradient(168deg, #0D47A1 0%, #093B85 62%, #072F6B 100%);
  color: rgba(227, 242, 253, 0.78);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer .container {
  max-width: 1480px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1fr 1.15fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(227, 242, 253, 0.72);
  font-size: 13.5px;
  line-height: 1.72;
  margin: 16px 0 4px;
  max-width: 320px;
}

.footer-brand .phone-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.footer h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 99px;
  background: var(--secondary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  color: rgba(227, 242, 253, 0.74);
  font-size: 13.5px;
  width: fit-content;
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-links--cats {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.footer-links--cats a {
  font-size: 11.5px;
  font-weight: 650;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-links--cats a:hover {
  transform: translateY(-2px);
  background: var(--primary);
  border-color: transparent;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-contact a,
.footer-contact > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(227, 242, 253, 0.78);
  transition: color 0.18s var(--ease);
}

.footer-contact a:hover {
  color: #fff;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary);
}

.social-row {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.social-row a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.social-row svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: rgba(227, 242, 253, 0.6);
}

.footer-bottom .fb-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(227, 242, 253, 0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Search suggestion dropdown results ---------- */
.search-results {
  max-height: 52vh;
  overflow-y: auto;
  border-top: 1px solid var(--glass-border-2);
  padding: 10px;
}

.search-hit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.14s ease;
}

.search-hit:hover {
  background: rgba(33, 150, 243, 0.1);
}

.search-hit img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.search-hit .sh-emoji {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.search-hit b {
  font-size: 14px;
  display: block;
}

.search-hit .sh-sub {
  font-size: 12px;
  color: var(--muted);
}

.search-hit .sh-price {
  margin-left: auto;
  font-weight: 800;
  color: var(--primary-deep);
  font-size: 14px;
  white-space: nowrap;
}

.search-empty {
  text-align: center;
  padding: 32px 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Auth modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: grid;
  place-items: center;
  visibility: hidden;
  pointer-events: none;
}

.modal.open {
  visibility: visible;
  pointer-events: auto;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 58, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.modal.open .modal__scrim {
  opacity: 1;
}

.modal__card {
  position: relative;
  width: min(430px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  background: rgba(244, 250, 255, 0.96);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: 30px;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.modal.open .modal__card {
  transform: none;
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: background 0.14s ease;
}

.modal__close:hover {
  background: rgba(13, 71, 161, 0.08);
  color: var(--ink);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.auth-head {
  text-align: center;
  margin-bottom: 20px;
}

.auth-head .a-emoji {
  font-size: 40px;
}

.auth-head h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-top: 6px;
}

.auth-head p {
  color: var(--muted);
  font-size: 13.5px;
}

.auth-tabs {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 14px;
  color: var(--muted);
  transition: all 0.16s ease;
}

.auth-tabs button.active {
  background: #fff;
  color: var(--primary-deep);
  box-shadow: var(--shadow-1);
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  border-radius: 13px;
  font-weight: 750;
  font-size: 14.5px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-1);
  margin-bottom: 8px;
}

.google-btn svg {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-2);
  font-size: 12.5px;
  margin: 16px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(13, 71, 161, 0.12);
}

.form-field .pw-wrap {
  position: relative;
}

.form-field .pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.form-field .pw-toggle:hover {
  color: var(--primary-deep);
}

.form-field .pw-toggle svg {
  width: 17px;
  height: 17px;
}

.auth-switch {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 14px;
}

.auth-switch a {
  font-weight: 750;
  color: var(--primary-deep);
}

.demo-hint {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(33, 150, 243, 0.1);
  border: 1px dashed rgba(33, 150, 243, 0.4);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.demo-hint code {
  font-weight: 800;
  color: var(--primary-deep);
}

/* ---------- Toasts ---------- */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(420px, 92vw);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(11, 27, 58, 0.92);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  animation: toast-in 0.3s cubic-bezier(0.21, 1.02, 0.73, 1);
  pointer-events: auto;
}

.toast.hide {
  animation: toast-out 0.25s ease forwards;
}

.toast svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.ok svg {
  color: #7CF0A4;
}

.toast.err svg {
  color: #FF9C9C;
}

@keyframes toast-in {
  from {
    transform: translateY(18px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes toast-out {
  to {
    transform: translateY(14px);
    opacity: 0;
  }
}

/* ---------- Floating actions ---------- */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-3);
  transition: transform 0.16s ease;
}

.fab:hover {
  transform: translateY(-3px) scale(1.04);
}

.fab svg {
  width: 25px;
  height: 25px;
}

.fab-wa {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
}

.fab-up {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.fab-up.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Category rail (pills) ---------- */
.cat-rail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px clamp(14px, 2vw, 18px);
  border-radius: var(--r-pill);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.cat-rail[hidden] {
  display: none;
}

.cat-rail::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--primary-deep);
  white-space: nowrap;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.cat-pill:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--el-1);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--el-blue);
}

.cat-pill .cp-n {
  font-size: 11px;
  font-weight: 750;
  opacity: 0.62;
}

/* ---------- Benefits strip (bottom trust) ---------- */
.benefits-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(46px, 5vw, 70px) 0 6px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--r-card);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease);
}

.benefit:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--el-2);
}

.benefit__ic {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(150deg, rgba(33, 150, 243, 0.16), rgba(144, 202, 249, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.benefit__ic svg {
  width: 21px;
  height: 21px;
}

.benefit h5 {
  font-size: 14px;
  font-weight: 750;
  color: var(--primary-deep);
  margin-bottom: 3px;
}

.benefit p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Why choose cards ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  padding: 26px 22px 24px;
  border-radius: var(--r-card);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
  box-shadow: var(--el-1);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    background 0.26s var(--ease), border-color 0.26s var(--ease);
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.92);
  border-color: #fff;
  box-shadow: var(--el-3);
}

.why-card__ic {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(140deg, var(--primary-deep), var(--primary));
  box-shadow: var(--el-blue);
}

.why-card__ic svg {
  width: 24px;
  height: 24px;
}

.why-card h4 {
  font-size: 16px;
  font-weight: 750;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.66;
}

/* ---------- Filter drawer trigger (mobile) ---------- */
.filter-backdrop,
.filter-close,
.filter-drawer-head {
  display: none;
}

.filter-fab {
  display: none;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: var(--el-blue);
}

.filter-fab svg {
  width: 17px;
  height: 17px;
}

.filter-fab b {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  font-size: 11px;
  color: var(--primary-deep);
  background: #fff;
}

/* ---------- Categories mega-menu items ---------- */
.nav-drop__menu--cats a > span:last-child,
.nav-drop__all > span:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.nav-drop__menu--cats a b,
.nav-drop__all b {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.3;
}

.nav-drop__menu--cats a small,
.nav-drop__all small {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.nav-drop__all {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 10px !important;
  border-top: 1px solid rgba(13, 71, 161, 0.1);
}

.nav-drop__all .mi svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

/* ---------- Shop column + in-place pill filtering ---------- */
.shop-main {
  min-width: 0;
}

.prod-card[hidden] {
  display: none;
}

.pill-empty {
  margin: 26px 0 0;
  padding: 28px;
  border-radius: var(--r-panel);
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  background: var(--glass-med-bg);
  backdrop-filter: var(--glass-med-blur);
  -webkit-backdrop-filter: var(--glass-med-blur);
  border: 1px solid var(--glass-med-border);
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .prod-grid--5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .shop-layout .prod-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .shop-layout {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 18px;
  }

  .shop-layout .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  /* Tablet navbar: the full pill search + named account chip no longer fit
     beside the centre links, so both collapse to round icon buttons. */
  .nav-inner {
    padding: 0 10px 0 14px;
    gap: 4px;
  }

  .nav-link {
    padding: 9px 9px;
    font-size: 13.5px;
  }

  .nav-search {
    display: none;
  }
  .nav-search-open {
    display: inline-flex;
  }

  body.is-authed .account-chip {
    display: none;
  }

  body.is-authed #userIconBtn {
    display: inline-flex;
  }

  /* Sidebar is still inline here, so 3 tracks would squeeze the imagery.
     Two roomy cards read better until the filters become a drawer at 980. */
  .shop-layout .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cat-grid,
  .prod-grid,
  .prod-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-strip,
  .benefits-strip,
  .why-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual {
    order: -1;
    min-height: 320px;
  }

  .hero-stage {
    max-width: 380px;
    margin: 0 auto;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px 26px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-layout .prod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-fab {
    display: inline-flex;
  }

  .filter-col {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(348px, 88vw);
    z-index: 90;
    display: block;
    overflow-y: auto;
    padding: 18px 16px 30px;
    border-radius: 0 26px 26px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(26px) saturate(150%);
    -webkit-backdrop-filter: blur(26px) saturate(150%);
    border-right: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--el-3);
    transform: translateX(-104%);
    transition: transform 0.32s var(--ease);
  }

  .filter-col > * + * {
    margin-top: 14px;
  }

  .filter-col.open {
    transform: none;
  }

  .filter-close {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--primary-deep);
    background: rgba(227, 242, 253, 0.9);
    border: 1px solid rgba(144, 202, 249, 0.6);
  }

  .filter-close svg {
    width: 17px;
    height: 17px;
  }

  .filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
  }

  .filter-drawer-head h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-deep);
  }

  .filter-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(13, 71, 161, 0.26);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
  }

  .filter-backdrop.open {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 820px) {
  .app-shell {
    margin-top: 10px;
    padding: 10px 10px 24px;
    border-radius: 26px;
  }

  .nav-links {
    display: none;
  }

  /* Mobile navbar = logo � search � cart � hamburger.
     Favourites and account move into the drawer so the bar stays compact. */
#wishBtn,
  .account-area,
  #userIconBtn,
  body.is-authed #userIconBtn,
  body.is-authed .account-chip {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .navbar {
    height: 66px;
    border-radius: 22px;
    top: 8px;
  }

  .nav-inner {
    padding: 0 8px 0 12px;
    gap: 6px;
  }

  .nav-actions .icon-btn {
    width: 40px;
    height: 40px;
  }

  .cat-grid,
  .prod-grid,
  .prod-grid--3,
  .prod-grid--5,
  .shop-layout .prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-2col {
    grid-template-columns: 1fr;
  }

  .offer-strip,
  .prod-info-grid {
    grid-template-columns: 1fr;
  }

  .deals-band__inner {
    grid-template-columns: 1fr;
  }

  .countdown {
    justify-content: flex-start;
  }

  .prod-detail {
    grid-template-columns: 1fr;
  }

  .prod-detail__media {
    position: static;
  }

  .invoice__addr {
    grid-template-columns: 1fr;
  }

  .shop-bar {
    padding: 12px;
  }

  .shop-bar__right {
    width: 100%;
    margin-left: 0;
  }

  .shop-bar__right .sort-select {
    flex: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .cat-grid,
  .prod-grid,
  .prod-grid--3,
  .prod-grid--5,
  .shop-layout .prod-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .benefits-strip,
  .why-grid,
  .testi-grid,
  .steps-grid,
  .kpi-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .app-shell {
    margin-top: 8px;
    padding: 8px 8px 20px;
    border-radius: 22px;
  }

  .app-shell .container {
    padding: 0 8px;
  }

  .section {
    padding: 40px 0 0;
  }

  .deals-band {
    padding: 28px 20px;
  }

  .hero {
    padding: 24px 18px 28px;
    border-radius: 24px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .hero-stage {
    max-width: 300px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 14px;
  }

  .prod-card__body {
    padding: 12px 12px 14px;
  }

  .prod-card__name {
    font-size: 13.5px;
  }

  .prod-card__desc {
    display: none;
  }

  .price-now {
    font-size: 16.5px;
  }

.add-btn span {
  display: inline;
}

  .add-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .cd-block {
    min-width: 64px;
  }

  .cd-block b {
    font-size: 24px;
  }

  .benefit {
    padding: 14px;
  }

  .footer {
    padding: 44px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Print (invoice) ---------- */
@media print {
  .navbar,
  .promo-bar,
  .footer,
  .float-actions,
  .toast-wrap,
  .cat-rail,
  .filter-col,
  .filter-fab,
  .benefits-strip,
  .no-print,
  .bg-fx {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .app-shell {
    margin: 0;
    padding: 0;
    max-width: 100%;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .invoice {
    box-shadow: none;
    border: none;
    max-width: 100%;
    padding: 10px;
  }

  main {
    padding: 0 !important;
  }
}

/* ==================== ADMIN CONSOLE ==================== */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 860px) {
  .admin-grid { grid-template-columns: 1fr; }
}
.admin-chart-card canvas {
  width: 100%;
  border-radius: 12px;
  margin-top: 8px;
}
.panel-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--border, rgba(148,163,184,.25));
  padding-bottom: 8px;
}
.admin-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.admin-list a { color: var(--primary); font-weight: 600; }
.admin-list .panel-sub { font-size: 12px; }
.link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
  font-family: inherit;
  font-size: 14px;
}
.odetail td { background: rgba(10,20,40,.03); }
.odetail-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  padding: 6px 4px;
}
@media (max-width: 640px) { .odetail-inner { grid-template-columns: 1fr; } }
.odetail-inner h4 { margin: 0 0 8px; font-size: 13px; letter-spacing: .4px; }
.odetail-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted, #64748b);
  padding: 3px 0;
}
.odetail-sums {
  margin-top: 8px;
  border-top: 1px dashed rgba(148,163,184,.4);
  padding-top: 8px;
  display: grid;
  gap: 4px;
}
.odetail-sums > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted, #64748b);
}
.odetail-sums .total {
  color: var(--primary-deep, #0D47A1);
  font-weight: 800;
  font-size: 14px;
  border-top: 1px dashed rgba(148,163,184,.4);
  padding-top: 6px;
  margin-top: 2px;
}
.pd-cell { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.pd-cell .p-display { font-weight: 800; color: var(--primary-deep); }
.price-input {
  width: 74px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--border, rgba(148,163,184,.35));
  background: rgba(255,255,255,.65);
  font-family: inherit;
  font-weight: 700;
  text-align: center;
  color: var(--ink, #0f172a);
}
.feat-box { width: 18px; height: 18px; accent-color: #2196F3; cursor: pointer; }

/* ==================== ADMIN CONSOLE v2 � premium blue glass shell ==================== */

/* hide storefront chrome while the console is mounted */
body.admin-mode .navbar { display: none; }
body.admin-mode .footer { display: none; }
body.admin-mode .app-shell {
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.admin-mode .shell-main { width: 100%; max-width: none; padding: 0; }

.admin-shell {
  --as-side: 262px;
  --as-accent: #2196F3;
  --as-accent-deep: #0D47A1;
  --as-ink: #0B1B3A;
  --as-muted: #5B6B8C;
  --as-line: rgba(13, 71, 161, 0.1);
  --as-card: rgba(255, 255, 255, 0.55);
  --as-card-strong: rgba(255, 255, 255, 0.78);
  --as-chrome: rgba(255, 255, 255, 0.8);
  --as-field: rgba(255, 255, 255, 0.66);
  display: flex;
  min-height: 100vh;
  color: var(--as-ink);
  background:
    radial-gradient(120% 70% at 84% -10%, rgba(144, 202, 249, 0.5) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 110%, rgba(144, 202, 249, 0.35) 0%, transparent 50%),
    linear-gradient(168deg, #E7F3FD 0%, #F0F8FF 46%, #DDECFB 100%);
}
.admin-shell[data-admtheme="dark"] {
  --as-ink: #E7F2FF;
  --as-muted: #93A9C6;
  --as-line: rgba(144, 202, 249, 0.14);
  --as-card: rgba(15, 34, 63, 0.66);
  --as-card-strong: rgba(20, 41, 74, 0.9);
  --as-chrome: rgba(11, 27, 51, 0.86);
  --as-field: rgba(20, 41, 74, 0.75);
  background:
    radial-gradient(120% 70% at 84% -10%, rgba(33, 150, 243, 0.22) 0%, transparent 55%),
    radial-gradient(90% 60% at 0% 110%, rgba(13, 71, 161, 0.3) 0%, transparent 50%),
    linear-gradient(168deg, #0B1B33 0%, #0E2039 48%, #0A1628 100%);
}
.admin-shell svg { display: block; width: 1.15em; height: 1.15em; }
.admin-shell a { color: var(--as-accent-deep); }
.admin-shell h1, .admin-shell h2, .admin-shell h3 { font-family: var(--font-display); margin: 0; }
.admin-shell h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.3px; }
.admin-shell h3 { font-size: 15px; font-weight: 750; letter-spacing: 0.2px; }
.panel-sub { font-size: 12.5px; color: var(--as-muted); }
.admin-shell .glass,
.admin-shell .g-card {
  background: var(--as-card);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--as-line);
  box-shadow: var(--el-1);
}
.admin-shell .g-card { border-radius: var(--r-card); padding: 20px 22px; }

/* sidebar */
.admin-side {
  position: sticky;
  top: 0;
  height: 100vh;
  flex: 0 0 var(--as-side);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 16px;
  background: var(--as-card-strong);
  backdrop-filter: blur(26px) saturate(150%);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  border-right: 1px solid var(--as-line);
  box-shadow: var(--el-2);
  z-index: 40;
  transition: flex-basis 0.3s var(--ease);
}
.side-collapsed .admin-side { flex-basis: 84px; }
.as-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 16px; overflow: hidden; }
.as-brand > div { white-space: nowrap; }
.as-brand b { display: block; font-family: var(--font-display); font-size: 13.5px; letter-spacing: 1.6px; color: var(--as-ink); }
.as-brand small { font-size: 11px; color: var(--as-muted); letter-spacing: 0.6px; }
.as-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding-right: 2px; }
.as-nav::-webkit-scrollbar { width: 5px; }
.as-nav::-webkit-scrollbar-thumb { background: rgba(13, 71, 161, 0.18); border-radius: 99px; }
.as-grp { display: flex; flex-direction: column; gap: 2px; }
.as-grp-t { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--as-muted); padding: 0 12px 6px; opacity: 0.85; white-space: nowrap; }
.as-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: 13px;
  font: inherit; font-size: 13.5px; font-weight: 700; color: var(--as-muted);
  background: transparent; border: 1px solid transparent; text-align: left; white-space: nowrap;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.as-item:hover { background: rgba(33, 150, 243, 0.1); color: var(--as-accent-deep); }
.as-item.active {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.95), rgba(33, 150, 243, 0.92));
  color: #fff;
  box-shadow: var(--el-blue);
}
.as-item.active .as-badge { background: rgba(255, 255, 255, 0.24); color: #fff; }
.as-ico { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px; }
.as-item .as-ico svg { width: 17px; height: 17px; }
.as-badge { margin-left: auto; font-size: 10.5px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--as-accent); color: #fff; letter-spacing: 0.3px; }
.as-foot { border-top: 1px solid var(--as-line); padding-top: 10px; margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.as-foot .as-item { color: var(--as-muted); }
.as-foot .as-item:hover { color: var(--danger); background: rgba(224, 70, 75, 0.08); }
.as-ver { font-size: 10px; color: var(--as-muted); text-align: center; padding: 8px 4px 2px; letter-spacing: 0.5px; opacity: 0.8; white-space: nowrap; }
@media (min-width: 821px) {
  .admin-shell.side-collapsed .as-brand > div,
  .admin-shell.side-collapsed .as-grp-t,
  .admin-shell.side-collapsed .as-item > span:nth-child(2),
  .admin-shell.side-collapsed .as-item .as-badge,
  .admin-shell.side-collapsed .as-ver { display: none; }
  .admin-shell.side-collapsed .as-brand { justify-content: center; padding: 4px 0 16px; }
  .admin-shell.side-collapsed .as-item { justify-content: center; padding: 11px 0; }
  .admin-shell.side-collapsed .as-foot .as-item { padding: 11px 0; }
}

/* topbar */
.admin-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 14px clamp(16px, 2.2vw, 28px);
  background: var(--as-chrome);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--as-line);
  box-shadow: 0 10px 30px rgba(13, 71, 161, 0.06);
}
.at-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.at-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 13px;
  color: var(--as-muted); background: var(--as-card); border: 1px solid var(--as-line);
  transition: 0.18s var(--ease);
}
.at-icon:hover { color: var(--as-accent-deep); background: var(--as-card-strong); transform: translateY(-1px); }
.at-icon svg { width: 19px; height: 19px; }
.at-search { position: relative; flex: 1; max-width: 460px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 14px; background: var(--as-field); border: 1px solid var(--as-line); color: var(--as-muted); }
.at-search > svg { width: 17px; height: 17px; flex: none; }
.at-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--as-ink); font: inherit; font-size: 13.5px; }
.at-search input::placeholder { color: var(--as-muted); }
.at-search-box {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  display: none; flex-direction: column; gap: 2px; padding: 8px;
  border-radius: 16px; min-width: 320px; max-height: 420px; overflow: auto;
  background: var(--as-card-strong); backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--as-line); box-shadow: var(--el-3); z-index: 60;
}
.at-search-box.open { display: flex; }
.gs-h { display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--as-muted); padding: 6px 10px 4px; }
.gs-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; font: inherit; text-align: left; color: var(--as-ink); transition: background 0.15s; }
.gs-item:hover { background: rgba(33, 150, 243, 0.1); }
.gs-item > svg { width: 16px; height: 16px; color: var(--as-accent); flex: none; }
.gs-item span { min-width: 0; }
.gs-item b { display: block; font-size: 13px; }
.gs-item small { display: block; font-size: 11.5px; color: var(--as-muted); }
.gs-empty { padding: 14px 10px; font-size: 13px; color: var(--as-muted); }
.at-right { display: flex; align-items: center; gap: 10px; }
.at-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; font-size: 12px; font-weight: 750; color: var(--as-muted); background: var(--as-field); border: 1px solid var(--as-line); white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46, 158, 91, 0.18); }
.at-bell-n { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border-radius: 99px; background: var(--danger); color: #fff; font-size: 9.5px; font-weight: 800; }
.at-av { position: relative; }
.at-av-btn { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 4px; border-radius: 14px; border: 1px solid transparent; transition: 0.18s var(--ease); }
.at-av-btn:hover { background: var(--as-card); border-color: var(--as-line); }
.av-ic {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, var(--as-accent-deep), var(--as-accent));
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; text-transform: uppercase;
  box-shadow: var(--el-blue);
}
.av-ic.sm { width: 28px; height: 28px; border-radius: 9px; font-size: 12px; }
.av-ic.big { width: 58px; height: 58px; border-radius: 18px; font-size: 22px; }
.at-av-meta { text-align: left; line-height: 1.2; }
.at-av-meta b { display: block; font-size: 13px; color: var(--as-ink); }
.at-av-meta small { font-size: 11px; color: var(--as-muted); }
.at-av-menu {
  position: absolute; top: calc(100% + 12px); right: 0;
  display: none; flex-direction: column; gap: 4px; min-width: 240px; padding: 8px;
  border-radius: 16px;
  background: var(--as-card-strong); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--as-line); box-shadow: var(--el-3); z-index: 60;
}
.at-av-menu.open { display: flex; }
.at-av-menu a, .at-av-menu button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--as-ink); background: transparent; text-align: left; }
.at-av-menu a:hover, .at-av-menu button:hover { background: rgba(33, 150, 243, 0.1); }
.at-av-menu svg { width: 16px; height: 16px; color: var(--as-accent); }

/* main */
.admin-main { flex: 1; min-width: 0; padding: clamp(18px, 2.2vw, 30px) clamp(16px, 2.2vw, 30px) 46px; }

/* page head */
.ad-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 22px; }
.ad-head-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* buttons */
.admin-shell .btn.sm { padding: 9px 16px; font-size: 13px; border-radius: 13px; gap: 8px; }
.admin-shell .btn svg { width: 16px; height: 16px; }
.btn-danger { background: linear-gradient(135deg, #E0464B, #c0392b); color: #fff; box-shadow: 0 8px 20px rgba(224, 70, 75, 0.32); }
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(224, 70, 75, 0.42); }
.danger-c { border: 1px solid rgba(224, 70, 75, 0.35) !important; }

/* KPI cards */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi {
  position: relative; display: flex; gap: 14px; align-items: flex-start; overflow: hidden;
  padding: 18px; border-radius: var(--r-card);
  background: var(--as-card); backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--as-line); box-shadow: var(--el-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.kpi:hover { transform: translateY(-3px); box-shadow: var(--el-2); }
.k-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 14px; color: #fff; box-shadow: var(--el-1); }
.k-ico svg { width: 20px; height: 20px; }
.k-ico.t1 { background: linear-gradient(135deg, #0D47A1, #2196F3); }
.k-ico.t2 { background: linear-gradient(135deg, #1A237E, #5C6BC0); }
.k-ico.t3 { background: linear-gradient(135deg, #1B5E20, #43A047); }
.k-ico.t4 { background: linear-gradient(135deg, #E65100, #F9A825); }
.k-body { flex: 1; min-width: 0; }
.k-lbl { font-size: 12px; font-weight: 750; letter-spacing: 0.5px; text-transform: uppercase; color: var(--as-muted); }
.k-num { font-family: var(--font-display); font-size: clamp(22px, 2vw, 28px); font-weight: 800; color: var(--as-ink); line-height: 1.15; margin-top: 3px; }
.k-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--as-muted); margin-top: 6px; }
.k-chip { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.k-chip.up { background: rgba(46, 158, 91, 0.14); color: #2E7D32; }
.k-chip.down { background: rgba(224, 70, 75, 0.12); color: #C62828; }
.k-chip.neutral { background: rgba(91, 107, 140, 0.14); color: var(--as-muted); }
.k-spark { position: absolute; right: 14px; bottom: 12px; width: 74px; height: 34px; opacity: 0.85; }

/* quick actions */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.qa-tile {
  position: relative; display: flex; align-items: center; gap: 12px; overflow: hidden;
  padding: 15px 16px; border-radius: var(--r-panel); text-align: left; font: inherit; color: var(--as-ink);
  background: var(--as-card); backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid var(--as-line); box-shadow: var(--el-1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.qa-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--tint, #2196F3); opacity: 0.9; }
.qa-tile:hover { transform: translateY(-3px); box-shadow: var(--el-2); }
.qa-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px; color: var(--tint, #2196F3); background: rgba(33, 150, 243, 0.12); }
.qa-ic svg { width: 18px; height: 18px; }
.qa-tile > span:nth-child(2) { flex: 1; font-weight: 750; font-size: 13.5px; }
.qa-tile > svg { width: 15px; height: 15px; color: var(--as-muted); }

/* dashboard layout */
.dash-2col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 16px; }
.g-sales canvas, #soChart { width: 100%; height: 200px; display: block; }
#anChart { width: 100%; height: 220px; display: block; }
#dmChart { width: 100%; height: 170px; display: block; }
.sale-rows { display: flex; flex-wrap: wrap; gap: 14px; margin: 2px 0 14px; }
.sale-rows span { display: flex; flex-direction: column; }
.sale-rows b { font-family: var(--font-display); font-size: 19px; color: var(--as-ink); }
.sale-rows small { font-size: 11px; color: var(--as-muted); letter-spacing: 0.4px; }
.cal-row { display: none; align-items: center; gap: 10px; margin: 6px 0 8px; }
.cal-row input { padding: 8px 12px; border-radius: 11px; border: 1px solid var(--as-line); background: var(--as-field); font: inherit; font-size: 13px; color: var(--as-ink); }
.admin-shell .seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--as-field); border: 1px solid var(--as-line); }
.seg-b { padding: 7px 14px; border-radius: 11px; font: inherit; font-size: 12.5px; font-weight: 750; color: var(--as-muted); background: transparent; transition: 0.18s var(--ease); }
.seg-b:hover { color: var(--as-accent-deep); }
.seg-b.on { background: linear-gradient(135deg, var(--as-accent-deep), var(--as-accent)); color: #fff; box-shadow: var(--el-blue); }

/* live feed */
.live-feed { display: flex; flex-direction: column; gap: 2px; max-height: 224px; overflow: auto; }
.feed-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: 13px; }
.feed-row:hover { background: rgba(33, 150, 243, 0.07); }
.feed-dot, .note-dot { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--as-accent); box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.16); }
.feed-tx { flex: 1; min-width: 0; font-weight: 600; color: var(--as-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-at { flex: none; font-size: 11px; color: var(--as-muted); }
.feed-empty { display: flex; align-items: center; gap: 10px; padding: 14px; font-size: 13px; color: var(--as-muted); }
.feed-empty svg { width: 18px; height: 18px; }

/* top sellers */
.top-list { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.top-row { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 12px; }
.top-row:hover { background: rgba(33, 150, 243, 0.07); }
.rank { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 9px; font-size: 12px; font-weight: 800; font-family: var(--font-display); background: rgba(91, 107, 140, 0.14); color: var(--as-muted); }
.rank-1 { background: linear-gradient(135deg, #F9A825, #F6B93B); color: #fff; box-shadow: var(--el-1); }
.rank-2 { background: linear-gradient(135deg, #90A4AE, #B0BEC5); color: #fff; }
.rank-3 { background: linear-gradient(135deg, #BF6A3A, #E8945A); color: #fff; }
.top-th { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; overflow: hidden; background: var(--as-field); font-size: 18px; }
.top-th img { width: 100%; height: 100%; object-fit: cover; }
.top-info { flex: 1; min-width: 0; }
.top-info b { display: block; font-size: 13px; color: var(--as-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-info small { font-size: 11.5px; color: var(--as-muted); }
.top-rev { font-size: 13px; font-weight: 800; color: var(--as-accent-deep); }

/* bottom metrics */
.m-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 6px; }
.m-item { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: 16px; background: var(--as-card); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); border: 1px solid var(--as-line); }
.m-item b { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--as-accent-deep); }
.m-item span { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--as-muted); }

/* tables & tools */
.tbl-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.at-search.mini { flex: none; gap: 8px; height: 40px; max-width: 300px; padding: 0 12px; border-radius: 12px; }
.at-search.mini svg { width: 15px; height: 15px; }
.admin-shell .filter-select {
  padding: 10px 34px 10px 14px; border-radius: 12px; border: 1px solid var(--as-line);
  background-color: var(--as-field); font: inherit; font-size: 13px; font-weight: 700; color: var(--as-ink); cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4l3 3 3-3' fill='none' stroke='%235B6B8C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 12px center; background-repeat: no-repeat;
}
.admin-shell .table-wrap { border-radius: var(--r-panel); background: var(--as-card); backdrop-filter: blur(18px) saturate(145%); -webkit-backdrop-filter: blur(18px) saturate(145%); border: 1px solid var(--as-line); box-shadow: var(--el-1); }
.admin-shell .data-table th { background: rgba(13, 71, 161, 0.05); color: var(--as-accent-deep); }
.admin-shell .data-table td { border-color: var(--as-line); }
.admin-shell .data-table tr:hover td { background: rgba(33, 150, 243, 0.05); }
.pill-sel {
  appearance: none; -webkit-appearance: none;
  padding: 6px 28px 6px 12px; border-radius: 99px; border: 0;
  font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; color: inherit;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4l3 3 3-3' fill='none' stroke='%235B6B8C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 9px center; background-repeat: no-repeat;
}
.pill-sel option { color: #0B1B3A; background: #fff; }
.pill-sel--pending { background-color: rgba(249, 168, 37, 0.16); color: #B26A00; }
.pill-sel--confirmed { background-color: rgba(46, 158, 91, 0.15); color: #2E7D32; }
.pill-sel--packed { background-color: rgba(33, 150, 243, 0.15); color: #0D47A1; }
.pill-sel--processing { background-color: rgba(91, 107, 140, 0.16); color: #465374; }
.pill-sel--delivered { background-color: rgba(46, 158, 91, 0.18); color: #2E7D32; }
.pay-chip { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.3px; }
.pay-chip.cod { background: rgba(255, 112, 67, 0.14); color: #E64A19; }
.pay-chip.upi { background: rgba(33, 150, 243, 0.15); color: #0D47A1; }
.p-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.p-th { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; overflow: hidden; background: var(--as-field); color: var(--as-muted); font-size: 17px; }
.p-th img { width: 100%; height: 100%; object-fit: cover; }
.th-fb { display: grid; place-items: center; width: 100%; height: 100%; }
.role-chip { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.role-chip.a { background: linear-gradient(135deg, rgba(13, 71, 161, 0.92), rgba(33, 150, 243, 0.9)); color: #fff; }
.role-chip.s { background: rgba(33, 150, 243, 0.16); color: #0D47A1; }
.role-chip.c { background: rgba(91, 107, 140, 0.14); color: #465374; }

/* categories */
.admin-shell .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.cat-card { padding: 20px; border-radius: var(--r-panel); }
.cc-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-size: 20px; margin-bottom: 10px; background: var(--as-field); border: 1px solid var(--as-line); }
.cat-card h3 { margin-bottom: 2px; font-size: 15px; }
.cat-card .link-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.cat-card .link-btn svg { width: 14px; height: 14px; }

/* add product */
.add-wrap { max-width: 720px; padding: 24px; }
.add-wrap .add-form { margin-top: 8px; }
.add-form { display: flex; flex-direction: column; gap: 14px; }
.add-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 750; letter-spacing: 0.3px; color: var(--as-muted); }
.add-form input, .add-form select, .add-form textarea {
  padding: 11px 14px; border-radius: 13px; border: 1px solid var(--as-line);
  background: var(--as-field); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--as-ink); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.add-form input:focus, .add-form select:focus, .add-form textarea:focus { border-color: var(--as-accent); box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.14); }
.add-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-line { flex-direction: row !important; align-items: center; gap: 10px !important; color: var(--as-ink) !important; }
.feat-line input { width: 17px; height: 17px; accent-color: var(--as-accent); }
.add-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }

/* POS */
.pos-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.pos-picker { padding: 18px; }
.pos-picker .at-search.mini { max-width: 240px; }
.pos-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; max-height: 520px; overflow: auto; padding-top: 10px; }
.pos-prod { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; border-radius: 14px; background: var(--as-field); border: 1px solid var(--as-line); font: inherit; text-align: left; transition: 0.18s var(--ease); }
.pos-prod:hover { border-color: var(--as-accent); box-shadow: var(--el-blue); transform: translateY(-2px); }
.pos-prod .p-th { width: 100%; height: 74px; border-radius: 10px; font-size: 26px; }
.pos-prod b { font-size: 12.5px; color: var(--as-ink); line-height: 1.3; }
.pos-prod small { font-size: 11px; font-weight: 700; color: var(--as-muted); }
.pos-bill { position: sticky; top: 90px; padding: 18px; }
.pos-cust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pos-cust label { display: flex; flex-direction: column; gap: 5px; font-size: 11.5px; font-weight: 750; color: var(--as-muted); }
.pos-cust input { padding: 9px 12px; border-radius: 11px; border: 1px solid var(--as-line); background: var(--as-field); font: inherit; font-size: 13px; color: var(--as-ink); }
.pos-lines { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; margin-bottom: 12px; }
.pos-line { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; background: var(--as-field); }
.pl-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 700; color: var(--as-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-ctrls { display: flex; align-items: center; gap: 6px; }
.pl-ctrls button { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: rgba(33, 150, 243, 0.12); color: var(--as-accent-deep); font-weight: 800; font-size: 14px; }
.pl-ctrls b { min-width: 14px; text-align: center; font-size: 12.5px; }
.pl-amt { font-size: 12.5px; font-weight: 800; color: var(--as-accent-deep); }
.pos-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 13px; background: linear-gradient(135deg, var(--as-accent-deep), var(--as-accent)); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 800; }
.pos-total b { font-size: 19px; }
.pos-place { display: flex; gap: 10px; margin-top: 10px; }
.pos-place select { flex: 1; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--as-line); background: var(--as-field); font: inherit; font-weight: 700; color: var(--as-ink); }

/* canvas editor */
.cv-wrap { padding: 22px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.cv-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: center; }
.cv-tools label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 750; color: var(--as-muted); }
.cv-tools select { padding: 9px 12px; border-radius: 11px; border: 1px solid var(--as-line); background: var(--as-field); font: inherit; font-weight: 700; color: var(--as-ink); }
.cv-tools input[type="range"] { accent-color: var(--as-accent); width: 120px; }
.cv-canvas { max-width: 100%; border-radius: var(--r-panel); background: #E3F2FD; border: 1px solid var(--as-line); box-shadow: var(--el-2); }

/* notifications */
.note-list { display: flex; flex-direction: column; gap: 2px; }
.note-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13px; }
.note-row.unread { background: rgba(33, 150, 243, 0.08); }
.note-row div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.note-row b { font-size: 13px; font-weight: 700; color: var(--as-ink); }
.note-row small { font-size: 11.5px; color: var(--as-muted); }

/* settings */
.profile-row { display: flex; align-items: center; gap: 14px; }
.profile-row b { display: block; font-size: 15px; color: var(--as-ink); }
.profile-row small { font-size: 12.5px; color: var(--as-muted); }
.srv-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--as-line); font-size: 13px; color: var(--as-ink); }
.srv-row:last-child { border-bottom: 0; }
.srv-row .dot { flex: none; }
.srv-row b { margin-left: auto; font-weight: 800; }
.srv-ok { color: #2E7D32; }

/* logs */
.log-list { display: flex; flex-direction: column; gap: 2px; max-height: 520px; overflow: auto; }
.log-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 11px; font-size: 13px; color: var(--as-ink); }
.log-row:hover { background: rgba(33, 150, 243, 0.06); }
.log-lvl { font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; color: #465374; background: rgba(91, 107, 140, 0.14); }
.log-lvl.ok { color: #2E7D32; background: rgba(46, 158, 91, 0.14); }
.log-lvl.info { color: #0D47A1; background: rgba(33, 150, 243, 0.14); }
.log-row small { margin-left: auto; font-size: 11px; color: var(--as-muted); }

/* analytics bits */
.tc-row, .ls-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.tc-row span, .ls-row span { flex: 1; min-width: 0; font-weight: 600; color: var(--as-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-track { flex: 1.2; height: 8px; border-radius: 99px; background: var(--as-field); overflow: hidden; }
.tc-track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--as-accent-deep), var(--as-accent)); }
.tc-row b { min-width: 34px; text-align: right; font-weight: 800; color: var(--as-accent-deep); }
.ls-row .tag { flex: none; }

/* empty / skeleton / error */
.admin-shell .empty-state { padding: 26px 18px; }
.skel-box { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; }
.skel-box i {
  display: block; height: 12px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(13, 71, 161, 0.08), rgba(13, 71, 161, 0.18), rgba(13, 71, 161, 0.08));
  background-size: 200% 100%;
  animation: skel 1.4s linear infinite;
}
.skel-box i:nth-child(2) { width: 92%; }
.skel-box i:nth-child(3) { width: 78%; }
.skel-box i:nth-child(4) { width: 64%; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.err-panel { max-width: 520px; margin: 8vh auto; padding: 30px; text-align: center; border-radius: var(--r-card); }
.err-panel h3 { margin: 6px 0 8px; font-size: 18px; }
.err-panel .e-emoji { font-size: 34px; }

/* dark tweaks */
.admin-shell[data-admtheme="dark"] input, .admin-shell[data-admtheme="dark"] select, .admin-shell[data-admtheme="dark"] textarea { color-scheme: dark; }
.admin-shell[data-admtheme="dark"] .data-table th { background: rgba(20, 41, 74, 0.6); }
.admin-shell[data-admtheme="dark"] .data-table tr:hover td { background: rgba(144, 202, 249, 0.05); }
.admin-shell[data-admtheme="dark"] .odetail td { background: rgba(144, 202, 249, 0.04); }
.admin-shell[data-admtheme="dark"] .price-input { background: rgba(20, 41, 74, 0.75); border-color: var(--as-line); color: var(--as-ink); }
.admin-shell[data-admtheme="dark"] .pill-sel option { color: #E7F2FF; background: #0F223F; }
.admin-shell[data-admtheme="dark"] .pos-prod, .admin-shell[data-admtheme="dark"] .pos-line { background: rgba(20, 41, 74, 0.6); }

/* responsive */
@media (max-width: 1280px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-2col { grid-template-columns: 1fr; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-grid { grid-template-columns: 1fr; }
  .pos-bill { position: static; }
}
@media (max-width: 1024px) {
  .admin-shell { --as-side: 236px; }
  .at-av-meta { display: none; }
}
@media (max-width: 820px) {
  .admin-shell { --as-side: 264px; }
  .admin-side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 70; transform: translateX(-102%); transition: transform 0.3s var(--ease); box-shadow: none; }
  .admin-shell.side-collapsed .admin-side { transform: translateX(0); box-shadow: var(--el-3); }
  .admin-top { gap: 10px; }
  .at-chip.at-srv { display: none; }
  .at-search { max-width: none; }
  .qa-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .m-bar { grid-template-columns: repeat(2, 1fr); }
  .pos-cust, .add-g2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kpi-grid, .qa-grid { grid-template-columns: 1fr; }
  .admin-main { padding: 16px 12px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .admin-shell *,
  .admin-shell *::before,
  .admin-shell *::after { transition: none !important; animation: none !important; }
}

/* ============================================================
   CrackersMela � Glass v2 Polish Layer
   Elevates the glass system: ambient depth, stronger blur on
   floating surfaces, gradient product-card glass, blue-active
   favourites, focus/a11y hardening, mobile performance.
   ============================================================ */

/* ---------- Ambient depth (fixed, non-canvas) ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(52% 40% at 12% 0%, rgba(144, 202, 249, 0.5) 0%, transparent 62%),
    radial-gradient(46% 38% at 88% 6%, rgba(33, 150, 243, 0.28) 0%, transparent 64%),
    radial-gradient(60% 46% at 50% 104%, rgba(144, 202, 249, 0.34) 0%, transparent 62%);
}

/* ---------- Navbar: floating glass + edge light ---------- */
.navbar {
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), #fff 45%, rgba(255, 255, 255, 0.25));
  pointer-events: none;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
}
.nav-drop__menu {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--el-3);
}

/* ---------- Nav actions: floating glass controls ---------- */
.icon-btn {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--el-1);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease);
}
.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--el-2);
}
.account-chip {
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow: var(--el-1);
}
.nav-search,
.nav-search-open {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--el-1);
}

/* ---------- Hero: deeper glass staging ---------- */
.hero {
  border-radius: 34px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(70% 55% at 74% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
    radial-gradient(50% 46% at 8% 100%, rgba(144, 202, 249, 0.32) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner,
.hero-visual {
  position: relative;
  z-index: 1;
}

/* ---------- Product cards: gradient glass + top light ---------- */
.prod-card {
  border-radius: 20px;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.85) 0%, rgba(144, 202, 249, 0.26) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
}
.prod-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 52%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 0;
}
.prod-card > .prod-card__media,
.prod-card > .prod-card__badges,
.prod-card > .prod-card__wish,
.prod-card > .prod-oos-tint {
  z-index: 1;
}
.prod-card > .prod-card__body {
  position: relative;
  z-index: 1;
}
.prod-card:hover {
  transform: translateY(-7px);
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.94) 0%, rgba(144, 202, 249, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 44px rgba(13, 71, 161, 0.14);
}
.prod-card:hover .add-btn--round,
.prod-card:hover .add-btn {
  transform: translateY(-1px) scale(1.05);
}

/* ---------- Favourites: floating glass, blue when active ---------- */
.prod-card__wish {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(13, 71, 161, 0.16);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease), color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.prod-card__wish:hover {
  transform: scale(1.1);
  color: var(--primary-deep);
  background: #fff;
}
.prod-card__wish.active {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--el-blue);
  transform: scale(1.08);
}
.prod-card__wish.active svg {
  fill: currentColor;
}

/* ---------- Chips, pills & categories: translucent + glow ---------- */
.chip,
.cat-pill,
.meta-pill {
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--el-1);
}
.chip.active,
.cat-pill.active {
  box-shadow: var(--el-blue), 0 0 0 4px rgba(33, 150, 243, 0.14);
}
.cat-rail {
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

/* ---------- Button: primary glow depth ---------- */
.btn-primary:hover {
  box-shadow: var(--el-blue-hi), 0 0 0 4px rgba(33, 150, 243, 0.16);
}

/* ---------- Cart drawer: floating frosted panel ---------- */
.drawer__panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border-left: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: -28px 0 70px rgba(13, 71, 161, 0.2);
}
.drawer__head {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cart-line {
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(12px) saturate(145%);
  -webkit-backdrop-filter: blur(12px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: var(--el-1);
}
.mini-qty {
  background: #fff;
  border: 1px solid rgba(13, 71, 161, 0.1);
}
.drawer__foot {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

/* ---------- Modals: strong frosted glass ---------- */
.modal__card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--el-3), 0 0 0 1px rgba(144, 202, 249, 0.22);
}
.modal__scrim {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mobile-drawer__panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

/* ---------- Search overlay ---------- */
.search-box {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}
.search-box__input {
  transition: box-shadow 0.2s var(--ease);
}
.search-box__input:focus-within {
  box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.14);
}

/* ---------- Section surfaces: uniform medium glass ---------- */
.content-card,
.glass-panel,
.filter-card,
.trust-card,
.offer-card,
.step-card,
.testi-card,
.info-tile,
.contact-card,
.benefit,
.why-card,
.order-item {
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

/* ---------- Forms & inputs: light readable glass ---------- */
.form-field input,
.form-field select,
.form-field textarea,
.track-form input,
.pos-cust input,
.cal-row input {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- Toasts ---------- */
.toast {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--el-3);
}
.empty-state {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px dashed rgba(13, 71, 161, 0.2);
}

/* ---------- Accessibility: visible keyboard focus ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
::selection {
  background: rgba(33, 150, 243, 0.26);
  color: var(--ink);
}

@media (min-width: 821px) {
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-thumb {
    background: rgba(144, 202, 249, 0.65);
    border-radius: 99px;
    border: 3px solid rgba(255, 255, 255, 0.9);
  }
  *::-webkit-scrollbar-track { background: transparent; }
}

/* ---------- Mobile: reduced blur for performance ---------- */
@media (max-width: 820px) {
  .bg-orb {
    filter: blur(46px);
    opacity: 0.42;
    animation: none;
  }
  body::before {
    background:
      radial-gradient(46% 34% at 14% 0%, rgba(144, 202, 249, 0.4) 0%, transparent 62%),
      radial-gradient(40% 30% at 88% 8%, rgba(33, 150, 243, 0.22) 0%, transparent 64%);
  }
  .navbar,
  .drawer__panel,
  .modal__card,
  .mobile-drawer__panel,
  .search-box {
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
  }
  .prod-card,
  .cat-card,
  .trust-card,
  .offer-card,
  .step-card,
  .testi-card,
  .content-card,
  .glass-panel,
  .filter-card,
  .contact-card,
  .cat-rail,
  .order-item {
    backdrop-filter: blur(8px) saturate(128%);
    -webkit-backdrop-filter: blur(8px) saturate(128%);
  }
  .prod-card {
    background: linear-gradient(152deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 100%);
  }
  .chip,
  .cat-pill,
  .meta-pill,
  .search-trigger,
  .account-chip,
  .icon-btn {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ============================================================
   Glass Tuning � 70% transparent, just a light frost
   (fills at 30% white, gentle 6px blur)
   ============================================================ */

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}
.nav-drop__menu {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ---------- Nav actions ---------- */
.icon-btn,
.account-chip,
.search-trigger {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ---------- Product cards ---------- */
.prod-card {
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.34) 0%, rgba(144, 202, 249, 0.12) 100%);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}
.prod-card::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
}
.prod-card:hover {
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.4) 0%, rgba(144, 202, 249, 0.16) 100%);
}

/* ---------- Favourites ---------- */
.prod-card__wish {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ---------- Chips, pills, category rail ---------- */
.chip,
.cat-pill,
.meta-pill {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}
.cat-rail {
  backdrop-filter: blur(5px) saturate(128%);
  -webkit-backdrop-filter: blur(5px) saturate(128%);
}

/* ---------- Cart drawer ---------- */
.drawer__panel {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
}
.drawer__head {
  background: rgba(255, 255, 255, 0.14);
}
.cart-line {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}
.drawer__foot {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
}

/* ---------- Modals ---------- */
.modal__card {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
}
.modal__scrim {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.mobile-drawer__panel {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
}

/* ---------- Search overlay ---------- */
.search-box {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px) saturate(135%);
  -webkit-backdrop-filter: blur(8px) saturate(135%);
}

/* ---------- Section surfaces ---------- */
.content-card,
.glass-panel,
.filter-card,
.trust-card,
.offer-card,
.step-card,
.testi-card,
.info-tile,
.contact-card,
.benefit,
.why-card,
.order-item {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ---------- Forms & inputs ---------- */
.form-field input,
.form-field select,
.form-field textarea,
.track-form input,
.pos-cust input,
.cal-row input {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px) saturate(125%);
  -webkit-backdrop-filter: blur(4px) saturate(125%);
}

/* ---------- Toasts & empty state ---------- */
.toast {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}
.empty-state {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
}

/* ---------- Mobile: keep glass but lighter ---------- */
@media (max-width: 820px) {
  .navbar,
  .navbar.scrolled,
  .nav-drop__menu,
  .icon-btn,
  .account-chip,
  .search-trigger,
  .prod-card,
  .prod-card:hover,
  .prod-card__wish,
  .chip,
  .cat-pill,
  .meta-pill,
  .cat-rail,
  .cart-line {
    backdrop-filter: blur(4px) saturate(120%);
    -webkit-backdrop-filter: blur(4px) saturate(120%);
  }
  .drawer__panel,
  .modal__card,
  .mobile-drawer__panel,
  .search-box,
  .drawer__foot {
    backdrop-filter: blur(6px) saturate(125%);
    -webkit-backdrop-filter: blur(6px) saturate(125%);
  }
  .drawer__panel,
  .modal__card,
  .mobile-drawer__panel,
  .search-box,
  .toast,
  .empty-state {
    background: rgba(255, 255, 255, 0.3);
  }
}

/* ============================================================
   Navbar Dropdown � floating opaque frosted panel (FIX)
   - own stacking context, positioned against .nav-inner
   - never clipped: clamped left + max-width in viewport
   - opaque frosted glass: products underneath cannot bleed
   - anchored under the trigger link (JS sets --drop-x),
     fallback = centred under the navbar
   ============================================================ */
.nav-drop {
  position: static;
}

.nav-drop__menu {
  position: absolute;
  isolation: isolate;
  z-index: 9999;
  top: calc(100% + 10px);
  left: var(--drop-x, 50%);
  transform: translate(-50%, 10px);
  transform-origin: top center;
  width: max-content;
  min-width: 232px;
  max-width: calc(100vw - 40px);
  padding: 24px 28px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(227, 242, 253, 0.95));
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 20px 60px rgba(13, 71, 161, 0.18), 0 4px 16px rgba(13, 71, 161, 0.08);
  display: grid;
  gap: 6px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* ESC / outside-click force-close (wins over :hover while applied) */
.nav-drop.force-close .nav-drop__menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
}

/* invisible hover bridge across the 10px gap (width matches the menu area) */
.nav-drop__menu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

/* Categories mega-menu: clean multi-column grid */
.nav-drop__menu--cats {
  min-width: 560px;
  max-width: calc(100vw - 40px);
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  right: 0;
  left: auto;
}

.nav-drop:hover > .nav-drop__menu--cats,
.nav-drop:focus-within > .nav-drop__menu--cats {
  transform: translateY(0);
}

/* every item gets its own cell: icon + text, no overlap/collision */
.nav-drop__menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0D47A1;
  white-space: nowrap;
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}

.nav-drop__menu a:hover {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
}

.nav-drop__menu a .mi {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: rgba(33, 150, 243, 0.12);
}

.nav-drop__menu--cats a > span:last-child,
.nav-drop__all > span:last-child {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.nav-drop__menu--cats a b,
.nav-drop__all b {
  font-size: 13.5px;
  font-weight: 700;
  color: #0D47A1;
  line-height: 1.3;
}

.nav-drop__menu--cats a small,
.nav-drop__all small {
  font-size: 11.5px;
  font-weight: 600;
  color: #576A82;
}
/* ============================================================
   Mobile header reorder:  hamburger � centered logo � search+cart
   (<=900px only; desktop header untouched)
============================================================ */
@media (max-width: 900px) {
  .nav-inner {
    padding: 0 8px;
    gap: 6px;
  }

  .mobile-toggle {
    display: inline-flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-deep);
    background: rgba(227, 242, 253, 0.72);
    border: 1px solid rgba(144, 202, 249, 0.5);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-toggle:hover {
    background: var(--primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--el-blue);
    transform: translateY(-1px);
  }

  .logo {
    position: static;
    transform: none;
    margin: 0;
    gap: 7px;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .nav-actions {
    margin-left: 0;
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-actions .icon-btn,
  .nav-search-open {
    width: 40px;
    height: 40px;
  }
}


/* ============================================================
   DEPTH LAYER � iOS 26 "Liquid Glass" inspired spatial design
   Layered hierarchy:  BACKGROUND -> ATMOSPHERE -> GLASS
   -> CONTENT -> FLOATING CONTROLS -> FOCUSED ELEMENTS
   Blue + white brand. Depth is built from light + layers,
   NOT from raw blur or wholesale transparency.
   ============================================================ */

/* ---------- 0. Depth tokens ---------- */
:root {
  /* Blue-tinted elevation ladder (stronger = physically higher) */
  --d-sh-1: 0 2px 6px rgba(13, 71, 161, 0.05), 0 10px 26px rgba(13, 71, 161, 0.09);
  --d-sh-2: 0 6px 18px rgba(13, 71, 161, 0.09), 0 22px 48px rgba(13, 71, 161, 0.15);
  --d-sh-3: 0 12px 30px rgba(13, 71, 161, 0.12), 0 34px 72px rgba(13, 71, 161, 0.22);
  --d-sh-4: 0 16px 40px rgba(13, 71, 161, 0.16), 0 48px 104px rgba(13, 71, 161, 0.26);

  /* Glass light: edge catches more light on top than bottom */
  --d-edge-lo: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --d-edge-hi: inset 0 1px 0 rgba(255, 255, 255, 0.85),
               inset 1px 0 0 rgba(255, 255, 255, 0.14),
               inset -1px 0 0 rgba(144, 202, 249, 0.12);

  /* Glass levels */
  --d-glass-1-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.62), rgba(227, 242, 253, 0.42));
  --d-glass-1-blur: blur(14px) saturate(140%);
  --d-glass-2-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(227, 242, 253, 0.66));
  --d-glass-2-blur: blur(20px) saturate(150%);
  --d-glass-3-bg: linear-gradient(158deg, rgba(255, 255, 255, 0.93), rgba(227, 242, 253, 0.74));
  --d-glass-3-blur: blur(26px) saturate(160%);
  --d-glass-4-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(227, 242, 253, 0.9));
  --d-glass-4-blur: blur(30px) saturate(165%);

  --d-motion: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 1. Background atmosphere (behind the glass) ----------
   Layered, fixed, very low volume. No obvious blobs. */
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 34% at 16% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(40% 30% at 84% 6%, rgba(144, 202, 249, 0.55) 0%, rgba(144, 202, 249, 0) 62%),
    radial-gradient(60% 42% at 50% 108%, rgba(13, 71, 161, 0.14) 0%, rgba(13, 71, 161, 0) 66%);
}

.bg-orb {
  opacity: 0.5;
  filter: blur(110px);
  transition: opacity 0.5s var(--d-motion);
}

.bg-grid {
  opacity: 0.5;
}

/* ---------- 2. Glass Level 2 � normal glass surfaces ----------
   Directional fill (light catches top-left) + backdrop blur +
   hairline border + inner edge-light + blue-tinted lift. */
.prod-card,
.cat-card,
.trust-card,
.offer-card,
.step-card,
.testi-card,
.content-card,
.filter-card,
.contact-card,
.glass-panel,
.order-item,
.cart-line {
  background: var(--d-glass-2-bg);
  backdrop-filter: var(--d-glass-2-blur);
  -webkit-backdrop-filter: var(--d-glass-2-blur);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: var(--d-sh-1), var(--d-edge-hi);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 250ms cubic-bezier(0.16, 1, 0.3, 1),
    background 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 3. Floating card: hover elevation + blue glow ---------- */
.prod-card:hover,
.cat-card:hover,
.trust-card:hover,
.offer-card:hover,
.step-card:hover,
.testi-card:hover,
.content-card:hover,
.filter-card:hover,
.contact-card:hover,
.glass-panel:hover,
.order-item:hover {
  transform: translateY(-4px);
  animation: none;
  background: var(--d-glass-2-bg);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(13, 71, 161, 0.16),
    0 0 0 1px rgba(33, 150, 243, 0.1),
    var(--d-edge-hi);
}

/* Favourites tile behaves like the rest of the card */
.prod-card__wish {
  background: var(--d-glass-2-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--d-sh-1), var(--d-edge-hi);
  transition: transform 150ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 150ms ease, background 150ms ease;
}

/* Fly-off glass chips & ghost buttons */
.chip,
.cat-pill,
.meta-pill,
.btn-glass {
  background: var(--d-glass-2-bg);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--d-sh-1), var(--d-edge-lo);
}

.btn-glass:hover {
  background: var(--d-glass-2-bg);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--d-sh-2), var(--d-edge-hi);
}

/* ---------- 4. Product image depth � floats inside the glass ---------- */
.prod-card__media {
  background: radial-gradient(130% 100% at 50% 8%, #ffffff 0%, #EAF4FE 58%, #D6E9FB 100%);
  box-shadow: 0 12px 24px rgba(13, 71, 161, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.prod-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(70% 62% at 50% 36%, rgba(144, 202, 249, 0.28) 0%, rgba(144, 202, 249, 0) 68%);
}

/* ---------- 5. Navbar � Level 3 floating glass object ---------- */
.navbar {
  background: var(--d-glass-3-bg);
  backdrop-filter: var(--d-glass-3-blur);
  -webkit-backdrop-filter: var(--d-glass-3-blur);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(13, 71, 161, 0.16), var(--d-edge-hi);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* On scroll: deeper, slightly more present, never solid */
.navbar.scrolled {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.96), rgba(227, 242, 253, 0.82));
  box-shadow: 0 30px 72px rgba(13, 71, 161, 0.2), var(--d-edge-hi);
}

/* ---------- 6. Icon controls � floating glass orbs ---------- */
.nav-actions .icon-btn,
.nav-search-open,
.account-chip,
.mobile-toggle,
.drawer-close,
.filter-close,
.modal__close {
  background: var(--d-glass-2-bg);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: var(--d-sh-1), var(--d-edge-hi);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease,
    border-color 200ms ease, background 200ms ease;
}

.nav-actions .icon-btn:hover,
.nav-search-open:hover,
.account-chip:hover,
.mobile-toggle:hover,
.drawer-close:hover,
.filter-close:hover,
.modal__close:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(33, 150, 243, 0.35), var(--d-edge-hi);
}

/* ---------- 7. Dropdown � Level 3 panel BELOW the navbar ----------
   Strong glass, high opacity, deep shadow. Re-affirms the earlier
   fix: product grid must never bleed through. */
.nav-drop__menu {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.97), rgba(227, 242, 253, 0.95));
  backdrop-filter: blur(28px) saturate(165%);
  -webkit-backdrop-filter: blur(28px) saturate(165%);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 30px 70px rgba(13, 71, 161, 0.22), var(--d-edge-hi);
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.18s, box-shadow 0.18s ease;
}

/* ---------- 8. Modal � Level 4, closest to the user ---------- */
.modal__scrim {
  background: rgba(13, 71, 161, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__card {
  background: var(--d-glass-4-bg);
  backdrop-filter: var(--d-glass-4-blur);
  -webkit-backdrop-filter: var(--d-glass-4-blur);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--d-sh-4), var(--d-edge-hi);
}

/* ---------- 9. Buttons � tactile, not cartoonish ---------- */
.btn-primary {
  background: linear-gradient(135deg, #0D47A1, #2196F3);
  box-shadow: 0 12px 30px rgba(33, 150, 243, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -3px 8px rgba(13, 71, 161, 0.32);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(33, 150, 243, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -3px 8px rgba(13, 71, 161, 0.32);
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-white {
  background: #fff;
  box-shadow: var(--d-sh-2), var(--d-edge-lo);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 200ms ease;
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: var(--d-sh-3), var(--d-edge-hi);
}

/* ---------- 10. Drawers & search � Level 3 ---------- */
.drawer__panel,
.search-box,
.mobile-drawer__panel {
  background: var(--d-glass-3-bg);
  backdrop-filter: var(--d-glass-3-blur);
  -webkit-backdrop-filter: var(--d-glass-3-blur);
  border-color: rgba(255, 255, 255, 0.75);
}

.drawer__head,
.drawer__foot {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}

/* ---------- 11. Search box & inputs � Level 2 with focus light ---------- */
.search-box input,
.form-field input,
.form-field textarea,
.form-field select,
.shop-bar input,
.shop-bar select {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(144, 202, 249, 0.55);
  box-shadow: inset 0 2px 5px rgba(13, 71, 161, 0.05), var(--d-edge-lo);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.search-box input:focus,
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.shop-bar input:focus,
.shop-bar select:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ---------- 12. Soft reflections on large glass panels ----------
   A subtle upper-left light pool. Direct children are promoted
   above the sheen so text & controls stay crisp. */
.glass-panel,
.content-card,
.modal__card,
.drawer__panel,
.mobile-drawer__panel {
  position: relative;
}

.glass-panel::before,
.content-card::before,
.modal__card::before,
.drawer__panel::before,
.mobile-drawer__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 46%);
}

.glass-panel > *,
.content-card > *,
.modal__card > *,
.drawer__panel > *,
.mobile-drawer__panel > * {
  position: relative;
  z-index: 1;
}

/* ---------- 13. Hero � layered over the airflow ---------- */
.hero-search {
  background: var(--d-glass-2-bg);
  backdrop-filter: var(--d-glass-2-blur);
  -webkit-backdrop-filter: var(--d-glass-2-blur);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: var(--d-sh-2), var(--d-edge-hi);
  transition: box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-shot {
  box-shadow: var(--d-sh-3), var(--d-edge-hi);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-shot:hover {
  box-shadow: var(--d-sh-4), var(--d-edge-hi);
}

.hero-chip {
  background: var(--d-glass-2-bg);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: var(--d-sh-1), var(--d-edge-hi);
}

/* Category rail � light, quiet */
.cat-rail {
  background: var(--d-glass-1-bg);
  backdrop-filter: var(--d-glass-1-blur);
  -webkit-backdrop-filter: var(--d-glass-1-blur);
  box-shadow: var(--d-sh-1), var(--d-edge-lo);
}

/* ---------- 14. Mobile: keep premium, cut the expensive blur ---------- */
@media (max-width: 820px) {
  .bg-orb {
    filter: blur(60px);
    opacity: 0.34;
  }
  .bg-grid {
    display: none;
  }

  .navbar {
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
  }
  .nav-drop__menu {
    backdrop-filter: blur(20px) saturate(155%);
    -webkit-backdrop-filter: blur(20px) saturate(155%);
  }
  .prod-card,
  .cat-card,
  .trust-card,
  .offer-card,
  .step-card,
  .testi-card,
  .content-card,
  .filter-card,
  .contact-card,
  .glass-panel,
  .order-item,
  .cart-line {
    backdrop-filter: blur(10px) saturate(135%);
    -webkit-backdrop-filter: blur(10px) saturate(135%);
  }
  .prod-card:hover,
  .cat-card:hover,
  .trust-card:hover,
  .offer-card:hover {
    transform: translateY(-2px);
  }
  .drawer__panel,
  .modal__card,
  .mobile-drawer__panel,
  .search-box {
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
  }
}

/* ---------- 15. Honours "reduce motion" ---------- */
@media (prefers-reduced-motion: reduce) {
  .bg-orb,
  .bg-grid {
    animation: none;
  }
  .prod-card,
  .cat-card,
  .trust-card,
  .offer-card,
  .step-card,
  .testi-card,
  .content-card,
  .filter-card,
  .contact-card,
  .order-item {
    animation: none;
    transition-duration: 1ms;
  }
  .prod-card:hover,
  .cat-card:hover,
  .trust-card:hover,
  .offer-card:hover,
  .step-card:hover,
  .testi-card:hover,
  .content-card:hover,
  .filter-card:hover,
  .contact-card:hover {
    transform: none;
  }
  .btn-primary:hover,
  .btn-white:hover,
  .btn-glass:hover {
    transform: none;
  }
  .nav-actions .icon-btn:hover,
  .nav-search-open:hover,
  .account-chip:hover,
  .mobile-toggle:hover,
  .drawer-close:hover,
  .filter-close:hover,
  .modal__close:hover,
  .hero-chip:hover,
  .hero-shot:hover {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Enhanced categories mega-menu - compact premium glass */
.nav-drop__menu--cats a {
  padding: 8px 10px;
  gap: 12px;
  border-radius: 12px;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-drop__menu--cats a:hover {
  background: rgba(144,202,249,0.22);
  transform: none;
}
.nav-drop__menu--cats a .mi {
  width: 32px;
  height: 32px;
  font-size: 16px;
  background: rgba(33,150,243,0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.nav-drop__menu--cats a:hover .mi {
  background: rgba(33,150,243,0.2);
}
.nav-drop__menu--cats a b {
  font-size: 13.5px;
  color: #0D47A1;
  font-weight: 700;
}
.nav-drop__menu--cats a:hover b {
  color: #2196F3;
}
.nav-drop__menu--cats a small {
  font-size: 11.5px;
  color: #576A82;
}
/* Categories hover override - fix stacking */
.nav-drop:hover > .nav-drop__menu--cats,
.nav-drop:focus-within > .nav-drop__menu--cats {
  transform: translateY(0);
}

/* ========== FINAL MEGA-MENU OVERRIDE (15% frost) ========== */
.nav-drop__menu,
.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu,
.nav-drop.is-open .nav-drop__menu {
  background: linear-gradient(160deg, rgba(255,255,255,0.97), rgba(227,242,253,0.94)) !important;
  backdrop-filter: blur(28px) saturate(165%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(165%) !important;
  border: 1px solid rgba(255,255,255,0.85) !important;
  box-shadow: 0 30px 70px rgba(13,71,161,0.24), inset 0 1px 0 rgba(255,255,255,0.8) !important;
  padding: 16px 20px !important;
  z-index: 9999 !important;
}
.navbar,
.navbar.scrolled {
  background: linear-gradient(160deg, rgba(255,255,255,0.85), rgba(227,242,253,0.82)) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  z-index: 1000 !important;
}

/* ============================================================
   BRAND LOGO � CRACKERSMELA � BUY CRACKERS ONLINE
   Wide banner artwork (trimmed canvas 851�213, aspect � 3.995).
   Artwork pixels are untouched; only empty transparent canvas
   margins were removed so the full logo can render large.
   Displayed as a real brand logo � never inside a container box.
   ============================================================ */
.logo-img {
  display: block;
  width: 195px;
  height: auto;
  aspect-ratio: 851 / 213;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-img--drawer { width: 156px; }
.logo-img--footer { width: 188px; }
.logo-img--invoice { width: 162px; }

.as-logo-img {
  display: block;
  width: 110px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 851 / 213;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Mobile: big centered logo, flanking icons, no microscopic scaling.
   Logo lives in the flex row (flex-1 band) so it picks up the exact
   space the toggle/actions leave free � never overlapping on narrow
   phones. Secondary nav links live in the drawer below 900px. */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .logo-img { width: min(31vw, 136px); max-width: 100%; }
  .logo-img--drawer { width: 150px; }
  .logo-img--footer { width: 188px; }
}

/* Tablet (901-1099): keep the large logo, collapse About/Contact into
   the mobile menu band. Search switches to an icon button that expands
   an inline bar under the header. */
@media (min-width: 901px) and (max-width: 1099px) {
  .nav-links .nav-link[href="#/about"],
  .nav-links .nav-link[href="#/contact"] { display: none; }
  .nav-link { padding: 9px 10px; }
  .nav-search { display: none; }
  .nav-search-open { display: inline-flex; }
}

/* Desktop (1100-1319): full navigation, inline search bar kept visible
   (room allows) while the large logo stays intact. */
@media (min-width: 1100px) and (max-width: 1319px) {
  .nav-link { padding: 9px 10px; }
}

/* ---------- Inline search open state (mobile & tablet) ----------
   Tapping the search icon swaps the header row to a single in-flow
   full-width search bar (hidden toggle/logo/actions). No modal, no
   full-screen overlay, no body scroll lock, no blurred backdrop. */
@media (max-width: 1080px) {
  body.nav-search-active .nav-search {
    display: flex;
    position: static;
    flex: 1 1 100%;
    width: auto;
    max-width: none;
    min-width: 0;
    height: 46px;
    padding: 0 12px 0 16px;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.12), 0 16px 40px rgba(13, 71, 161, 0.16);
  }

  body.nav-search-active .nav-search__close {
    display: inline-flex;
  }

  body.nav-search-active .nav-search__results {
    top: calc(100% + 8px);
    right: 0;
  }

  body.nav-search-active .mobile-toggle,
  body.nav-search-active .logo,
  body.nav-search-active .nav-actions {
    display: none;
  }

  body.nav-search-active .nav-inner {
    gap: 6px;
  }
}

/* ============================================================
   New Arrivals + Featured product sections � premium chips
   Scoped so it refines only these product sections (cascade wins).
   ============================================================ */
#new-arrivals,
#featured {
  --chip-h: 44px;
  --chip-active: linear-gradient(135deg, #1E88E5 0%, #2196F3 100%);
}

/* Comfortable, consistent vertical rhythm:
   description ? chips ? grid */
#new-arrivals .chip-row,
#featured .chip-row {
  margin-top: 14px;
}

#new-arrivals .prod-grid,
#featured .prod-grid {
  margin-top: 26px;
}

/* Chips: one clean row on desktop, tappable equal-height pills */
#new-arrivals .chip-row--scroll,
#featured .chip-row--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: 2px;
  padding: 2px 2px 10px;
  margin-bottom: -6px;
}

#new-arrivals .chip-row--scroll::-webkit-scrollbar,
#featured .chip-row--scroll::-webkit-scrollbar {
  display: none;
}

#new-arrivals .chip-row--scroll .chip,
#featured .chip-row--scroll .chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* Pill surface � clearly-visible frosted glass, layered iOS depth.
   The section is white, so translucent white alone is invisible.
   We add a visible blue-tinted surface, a crisp rim, and a real drop
   shadow so each pill reads as a distinct elevated control. */
#new-arrivals .chip,
#featured .chip {
  height: var(--chip-h);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1px;
  line-height: 1;
  color: #0D47A1;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(199, 224, 247, 0.85));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(33, 150, 243, 0.30);
  box-shadow:
    0 1px 2px rgba(13, 71, 161, 0.10),
    0 6px 14px rgba(13, 71, 161, 0.14),
    0 14px 30px rgba(13, 71, 161, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 220ms ease, background 220ms ease,
    box-shadow 220ms ease, color 220ms ease, border-color 220ms ease;
}

#new-arrivals .chip:hover,
#featured .chip:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #ffffff, rgba(199, 224, 247, 0.95));
  border-color: rgba(33, 150, 243, 0.45);
  box-shadow:
    0 2px 4px rgba(13, 71, 161, 0.12),
    0 10px 20px rgba(13, 71, 161, 0.18),
    0 20px 40px rgba(13, 71, 161, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

#new-arrivals .chip:active,
#featured .chip:active {
  transform: scale(0.98);
  box-shadow:
    0 1px 2px rgba(13, 71, 161, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Active "All" � elevated blue glass, clearly dominant */
#new-arrivals .chip.active,
#featured .chip.active {
  color: #fff;
  background: linear-gradient(145deg, #42A5F5, #1565C0);
  border-color: rgba(21, 101, 192, 0.9);
  box-shadow:
    0 8px 20px rgba(33, 150, 243, 0.42),
    0 2px 6px rgba(13, 71, 161, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(13, 71, 161, 0.18);
}

#new-arrivals .chip.active:hover,
#featured .chip.active:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #4FB3FF, #1565C0);
  box-shadow:
    0 10px 26px rgba(33, 150, 243, 0.50),
    0 3px 8px rgba(13, 71, 161, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(13, 71, 161, 0.18);
}

#new-arrivals .chip.active:active,
#featured .chip.active:active {
  transform: scale(0.98);
  box-shadow:
    0 4px 12px rgba(33, 150, 243, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile: keep horizontal scroll, slightly ease shadow cost */
@media (max-width: 767px) {
  #new-arrivals .chip,
  #featured .chip {
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    box-shadow:
      0 1px 2px rgba(13, 71, 161, 0.10),
      0 5px 12px rgba(13, 71, 161, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
  #new-arrivals .chip.active,
  #featured .chip.active {
    box-shadow:
      0 6px 14px rgba(33, 150, 243, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      inset 0 -2px 4px rgba(13, 71, 161, 0.18);
  }
}

/* Honour reduced motion */
@media (prefers-reduced-motion: reduce) {
  #new-arrivals .chip,
  #featured .chip {
    transition: none;
  }
  #new-arrivals .chip:hover,
  #featured .chip:hover,
  #new-arrivals .chip:active,
  #featured .chip:active,
  #new-arrivals .chip.active:hover,
  #featured .chip.active:hover,
  #new-arrivals .chip.active:active,
  #featured .chip.active:active {
    transform: none;
  }
}

/* Subtle, secondary description alongside the section title */
#new-arrivals .section__sub,
#featured .section__sub {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 560px;
}

/* ============================================================
   NAVBAR + CATEGORIES MEGA-MENU � containment & polish FIX
   - mega-menu is aligned edge-to-edge with .nav-inner (the navbar
     container itself = the site's main content width), so it can
     never hang off the left or right edge of the viewport
   - replaces the old `right:0; left:auto` + `translateX(-50%)`
     combination that anchored to the right edge and then shoved
     the panel left by half its own width (off-screen)
   - controlled max height + internal scroll; items always sit in
     a clean responsive grid, never stretched into a tall column
   ============================================================ */
.nav-drop__menu--cats {
  left: 0;
  right: 0;
  width: auto;
  min-width: 0;
  max-width: none;
  transform: translateY(10px);
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(33, 150, 243, 0.4) transparent;
}
.nav-drop__menu--cats::-webkit-scrollbar {
  width: 8px;
}
.nav-drop__menu--cats::-webkit-scrollbar-thumb {
  background: rgba(33, 150, 243, 0.35);
  border-radius: 8px;
}

/* open state � centred drop only, never a -50% horizontal shift */
.nav-drop:hover > .nav-drop__menu--cats,
.nav-drop:focus-within > .nav-drop__menu--cats,
.nav-drop.is-open > .nav-drop__menu--cats {
  transform: translateY(0);
}

/* ---------- Mobile drawer: compact Shop-by-Category panel ----------
   Lives inside the small drawer (never the desktop mega-menu), fits
   entirely within the viewport and scrolls with the drawer panel. */
.drawer-cats {
  margin: 10px 0 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(13, 71, 161, 0.12);
}
.drawer-cats__title {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--primary-deep);
  opacity: 0.85;
}
.drawer-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.drawer-cats__grid a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(144, 202, 249, 0.5);
  transition: background 0.16s var(--ease), color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.drawer-cats__grid a:hover {
  background: rgba(33, 150, 243, 0.12);
  border-color: rgba(33, 150, 243, 0.4);
  color: var(--primary-deep);
}
.drawer-cats__grid a .mi {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 14px;
  background: rgba(33, 150, 243, 0.12);
}
.drawer-cats__grid a span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Reduced motion: no dropdown fly animation */
@media (prefers-reduced-motion: reduce) {
  .nav-drop__menu,
  .nav-drop__menu--cats,
  .nav-drop:hover > .nav-drop__menu,
  .nav-drop:hover > .nav-drop__menu--cats {
    transition: none !important;
    transform: none !important;
  }
}

/* Fix 320px horizontal overflow: trust-card flex text block min-width */
.trust-card > :not(.t-icon) {
  min-width: 0;
}
.trust-card h4,
.trust-card p {
  overflow-wrap: anywhere;
}
/* ============================================================
   Vector icon pass — consistent Lucide-style icon family,
   replaces emoji glyphs across the UI (navbar, promo, category
   chips, empty states, auth, checkout, admin). Blue/white, one
   stroke weight, sized relative to their container.
   ============================================================ */
.nav-link .nli { width: 18px; height: 18px; opacity: 0.95; }
.nav-drop__menu--cats a .mi { font-size: 18px; }
.drawer-cats__grid a .mi { font-size: 18px; }

.prod-img-fallback svg,
.prod-detail__media .fallback svg,
.order-item svg { color: var(--primary); }

.empty-state .e-emoji svg,
.cart-empty .e-emoji svg,
.auth-head .a-emoji svg,
.search-hit .sh-emoji svg,
.err-panel .e-emoji svg { color: var(--primary); }

.cat-card__icon svg { color: var(--primary-deep); }
.cc-ic svg { color: var(--primary-deep); }
.top-th svg,
.th-fb svg { color: var(--primary-deep); }
.nav-drop__menu a .mi svg,
.drawer-cats__grid a .mi svg { color: var(--primary-deep); }
.pay-option .p-emoji svg { color: var(--primary); }

/* ---------- Product card: in-cart quantity controls ---------- */
.prod-card__foot {
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
}

.prod-card__foot.foot-swap {
  opacity: 0;
  transform: translateY(6px);
}

.prod-card__foot.foot-in {
  animation: foot-in 0.3s var(--ease);
}

@keyframes foot-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.prod-card__foot--cart {
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  padding-top: 10px;
}

.qty-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 4px 5px;
  border-radius: 14px;
  background: rgba(238, 242, 255, 0.92);
  border: 1px solid rgba(13, 71, 161, 0.1);
  box-shadow: 0 1px 2px rgba(13, 71, 161, 0.04);
}

.qty-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  font-family: inherit;
  touch-action: manipulation;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    box-shadow 0.18s var(--ease), opacity 0.18s;
}

.qty-btn:active { transform: scale(0.92); }
.qty-btn:hover { transform: scale(1.05); }

.qty-btn--plus {
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  box-shadow: var(--el-blue);
}

.qty-btn--minus {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-soft);
  border: 1px solid rgba(13, 71, 161, 0.14);
  box-shadow: var(--el-1);
}

.qty-btn--minus:hover { background: #fff; }
.qty-btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; transform: none; }

.qty-num {
  min-width: 34px;
  text-align: center;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.qty-remove {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(224, 70, 75, 0.08);
  color: var(--danger);
  border: 1px solid rgba(224, 70, 75, 0.18);
  font-size: 12.5px;
  font-weight: 750;
  font-family: inherit;
  touch-action: manipulation;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.qty-remove:hover {
  background: rgba(224, 70, 75, 0.14);
  box-shadow: 0 4px 12px rgba(224, 70, 75, 0.14);
}

.qty-remove:active { transform: scale(0.98); }
.qty-remove svg { width: 15px; height: 15px; flex-shrink: 0; }

@media (pointer: coarse), (max-width: 520px) {
  .qty-btn { width: 44px; height: 44px; }
  .qty-num { min-width: 40px; }
  .qty-remove { min-height: 44px; padding: 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .prod-card__foot { transition: none !important; animation: none !important; }
}

/* ============================================================
   Cart-added notification � Apple-style liquid-glass pill
   (single toast, top-right on desktop / centred under navbar on mobile)
   ============================================================ */
.toast-wrap--cart {
  position: fixed;
  top: calc(var(--nav-h) + 82px);
  right: 20px;
  bottom: auto;
  left: auto;
  transform: none;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: auto;
  max-width: calc(100vw - 40px);
  pointer-events: none;
}

.toast.toast--cart {
  position: relative;
  width: max-content;
  min-width: 0;
  max-width: min(400px, calc(100vw - 40px));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 13px;
  border-radius: 999px;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(223, 240, 255, 0.2));
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 34px rgba(13, 71, 161, 0.16), 0 3px 10px rgba(13, 71, 161, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #0B2A5B;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1px;
  animation: cart-in 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.toast.toast--cart::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.toast.toast--cart > span {
  position: relative;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast.toast--cart svg {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.toast.toast--cart.ok svg {
  color: #1FAA6A;
  filter: drop-shadow(0 1px 2px rgba(31, 170, 106, 0.35));
}

.toast.toast--cart.hide {
  animation: cart-out 0.25s ease forwards;
}

@keyframes cart-in {
  from { transform: translate(18px, -6px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

@keyframes cart-out {
  to { transform: translateY(-6px) scale(0.98); opacity: 0; }
}

@keyframes cart-in-m {
  from { transform: translateY(-10px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

@media (max-width: 820px) {
  .toast-wrap--cart {
    top: calc(var(--nav-h) + 59px);
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }
  .toast.toast--cart {
    width: max-content;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    padding: 7px 15px 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(223, 240, 255, 0.28));
    backdrop-filter: blur(22px) saturate(200%);
    -webkit-backdrop-filter: blur(22px) saturate(200%);
    box-shadow: 0 10px 26px rgba(13, 71, 161, 0.16), 0 2px 8px rgba(13, 71, 161, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    animation: cart-in-m 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .toast.toast--cart svg {
    width: 15px;
    height: 15px;
  }
}

/* ============================================================
   Product-card Add to Cart � premium liquid-glass pill
   (replaces the circular button; nothing else changes)
   ============================================================ */
.add-btn.add-btn--round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  height: auto;
  min-height: 44px;
  margin-left: auto;
  flex-shrink: 0;
  padding: 10px 19px 10px 15px;
  border-radius: 999px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  color: #0B2A5B;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(211, 232, 255, 0.2));
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 26px rgba(13, 71, 161, 0.18), 0 3px 8px rgba(13, 71, 161, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.25s var(--ease), border-color 0.2s var(--ease);
}

/* glass shine / refraction sweep */
.add-btn--round::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 52%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 42%);
}

.add-btn--round svg,
.add-btn--round span {
  position: relative;
  z-index: 1;
}

/* undo the hidden/absolute span + restore text */
.add-btn--round span {
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  white-space: nowrap;
}

.add-btn--round svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--primary);
}

/* hover: subtle glass highlight */
.prod-card .add-btn--round:hover:not(:disabled) {
  transform: translateY(-1px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(208, 232, 255, 0.32));
  box-shadow: 0 14px 30px rgba(13, 71, 161, 0.22), 0 3px 9px rgba(13, 71, 161, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
}

/* press: subtle scale */
.prod-card .add-btn--round:active:not(:disabled) {
  transform: scale(0.96);
  transition-duration: 0.08s;
}

/* sold-out: keep the glass pill, toned down */
.add-btn--round:disabled {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: none;
  color: var(--muted);
  transform: none;
  cursor: not-allowed;
}

/* small screens: stock line on top, pill spans the card width */
@media (max-width: 560px) {
  .prod-card__foot:not(.prod-card__foot--cart) {
    flex-wrap: wrap;
    gap: 8px 10px;
  }
  .prod-card__foot:not(.prod-card__foot--cart) .add-btn--round {
    flex: 1 1 100%;
    min-height: 46px;
    justify-content: center;
    padding: 9px 14px;
  }
  .add-btn--round svg {
    width: 14px;
    height: 14px;
  }
  .add-btn--round span {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .add-btn--round { transition: none !important; }
  .prod-card .add-btn--round:active:not(:disabled) { transform: none; }
}

/* ============================================================
   Product card polish: balanced, compact, premium
   (sizing / spacing / alignment only � no design change)
   ============================================================ */

/* 1. Image � slightly shorter glass container, full product visible */
.prod-card__media {
  aspect-ratio: 5 / 4;
}
.prod-card__media img {
  object-fit: contain;
}
.prod-card:hover .prod-card__media img {
  transform: scale(1.05);
}

/* 2. Badges � compact premium pills, clear stacking */
.prod-card__badges {
  gap: 5px;
}
.badge-off,
.badge-hot {
  font-size: 10px;
  padding: 3px 9px;
  letter-spacing: 0.4px;
}
.badge-off {
  box-shadow: 0 3px 8px rgba(33, 150, 243, 0.28);
}

/* 3. Wishlist � smaller, refined, frosted glass */
.prod-card__wish {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
}
.prod-card__wish svg {
  width: 15px;
  height: 15px;
}

/* 4-6. Body � tighter, intentional spacing */
.prod-card__body {
  padding: 12px 16px 14px;
  gap: 5px;
}
.prod-card__cat {
  font-size: 10px;
  letter-spacing: 1.15px;
}
.prod-card__name {
  line-height: 1.3;
  min-height: 0;
}
.prod-card__desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted-2);
  display: -webkit-box;
}
.rating-row {
  font-size: 11.5px;
  gap: 5px;
  white-space: nowrap;
}
.rating-row .stars {
  font-size: 11.5px;
}

/* 7. Price � clean hierarchy, compact, one line where it fits */
.price-row {
  gap: 7px;
}
.price-now {
  font-size: 18px;
}
.price-cmp {
  font-size: 12px;
}
.price-off {
  font-size: 11px;
}

/* 8-9. Bottom action row + subtle divider */
.prod-card__foot {
  flex-wrap: wrap;
  row-gap: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(13, 71, 161, 0.08);
}

/* 11. Mobile refinements */
@media (max-width: 820px) {
  .prod-card__body {
    padding: 11px 12px 13px;
  }
  .prod-card__desc {
    font-size: 11px;
    line-height: 1.4;
  }
}

@media (max-width: 560px) {
  .prod-card__name {
    font-size: 13.5px;
  }
  .prod-card__wish {
    width: 32px;
    height: 32px;
  }
  .prod-card__wish svg {
    width: 14px;
    height: 14px;
  }
  .price-now {
    font-size: 15.5px;
  }
  .price-cmp {
    font-size: 10.5px;
  }
  .price-off {
    font-size: 10px;
  }
  .price-row {
    gap: 5px;
  }
}
@ m e d i a   ( m a x - w i d t h :   5 6 0 p x )   { 
     . a d d - b t n - - r o u n d   s p a n   { 
         p o s i t i o n :   r e l a t i v e ; 
         d i s p l a y :   i n l i n e ; 
         w i d t h :   a u t o ; 
         h e i g h t :   a u t o ; 
         o v e r f l o w :   v i s i b l e ; 
         c l i p :   a u t o ; 
         - w e b k i t - c l i p - p a t h :   n o n e ; 
         c l i p - p a t h :   n o n e ; 
         w h i t e - s p a c e :   n o w r a p ; 
     } 
 }  
 @media (max-width: 560px) { .add-btn--round span { position: relative !important; display: inline !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; -webkit-clip-path: none !important; clip-path: none !important; white-space: nowrap !important; } }

@media (max-width: 560px) { .add-btn--round span { all: unset !important; position: relative !important; display: inline !important; width: auto !important; height: auto !important; overflow: visible !important; clip: auto !important; -webkit-clip-path: none !important; clip-path: none !important; white-space: nowrap !important; } }

/* ============================================================
   MAINTENANCE PAGE — premium glass scene
   ============================================================ */
body.maint-on .promo-bar,
body.maint-on .navbar,
body.maint-on .footer,
body.maint-on .float-actions,
body.maint-on #fabUp,
body.maint-on #mobileDrawer,
body.maint-on #cartDrawer { display: none !important; }
body.maint-on .app-shell {
  margin: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.maint-on .app-shell .container,
body.maint-on .shell-main { width: 100%; max-width: none; padding: 0; }

.maint-scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, #EFF7FF 0%, #E7F1FC 38%, #DAECFC 100%);
}
.maint-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(58% 42% at 50% -4%, rgba(255,255,255,0.85), rgba(255,255,255,0) 74%);
}
.maint-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(80% 58% at 50% 112%, rgba(144,202,249,0.20), rgba(144,202,249,0) 72%);
}

.maint-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(58px);
}
.maint-glow--a {
  z-index: 1;
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  top: -18%; left: -12%;
  background: radial-gradient(circle, rgba(255,255,255,0.88) 0%, rgba(144,202,249,0.42) 54%, rgba(144,202,249,0) 70%);
}
.maint-glow--b {
  z-index: 1;
  width: 56vw; height: 56vw; max-width: 840px; max-height: 840px;
  bottom: -22%; right: -15%;
  background: radial-gradient(circle, rgba(33,150,243,0.20) 0%, rgba(13,71,161,0.13) 54%, rgba(13,71,161,0) 70%);
}

.maint-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.maint-shape--1 {
  z-index: 1;
  width: 180px; height: 180px; top: 11%; left: 15%;
  background: radial-gradient(circle, rgba(255,255,255,0.72) 0%, rgba(227,242,253,0.34) 60%, transparent);
  box-shadow: 0 0 60px rgba(144,202,249,0.32);
}
.maint-shape--2 {
  z-index: 1;
  width: 150px; height: 150px; bottom: 12%; left: 22%;
  background: radial-gradient(circle, rgba(227,242,253,0.80), transparent 70%);
}
.maint-shape--3 {
  z-index: 1;
  width: 170px; height: 170px; top: 16%; right: 11%;
  background: radial-gradient(circle, rgba(255,255,255,0.68) 0%, rgba(144,202,249,0.30) 62%, transparent);
}

.maint-card {
  position: relative;
  z-index: 5;
  width: min(580px, 100%);
  padding: clamp(30px, 4.5vw, 48px) clamp(22px, 5vw, 52px);
  text-align: center;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,0.92) 0%, rgba(227,242,253,0.84) 100%);
  border: 1px solid rgba(255,255,255,0.78);
  box-shadow:
    0 24px 70px rgba(13,71,161,0.12),
    0 8px 24px rgba(13,71,161,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
  animation: maintCardIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes maintCardIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.maint-logo {
  display: block;
  width: clamp(150px, 24vw, 202px);
  height: auto;
  margin: 0 auto 22px;
  border-radius: 4px;
}

.maint-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #0D47A1;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(33,150,243,0.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}
.maint-pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2196F3;
  box-shadow: 0 0 0 4px rgba(33,150,243,0.16);
  animation: maintPing 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes maintPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.75; }
}

.maint-title {
  margin: 20px auto 0;
  max-width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #0D47A1;
}
.maint-sub {
  margin: 12px auto 0;
  max-width: 40ch;
  font-size: clamp(13.5px, 3vw, 15px);
  line-height: 1.62;
  color: #3B5687;
}

.maint-sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.maint-spark {
  position: absolute;
  left: 0; top: 0;
  width: var(--s); height: var(--s);
  transform: translate(var(--px), var(--py));
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 8px 2px rgba(33,150,243,0.28);
  opacity: 0;
  animation: maintSpark var(--dur) ease-out infinite;
  animation-delay: var(--d);
}
@keyframes maintSpark {
  0% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.4); }
  30% { opacity: 0.9; }
  100% { opacity: 0; transform: translate(var(--px), calc(var(--py) - 14px)) scale(1.2); }
}
.maint-spark--x {
  background: transparent;
  box-shadow: none;
}
.maint-spark--x::before,
.maint-spark--x::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  background: var(--c);
  border-radius: 2px;
}
.maint-spark--x::before { width: var(--s); height: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.maint-spark--x::after { width: 2px; height: var(--s); transform: translate(-50%, -50%) rotate(45deg); }

.dot-off { background: #AAB4C3; box-shadow: 0 0 0 4px rgba(10, 30, 60, 0.08); }
.srv-dim { color: #8A9BB8; }

@media (max-width: 560px) {
  .maint-scene { padding: 14px; }
  .maint-card {
    width: 100%;
    padding: 30px 18px;
    border-radius: 32px;
    -webkit-backdrop-filter: blur(22px) saturate(155%);
    backdrop-filter: blur(22px) saturate(155%);
  }
  .maint-logo { width: clamp(140px, 42vw, 176px); margin-bottom: 18px; }
  .maint-title { font-size: clamp(25px, 7.5vw, 33px); margin-top: 16px; }
  .maint-sub { font-size: 13.5px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .maint-card,
  .maint-pill__dot,
  .maint-spark { animation: none !important; }
  .maint-spark { opacity: 0.75; }
  .maint-glow, .maint-shape { filter: none; }
}
