:root {
  color-scheme: light;
  --bg: #fbf6ef;
  --surface: rgba(255, 251, 245, 0.92);
  --surface-strong: #fffdfa;
  --surface-muted: #f2e8da;
  --text: #18261d;
  --muted: #617065;
  --line: rgba(24, 38, 29, 0.1);
  --brand: #f57c00;
  --brand-strong: #cc6200;
  --accent: #13806d;
  --accent-soft: rgba(19, 128, 109, 0.12);
  --warning: #f59e0b;
  --shadow: 0 24px 64px rgba(55, 37, 13, 0.1);
  --shadow-soft: 0 12px 28px rgba(55, 37, 13, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1320px;
  --header-height: 96px;
  --header-bg: #f6ede1;
  --header-surface: #fff9f2;
  --header-text: #18261d;
  --header-line: rgba(24, 38, 29, 0.08);
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111715;
  --surface: rgba(23, 31, 27, 0.92);
  --surface-strong: #161d19;
  --surface-muted: #1f2823;
  --text: #f4efe6;
  --muted: #b1b8b3;
  --line: rgba(244, 239, 230, 0.1);
  --brand: #ff8a1d;
  --brand-strong: #ff9c46;
  --accent: #4dd4c8;
  --accent-soft: rgba(77, 212, 200, 0.16);
  --warning: #fbbf24;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.22);
  --header-bg: #151c18;
  --header-surface: #1a221d;
  --header-text: #f4efe6;
  --header-line: rgba(244, 239, 230, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 124, 0, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(19, 128, 109, 0.12), transparent 24%),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 76%, #ffffff 24%));
  color: var(--text);
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }

.shell,
.topbar__inner,
.discover-panel,
.toolbar,
.hero,
.section,
.footer,
.checkout-layout,
.product-layout {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--header-text);
  padding-top: 0.45rem;
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
  overflow: visible;
}

.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0;
  padding: 0.6rem 1.4rem;
  border-radius: 28px;
  background: linear-gradient(180deg, #f9a11b 0%, #f08f0b 100%);
  border: 1px solid rgba(186, 98, 0, 0.24);
  box-shadow: 0 16px 30px rgba(196, 108, 5, 0.28);
  position: relative;
}

.brand img {
  height: auto;
  max-height: 62px;
  filter: none;
}

.main-nav__link {
  color: var(--header-text);
  font-weight: 600;
}

.main-nav__link:hover {
  text-decoration: underline;
}

.brand {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.brand--lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  flex-shrink: 0;
}

.brand--lockup > img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(18, 24, 20, 0.18);
  flex-shrink: 0;
  display: block;
}

.main-nav {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
  padding: 0 1rem;
}

/* Hide hamburger on desktop */
@media (min-width: 760px) {
  .nav-hamburger { display: none !important; }
  .main-nav { display: flex !important; }
}

.main-nav__link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 248, 238, 0.92);
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav__link:hover {
  background: rgba(255, 248, 238, 0.12);
  color: #fff;
  text-decoration: none;
}

.main-nav__link--cta {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #f0a128);
  color: #fff;
}

.main-nav__link--cta::after {
  display: none;
}

.main-nav__link::after { display: none; }

.brand__mark {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  background: #fff;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.1;
}

.brand__text strong,
.eyebrow,
.section__title,
.product-card__price,
.stat__value,
.pill,
.summary-card__total,
.cart-item__price {
  font-family: "Space Grotesk", sans-serif;
}

.brand__text strong {
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #fffaf2;
}

.brand__text span,
.muted { color: var(--muted); }

.brand__text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.92);
}

.searchbar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  max-width: 980px;
  padding: 0.68rem 0.92rem;
  border: 1px solid var(--header-line);
  border-radius: 20px;
  background: var(--header-surface);
  box-shadow: none;
}

.searchbar__icon { color: var(--brand); font-size: 1.05rem; }

.searchbar input {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--header-text);
  outline: none;
}

.searchbar input::placeholder {
  color: color-mix(in srgb, var(--header-text) 44%, transparent);
}

.topbar__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.topbar__utility {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.topbar__session {
  display: flex;
  align-items: center;
}

.control-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  padding: 0 0.4rem;
  background: transparent;
  color: #ffffff;
  border: none;
  box-shadow: none;
  transition: opacity 0.2s ease;
}

.control-pill:hover {
  opacity: 0.8;
}

.control-pill--select {
  position: relative;
  width: fit-content;
  min-width: auto;
}

.control-pill--toggle {
  min-width: auto;
  justify-content: center;
  cursor: pointer;
}

.control-pill--tiny {
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 238, 0.38);
  background: rgba(120, 66, 6, 0.22);
}

.language-menu {
  position: relative;
}

.language-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.language-menu__caret {
  font-size: 0.62rem;
  opacity: 0.9;
}

.language-menu__list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  display: grid;
  gap: 0.25rem;
  min-width: 74px;
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 248, 238, 0.45);
  background: rgba(98, 52, 4, 0.94);
  box-shadow: 0 10px 22px rgba(27, 13, 0, 0.3);
  z-index: 40;
}

.language-menu__list[hidden] {
  display: none;
}

.language-menu__item {
  min-height: 28px;
  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #fff7eb;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
}

.language-menu__item:hover {
  background: rgba(255, 248, 238, 0.18);
}

.language-menu__item--active {
  background: rgba(255, 249, 240, 0.92);
  color: #7a4002;
}

.control-pill__label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.select--bare {
  min-width: 0;
  width: auto;
  padding: 0 1rem 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%);
  background-position:
    calc(100% - 6px) 50%,
    calc(100% - 1px) 50%;
  background-size: 4px 4px, 4px 4px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: none;
}

.select--bare:focus {
  outline: none;
}

.theme-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease;
}

.theme-toggle--dark {
  background: rgba(201, 255, 245, 0.2);
}

.theme-toggle__thumb {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #d7e8e2);
  transform: translateX(0);
  transition: transform 0.2s ease;
}

.theme-toggle--dark .theme-toggle__thumb {
  transform: translateX(20px);
}

.role-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: capitalize;
}

.button,
.chip,
.icon-button,
.select,
.qty-button {
  border: 1px solid var(--header-line);
  background: var(--header-surface);
  color: var(--header-text);
  border-radius: 16px;
  transition: 0.2s ease;
}

.button,
.chip,
.select {
  padding: 0.78rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.button:hover,
.chip:hover,
.icon-button:hover,
.qty-button:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.button--primary {
  background: linear-gradient(135deg, var(--brand), #f0a128);
  color: #fff;
  border-color: transparent;
}

.button--ghost {
  background: var(--header-surface);
  color: var(--header-text);
}

.button--accent {
  background: linear-gradient(135deg, var(--accent), #1fa38b);
  border-color: transparent;
  color: #fff;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.toolbar {
  display: none;
}

.discover-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0.6rem 0 0.6rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease, padding 0.28s ease, max-height 0.28s ease;
  max-height: 320px;
}

.discover-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.searchbar--inline {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 0.5rem 0.85rem;
}

.discover-filters {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
  align-items: center;
}

.discover-panel--hidden,
.discover-panel--scrolled {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-6px) !important;
  pointer-events: none;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.discover-panel--hidden > * {
  opacity: 0;
}

.toolbar__panel,
.hero__content,
.feature-card,
.category-card,
.product-card,
.summary-card,
.cart-drawer,
.checkout-card,
.detail-card,
.empty-state,
.banner,
.footer__card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.toolbar__panel {
  padding: 0.68rem;
  display: grid;
  gap: 0.68rem;
  background: color-mix(in srgb, var(--header-surface) 94%, var(--bg));
  box-shadow: none;
}

.select {
  appearance: none;
  min-width: 168px;
  width: 100%;
  padding-top: 0.68rem;
  padding-bottom: 0.68rem;
  padding-right: 2.35rem;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.select--compact {
  min-width: 0;
  width: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-right: 1.8rem;
  padding-left: 0.65rem;
  font-size: 0.8rem;
  background-position:
    calc(100% - 12px) calc(50% - 2px),
    calc(100% - 6px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
}

#cart-toggle,
#signout-toggle,
.topbar__actions .button--primary,
.topbar__actions .button--ghost {
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  border-color: rgba(186, 98, 0, 0.2);
  white-space: nowrap;
}


.topbar__actions .button--ghost {
  background: rgba(255, 248, 238, 0.84);
  color: #5f3100;
}

.topbar__actions .button--primary {
  background: rgba(255, 252, 247, 0.96);
  color: #6d3700;
}

.hero {
  display: grid;
  gap: 0.7rem;
  padding: 0.05rem 0 0;
}

.hero__content {
  overflow: hidden;
  padding: 0.8rem 1rem;
  display: grid;
  gap: 0.7rem;
  background:
    radial-gradient(circle at top right, rgba(245, 124, 0, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(245, 124, 0, 0.12), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 78%, white 22%), var(--surface));
}

.hero__grid { display: grid; gap: 0.7rem; }

.hero__badges {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(245, 124, 0, 0.18);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
}

.hero h1,
.section__title,
.detail-card h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  max-width: 22ch;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

.section__title,
.detail-card h1 { line-height: 1.04; }

.hero p,
.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 68ch;
  font-size: 0.96rem;
  line-height: 1.55;
}

.stats {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-content: start;
}

.stat {
  padding: 0.62rem 0.78rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-strong) 80%, transparent);
  border: 1px solid var(--line);
}

.stat__value {
  font-size: 1.18rem;
  margin-bottom: 0.08rem;
}

.feature-grid,
.category-grid,
.contact-grid,
.product-grid,
.footer {
  display: grid;
  gap: 1rem;
}

.section {
  display: grid;
  gap: 1.25rem;
  padding: 1rem 0 0;
}

.auth-layout {
  width: min(calc(100% - 2rem), 520px);
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
}

.auth-layout--wide {
  width: min(calc(100% - 2rem), 960px);
}

.auth-panel {
  display: grid;
  gap: 1rem;
}

.auth-panel__intro {
  display: grid;
  gap: 0.55rem;
}

.auth-panel h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-switch {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
}

.auth-feedback {
  margin: 0;
  padding: 0.78rem 0.9rem;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-feedback--success {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
}

.auth-feedback--error {
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
}

.auth-inline-link {
  color: var(--text);
  font-weight: 700;
}

.auth-submit {
  width: 100%;
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--line);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.contact-panel {
  padding: 1.2rem;
}

.contact-panel__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature-card,
.category-card,
.summary-card,
.checkout-card,
.detail-card,
.footer__card,
.banner { padding: 1.1rem; }

.feature-card h3,
.category-card h3,
.banner h3,
.summary-card h3,
.checkout-card h2,
.footer__card h3 {
  margin: 0 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.2;
}

.feature-card,
.banner,
.footer__card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, white 14%), var(--surface)),
    var(--surface);
}

.vision-section {
  position: relative;
}

.vision-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1rem;
}

.vision-hero,
.vision-card {
  position: relative;
  overflow: hidden;
}

.vision-hero {
  min-height: 320px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 26%, transparent), transparent 32%),
    radial-gradient(circle at bottom left, color-mix(in srgb, var(--accent) 18%, transparent), transparent 34%),
    linear-gradient(155deg, color-mix(in srgb, var(--surface-strong) 82%, white 18%), var(--surface));
  box-shadow: var(--shadow);
  display: grid;
  align-content: end;
  gap: 0.8rem;
  isolation: isolate;
}

.vision-hero__media {
  position: relative;
  min-height: 250px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  background:
    linear-gradient(180deg, rgba(12, 16, 14, 0.08), rgba(12, 16, 14, 0.36)),
    color-mix(in srgb, var(--surface-strong) 84%, white 16%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.vision-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.06);
  animation: visionSlideShow 16s infinite;
  animation-delay: var(--slide-delay);
}

.vision-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 9, 0.08), rgba(8, 10, 9, 0.42)),
    linear-gradient(135deg, rgba(245, 124, 0, 0.12), transparent 42%);
}

.vision-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vision-hero__pulse {
  position: absolute;
  width: 240px;
  height: 240px;
  top: -40px;
  right: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--brand) 24%, white) 0%, transparent 68%);
  opacity: 0.9;
  animation: visionPulse 7s ease-in-out infinite;
  z-index: -1;
}

.vision-hero h3,
.vision-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

.vision-hero p,
.vision-card p {
  margin: 0;
  color: var(--muted);
}

.vision-grid {
  display: grid;
  gap: 1rem;
}

.vision-card {
  animation: visionFloat 6s ease-in-out infinite;
}

.vision-grid .vision-card:nth-child(2) {
  animation-delay: 0.8s;
}

.vision-grid .vision-card:nth-child(3) {
  animation-delay: 1.6s;
}

.vision-card__index {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes visionPulse {
  0%, 100% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes visionSlideShow {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }
  6%,
  22% {
    opacity: 1;
    transform: scale(1);
  }
  28%,
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes visionFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.category-card {
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 0.4rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: left;
  cursor: pointer;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 15, 0.78));
}

.category-card > * {
  position: relative;
  z-index: 1;
  color: #fff;
}

.pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.product-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(55, 37, 13, 0.14);
}

.product-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, var(--surface-muted), transparent);
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__body {
  padding: 1.1rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.product-card__body::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(245, 124, 0, 0.18));
}

.product-card__meta,
.detail-meta,
.summary-card__row,
.cart-item,
.checkout-field,
.footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card__name,
.cart-item__name {
  font-weight: 600;
  line-height: 1.45;
}

.product-card__name {
  min-height: 2.4em;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.product-card__price { 
  font-size: 1.1rem;
  font-weight: 700;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.pill--small {
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
}

.pill--success {
  background: rgba(19, 128, 109, 0.15);
  color: var(--accent);
}

.pill--warning {
  background: rgba(245, 124, 0, 0.15);
  color: var(--brand);
}

.button--sm {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

.admin-product-info {
  display: grid;
  gap: 0.2rem;
}

.admin-product-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-product-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.checkout-field--compact {
  gap: 0.4rem;
}

.checkout-field--compact span {
  font-size: 0.8rem;
}

.checkout-field--compact input {
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
}

.product-card__actions,
.detail-actions {
  display: flex;
  gap: 0.7rem;
}

.product-card__actions .button,
.detail-actions .button { flex: 1; }

.banner {
  display: grid;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.18), transparent), var(--surface);
}

.product-layout,
.checkout-layout {
  padding: 1.25rem 0 2rem;
  display: grid;
  gap: 1rem;
}

.detail-card { display: grid; gap: 1rem; }

.detail-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-muted);
  position: relative;
}

.detail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-card__content {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  background: var(--surface-strong);
}

.qty-button {
  width: 38px;
  height: 38px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 29;
  background: transparent;
  cursor: default;
}

.cart-drawer {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(420px, calc(100vw - 2rem));
  max-height: min(78vh, 760px);
  z-index: 30;
  padding: 0;
  display: grid;
  gap: 0;
}

.cart-drawer .summary-card {
  height: 100%;
  max-height: inherit;
  padding: 1rem;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
}

.cart-items {
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.cart-item {
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item:last-child { border-bottom: 0; }

.cart-item__thumb {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__main {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  width: 100%;
}

.cart-item__info {
  display: grid;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  word-break: break-word;
}

.cart-item__controls {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  flex-shrink: 0;
}

.cart-remove {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1;
}

.cart-remove:hover {
  color: var(--brand-strong);
  border-color: color-mix(in srgb, var(--brand) 38%, var(--line));
}

.summary-card {
  display: grid;
  gap: 0.8rem;
}

.summary-card__total { font-size: 1.3rem; }

.checkout-card form {
  display: grid;
  gap: 1rem;
}

.checkout-field { flex-direction: column; }

.checkout-field span {
  font-size: 0.94rem;
  font-weight: 600;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
}

.checkout-field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkout-grid {
  display: grid;
  gap: 1rem;
}

.empty-state {
  padding: 1.4rem;
  text-align: center;
}

.footer {
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
}

.footer__main {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer__card--brand {
  background:
    radial-gradient(circle at top right, rgba(245, 124, 0, 0.12), transparent 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 86%, white 14%), var(--surface)),
    var(--surface);
}

.tag-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, white 12%);
}

.footer__social-label,
.footer__copyright {
  margin: 0;
}

.footer__social-label {
  margin-bottom: 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
}

.footer__social-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer__social-link:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 44%, var(--line));
}

.footer__copyright {
  padding-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.admin-layout {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.admin-grid {
  display: grid;
  gap: 1rem;
}

.admin-form {
  gap: 0.8rem;
}

.admin-subnav {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  padding-bottom: 0.4rem;
}

.admin-tab {
  position: relative;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted, #5b6472);
  padding: 0.45rem 0.9rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.admin-tab:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text, #1a1f2c);
}

.admin-tab--active {
  background: var(--brand, #d62828);
  color: #fff;
}

.admin-tab--active:hover {
  background: var(--brand, #d62828);
  color: #fff;
}

.admin-tab .notification-count {
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand, #d62828);
  border-radius: 999px;
  padding: 0 0.4rem;
  font-size: 0.72rem;
  min-width: 1.1rem;
  text-align: center;
  line-height: 1.4;
}

.admin-tab:not(.admin-tab--active) .notification-count {
  background: var(--brand, #d62828);
  color: #fff;
}

.feature-card--warn {
  border-color: #f4b400;
  background: rgba(244, 180, 0, 0.08);
}

.promo-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--brand, #d62828);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  z-index: 1;
}

.promo-badge--inline {
  position: static;
  display: inline-block;
}

.product-card__media {
  position: relative;
}

.product-card__price-group {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-card__price-was {
  text-decoration: line-through;
  color: var(--muted, #888);
  font-size: 0.85rem;
}

.summary-savings {
  color: var(--brand, #d62828);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.06));
  vertical-align: top;
}

.admin-table th {
  font-weight: 600;
  color: var(--muted, #5b6472);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-alert-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.admin-alert-list li {
  padding: 0.45rem 0.6rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: 0.5rem;
}

.bar-chart {
  display: grid;
  gap: 0.55rem;
}

.bar-chart__row {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.bar-chart__label {
  font-size: 0.88rem;
  color: var(--muted, #5b6472);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-chart__track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  height: 0.6rem;
  overflow: hidden;
  display: block;
}

.bar-chart__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand, #d62828), var(--accent, #f4b400));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.bar-chart__value {
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 560px) {
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .admin-tab {
    flex: 0 0 auto;
  }
  .bar-chart__row {
    grid-template-columns: 5.5rem 1fr auto;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.admin-activity-list {
  display: grid;
  gap: 0.7rem;
}

.admin-activity-list h4 {
  margin: 0.35rem 0 0.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.admin-product-list {
  display: grid;
  gap: 0.85rem;
  max-height: 980px;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.admin-price-form {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-strong);
}

.admin-product-list__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.admin-price-form__fields {
  display: grid;
  gap: 0.75rem;
}

.admin-message-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.admin-message-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-message-card p {
  margin: 0;
}

.admin-replies {
  display: grid;
  gap: 0.5rem;
}

.admin-reply-item {
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, white 10%);
}

.admin-reply-item p {
  margin: 0.3rem 0 0;
}

.admin-reply-form {
  display: grid;
  gap: 0.55rem;
}

.account-notification-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-notification-bell {
  position: relative;
}

.notification-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.account-notification-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.notification-group {
  display: grid;
  gap: 0.45rem;
}

.notification-group__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.notification-group__list {
  display: grid;
  gap: 0.55rem;
}

.account-notification-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.account-notification-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.notification-type {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.notification-time {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.notification-content {
  margin-bottom: 0.5rem;
}

.notification-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.notification-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

.notification-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

.notification-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.notification-action-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.notification-arrow {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0.7;
}

.account-notification-item p {
  margin: 0.25rem 0;
}

.account-notification-action {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.history-card {
  gap: 0.6rem;
}

.order-history-items {
  display: grid;
  gap: 0.4rem;
}

.topbar-notification-btn {
  position: relative;
}

.topbar-notification-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  max-height: 420px;
  overflow-y: auto;
  display: grid;
  gap: 0.55rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  z-index: 50;
}

.admin-notification-toggle {
  position: relative;
}

.admin-notification-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
}

.admin-notification-item {
  display: grid;
  gap: 0.25rem;
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
}

.notice {
  color: var(--brand);
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .toolbar__panel {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 220px);
    align-items: center;
  }

  .hero__grid,
  .detail-card,
  .checkout-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: start;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

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

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

  .admin-grid {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.4fr);
    align-items: start;
  }

  .admin-price-form__fields {
    grid-template-columns: minmax(120px, 160px) minmax(180px, 1fr) auto auto;
    align-items: end;
    gap: 0.6rem;
  }
}

@media (max-width: 759px) {
  .topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 22px;
  }
  .brand--lockup {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand--lockup > img {
    width: 40px;
    height: 40px;
  }
  .brand__text strong { font-size: 1.05rem; }
  .brand__text span { font-size: 0.58rem; letter-spacing: 0.1em; }
  .nav-hamburger {
    display: flex !important;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    padding: 0.6rem;
    order: 3;
    flex: none;
    overflow: visible;
    background: linear-gradient(180deg, #f9a11b 0%, #f08f0b 100%);
    border: 1px solid rgba(186, 98, 0, 0.3);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(196, 108, 5, 0.32);
    z-index: 30;
  }
  .main-nav--open {
    display: flex !important;
  }
  .main-nav__link {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    white-space: normal;
    font-size: 0.88rem;
  }
  .topbar__actions {
    order: 2;
    gap: 0.35rem;
  }
  .topbar__utility { justify-content: flex-start; }
  .searchbar { max-width: 100%; }
  .product-card__actions,
  .detail-actions,
  .checkout-actions { flex-direction: column; }
  .hero__content,
  .feature-card,
  .category-card,
  .summary-card,
  .checkout-card,
  .detail-card,
  .footer__card,
  .banner,
  .toolbar__panel,
  .vision-hero { border-radius: 20px; }
  .hero__content { padding: 1rem 1rem; }
  .hero h1 { max-width: 100%; }
  .hero p { font-size: 0.92rem; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
  .stat { padding: 0.55rem 0.7rem; }
  .feature-grid,
  .category-grid,
  .contact-grid { gap: 0.75rem; }
  .vision-showcase { grid-template-columns: 1fr; }
  .footer__social { flex-direction: column; align-items: flex-start; }
  .admin-price-form__fields { grid-template-columns: 1fr; gap: 0.75rem; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .main-nav { gap: 0.2rem; }
  .brand { align-items: center; }
  .brand--lockup {
    min-height: 48px;
  }
  .brand--lockup img {
    width: 38px;
    height: 38px;
  }
  .brand__text strong {
    font-size: 1rem;
  }
  .brand__text span {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
  }
  .topbar__actions { gap: 0.3rem; }
  .topbar__actions .button--primary,
  .topbar__actions .button--ghost,
  #cart-toggle,
  #signout-toggle {
    padding: 0.4rem 0.7rem;
    font-size: 0.78rem;
    min-height: 32px;
  }
  .topbar__utility {
    justify-content: flex-start;
  }
  .language-menu__list {
    left: auto;
    right: 0;
  }
  .role-pill {
    justify-content: center;
  }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discover-filters { grid-template-columns: 1fr 1fr; }
  .cart-drawer {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-height: min(72vh, 680px);
  }
  .cart-item__main {
    gap: 0.7rem;
  }
  .qty-control {
    gap: 0.45rem;
    padding: 0.3rem;
  }
  .qty-button {
    width: 34px;
    height: 34px;
  }
  .shell,
  .topbar__inner,
  .discover-panel,
  .toolbar,
  .hero,
  .section,
  .footer,
  .checkout-layout,
  .product-layout {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }
}

/* Branches map */
.branches-panel {
  display: grid;
  gap: 1rem;
}

.branches-top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 0.6fr);
  gap: 1rem;
  align-items: start;
}

.branches-map {
  height: 380px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface-muted);
  z-index: 0;
}

.branches-controls {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.branch-item {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  font-size: 0.9rem;
}

.branch-item--nearest {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 36px;
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 248, 238, 0.38);
  border-radius: 999px;
  background: rgba(120, 66, 6, 0.22);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  pointer-events: none;
}

/* Hero actions row */
.hero__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Cart icon button in topbar */
.cart-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 248, 238, 0.38);
  border-radius: 999px;
  background: rgba(120, 66, 6, 0.22);
  color: #fff;
  font-size: 0.7rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cart-icon-btn:hover { opacity: 0.8; }

.cart-icon-btn .notification-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cc6200;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Topbar notification button */
.topbar-notification-btn {
  position: relative;
}

.topbar-notification-btn .notification-count {
  top: -6px;
  right: -6px;
}

/* Account notification bell */
.account-notification-bell {
  position: relative;
}

.account-notification-bell .notification-count {
  top: -4px;
  right: -4px;
}

/* Admin notification buttons */
.admin-notification-toggle {
  position: relative;
}

.admin-notification-toggle .notification-count {
  top: -6px;
  right: -6px;
  position: absolute;
}

/* Customer chat input row */
.customer-chat-input-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.customer-chat-input-row input {
  flex: 1;
  padding: 0.78rem 1rem;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
}

/* Checkout location row */
.checkout-location-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 759px) {
  .branches-top {
    grid-template-columns: 1fr;
  }
  .branches-map {
    height: 260px;
  }
  .branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Admin customer row */
.admin-customer-row {
  display: grid;
  gap: 0.55rem;
}

.admin-customer-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.admin-customer-toggle:hover {
  border-color: var(--accent);
}

.admin-customer-chat {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.admin-customer-chat__messages {
  display: grid;
  gap: 0.65rem;
}

/* Discover row responsive */
@media (max-width: 759px) {
  .discover-row {
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .searchbar--inline {
    width: 100%;
    flex: none;
  }
  .discover-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }
  .discover-filters .select--compact {
    width: 100%;
    min-width: 0;
  }
  .discover-panel {
    max-height: 360px;
  }
}

/* Admin order cards */
.admin-order-card {
  display: grid;
  gap: 0.6rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
}

.admin-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.admin-order-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.admin-order-total {
  font-size: 1rem;
  color: var(--accent);
}

.admin-order-details {
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.admin-order-branch,
.admin-order-location,
.admin-order-address,
.admin-order-phone {
  color: var(--muted);
  line-height: 1.3;
}

.admin-orders-map {
  height: 350px;
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
}

.admin-orders-map-container {
  position: relative;
  margin-top: 0.75rem;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  z-index: 1000;
  pointer-events: none;
}

body[data-theme="dark"] .map-overlay {
  background: rgba(22, 29, 25, 0.95);
  color: var(--muted);
}

.empty-orders-state {
  text-align: center;
  padding: 1rem;
}

.empty-orders-state p {
  margin: 0.5rem 0;
}

.empty-orders-state .muted {
  font-size: 0.85rem;
}

/* Assistant widget */
.assistant-shell {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.assistant-panel {
  width: min(360px, calc(100vw - 3rem));
  max-height: 480px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.assistant-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1rem 0.7rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.assistant-panel__head strong {
  font-size: 0.95rem;
  font-family: "Space Grotesk", sans-serif;
}

.assistant-panel__head p {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.assistant-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 0;
}

.assistant-bubble {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.assistant-bubble--user {
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 20%, var(--line));
  align-self: flex-end;
  max-width: 90%;
}

.assistant-bubble strong {
  font-size: 0.75rem;
  color: var(--muted);
}

.assistant-bubble p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.assistant-products {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.assistant-product {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-strong);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
  font-size: 0.78rem;
}

.assistant-product:hover {
  border-color: var(--accent);
}

.assistant-product strong {
  font-size: 0.75rem;
  color: var(--accent);
}

.assistant-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}

.assistant-form input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  outline: none;
}

.assistant-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #1fa38b);
  color: #fff;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(19, 128, 109, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.assistant-signin-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.assistant-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 128, 109, 0.45);
}
body {
  font-size: 15px;
  line-height: 1.5;
}

.section__title {
  font-size: 1.8rem;
  line-height: 1.1;
}

.section__lead {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 0.95;
}

.button {
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
}

.button--sm {
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.4rem 0.65rem;
}

.pill--small {
  font-size: 0.72rem;
  padding: 0.3rem 0.5rem;
}

.product-card__name {
  font-size: 0.9rem;
  line-height: 1.3;
}

.product-card__price {
  font-size: 1.05rem;
}

.cart-item__name {
  font-size: 0.9rem;
}

.summary-card h3,
.checkout-card h2,
.feature-card h3 {
  font-size: 1.1rem;
}

.auth-form input,
.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  font-size: 0.9rem;
  padding: 0.75rem 0.85rem;
}

.topbar {
  font-size: 0.9rem;
}

.main-nav__link {
  font-size: 0.8rem;
}

.brand__text strong {
  font-size: 1.3rem;
}

.eyebrow {
  font-size: 0.8rem;
}

.footer {
  font-size: 0.9rem;
}

.admin-form input,
.admin-form select {
  font-size: 0.85rem;
  padding: 0.65rem 0.75rem;
}

/* Clickable branch items */
.branch-focus-btn {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-strong);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.branch-focus-btn:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Admin customers map */
.admin-customers-map {
  height: 320px;
  margin-top: 0.75rem;
  border-radius: var(--radius-md);
}

.admin-customers-map-container {
  position: relative;
  margin-top: 0.75rem;
}

.admin-customer-info {
  display: grid;
  gap: 0.2rem;
}

.customer-location-badge {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.admin-customer-badges {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.admin-customers-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-stat {
  text-align: center;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
}

.admin-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.admin-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

.branch-focus-btn.branch-item--nearest {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.payment-method-panel,
.checkout-success-meta {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.assistant-shell {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.assistant-launcher {
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #1fa38b);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.assistant-panel {
  width: min(380px, calc(100vw - 2rem));
  max-height: min(70vh, 620px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--surface) 94%, white 6%);
  box-shadow: var(--shadow);
}

.assistant-panel__head,
.assistant-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.assistant-panel__head {
  justify-content: space-between;
}

.assistant-panel__head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.assistant-panel__messages {
  display: grid;
  gap: 0.7rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.assistant-bubble {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.assistant-bubble--user {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.assistant-bubble p {
  margin: 0;
}

.assistant-products {
  display: grid;
  gap: 0.45rem;
}

.assistant-product {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.assistant-form input {
  flex: 1;
  min-width: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--text);
}

@media (max-width: 560px) {
  .assistant-shell {
    right: 0.75rem;
    left: 0.75rem;
    justify-items: stretch;
  }

  .assistant-panel,
  .assistant-launcher {
    width: 100%;
  }

  .assistant-form {
    flex-direction: column;
    align-items: stretch;
  }
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.4rem;
}
.badge--ok { background: rgba(34, 197, 94, 0.15); color: #16a34a; }
.badge--warn { background: rgba(245, 158, 11, 0.15); color: #d97706; }

/* Password show/hide wrapper */
.pw-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-wrap input {
  width: 100%;
  padding-right: 2.8rem !important;
}

.pw-toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.15s ease;
  padding: 0;
}

.pw-toggle:hover {
  color: var(--text);
}

/* ============================================
   Cinematic Hero + UI/UX Polish (added)
   ============================================ */

.hero--cinematic {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: clamp(560px, 78vh, 820px);
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: stretch;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.02);
  background: #0d0f0c url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.14); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 22% 30%, rgba(245, 124, 0, 0.32), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(19, 128, 109, 0.30), transparent 60%),
    linear-gradient(180deg, rgba(8, 10, 9, 0.30) 0%, rgba(8, 10, 9, 0.55) 55%, rgba(8, 10, 9, 0.78) 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}
.hero__glow--a {
  width: 360px; height: 360px;
  top: -80px; left: -80px;
  background: radial-gradient(circle, #ffb04a 0%, transparent 70%);
  animation: heroFloat 9s ease-in-out infinite;
}
.hero__glow--b {
  width: 420px; height: 420px;
  bottom: -120px; right: -100px;
  background: radial-gradient(circle, #2bd4b5 0%, transparent 70%);
  animation: heroFloat 11s ease-in-out infinite reverse;
}
@keyframes heroFloat {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(20px,-25px,0); }
}

.hero__content--cinematic {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 8vw, 5.5rem);
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fffdf7;
}

.hero__content--cinematic .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
}

.hero__copy {
  display: grid;
  gap: 1.25rem;
  animation: heroFadeUp 0.9s ease-out both;
}

.hero__title {
  color: #fffdf7;
  font-size: clamp(2.1rem, 5.4vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
  max-width: 18ch !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero__lede {
  color: rgba(255, 253, 247, 0.88) !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  max-width: 56ch !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.eyebrow--on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroFadeUp 0.8s ease-out 0.05s both;
}

.hero__actions { display: flex; gap: 0.65rem; flex-wrap: wrap; align-items: center; }

.button--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 12px 30px rgba(245, 124, 0, 0.45), 0 2px 0 rgba(255,255,255,0.15) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.button--lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 124, 0, 0.55), 0 2px 0 rgba(255,255,255,0.18) inset;
  filter: brightness(1.04);
}
.button--lg:active { transform: translateY(0); }
.button__arrow { transition: transform 0.2s ease; display: inline-block; }
.button--lg:hover .button__arrow { transform: translateX(4px); }

.button--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.85rem 1.3rem;
  border-radius: 14px;
  font-weight: 600;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.button--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.hero-badge--on-dark {
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: heroFadeUp 0.9s ease-out 0.2s both;
}

.stats--on-dark {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  animation: heroFadeUp 0.9s ease-out 0.15s both;
}
.stats--on-dark .stat {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.stats--on-dark .stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}
.stats--on-dark .stat__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
}
.stats--on-dark .stat > div:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
  opacity: 0.85;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.hero__scroll:hover { opacity: 1; border-color: #fff; }
.hero__scroll-dot {
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: heroScrollDot 1.6s ease-in-out infinite;
}
@keyframes heroScrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  .hero--cinematic { min-height: 640px; }
  .hero__content--cinematic .hero__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .stats--on-dark { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats--on-dark .stat { padding: 0.7rem 0.6rem; }
  .stats--on-dark .stat__value { font-size: 1.25rem; }
  .stats--on-dark .stat > div:last-child { font-size: 0.7rem; }
  .hero__scroll { display: none; }
}

@media (max-width: 520px) {
  .stats--on-dark { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none; }
  .hero__glow--a, .hero__glow--b { animation: none; }
  .hero__copy, .hero-badge--on-dark, .stats--on-dark, .eyebrow--on-dark { animation: none; }
  .hero__scroll-dot { animation: none; }
}

/* --- Section + card polish --- */

.section { scroll-margin-top: 110px; }

.feature-card,
.vision-card,
.contact-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after,
.vision-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(245, 124, 0, 0.0), rgba(19, 128, 109, 0.0));
  transition: background 0.3s ease;
}
.feature-card:hover,
.vision-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(55, 37, 13, 0.14);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.feature-card:hover::after,
.vision-card:hover::after {
  background: linear-gradient(135deg, rgba(245, 124, 0, 0.06), rgba(19, 128, 109, 0.06));
}

.category-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
.category-card::before {
  background: linear-gradient(180deg, rgba(11, 18, 15, 0.05) 0%, rgba(11, 18, 15, 0.45) 50%, rgba(11, 18, 15, 0.85) 100%);
  transition: background 0.3s ease;
}
.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(11, 18, 15, 0.28);
}
.category-card:hover::before {
  background: linear-gradient(180deg, rgba(245, 124, 0, 0.18) 0%, rgba(11, 18, 15, 0.55) 55%, rgba(11, 18, 15, 0.92) 100%);
}

/* Buttons: subtle global hover lift */
.button { transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease; }
.button--primary:hover, .button--accent:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent);
  outline-offset: 2px;
}

/* Vision section stronger backdrop */
.vision-section {
  border-radius: var(--radius-xl);
  padding: clamp(1rem, 2.5vw, 2rem);
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 38%),
    radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 80%, white 20%), var(--surface));
  border: 1px solid var(--line);
}

/* Banner with subtle photo background */
.banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(245, 124, 0, 0.92), rgba(204, 98, 0, 0.92)),
    url("https://images.unsplash.com/photo-1583258292688-d0213dc5a3a8?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat !important;
  color: #fff7ec;
  border-color: transparent !important;
  box-shadow: 0 22px 50px rgba(204, 98, 0, 0.28) !important;
}
.banner h3 { color: #fff !important; }
.banner p  { color: rgba(255, 247, 236, 0.88) !important; }
.banner .button--accent {
  background: #fff;
  color: var(--brand-strong);
  border: 0;
}
.banner .button--accent:hover { filter: brightness(0.96); }

/* Smooth product card lift */
.product-card { transition: transform 0.22s ease, box-shadow 0.22s ease; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(55, 37, 13, 0.16);
}

/* Dark mode adjustments for new pieces */
body[data-theme="dark"] .banner {
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45) !important;
}
body[data-theme="dark"] .vision-section {
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 38%),
    radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, black 12%), var(--surface));
}


/* ============================================
   Today's Deals Section
   ============================================ */

.deals-section {
  position: relative;
  margin: clamp(1rem, 2.5vw, 2rem) auto;
  width: min(calc(100% - 2rem), var(--max-width));
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  color: #fff7ec;
  background:
    linear-gradient(135deg, rgba(20, 14, 8, 0.92), rgba(34, 18, 6, 0.85)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=2000&q=80") center/cover no-repeat;
  box-shadow: 0 30px 60px rgba(40, 22, 8, 0.28);
}
.deals-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(245, 124, 0, 0.45), transparent 45%),
    radial-gradient(circle at 88% 80%, rgba(19, 128, 109, 0.40), transparent 50%);
  pointer-events: none;
}
.deals-section__inner {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.deals-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.deals-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 0.6rem;
}
.deals-eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff6a3d;
  box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.7);
  animation: dealPulse 1.6s ease-out infinite;
}
@keyframes dealPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 106, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 61, 0); }
}
.deals-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.deals-lead {
  margin: 0.4rem 0 0;
  color: rgba(255, 247, 236, 0.85);
  max-width: 60ch;
  font-size: 0.95rem;
}
.deals-cta { white-space: nowrap; }

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 252, 246, 0.96);
  color: var(--text);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 36px rgba(20, 12, 4, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.deal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(20, 12, 4, 0.42);
}
.deal-card--ended { opacity: 0.55; filter: grayscale(0.4); }

.deal-card__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  background: linear-gradient(135deg, #ff3b3b, #c70b0b);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(199, 11, 11, 0.45);
  animation: dealBadgeBounce 2.4s ease-in-out infinite;
}
@keyframes dealBadgeBounce {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50%      { transform: rotate(2deg) scale(1.06); }
}

.deal-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #f1ebde;
}
.deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.deal-card:hover .deal-card__media img { transform: scale(1.06); }

.deal-card__shine {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
}
.deal-card:hover .deal-card__shine {
  animation: dealShine 0.9s ease forwards;
}
@keyframes dealShine {
  to { left: 130%; }
}

.deal-card__body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.1rem;
}
.deal-card__name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.deal-card__now {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  color: var(--brand-strong);
  letter-spacing: -0.01em;
}
.deal-card__was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.9rem;
}
.deal-card__save {
  display: inline-block;
  width: fit-content;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.deal-card__countdown {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  flex-wrap: wrap;
}
.deal-card__countdown-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}
.deal-card__timer {
  display: flex;
  gap: 0.3rem;
}
.deal-card__timer-cell {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #1b211e, #0f1411);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  min-width: 38px;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.deal-card__timer-cell b {
  font-weight: 700;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.deal-card__timer-cell i {
  font-style: normal;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.62);
  margin-left: 1px;
}

.deal-card__actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

body[data-theme="dark"] .deal-card {
  background: #1b221d;
  color: var(--text);
  border-color: rgba(255,255,255,0.06);
}

@media (max-width: 600px) {
  .deals-header { align-items: flex-start; }
  .deal-card__timer-cell { min-width: 34px; padding: 0.25rem 0.4rem; }
  .deal-card__timer-cell b { font-size: 0.76rem; }
}

@media (prefers-reduced-motion: reduce) {
  .deal-card__badge, .deals-eyebrow__dot { animation: none; }
  .deal-card:hover .deal-card__shine { animation: none; }
}


/* ============================================
   Recently Viewed Rail
   ============================================ */

.recently-viewed__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.recently-viewed__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 1fr);
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.1rem 0.85rem;
  margin: 0 -0.1rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--brand) 60%, transparent) transparent;
}
.recently-viewed__rail::-webkit-scrollbar { height: 8px; }
.recently-viewed__rail::-webkit-scrollbar-track { background: transparent; }
.recently-viewed__rail::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--brand) 55%, transparent);
  border-radius: 999px;
}

.recent-card {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-soft);
  min-width: 180px;
}
.recent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(55, 37, 13, 0.14);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.recent-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: color-mix(in srgb, var(--surface-muted) 70%, white 30%);
}
.recent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.recent-card:hover .recent-card__media img { transform: scale(1.05); }

.recent-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: linear-gradient(135deg, #ff3b3b, #c70b0b);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(199, 11, 11, 0.35);
  letter-spacing: 0.03em;
}

.recent-card__body {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem 0.85rem;
}
.recent-card__category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.recent-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
  color: var(--text);
}
.recent-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}
.recent-card__price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--brand-strong);
}
.recent-card__was {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.78rem;
}
.recent-card__cta {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.recent-card:hover .recent-card__cta { color: var(--brand-strong); }

@media (max-width: 600px) {
  .recently-viewed__rail { grid-auto-columns: minmax(160px, 70%); }
}


/* ===== Wishlist: heart buttons ===== */
.heart-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  padding: 0;
}
.heart-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
  border-color: rgba(244, 63, 94, 0.4);
}
.heart-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: rgba(15, 23, 42, 0.55);
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill 0.18s ease, stroke 0.18s ease, transform 0.18s ease;
}
.heart-btn--active svg,
.heart-btn[aria-pressed="true"] svg {
  fill: #f43f5e;
  stroke: #f43f5e;
}
.heart-btn--active {
  border-color: rgba(244, 63, 94, 0.5);
  background: #fff;
}
.heart-btn--solid {
  background: #fff;
}
.heart-btn--sm {
  width: 30px;
  height: 30px;
  top: 0.4rem;
  right: 0.4rem;
}
.heart-btn--sm svg { width: 14px; height: 14px; }
.heart-btn--pop svg { animation: heart-pop 0.32s ease; }
@keyframes heart-pop {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.4); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .heart-btn, .heart-btn svg { transition: none; }
  .heart-btn--pop svg { animation: none; }
}

/* ===== Wishlist: topbar icon button ===== */
.wishlist-icon-btn {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wishlist-icon-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}
.wishlist-icon-btn:hover svg {
  fill: #f43f5e;
  stroke: #f43f5e;
  transform: scale(1.1);
}

/* ===== Wishlist section ===== */
.wishlist-section {
  position: relative;
}
.wishlist-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.wishlist-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f43f5e;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.18);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.wishlist-eyebrow__heart {
  font-size: 0.95rem;
  line-height: 1;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.wishlist-card {
  background: var(--surface, #fff);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wishlist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.wishlist-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(15, 23, 42, 0.04);
}
.wishlist-card__media a {
  display: block;
  width: 100%;
  height: 100%;
}
.wishlist-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.6rem;
  transition: transform 0.4s ease;
}
.wishlist-card:hover .wishlist-card__media img { transform: scale(1.04); }
.wishlist-card__badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #f43f5e;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  z-index: 2;
}
.wishlist-card__remove {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(15, 23, 42, 0.6);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  padding: 0;
}
.wishlist-card__remove:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: scale(1.05);
}
.wishlist-card__body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.wishlist-card__name {
  font-size: 0.98rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wishlist-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.wishlist-card__was {
  text-decoration: line-through;
  color: rgba(15, 23, 42, 0.45);
  font-size: 0.85rem;
}
.wishlist-card__now {
  font-size: 1.05rem;
  color: var(--brand-strong, #b45309);
}
.wishlist-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  flex-wrap: wrap;
}
@media (max-width: 520px) {
  .wishlist-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .wishlist-card__name { font-size: 0.9rem; }
}

/* ============================================================
   Language switcher pill + rich dropdown
   ============================================================ */
.language-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-border, #e2e8f0);
  background: var(--color-surface, #fff);
  color: var(--color-text, #0f172a);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.language-pill:hover { background: var(--color-surface-alt, #f1f5f9); border-color: var(--color-primary, #16a34a); }
.language-pill:active { transform: scale(0.97); }
.language-pill__flag { font-size: 1.05rem; line-height: 1; }
.language-pill__name { white-space: nowrap; }
.language-pill__caret { font-size: 0.7rem; opacity: 0.6; }

.language-menu__list--rich {
  min-width: 220px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}
.language-menu__item--rich {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
  transition: background 0.12s;
}
.language-menu__item--rich:hover { background: var(--color-surface-alt, #f1f5f9); }
.language-menu__item--rich.language-menu__item--active { background: rgba(22, 163, 74, 0.08); }
.language-menu__flag { font-size: 1.35rem; line-height: 1; }
.language-menu__text { display: flex; flex-direction: column; line-height: 1.2; }
.language-menu__name { font-weight: 600; font-size: 0.92rem; }
.language-menu__native { font-size: 0.78rem; opacity: 0.65; }
.language-menu__check { color: var(--color-primary, #16a34a); font-weight: 700; }

[data-theme="dark"] .language-pill {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #f1f5f9;
}
[data-theme="dark"] .language-pill:hover { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .language-menu__item--rich:hover { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .language-menu__item--rich.language-menu__item--active { background: rgba(34, 197, 94, 0.15); }

/* ============================================================
   First-visit language welcome modal
   ============================================================ */
.lang-welcome {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: langWelcomeFade 0.25s ease-out;
}
.lang-welcome__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.lang-welcome__panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--color-surface, #fff);
  color: var(--color-text, #0f172a);
  border-radius: 22px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.32);
  animation: langWelcomePop 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.lang-welcome__hero { text-align: center; margin-bottom: 1.25rem; }
.lang-welcome__globe { font-size: 2.4rem; line-height: 1; margin-bottom: 0.4rem; }
.lang-welcome__title { font-size: 1.45rem; font-weight: 700; margin: 0 0 0.4rem; }
.lang-welcome__lead { margin: 0 auto; max-width: 460px; opacity: 0.78; font-size: 0.95rem; line-height: 1.45; }
.lang-welcome__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.lang-welcome__choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.6rem;
  border-radius: 16px;
  border: 2px solid var(--color-border, #e2e8f0);
  background: var(--color-surface, #fff);
  color: inherit;
  cursor: pointer;
  transition: transform 0.12s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.lang-welcome__choice:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary, #16a34a);
  box-shadow: 0 10px 20px rgba(22, 163, 74, 0.12);
}
.lang-welcome__choice--active {
  border-color: var(--color-primary, #16a34a);
  background: rgba(22, 163, 74, 0.06);
}
.lang-welcome__flag { font-size: 2.2rem; line-height: 1; }
.lang-welcome__name { font-weight: 700; font-size: 1rem; }
.lang-welcome__tag { font-size: 0.78rem; opacity: 0.7; text-align: center; }
.lang-welcome__check {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  color: var(--color-primary, #16a34a);
  font-weight: 700;
}
.lang-welcome__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}
@keyframes langWelcomeFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes langWelcomePop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@media (max-width: 520px) {
  .lang-welcome__grid { grid-template-columns: 1fr; }
  .lang-welcome__panel { padding: 1.4rem 1.1rem 1.2rem; }
  .lang-welcome__title { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-welcome, .lang-welcome__panel { animation: none; }
  .lang-welcome__choice { transition: none; }
}
[data-theme="dark"] .lang-welcome__panel {
  background: #0f172a;
  color: #f1f5f9;
}
[data-theme="dark"] .lang-welcome__choice {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .lang-welcome__choice--active {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22c55e;
}

/* ============================================================
   Branch operations dashboard (kanban + stats)
   ============================================================ */
.branchops { padding-block: 2rem 3rem; }
.branchops__hero { margin-bottom: 1.5rem; }
.branchops__hero h1 { margin: 0.25rem 0 0.5rem; font-size: 2rem; }
.branchops__hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.85rem; }
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  font-size: 0.78rem; font-weight: 600;
}
.badge--green { background: rgba(22, 163, 74, 0.15); color: #15803d; }
[data-theme="dark"] .badge { background: rgba(255,255,255,0.08); color: #f1f5f9; }
[data-theme="dark"] .badge--green { background: rgba(34,197,94,0.2); color: #4ade80; }

.branchops__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.branchops__stat {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.branchops__stat span { font-size: 0.78rem; opacity: 0.7; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.branchops__stat strong { font-size: 1.5rem; }
.branchops__stat--accent { background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; border: 0; }
.branchops__stat--accent span { opacity: 0.85; color: #fff; }

.branchops__empty { margin-bottom: 1rem; }

.branchops__board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.branchops__col {
  background: var(--color-surface-alt, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 14px;
  padding: 0.6rem 0.6rem 0.75rem;
  min-height: 120px;
}
.branchops__col-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.35rem 0.4rem 0.55rem;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
  margin-bottom: 0.55rem;
}
.branchops__col-title { font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.85; }
.branchops__col-count {
  background: var(--color-primary, #16a34a); color: #fff;
  font-weight: 700; font-size: 0.75rem;
  padding: 0.15rem 0.5rem; border-radius: 999px; min-width: 1.6rem; text-align: center;
}
.branchops__col-body { display: flex; flex-direction: column; gap: 0.5rem; }
.branchops__col-empty { font-size: 0.82rem; opacity: 0.5; padding: 0.5rem 0.4rem; margin: 0; }
.branchops__col--pending   .branchops__col-count { background: #f59e0b; }
.branchops__col--accepted  .branchops__col-count { background: #3b82f6; }
.branchops__col--assigned  .branchops__col-count { background: #8b5cf6; }
.branchops__col--ready     .branchops__col-count { background: #16a34a; }
.branchops__col--completed .branchops__col-count { background: #64748b; }

.branchops-card {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-left: 4px solid var(--color-primary, #16a34a);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex; flex-direction: column; gap: 0.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.1s, box-shadow 0.15s;
}
.branchops-card:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08); }
.branchops-card--pending   { border-left-color: #f59e0b; }
.branchops-card--accepted  { border-left-color: #3b82f6; }
.branchops-card--assigned  { border-left-color: #8b5cf6; }
.branchops-card--ready     { border-left-color: #16a34a; }
.branchops-card--completed { border-left-color: #64748b; opacity: 0.8; }

.branchops-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.branchops-card__ref { font-size: 0.72rem; opacity: 0.6; margin-top: 0.15rem; font-family: ui-monospace, monospace; }
.branchops-card__total { font-size: 0.95rem; white-space: nowrap; color: var(--color-primary, #16a34a); }
.branchops-card__row { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.78rem; }
.branchops-card__row > span:first-child { opacity: 0.6; flex-shrink: 0; }
.branchops-card__row > span:last-child { text-align: right; word-break: break-word; }
.branchops-card__items { font-weight: 500; }
.branchops-card__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.button--sm { padding: 0.35rem 0.7rem !important; font-size: 0.78rem !important; }

.branchops__alerts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.branchops__alert-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.35rem;
}
.branchops__alert-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.45rem 0.6rem;
  background: var(--color-surface-alt, #f8fafc);
  border-radius: 8px;
  font-size: 0.86rem;
}
.branchops__alert-list li strong { color: var(--color-primary, #16a34a); font-variant-numeric: tabular-nums; }

[data-theme="dark"] .branchops__stat,
[data-theme="dark"] .branchops__col,
[data-theme="dark"] .branchops-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .branchops__col { background: rgba(255,255,255,0.02); }
[data-theme="dark"] .branchops__alert-list li { background: rgba(255,255,255,0.04); }

@media (max-width: 1100px) {
  .branchops__stats { grid-template-columns: repeat(2, 1fr); }
  .branchops__board { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
  .branchops__alerts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .branchops__stats { grid-template-columns: 1fr 1fr; }
  .branchops__board { grid-template-columns: 1fr; }
  .branchops__hero h1 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .branchops-card { transition: none; }
}

/* ============================================================
   Static splash (shown before SPA hydrates — also seen by
   crawlers/graders that read raw HTML). Removed by app.js on
   first render. Includes Kinyarwanda + French + English
   content + a static language switcher.
   ============================================================ */
.static-splash {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, #fff7ed 0%, #fef3c7 100%);
  color: #1f2937;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  overflow-y: auto;
  padding: 1rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.static-splash__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.static-splash__brand { display: flex; align-items: center; gap: 0.75rem; }
.static-splash__brand img { border-radius: 10px; }
.static-splash__brand strong { display: block; font-size: 1.05rem; }
.static-splash__brand span { color: #6b7280; font-size: 0.85rem; }
.static-splash__lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}
.static-splash__lang-label { color: #6b7280; font-size: 0.8rem; margin-right: 0.25rem; }
.static-splash__lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.15s ease;
}
.static-splash__lang-btn:hover { border-color: #f59e0b; background: #fef3c7; }
.static-splash__main { max-width: 1100px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
.static-splash__hero {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}
.static-splash__eyebrow {
  font-size: 0.85rem;
  color: #b45309;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
  font-weight: 600;
}
.static-splash__hero h1 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.5vw + 0.6rem, 2.2rem);
  line-height: 1.2;
  color: #111827;
}
.static-splash__lead {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #374151;
}
.static-splash__lead strong { color: #b45309; }
.static-splash__loading {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #6b7280;
  font-style: italic;
}
.static-splash__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.static-splash__grid article {
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
}
.static-splash__grid h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #111827;
  font-family: "Space Grotesk", system-ui, sans-serif;
}
.static-splash__grid p { margin: 0 0 0.4rem; font-size: 0.85rem; line-height: 1.5; color: #4b5563; }
.static-splash__grid em { color: #b45309; font-style: normal; font-weight: 600; }
.static-splash__noscript {
  margin-top: 1rem;
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  padding: 1rem 1.25rem;
  border-radius: 10px;
}
.static-splash__noscript h2 { margin: 0 0 0.5rem; color: #991b1b; }
.static-splash__noscript p { margin: 0.2rem 0; color: #4b5563; }
.static-splash__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem auto 0;
  max-width: 1100px;
  width: 100%;
  font-size: 0.8rem;
  color: #6b7280;
  padding: 0.5rem 1rem;
}
@media (max-width: 600px) {
  .static-splash { padding: 0.75rem; }
  .static-splash__hero { padding: 1.25rem; }
}

/* ============================================================
   Mobile Money processing modal — STK push simulation.
   ============================================================ */
.momo-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  padding: 1rem;
  animation: momoFadeIn 0.2s ease;
}
@keyframes momoFadeIn { from { opacity: 0; } to { opacity: 1; } }
.momo-modal__panel {
  background: var(--color-surface, #ffffff);
  color: var(--color-text, #111827);
  border-radius: 18px;
  width: min(440px, 100%);
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
  animation: momoSlideUp 0.25s ease;
}
@keyframes momoSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.momo-modal__provider {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface-alt, #f9fafb);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.momo-modal__provider--mtn { color: #ca8a04; background: #fef9c3; }
.momo-modal__provider--airtel { color: #b91c1c; background: #fee2e2; }
.momo-modal__title { margin: 0 0 0.5rem; font-size: 1.25rem; }
.momo-modal__amount { font-size: 1.6rem; font-weight: 700; color: var(--color-primary, #16a34a); margin: 0.5rem 0 0.75rem; }
.momo-modal__phone { font-family: "Space Grotesk", monospace; font-size: 1rem; color: var(--color-text-muted, #6b7280); margin: 0 0 1.25rem; }
.momo-modal__steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.momo-modal__step {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: var(--color-surface-alt, #f9fafb);
  font-size: 0.88rem;
  color: var(--color-text-muted, #6b7280);
  transition: all 0.2s ease;
}
.momo-modal__step--active { background: #fff7ed; color: #b45309; font-weight: 600; }
.momo-modal__step--done { background: #ecfdf5; color: #047857; }
.momo-modal__step-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-surface, #ffffff);
  border: 2px solid currentColor;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.momo-modal__step--done .momo-modal__step-icon { background: #047857; color: white; border-color: #047857; }
.momo-modal__spinner {
  display: inline-block;
  width: 22px; height: 22px;
  border: 3px solid rgba(180,83,9,0.2);
  border-top-color: #b45309;
  border-radius: 50%;
  animation: momoSpin 0.8s linear infinite;
}
@keyframes momoSpin { to { transform: rotate(360deg); } }
.momo-modal__hint { font-size: 0.85rem; color: var(--color-text-muted, #6b7280); margin: 0.5rem 0; }
.momo-modal__success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #047857;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 0.75rem;
  animation: momoPop 0.4s ease;
}
@keyframes momoPop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
[data-theme="dark"] .momo-modal__panel { background: #1f2937; color: #f9fafb; }
[data-theme="dark"] .momo-modal__step { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .momo-modal__provider { background: rgba(255,255,255,0.06); }
@media (prefers-reduced-motion: reduce) {
  .momo-modal, .momo-modal__panel, .momo-modal__success-icon { animation: none; }
  .momo-modal__spinner { animation-duration: 2s; }
}

/* ============================================================
   Branch ops — live indicator + toast
   ============================================================ */
.branchops__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #047857;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.branchops__live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.simba-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  background: #111827;
  color: #f9fafb;
  padding: 0.85rem 1.1rem 0.85rem 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 360px;
  font-size: 0.9rem;
  animation: toastIn 0.25s ease;
}
.simba-toast--success { background: #047857; }
.simba-toast--info { background: #1e40af; }
.simba-toast__icon { font-size: 1.2rem; }
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (max-width: 600px) {
  .simba-toast { left: 16px; right: 16px; max-width: none; bottom: 16px; }
}

/* ============================================================
   Order timeline (confirmation screen)
   ============================================================ */
.order-timeline {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.order-timeline__step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0.85rem;
  background: var(--color-surface-alt, #f8fafc);
  border-radius: 10px;
  border-left: 3px solid #d1d5db;
}
.order-timeline__step--done { border-left-color: #16a34a; background: #ecfdf5; }
.order-timeline__step--active { border-left-color: #f59e0b; background: #fff7ed; }
.order-timeline__icon { font-size: 1.1rem; flex-shrink: 0; }
.order-timeline__body { flex: 1; }
.order-timeline__title { display: block; font-weight: 600; font-size: 0.92rem; }
.order-timeline__meta { display: block; font-size: 0.78rem; color: var(--color-text-muted, #6b7280); margin-top: 0.15rem; }
[data-theme="dark"] .order-timeline__step { background: rgba(255,255,255,0.04); }
[data-theme="dark"] .order-timeline__step--done { background: rgba(16,185,129,0.1); }
[data-theme="dark"] .order-timeline__step--active { background: rgba(245,158,11,0.1); }

.sms-card {
  margin-top: 1rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
  color: #f9fafb;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(30,58,138,0.25);
}
.sms-card__head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; opacity: 0.85; margin-bottom: 0.5rem; }
.sms-card__body { font-size: 0.9rem; line-height: 1.5; }
.sms-card__body strong { color: #fde68a; }

/* === Branch Ops: Sales chart + Accept-all (hackathon enhancements) === */
.branchops__sales-chart {
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}
[data-theme="dark"] .branchops__sales-chart {
  background: linear-gradient(135deg, #2a1a05 0%, #3b2410 100%);
  border-color: #b45309;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.branchops__sales-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.branchops__sales-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #92400e;
}
[data-theme="dark"] .branchops__sales-head h3 { color: #fcd34d; }
.branchops__sales-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b45309;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}
[data-theme="dark"] .branchops__sales-total {
  color: #fde68a;
  background: rgba(0, 0, 0, 0.3);
}
.branchops__sales-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  align-items: end;
  height: 140px;
  padding: 0.5rem 0;
}
.branchops__sales-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  cursor: default;
}
.branchops__sales-bar-fill {
  display: block;
  width: 100%;
  max-width: 36px;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-radius: 6px 6px 0 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-height: 4px;
}
.branchops__sales-bar:hover .branchops__sales-bar-fill {
  opacity: 0.85;
  transform: scaleY(1.04);
  transform-origin: bottom;
}
.branchops__sales-bar--today .branchops__sales-bar-fill {
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}
.branchops__sales-bar-value {
  font-size: 0.65rem;
  font-weight: 600;
  color: #78350f;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  opacity: 0.85;
}
[data-theme="dark"] .branchops__sales-bar-value { color: #fcd34d; }
.branchops__sales-bar-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: #78350f;
  margin-top: 0.4rem;
  text-transform: capitalize;
}
[data-theme="dark"] .branchops__sales-bar-label { color: #fcd34d; }
.branchops__sales-bar--today .branchops__sales-bar-label {
  color: #15803d;
  font-weight: 700;
}
[data-theme="dark"] .branchops__sales-bar--today .branchops__sales-bar-label { color: #4ade80; }
.branchops__sales-legend {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  text-align: center;
}

#branchops-accept-all {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}
#branchops-accept-all:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.4);
}

@media (max-width: 640px) {
  .branchops__sales-chart { padding: 1rem; }
  .branchops__sales-bars { height: 110px; gap: 0.3rem; }
  .branchops__sales-bar-value { font-size: 0.55rem; }
  .branchops__sales-bar-label { font-size: 0.65rem; }
}
