
/* ══ TOKENS ═════════════════════════════════════════════════════════════ */
:root {
  --color-brand-teal: #0e7490;
  --color-brand-teal-hover: #0c6680;
  --color-brand-teal-light: #cffafe;
  --color-brand-teal-faint: #ecfeff;
  --color-brand-wine: #b91c1c;
  --color-brand-wine-hover: #991b1b;
  --color-brand-wine-light: #fee2e2;
  --color-brand-wine-faint: #fff5f5;
  --color-brand-amber: #d97706;
  --color-brand-amber-hover: #b45309;
  --color-brand-amber-light: #fef3c7;
  --color-brand-amber-faint: #fffbeb;
  --color-brand-violet: #6b21a8;
  --color-brand-violet-light: #f3e8ff;
  --color-brand-violet-faint: #faf5ff;
  --gradient-brand: linear-gradient(135deg, #0e7490 0%, #6b21a8 100%);
  --gradient-cta: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  --color-footer-bg: #0c1a1a;
  --color-footer-surf: #142222;
  --color-white: #ffffff;
  --color-surface: #f9f6f4;
  --color-surface-2: #f2ede9;
  --color-border-light: #ede5e0;
  --color-border: #ddd0ca;
  --color-text-primary: #1a0c0a;
  --color-text-secondary: #4a2820;
  --color-text-muted: #8a6a62;
  --color-text-disabled: #c4aba4;
  --color-success: #047857;
  --color-success-light: #d1fae5;
  --shadow-xs: 0 1px 2px rgba(26, 12, 10, 0.05);
  --shadow-sm:
    0 1px 4px rgba(26, 12, 10, 0.07), 0 1px 2px rgba(26, 12, 10, 0.04);
  --shadow-md:
    0 4px 16px rgba(26, 12, 10, 0.09), 0 2px 6px rgba(26, 12, 10, 0.04);
  --shadow-lg:
    0 12px 40px rgba(26, 12, 10, 0.11), 0 4px 12px rgba(26, 12, 10, 0.05);
  --shadow-xl:
    0 24px 64px rgba(26, 12, 10, 0.13), 0 8px 24px rgba(26, 12, 10, 0.06);
  --shadow-brand:
    0 8px 32px rgba(14, 116, 144, 0.3), 0 2px 8px rgba(14, 116, 144, 0.15);
  --shadow-cta:
    0 8px 24px rgba(185, 28, 28, 0.35), 0 2px 8px rgba(217, 119, 6, 0.22);
  --shadow-navbar:
    0 1px 4px rgba(26, 12, 10, 0.06), 0 2px 12px rgba(26, 12, 10, 0.04);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ══ RESET ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  background: #fff;
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
}
/* ══ CONTAINER ══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}
/* ══ NAVBAR ═════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    box-shadow 300ms ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--shadow-navbar);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.navbar-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-cta);
  flex-shrink: 0;
}
.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-right: 32px;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 12, 10, 0.7);
  padding: 4px 0;
  position: relative;
  transition: color 150ms ease;
}
.navbar-links a:hover {
  color: var(--color-text-primary);
}
.navbar-links a.active {
  color: var(--color-brand-teal);
}
.navbar-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 12, 10, 0.7);
  border-radius: var(--radius-sm);
  transition:
    background 150ms,
    color 150ms;
}
.navbar-icon-btn:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}
.navbar-icon-btn svg {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-join-nav {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-join-nav:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}
/* Mobile navbar */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26, 12, 10, 0.75);
  border-radius: 2px;
  transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}
@media (max-width: 1023px) {
  .navbar-inner {
    padding: 0 16px;
    justify-content: space-between;
  }
  .navbar-links,
  .btn-join-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    margin-right: 0;
  }
  .navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .navbar-logo-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .navbar-logo-text {
    font-size: 14px;
  }
  .navbar-actions {
    gap: 2px;
  }
  .navbar.scrolled {
    height: 56px;
  }
}
/* ══ DRAWER ═════════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(80vw, 320px);
  height: 100dvh;
  background: #fff;
  box-shadow: 8px 0 48px rgba(12, 26, 26, 0.22);
  border-radius: 0 24px 24px 0;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-110%);
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  height: 64px;
  padding: 0 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-light);
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.drawer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 20px;
  transition: background 150ms;
}
.drawer-close:hover {
  background: var(--color-surface);
}
.drawer-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px 8px;
  display: block;
}
.drawer-item {
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-item:hover {
  background: var(--color-surface);
}
.drawer-item.active {
  background: var(--color-brand-teal-faint);
  border-left: 3px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.drawer-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.drawer-item span {
  font-size: 16px;
  font-weight: 500;
}
.drawer-cat-item {
  height: 48px;
  padding: 0 20px 0 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-cat-item:hover {
  background: var(--color-surface);
}
.drawer-cat-item span {
  font-size: 15px;
  font-weight: 500;
}
.drawer-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 4px 0;
}
.drawer-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-light);
}
.btn-drawer-cta {
  width: 100%;
  height: 50px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-drawer-cta:hover {
  opacity: 0.9;
}
/* ══ BOTTOM TAB BAR ═════════════════════════════════════════════════════ */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(200%);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 16px rgba(26, 12, 10, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 999;
}
@media (max-width: 767px) {
  .bottom-tab-bar {
    display: flex;
  }
}
.tab-bar-inner {
  display: flex;
  width: 100%;
}
.tab-btn {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  transition: color 150ms;
}
.tab-btn.active {
  color: var(--color-brand-teal);
}
.tab-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 0 0 3px 3px;
}
.tab-btn svg {
  width: 24px;
  height: 24px;
}
.tab-btn span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* ══ HERO ════════════════════════════════════════════════════════════════ */
.home-page .hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 82vh;
  min-height: 700px;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: auto;
    min-height: 520px;
    padding-bottom: 32px;
  }
}
/* Ambient blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.22) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  animation: blobDrift1 14000ms ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -40px;
  right: -20px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(52px);
  animation: blobDrift2 17000ms ease-in-out infinite 2000ms;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-amber {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -40px;
  left: 20%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(56px);
  animation: blobDrift3 20000ms ease-in-out infinite 4000ms;
  pointer-events: none;
  z-index: 0;
}
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(35px, 25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 45px) scale(0.97);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-25px, 35px) scale(1.07);
  }
  70% {
    transform: translate(18px, -28px) scale(0.95);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, -18px) scale(1.08);
  }
}
@media (max-width: 767px) {
  .hero::before {
    width: 260px;
    height: 260px;
    opacity: 0.8;
  }
  .hero::after {
    width: 220px;
    height: 220px;
    opacity: 0.7;
  }
  .hero-blob-amber {
    width: 200px;
    height: 200px;
    opacity: 0.65;
  }
}
/* Hero art — absolute behind text */
.hero-art {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 720px;
  z-index: 1;
  pointer-events: none;
  animation: artFloat 6000ms ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(-50% - 16px)) rotate(1deg);
  }
}
@media (max-width: 767px) {
  .hero-art {
    width: 90%;
    right: -10%;
    top: auto;
    bottom: -4%;
    transform: none;
    opacity: 0.5;
    animation: artFloatM 6000ms ease-in-out infinite;
  }
  @keyframes artFloatM {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  }
}
/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .hero-content {
    padding: 68px 16px 24px;
    align-items: flex-start;
    justify-content: flex-start;
  }
}
.hero-left {
  flex: 0 0 auto;
  width: 52%;
  max-width: 580px;
}
@media (max-width: 1023px) {
  .hero-left {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .hero-left {
    width: 100%;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 116, 144, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 116, 144, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 0ms forwards;
}
@media (max-width: 767px) {
  .hero-badge {
    display: none;
    margin-bottom: 12px;
    font-size: 11px;
    padding: 5px 12px;
  }
}
.hero-headline {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 50ms forwards;
}
.hero-headline .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 767px) {
  .hero-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 150ms forwards;
}
@media (max-width: 767px) {
  .hero-sub {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 400ms ease-out 300ms forwards;
  margin-bottom: 28px;
}
@media (max-width: 767px) {
  .hero-cta-row {
    flex-direction: column;
    max-width: 260px;
    gap: 8px;
  }
}
.btn-hero-primary {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 28px rgba(185, 28, 28, 0.3);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-hero-primary:active {
  transform: scale(0.97);
}
.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(14, 116, 144, 0.45);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  white-space: nowrap;
}
.btn-hero-secondary:hover {
  background: rgba(14, 116, 144, 0.07);
  border-color: rgba(14, 116, 144, 0.75);
}
@media (max-width: 767px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(26, 12, 10, 0.3);
  animation: scrollBounce 1500ms ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}
/* ══ SHARED SECTION STYLES ══════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 540px;
}
@media (max-width: 767px) {
  .section-heading {
    font-size: 26px;
  }
  .section-sub {
    font-size: 15px;
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(8) {
  transition-delay: 560ms;
  opacity: 1;
  transform: translateY(0);
}
/* ══ BEST SELLERS ════════════════════════════════════════════════════════ */
.best-sellers {
  background: #fff;
  padding: 40px 0;
}
@media (max-width: 767px) {
  .best-sellers {
    padding: 24px 0;
  }
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 20px;
  }
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand-teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.view-all-link:hover {
  color: var(--color-brand-teal-hover);
}
.view-all-link:hover svg {
  transform: translateX(3px);
}
.view-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms;
}
@media (max-width: 767px) {
  .view-all-link {
    display: none;
  }
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .bs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .bs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bs-grid::-webkit-scrollbar {
    display: none;
  }
}
/* ══ PRODUCT CARD ═══════════════════════════════════════════════════════ */
@property --aura-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
.product-card {
  background: transparent;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 250ms ease;
  z-index: 0;
}
@media (max-width: 767px) {
  .product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(50vw - 22px);
  }
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.1;
  z-index: 1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card:hover::before {
  opacity: 1;
  animation: auraRotate 4000ms linear infinite;
}
.product-card-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 2;
  border: 1px solid var(--color-border-light);
  transition: border-color 250ms;
}
.product-card:hover .product-card-inner {
  border-color: transparent;
}
.product-card-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
}
@media (max-width: 767px) {
  .product-card-image {
    aspect-ratio: unset;
    height: 100px;
  }
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
/* Price badge — bottom-right */
.price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  z-index: 2;
}
/* Label badge — top-left */
.label-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 2;
}
/* Heart — top-right */
.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: none;
  transition:
    transform 150ms,
    background 150ms;
}
.heart-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}
.heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #c4aba4;
  fill: none;
  transition: all 150ms;
}
.heart-btn.active svg {
  stroke: #b91c1c;
  fill: #b91c1c;
}
/* Card body */
.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 767px) {
  .card-body {
    padding: 10px 10px 12px;
  }
}
.card-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .card-product-name {
    font-size: 13px;
  }
}
.card-weight {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .card-weight {
    font-size: 11px;
    margin-bottom: 8px;
  }
}
.btn-add-cart {
  width: 100%;
  height: 40px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.22);
  transition:
    box-shadow 150ms,
    transform 150ms;
  letter-spacing: 0.01em;
}
.btn-add-cart:hover {
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}
.btn-add-cart:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .btn-add-cart {
    height: 34px;
    font-size: 12px;
  }
}
.qty-controls {
  display: none;
  width: 100%;
  height: 40px;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.qty-controls.visible {
  display: flex;
}
@media (max-width: 767px) {
  .qty-controls {
    height: 34px;
  }
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.qty-btn:hover {
  background: var(--color-brand-teal-light);
}
.qty-count {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-teal);
  font-variant-numeric: tabular-nums;
}
/* ══ INFO SCROLL SECTION ════════════════════════════════════════════════ */
.info-scroll {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (max-width: 767px) {
  .info-scroll {
    padding: 60px 0;
  }
}
/* Art 2 — background */
.info-art {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  z-index: 0;
  pointer-events: none;
  animation: artFloat2 8000ms ease-in-out infinite;
}
.info-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat2 {
  0%,
  100% {
    transform: translateY(-50%) rotate(1deg);
  }
  50% {
    transform: translateY(calc(-50% - 18px)) rotate(-1deg);
  }
}
@media (max-width: 767px) {
  .info-art {
    width: 100%;
    right: -15%;
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.3;
    animation: none;
  }
}
.info-scroll .container {
  position: relative;
  z-index: 1;
}
/* WhatsApp section */
.wa-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .wa-section {
    margin-bottom: 60px;
  }
}
.wa-section .section-sub {
  max-width: 440px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: none;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition:
    background 150ms,
    transform 150ms;
}
.btn-whatsapp:hover {
  background: #1ea355;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Locations section */
.locations-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .locations-section {
    margin-bottom: 60px;
  }
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition:
    border-color 150ms,
    background 150ms,
    color 150ms;
}
.location-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.location-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-brand-wine);
}
.btn-find-branch {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 500;
  transition: gap 150ms;
}
.btn-find-branch:hover {
  gap: 12px;
}
.btn-find-branch svg {
  width: 16px;
  height: 16px;
}
/* How it works */
.hiw-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .hiw-section {
    margin-bottom: 60px;
  }
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
}
.hiw-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  z-index: 0;
  transition: transform 250ms ease;
}
.hiw-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.08;
  z-index: -1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.hiw-card:hover {
  transform: translateY(-4px);
}
.hiw-card:hover::before {
  opacity: 0.9;
  animation: auraRotate 4000ms linear infinite;
}
.hiw-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.28);
}
.hiw-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.hiw-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .hiw-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
  }
  .hiw-step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hiw-title {
    font-size: 17px;
  }
}
/* What we provide */
.wwd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.wwd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  transition:
    background 150ms,
    transform 150ms;
  cursor: pointer;
}
.wwd-chip:hover {
  background: var(--color-brand-teal-light);
  transform: translateY(-2px);
}
/* ══ FOOTER ═════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-footer-bg);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer {
    padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.footer-links {
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.4;
  display: block;
  transition: color 150ms;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-wa-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #25d366;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 150ms;
}
.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 150ms;
}
.footer-legal a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ══ MENU PAGE STYLES ════════════════════════════════════════════════ */
.page-header {
  padding: 104px 0 24px;
  background: #fff;
}
@media (max-width: 767px) {
  .page-header {
    padding: 76px 0 16px;
  }
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 32px;
  }
  .page-sub {
    font-size: 15px;
  }
}
.category-bar {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
}
@media (max-width: 767px) {
  .category-bar {
    top: 56px;
  }
}
.category-bar-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .category-bar-inner {
    padding: 0 16px;
  }
}
.category-bar-inner::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .category-bar-inner {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms ease;
}
@media (max-width: 767px) {
  .cat-pill {
    height: 36px;
    padding: 0 14px;
  }
}
.cat-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
}
.cat-pill.active {
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.active-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.active-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.1),
    rgba(185, 28, 28, 0.08)
  );
  border: 1px solid rgba(14, 116, 144, 0.28);
  border-radius: var(--radius-full);
  padding: 4px 10px 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
}
.active-chip-x {
  width: 16px;
  height: 16px;
  border: none;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.clear-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  margin-left: auto;
  white-space: nowrap;
  transition: color 150ms;
}
.clear-all-btn:hover {
  color: var(--color-text-primary);
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sort-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.sort-select {
  height: 40px;
  padding: 0 36px 0 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6A62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
  width: 180px;
}
@media (max-width: 767px) {
  .sort-select {
    width: 150px;
  }
}
.sort-select:focus {
  border-color: var(--color-brand-teal);
}
.products-section {
  padding: 0 0 80px;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 0 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.results-count span {
  font-weight: 700;
  color: var(--color-text-primary);
}
.card-out .product-card-image {
  filter: grayscale(50%) opacity(0.8);
}
.card-out .price-badge {
  background: var(--color-text-disabled) !important;
  box-shadow: none;
}
.card-out .btn-add-cart {
  background: var(--color-border-light);
  color: var(--color-text-disabled);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.skeleton {
  background: linear-gradient(90deg, #f2ede9 25%, #eae3de 50%, #f2ede9 75%);
  background-size: 200% 100%;
  animation: shimmer 1500ms linear infinite;
  border-radius: 4px;
}
.skeleton-card .product-card-inner {
  pointer-events: none;
}
.skeleton-img {
  aspect-ratio: 4/3;
  border-radius: 0;
}
@media (max-width: 767px) {
  .skeleton-img {
    aspect-ratio: unset;
    height: 100px;
  }
}
.skeleton-line {
  height: 14px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.skeleton-line.w70 {
  width: 70%;
}
.skeleton-line.w40 {
  width: 40%;
}
.skeleton-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .skeleton-btn {
    height: 34px;
  }
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-load-more {
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 40px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  background: var(--color-brand-teal-faint);
}
.btn-load-more svg {
  width: 18px;
  height: 18px;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--color-border-light);
}
.empty-icon svg {
  width: 56px;
  height: 56px;
}
.empty-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  transition: background 150ms;
}
.btn-ghost:hover {
  background: var(--color-brand-teal-faint);
}
/* ══ CART PAGE STYLES ════════════════════════════════════════════════ */
.cart-badge-nav {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-wrapper {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrapper {
    padding-top: 56px;
  }
}
.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}
@media (max-width: 767px) {
  .cart-page {
    padding: 24px 0 120px;
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.item-count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1px solid var(--color-brand-teal-light);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  vertical-align: middle;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 36px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
  flex-shrink: 0;
}
.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.cart-item-info-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}
@media (max-width: 767px) {
  .cart-item-info-wrap {
    display: flex;
  }
  .cart-item-info-wrap .cart-item-info {
    flex: 1;
    min-width: 0;
  }
}
.btn-remove-x {
  display: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 150ms;
  margin-top: 1px;
}
.btn-remove-x:hover {
  color: var(--color-brand-wine);
}
@media (max-width: 767px) {
  .btn-remove-x {
    display: flex;
  }
}
.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  word-break: break-word;
}
.cart-item-variant {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.cart-item-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.cart-item-mobile-actions {
  display: none;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  width: 120px;
  height: 40px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-qty-mobile {
  display: flex;
  align-items: center;
  width: 90px;
  height: 32px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.btn-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-text-disabled);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
  transition:
    color 150ms,
    background 150ms;
}
.btn-remove:hover {
  color: var(--color-brand-wine);
  background: var(--color-brand-wine-faint, #fff5f5);
}
.btn-remove svg {
  width: 18px;
  height: 18px;
}
.btn-remove-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-wine);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-remove-text:hover {
  color: var(--color-brand-wine-hover);
}
.instructions-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  width: 100%;
}
.instructions-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.instructions-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.field-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  resize: vertical;
  outline: none;
  line-height: 1.55;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-textarea::placeholder {
  color: var(--color-text-disabled);
}
.field-textarea:focus {
  background: #fff;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 28px;
  max-height: none;
  height: fit-content;
  align-self: start;
}
.summary-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.summary-row-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.summary-row-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.summary-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 16px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.summary-total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.promo-input {
  flex: 1;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
}
.promo-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}
.btn-apply {
  height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 150ms;
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--color-brand-teal-faint);
}
.promo-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.promo-success.visible {
  display: flex;
}
.promo-success-text {
  font-size: 13px;
  font-weight: 500;
  color: #047857;
}
.promo-success svg {
  width: 16px;
  height: 16px;
  color: #047857;
  flex-shrink: 0;
}
.btn-checkout {
  width: 100%;
  height: 52px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  margin-top: 20px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-checkout:active {
  transform: scale(0.97);
}
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.security-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-start-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-start-shopping:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms ease-out;
  pointer-events: none;
}
@media (max-width: 767px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: 100%;
  }
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 16px;
  height: 16px;
  stroke: #047857;
  stroke-width: 2.5;
  fill: none;
}
.toast-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.toast-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .cart-mobile-pad {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .cart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .cart-item-img-placeholder {
    font-size: 22px;
  }
  .cart-item-info-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
  }
  .cart-item-info {
    flex: 1;
    min-width: 0;
  }
  .cart-item-name {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  .cart-item-variant {
    font-size: 11px;
  }
  .cart-item-price-unit {
    font-size: 11px;
  }
  .cart-item-mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 8px;
  }
  .cart-item-qty-mobile {
    width: 84px;
    height: 30px;
  }
  .btn-remove-x {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 1px;
  }
  .cart-item-qty {
    display: none;
  }
  .cart-item-total {
    display: none;
  }
  .btn-remove {
    display: none;
  }
  .field-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
  .summary-card {
    position: static;
    margin-top: 20px;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .promo-row {
    gap: 6px;
  }
  .promo-input {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }
  .btn-apply {
    padding: 0 14px;
    font-size: 13px;
  }
  .btn-checkout {
    height: 48px;
    font-size: 14px;
  }
}
html,
body {
  height: auto;
  overflow-y: auto;
}
[ng-view] {
  min-height: 100vh;
}
/* ══ CHECKOUT PAGE STYLES ════════════════════════════════════════════ */
.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.form-section-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}
.form-field {
  margin-bottom: 16px;
}
.form-field:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 150ms;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-brand-teal);
}
.form-input::placeholder {
  color: var(--color-text-muted);
}
.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.fulfillment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.fulfillment-option svg {
  width: 22px;
  height: 22px;
}
.fulfillment-option:hover {
  border-color: var(--color-brand-teal);
}
.fulfillment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
/* ── Branch picker grid ── */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}
.branch-card {
  position: relative;
  text-align: left;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.branch-card:hover {
  border-color: var(--color-brand-teal);
}
.branch-card.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.branch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.branch-card-header > svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.branch-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}
.branch-card-check {
  width: 18px;
  height: 18px;
  color: var(--color-brand-teal);
  opacity: 0;
  transform: scale(0.7);
  transition: all 150ms;
}
.branch-card.active .branch-card-check {
  opacity: 1;
  transform: scale(1);
}
.branch-card-address {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.branch-card-hours {
  font-size: 12px;
  color: var(--color-brand-teal);
  margin: 0;
  font-weight: 500;
}
/* ── Polished select dropdown ── */
select.form-input {
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
select.form-input:hover {
  border-color: var(--color-brand-teal);
}
select.form-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
/* Style options where browser allows it (Chrome on most platforms respects this) */
select.form-input option {
  padding: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--color-text-primary);
}
select.form-input option:checked {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
  font-weight: 600;
}
.select-wrap {
  position: relative;
}
.field-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 8px 0 0 0;
  line-height: 1.4;
}
/* ── Payment options ── */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 767px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 150ms;
}
.payment-option:hover {
  border-color: var(--color-brand-teal);
}
.payment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.payment-option-icon svg {
  width: 20px;
  height: 20px;
}
.payment-option.active .payment-option-icon {
  background: var(--color-brand-teal);
  color: #fff;
}
.payment-option-body {
  flex: 1;
  min-width: 0;
}
.payment-option-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
}
.payment-option-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.payment-option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 150ms;
  flex-shrink: 0;
}
.payment-option-check svg {
  width: 12px;
  height: 12px;
}
.payment-option.active .payment-option-check {
  opacity: 1;
  transform: scale(1);
}
/* ── Optional badge ── */
.form-section-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.form-section-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: -10px 0 14px 0;
  line-height: 1.4;
}
/* ── Textarea ── */
.form-textarea {
  width: 100%;
  min-height: 90px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 150ms;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.form-textarea::placeholder {
  color: var(--color-text-muted);
}
/* ── Checkout order summary ── */
.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.checkout-item:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-info {
  min-width: 0;
}
.checkout-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-item-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.checkout-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.checkout-empty {
  text-align: center;
  padding: 20px;
  color: var(--color-text-secondary);
}
.checkout-empty p {
  margin: 0 0 12px 0;
}
/* ── Place Order button ── */
.btn-place-order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand-wine), #dc2626);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 150ms;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}
.btn-place-order:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}
.btn-place-order:active:not(:disabled) {
  transform: translateY(0);
}
.btn-place-order:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-place-order-total {
  font-weight: 500;
  opacity: 0.9;
}
.btn-place-order .spinner {
  width: 18px;
  height: 18px;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.checkout-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 14px 0 0 0;
  padding-bottom: 80px; /* space above bottom-tab-bar on mobile */
}
/* ══ ORDER CONFIRMATION PAGE STYLES ════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
.navbar-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
}
.navbar-secure svg {
  width: 14px;
  height: 14px;
}
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.confirm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 16px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) {
  .confirm-page {
    padding: 40px 16px 100px;
  }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.blob-teal {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.18) 0%,
    transparent 70%
  );
  animation: blobDrift1 14s ease-in-out infinite;
}
.blob-wine {
  width: 400px;
  height: 400px;
  top: -40px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.12) 0%,
    transparent 70%
  );
  animation: blobDrift2 17s ease-in-out infinite 2s;
}
.blob-amber {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: 30%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.11) 0%,
    transparent 70%
  );
  animation: blobDrift3 20s ease-in-out infinite 4s;
}
.progress {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
}
@media (max-width: 767px) {
  .progress {
    margin-bottom: 28px;
  }
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.progress-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-circle.done {
  background: var(--gcta);
  color: #fff;
}
.progress-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.progress-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--tp);
  white-space: nowrap;
}
.progress-label.inactive {
  color: var(--tm);
}
.progress-line {
  flex: 1;
  height: 1.5px;
  margin-top: 15px;
  min-width: 20px;
}
.progress-line.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.progress-line.inactive {
  background: var(--border);
}
.confirm-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 500ms var(--ease-out) 200ms forwards;
}
@media (max-width: 767px) {
  .confirm-card {
    padding: 32px 20px;
  }
}
.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0);
  animation: successPop 450ms var(--ease-spring) 500ms forwards;
}
.success-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.confirm-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 700ms forwards;
}
@media (max-width: 767px) {
  .confirm-heading {
    font-size: 26px;
  }
}
.confirm-sub {
  font-size: 16px;
  color: var(--ts);
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 800ms forwards;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}
.order-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 850ms forwards;
}
.order-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 920ms forwards;
}
@media (max-width: 767px) {
  .order-number {
    font-size: 18px;
  }
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 980ms forwards;
}
.branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.branch-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ts);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.date-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.actions {
  margin-top: 0;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 1080ms forwards;
}
.btn-track {
  width: 100%;
  height: 52px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  text-decoration: none;
}
.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-track:active {
  transform: scale(0.97);
}
.btn-shop {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 150ms;
  text-decoration: none;
}
.btn-shop:hover {
  background: var(--teal-f);
}
.call-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.call-link:hover {
  color: var(--teal-h);
}
.cancel-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
  transition: color 150ms;
}
.cancel-link:hover {
  color: var(--wine);
}
.next-steps {
  width: min(560px, 100%);
  margin-top: 32px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 500ms var(--ease-out) 1150ms forwards;
}
.next-steps-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}
.step-icon.teal {
  background: var(--teal-f);
}
.step-icon.amber {
  background: #fffbeb;
}
.step-icon.green {
  background: #d1fae5;
}
/* ══ ORDER CONFIRMATION — KEYFRAMES + LEGACY VAR ALIASES ═══════════════ */
/* Variable aliases (the original page uses short names, our project uses long names) */
:root {
  --teal: var(--color-brand-teal);
  --tp: var(--color-text-primary);
  --ts: var(--color-text-secondary);
  --tm: var(--color-text-muted);
  --td: var(--color-text-secondary);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --gbrand: linear-gradient(135deg, #0e7490, #6b21a8);
  --gcta: linear-gradient(135deg, #b91c1c, #d97706);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Keyframes */
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 30px);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ══ MY ORDERS PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
    padding-bottom: 80px;
  }
}
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 0 16px;
  }
}
.page-header {
  padding: 48px 0 32px;
}
@media (max-width: 767px) {
  .page-header {
    padding: 32px 0 20px;
  }
}
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .page-heading {
    font-size: 26px;
  }
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ts);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 150ms,
    border-color 150ms,
    color 150ms,
    box-shadow 150ms;
}
.filter-tab .tab-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--border);
  color: var(--tm);
  padding: 1px 6px;
  border-radius: 9999px;
  transition:
    background 150ms,
    color 150ms;
}
.filter-tab:hover {
  background: var(--teal-f);
  border-color: var(--teal);
}
.filter-tab.active {
  background: var(--teal-f);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-tab.active .tab-count {
  background: var(--teal);
  color: #fff;
}
@media (max-width: 767px) {
  .filter-tab {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}
.orders-list {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .orders-list {
    padding-bottom: 32px;
  }
}
.order-card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  z-index: 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms;
}
.order-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  transition: border-color 250ms;
  overflow: hidden;
}
.order-card:hover .order-card-inner {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}
.order-card:hover {
  transform: translateY(-2px);
}
.order-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  transition: opacity 300ms;
  pointer-events: none;
}
.order-card:hover::before {
  opacity: 0.65;
  animation: auraRotate 4000ms linear infinite;
}
.order-card-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) {
  .order-card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
.thumb-stack {
  display: flex;
  align-items: center;
}
.thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.thumb-img + .thumb-img {
  margin-left: -10px;
}
.thumb-more {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface);
  border: 2px solid #fff;
  margin-left: -10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .thumb-stack {
    display: none;
  }
}
.order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: 0.01em;
}
.order-meta {
  font-size: 13px;
  color: var(--tm);
  margin-top: 3px;
}
.order-summary {
  font-size: 13px;
  color: var(--ts);
  margin-top: 2px;
  line-height: 1.4;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-unpaid {
  background: #fef3c7;
  color: #92400e;
}
.badge-paid {
  background: #d1fae5;
  color: #047857;
}
.badge-cancelled {
  background: var(--wine-f);
  color: #991b1b;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-delivery {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-total-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.order-total-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--td);
  transition: color 150ms;
}
.order-card:hover .chevron-icon {
  color: var(--teal);
}
.mobile-row-1 {
  display: none;
}
.mobile-row-2 {
  display: none;
}
.mobile-row-3 {
  display: none;
}
@media (max-width: 600px) {
  .mobile-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-row-2 {
    display: block;
  }
  .mobile-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .desktop-only {
    display: none;
  }
}
.cancel-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cancel-link-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--wine);
  transition: color 150ms;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cancel-link-btn:hover {
  color: var(--wine-h);
}
.view-detail-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.view-detail-link:hover {
  color: var(--teal-h);
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--border2);
  fill: none;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-shop-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom));
  z-index: 2001;
  transform: translateY(110%);
  transition: transform 350ms var(--ease-smooth);
  max-width: 600px;
  margin: 0 auto;
}
.sheet-overlay.open .bottom-sheet {
  transform: translateY(0);
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: var(--border);
  margin: 0 auto 24px;
}
.sheet-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.sheet-sub {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 4px;
}
.sheet-order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 24px;
}
.sheet-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    background 150ms,
    transform 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
  transform: translateY(-1px);
}
.btn-keep-order {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.btn-keep-order:hover {
  background: var(--teal-f);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Keyframes ── */
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
/* ══ MY ORDERS — Variable aliases for legacy short names ═══════════════ */
:root {
  --wine: var(--color-brand-wine);
  --wine-h: var(--color-brand-wine-hover);
  --teal-f: var(--color-brand-teal-faint);
  --gold: #d97706;
  --aura-angle: 0deg;
}
/* Most CSS uses these short aliases inherited from the original page —
   defining them here keeps the original styles working without rewrites. */
/* ══ ORDER DETAIL PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 100px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 20px 16px 100px;
  }
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  margin-bottom: 24px;
  transition: gap 150ms;
}
.back-btn:hover {
  gap: 10px;
}
.back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .back-btn {
    font-size: 13px;
    margin-bottom: 16px;
  }
}
.order-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .order-title {
    font-size: 22px;
    gap: 8px;
  }
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-text {
  font-size: 14px;
  color: var(--tm);
}
@media (max-width: 767px) {
  .meta-text {
    font-size: 13px;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-paid {
  background: #d1fae5;
  color: #065f46;
}
.badge-preparing {
  background: #fef3c7;
  color: #92400e;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-cancelled {
  background: var(--wine-l);
  color: #991b1b;
}
.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 767px) {
  .timeline {
    flex-direction: column;
    gap: 0;
  }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}
@media (max-width: 767px) {
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    width: 100%;
    gap: 14px;
    padding-bottom: 0;
  }
}
.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-circle.done {
  background: var(--gcta);
  color: #fff;
}
.timeline-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.timeline-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (max-width: 767px) {
  .timeline-info {
    align-items: flex-start;
    padding-bottom: 20px;
  }
}
.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--tp);
  text-align: center;
}
.timeline-label.inactive {
  color: var(--tm);
}
.timeline-time {
  font-size: 11px;
  color: var(--tm);
}
.timeline-line {
  flex: 1;
  height: 1.5px;
  margin-top: 13px;
  min-width: 12px;
}
@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }
}
.timeline-line-v {
  display: none;
}
@media (max-width: 767px) {
  .timeline-line-v {
    display: block;
    width: 1.5px;
    height: 20px;
    margin-left: 13px;
    flex-shrink: 0;
  }
}
.timeline-line.done,
.timeline-line-v.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.timeline-line.inactive,
.timeline-line-v.inactive {
  background: var(--border);
}
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .order-item {
    gap: 10px;
  }
}
.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .order-item-thumb {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
.order-item-info {
  flex: 1;
  min-width: 0;
}
.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .order-item-name {
    font-size: 13px;
  }
}
.order-item-variant {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
@media (max-width: 767px) {
  .order-item-variant {
    font-size: 11px;
  }
}
.order-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.order-item-qty {
  font-size: 13px;
  color: var(--tm);
}
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .order-item-price {
    font-size: 13px;
  }
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-label {
  font-size: 14px;
  color: var(--tm);
  flex-shrink: 0;
}
.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp);
  text-align: right;
}
@media (max-width: 767px) {
  .detail-label,
  .detail-value {
    font-size: 13px;
  }
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}
.total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
}
.total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .total-label {
    font-size: 16px;
  }
  .total-value {
    font-size: 18px;
  }
}
.instructions-box {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.instructions-text {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  font-style: italic;
}
@media (max-width: 767px) {
  .instructions-text {
    font-size: 13px;
  }
}
.reorder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.06)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-reorder {
  background: var(--gbrand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.25);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-reorder:hover {
  transform: translateY(-1px);
}
.btn-cancel {
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
  transition: background 150ms;
}
.btn-cancel:hover {
  background: var(--wine-f);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 12, 10, 0.45);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  .modal-card {
    border-radius: 24px;
    padding: 32px;
  }
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .modal-handle {
    display: none;
  }
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.55;
  margin-bottom: 24px;
}
.modal-order-ref {
  display: inline-block;
  background: var(--surface);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 20px;
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
}
.btn-keep {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-keep:hover {
  background: var(--surface);
}
/* ══ FAVOURITES PAGE STYLES ══════════════════════════════════════════ */
.count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.products-section {
  padding: 0 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 16px 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--border);
}
.empty-icon svg {
  width: 64px;
  height: 64px;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 28px;
}
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.26);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
/* ══ PROFILE PAGE STYLES ═══════════════════════════════════════════ */
.profile-header {
  background: var(--surface);
  padding: 40px 48px;
  text-align: center;
}
@media (max-width: 767px) {
  .profile-header {
    padding: 28px 16px;
  }
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.28);
}
.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .profile-name {
    font-size: 20px;
  }
}
.profile-meta {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 14px;
}
.btn-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  transition: background 150ms;
}
.btn-edit-profile:hover {
  background: var(--teal-f);
}
.btn-edit-profile svg {
  width: 14px;
  height: 14px;
}
.sections-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 48px 100px;
}
@media (max-width: 767px) {
  .sections-wrap {
    padding: 20px 16px 100px;
  }
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
}
.btn-edit-section {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-edit-section:hover {
  color: var(--teal-h);
}
.field-display {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.field-display:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.field-display-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.field-display-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
@media (max-width: 767px) {
  .field-display-value {
    font-size: 14px;
  }
}
.edit-form {
  display: none;
}
.edit-form.open {
  display: block;
}
.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 5px;
}
.field-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-wrap {
  position: relative;
}
.pw-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.pw-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
}
.pw-toggle svg {
  width: 17px;
  height: 17px;
}
.edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-save {
  flex: 1;
  height: 44px;
  background: var(--gcta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-save:hover {
  opacity: 0.9;
}
.btn-cancel-edit {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-cancel-edit:hover {
  background: var(--surface);
}
.referral-card {
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.05)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .referral-card {
    padding: 18px 16px;
  }
}
.referral-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.referral-sub {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  margin-bottom: 18px;
}
.referral-code-box {
  background: #fff;
  border: 1.5px dashed rgba(14, 116, 144, 0.38);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.referral-code {
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .referral-code {
    font-size: 16px;
  }
}
.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: none;
  background: none;
  flex-shrink: 0;
  transition: color 150ms;
}
.btn-copy:hover {
  color: var(--teal-h);
}
.btn-copy svg {
  width: 16px;
  height: 16px;
}
.referral-stats {
  display: flex;
  gap: 32px;
}
.ref-stat p:first-child {
  font-size: 24px;
  font-weight: 800;
  color: var(--tp);
}
.ref-stat p:last-child {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  border-top: 1px solid rgba(14, 116, 144, 0.15);
  margin-top: 16px;
}
.accordion-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 200ms;
  flex-shrink: 0;
}
.accordion-toggle.open svg {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding-top: 12px;
}
.accordion-body.open {
  display: block;
}
.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.reward-row:last-child {
  border-bottom: none;
}
.reward-from {
  color: var(--ts);
}
.reward-amount {
  font-weight: 700;
  color: var(--teal);
}
.reward-date {
  font-size: 12px;
  color: var(--tm);
}
.action-row {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 150ms;
  border-radius: 6px;
}
.action-row:last-child {
  border-bottom: none;
}
.action-row:hover {
  background: var(--surface);
  padding: 0 8px;
  margin: 0 -4px;
}
.action-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-left svg {
  width: 20px;
  height: 20px;
  color: var(--tm);
  flex-shrink: 0;
}
.action-left span {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
.action-chevron {
  width: 16px;
  height: 16px;
  color: var(--td);
}
@media (max-width: 767px) {
  .action-left span {
    font-size: 14px;
  }
}
.action-row.danger .action-left svg {
  color: var(--wine);
}
.action-row.danger .action-left span {
  color: var(--wine);
}
.action-row.danger:hover {
  background: var(--wine-f);
}
.action-row.danger .action-chevron {
  display: none;
}
.otp-note {
  font-size: 12px;
  color: var(--tm);
  margin-top: 4px;
  line-height: 1.4;
}
/* ══ AUTH PAGE STYLES ══════════════════════════════════════════════ */
.auth-page{
  min-height:100dvh;
  display:flex;align-items:center;justify-content:center;
  padding:60px 16px calc(60px + env(safe-area-inset-bottom));
  background:#fff;
  position:relative;overflow:hidden;
}
.auth-page::before{
  content:'';position:absolute;
  width:520px;height:520px;top:-120px;left:-100px;
  background:radial-gradient(circle,rgba(14,116,144,0.18) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobA 14000ms ease-in-out infinite;
}
.auth-page::after{
  content:'';position:absolute;
  width:440px;height:440px;bottom:-100px;right:-80px;
  background:radial-gradient(circle,rgba(185,28,28,0.13) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobB 17000ms ease-in-out infinite 2000ms;
}
.auth-card{
  position:relative;z-index:1;
  width:100%;max-width:480px;
  background:#fff;
  border:1px solid var(--color-border-light);
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  padding:40px;
}
@media(max-width:767px) {
.auth-card{padding:28px 20px;border-radius:20px;}
}
.auth-logo{
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin-bottom:24px;
}
.auth-logo-mark{
  width:44px;height:44px;border-radius:50%;
  background:var(--gradient-cta);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  box-shadow:var(--shadow-cta);
}
.auth-logo-text{font-size:20px;font-weight:800;letter-spacing:-0.02em;color:var(--color-text-primary);}
.auth-heading{font-size:22px;font-weight:700;color:var(--color-text-primary);text-align:center;margin-bottom:6px;}
.auth-sub{font-size:14px;font-weight:400;color:var(--color-text-muted);text-align:center;margin-bottom:28px;line-height:1.50;}
.tab-switcher{
  display:flex;background:var(--color-surface);
  border-radius:10px;padding:4px;gap:4px;margin-bottom:28px;
}
.tab-sw-btn{
  flex:1;height:40px;border-radius:8px;border:none;background:transparent;
  font-size:14px;font-weight:600;color:var(--color-text-muted);
  transition:all 200ms ease;
}
.tab-sw-btn.active{
  background:#fff;color:var(--color-text-primary);
  box-shadow:var(--shadow-xs);
}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.field-group{margin-bottom:16px;}
.field-label{
  display:block;font-size:13px;font-weight:500;
  color:var(--color-text-secondary);margin-bottom:6px;letter-spacing:0.01em;
}
.field-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.field-input::placeholder{color:var(--color-text-disabled);}
.field-input:focus{
  background:#fff;
  border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.field-input.error{
  border-color:var(--color-brand-wine);
  box-shadow:0 0 0 4px rgba(185,28,28,0.10);
}
@media(max-width:767px) {
.field-input{height:48px;font-size:15px;}
}
.phone-wrap{
  display:flex;align-items:center;
  background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  overflow:hidden;transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.phone-wrap:focus-within{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.phone-prefix{
  padding:0 12px 0 16px;font-size:16px;font-weight:500;
  color:var(--color-text-primary);white-space:nowrap;flex-shrink:0;
  border-right:1px solid var(--color-border-light);
}
.phone-input{
  flex:1;height:52px;border:none;background:transparent;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
}
.phone-input::placeholder{color:var(--color-text-disabled);}
@media(max-width:767px) {
.phone-input{height:48px;font-size:15px;}
}
.pw-wrap{position:relative;}
.pw-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 48px 0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.pw-input::placeholder{color:var(--color-text-disabled);}
.pw-input:focus{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.pw-toggle{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:var(--color-text-muted);transition:color 150ms;
}
.pw-toggle:hover{color:var(--color-text-primary);}
.pw-toggle svg{width:18px;height:18px;}
@media(max-width:767px) {
.pw-input{height:48px;font-size:15px;}
}
.field-helper{font-size:12px;color:var(--color-text-muted);margin-top:5px;line-height:1.40;}
.field-error{
  display:none;font-size:12px;color:var(--color-brand-wine);
  margin-top:5px;align-items:center;gap:4px;
}
.field-error.visible{display:flex;}
.field-error svg{width:13px;height:13px;flex-shrink:0;}
.forgot-row{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:20px;}
.forgot-link{font-size:13px;font-weight:500;color:var(--color-brand-teal);background:none;border:none;transition:color 150ms;}
.forgot-link:hover{color:var(--color-brand-teal-hover);}
.btn-primary{
  width:100%;height:52px;background:var(--gradient-cta);
  color:#fff;font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  box-shadow:0 4px 16px rgba(185,28,28,0.28);
  transition:transform 150ms,box-shadow 150ms;letter-spacing:0.01em;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-primary:active{transform:scale(0.97);}
.btn-primary:disabled{opacity:0.50;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-spinner{
  width:20px;height:20px;border:2px solid rgba(255,255,255,0.40);
  border-top-color:#fff;border-radius:50%;
  animation:spin 600ms linear infinite;display:none;
}
.btn-primary.loading .btn-text{display:none;}
.btn-primary.loading .btn-spinner{display:block;}
.divider{
  display:flex;align-items:center;gap:12px;margin:24px 0;
}
.divider-line{flex:1;height:1px;background:var(--color-border-light);}
.divider-text{font-size:13px;font-weight:400;color:var(--color-text-muted);white-space:nowrap;}
.social-row{display:flex;gap:12px;}
.btn-social{
  flex:1;height:48px;background:var(--color-surface);
  border:1px solid var(--color-border-light);border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--color-text-primary);
  transition:background 150ms,border-color 150ms;
}
.btn-social:hover{background:var(--color-surface-2);border-color:var(--color-border);}
.btn-social svg{width:20px;height:20px;flex-shrink:0;}
.terms-note{
  font-size:12px;color:var(--color-text-muted);text-align:center;margin-top:14px;line-height:1.55;
}
.terms-note a{color:var(--color-brand-teal);font-weight:500;}
.terms-note a:hover{text-decoration:underline;}
.forgot-back{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-brand-teal);
  border:none;background:none;margin-top:16px;transition:gap 150ms;
}
.forgot-back:hover{gap:10px;}
.forgot-back svg{width:16px;height:16px;}
.forgot-desc{font-size:14px;color:var(--color-text-secondary);text-align:center;line-height:1.60;margin:10px 0 24px;}
.reset-success{
  display:none;text-align:center;padding:20px 0;
}
.reset-success.active{display:block;}
.success-circle{
  width:64px;height:64px;border-radius:50%;
  background:var(--color-success);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  box-shadow:0 6px 20px rgba(4,120,87,0.28);
}
.success-circle svg{width:28px;height:28px;stroke:#fff;stroke-width:2.5;}
.success-heading{font-size:18px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px;}
.success-sub{font-size:14px;color:var(--color-text-muted);line-height:1.55;}
.back-home{
  position:absolute;z-index:2;
  top:24px;left:48px;
  display:flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-text-muted);
  transition:color 150ms;
}
.back-home:hover{color:var(--color-brand-teal);}
.back-home:hover svg{transform:translateX(-3px);}
.back-home svg{width:16px;height:16px;transition:transform 150ms;}
@media(max-width:767px) {
.back-home{top:20px;left:16px;font-size:13px;}
}
@keyframes blobA{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,20px) scale(1.06);}}
@keyframes blobB{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-25px,-20px) scale(1.05);}}
@keyframes spin{to{transform:rotate(360deg);}}
/* ══ CONTACT PAGE STYLES ══════════════════════════════════════════ */
.map-section{max-width:1280px;margin:0 auto;padding:0 48px 64px;}
@media(max-width:767px) {
.map-section{padding:0 16px 48px;}
}
.map-branches-grid{display:grid;grid-template-columns:1fr 400px;gap:32px;align-items:start;}
@media(max-width:1023px) {
.map-branches-grid{grid-template-columns:1fr;}
}
.map-container{
  height:560px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(135deg,var(--teal-f) 0%,var(--surface) 100%);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;
  position:sticky;top:80px;
}
@media(max-width:1023px) {
.map-container{height:260px;position:static;border-radius:16px;}
}
.map-placeholder-icon{font-size:48px;}
.map-placeholder-text{font-size:15px;font-weight:500;color:var(--teal);text-align:center;padding:0 20px;}
.map-placeholder-sub{font-size:13px;color:var(--tm);text-align:center;}
.branch-list{display:flex;flex-direction:column;gap:12px;}
.branch-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:20px;cursor:pointer;
  transition:border-color 200ms,box-shadow 200ms;
  position:relative;
}
.branch-card:hover,.branch-card.active-map{
  border-color:var(--teal);
  box-shadow:0 4px 16px rgba(14,116,144,0.14);
}
.branch-card-row1{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.branch-name{font-size:16px;font-weight:700;color:var(--tp);}
.badge-open{display:inline-flex;align-items:center;gap:5px;background:#D1FAE5;color:#065F46;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.badge-open-dot{width:6px;height:6px;border-radius:50%;background:#047857;flex-shrink:0;}
.badge-closed{display:inline-flex;align-items:center;gap:5px;background:var(--wine-l);color:#991B1B;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.branch-addr{font-size:13px;color:var(--ts);margin-bottom:3px;}
.branch-hours{font-size:13px;color:var(--tm);margin-bottom:4px;}
.branch-phone{font-size:13px;font-weight:500;color:var(--teal);display:flex;align-items:center;gap:5px;margin-bottom:12px;}
.branch-phone svg{width:13px;height:13px;flex-shrink:0;}
.branch-btns{display:flex;gap:8px;flex-wrap:wrap;}
.btn-wa{display:inline-flex;align-items:center;gap:6px;background:rgba(37,211,102,0.10);border:1px solid rgba(37,211,102,0.30);color:#16A34A;font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-wa:hover{background:rgba(37,211,102,0.18);}
.btn-wa svg{width:15px;height:15px;flex-shrink:0;}
.btn-directions{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);color:var(--ts);font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-directions:hover{background:var(--surface2);}
.btn-directions svg{width:14px;height:14px;flex-shrink:0;}
.contact-form-section{background:var(--surface);padding:64px 48px;margin-top:0;}
@media(max-width:767px) {
.contact-form-section{padding:48px 16px;}
}
.contact-form-inner{max-width:1280px;margin:0 auto;}
.contact-form-heading{font-size:32px;font-weight:700;color:var(--tp);letter-spacing:-0.02em;text-align:center;margin-bottom:8px;}
.contact-form-sub{font-size:16px;color:var(--ts);text-align:center;max-width:440px;margin:0 auto 40px;}
@media(max-width:767px) {
.contact-form-heading{font-size:24px;}
.contact-form-sub{font-size:14px;margin-bottom:28px;}
}
.contact-methods{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-bottom:48px;}
@media(max-width:767px) {
.contact-methods{gap:12px;margin-bottom:32px;}
}
.contact-method-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 20px;text-align:center;min-width:160px;flex:1;max-width:200px;}
@media(max-width:767px) {
.contact-method-card{padding:18px 14px;min-width:unset;}
}
.method-icon-circle{width:52px;height:52px;border-radius:50%;background:var(--gcta);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:22px;}
.method-label{font-size:11px;font-weight:600;color:var(--tm);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:4px;}
.method-value{font-size:15px;font-weight:700;color:var(--tp);}
@media(min-width:768px) {
.method-value{font-size:13px;word-break:break-word;text-align:center;}
}
@media(max-width:767px) {
.method-value{font-size:13px;}
}
.contact-form{max-width:560px;margin:0 auto;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;}
@media(max-width:767px) {
.field-row{grid-template-columns:1fr;}
}
.field-textarea{width:100%;min-height:120px;background:#fff;border:1.5px solid var(--border);border-radius:10px;padding:14px 16px;font-size:15px;color:var(--tp);outline:none;resize:vertical;line-height:1.55;transition:border-color 150ms,box-shadow 150ms;}
.field-textarea::placeholder{color:var(--td);}
.field-textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(14,116,144,0.12);}
@media(max-width:767px) {
.field-textarea{font-size:14px;}
}
.btn-send{width:100%;height:52px;background:var(--gcta);color:#fff;font-size:15px;font-weight:600;border:none;border-radius:10px;margin-top:4px;box-shadow:0 4px 16px rgba(185,28,28,0.26);transition:transform 150ms,box-shadow 150ms;display:flex;align-items:center;justify-content:center;gap:8px;}
.btn-send:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-send:active{transform:scale(0.97);}
.form-success{display:none;text-align:center;padding:40px 20px;}
.form-success.visible{display:block;}
/* ══ JOIN GROUP PAGE STYLES ════════════════════════════════════════ */
.hero-banner{
  background:var(--surface);
  padding:64px 48px 56px;
  text-align:center;
}
@media(max-width:767px) {
.hero-banner{padding:40px 16px 36px;}
}
.hero-title{font-size:48px;font-weight:800;color:var(--tp);letter-spacing:-0.02em;line-height:1.08;margin-bottom:14px;}
@media(max-width:767px) {
.hero-title{font-size:28px;}
}
.hero-sub{font-size:18px;font-weight:400;color:var(--ts);line-height:1.65;max-width:520px;margin:0 auto;}
@media(max-width:767px) {
.hero-sub{font-size:15px;}
}
.cards-section{padding:48px 48px 40px;max-width:1280px;margin:0 auto;}
@media(max-width:767px) {
.cards-section{padding:28px 16px 24px;}
}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media(max-width:1023px) {
.cards-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
}
@media(max-width:767px) {
.cards-grid{grid-template-columns:1fr;gap:14px;}
}
.wa-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:28px 24px;text-align:center;
  position:relative;z-index:0;
  transition:transform 250ms ease,border-color 250ms;
}
.wa-card::before{
  content:'';position:absolute;inset:-18px;border-radius:38px;
  background:conic-gradient(from var(--aura-angle,0deg),
    rgba(14,116,144,0.55),rgba(185,28,28,0.50),
    rgba(217,119,6,0.45),rgba(107,33,168,0.40),
    rgba(14,116,144,0.55));
  filter:blur(22px);opacity:0.08;z-index:-1;
  transition:opacity 300ms ease;pointer-events:none;
}
.wa-card:hover{transform:translateY(-4px);}
.wa-card:hover::before{opacity:0.90;animation:auraRotate 4000ms linear infinite;}
.wa-icon-circle{
  width:56px;height:56px;border-radius:50%;
  background:rgba(37,211,102,0.12);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.wa-icon-circle svg{width:28px;height:28px;}
.wa-branch-name{font-size:18px;font-weight:700;color:var(--tp);margin-bottom:4px;}
.wa-branch-addr{font-size:13px;color:var(--tm);margin-bottom:6px;line-height:1.45;}
.wa-delivery-days{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:6px;}
.wa-day-pill{background:var(--amber);background:linear-gradient(135deg,rgba(217,119,6,0.12),rgba(217,119,6,0.08));border:1px solid rgba(217,119,6,0.25);color:var(--amber);font-size:11px;font-weight:600;padding:2px 10px;border-radius:9999px;}
.wa-members{font-size:13px;color:var(--tm);margin-bottom:18px;}
.btn-join-wa{
  width:100%;height:48px;
  background:#25D366;color:#fff;
  font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 4px 16px rgba(37,211,102,0.28);
  transition:background 150ms,transform 150ms;
}
.btn-join-wa:hover{background:#1EA355;transform:translateY(-1px);}
.btn-join-wa svg{width:20px;height:20px;flex-shrink:0;}
.request-card{
  background:transparent;
  border:2px dashed var(--border);
  border-radius:20px;padding:28px 24px;
  text-align:center;cursor:pointer;
  transition:border-color 200ms,background 200ms;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:200px;
}
.request-card:hover{border-color:var(--teal);background:var(--teal-f);}
.request-plus{
  width:44px;height:44px;border-radius:50%;
  background:var(--surface);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;font-size:22px;
  transition:background 200ms;
}
.request-card:hover .request-plus{background:var(--teal-l);}
.request-label{font-size:16px;font-weight:600;color:var(--ts);margin-bottom:4px;}
.request-sub{font-size:13px;color:var(--tm);}
.terms-note{
  text-align:center;
  max-width:520px;margin:0 auto;
  padding:0 48px 60px;
  font-size:13px;color:var(--tm);line-height:1.65;
}
@media(max-width:767px) {
.terms-note{padding:0 16px 80px;}
}
.terms-note a{color:var(--teal);font-weight:500;}
/* ════════════════════════════════════════════════════════════════════
   STEP 1 — GLOBAL POLISH: SPACING TOKENS + UNIFORM CARDS
   These rules override earlier per-page rules to enforce consistency.
   ════════════════════════════════════════════════════════════════════ */
/* ── Spacing tokens ── */
:root {
  --space-page-top:   32px;
  --space-section-y:  48px;
  --space-card-gap:   16px;
  --space-page-bot:   80px;
  --navbar-h:         64px;
}
@media (max-width: 767px) {
  :root {
    --space-page-top:  16px;
    --space-section-y: 32px;
    --space-card-gap:  12px;
    --space-page-bot:  100px; /* extra space for bottom-tab-bar */
    --navbar-h:        56px;
  }
}
/* ── Eliminate navbar whitespace globally ── */
.page-wrapper,
.page-wrap {
  padding-top: var(--navbar-h) !important;
  min-height: 100vh;
  box-sizing: border-box;
}
/* All page-headers should have consistent compact spacing — no big empty gap below navbar */
.page-header {
  padding: var(--space-page-top) 0 24px !important;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .page-header {
    padding: var(--space-page-top) 0 16px !important;
  }
}
/* Page containers — uniform gutters */
.page-container,
.cart-mobile-pad {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: var(--space-page-bot);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Section gaps ── */
.section-card,
.form-section,
.products-section,
.map-section,
.contact-form-section,
.cards-section {
  margin-bottom: var(--space-section-y);
}
.section-card:last-child,
.form-section:last-child {
  margin-bottom: 0;
}
/* ── Uniform product cards (landing, menu, favourites) ── */
.product-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-image {
  height: 220px !important;
  flex-shrink: 0;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-add-cart,
.card-body .qty-controls {
  margin-top: auto; /* pin Add to Cart / qty to bottom of card */
}
/* Product grids — uniform gap */
.products-grid,
.bs-grid {
  gap: var(--space-card-gap) !important;
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — LAYOUT & POLISH FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Drop the min-height on product cards (let them size naturally) ── */
.product-card {
  min-height: auto !important;
}
/* ── Tighter hover aura — stays inside the card area ── */
.product-card,
.bs-grid .product-card {
  position: relative;
  overflow: visible;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.10),
              0 4px 8px rgba(14, 116, 144, 0.06);
  z-index: 1;
}
/* Kill any aura ::before / ::after pseudos that may bleed */
.product-card::before,
.product-card::after {
  display: none !important;
}
/* ── Fix navbar overlap — proper top padding on every page ── */
:root { --navbar-h: 80px; }
@media (max-width: 767px) { :root { --navbar-h: 64px; } }
.page-wrap,
.page-wrapper {
  padding-top: var(--navbar-h) !important;
  box-sizing: border-box;
  min-height: 100vh;
}
/* Page-headers should have breathing room below the navbar — but not too much */
.page-header {
  padding: 28px 0 20px !important;
}
@media (max-width: 767px) {
  .page-header { padding: 20px 0 14px !important; }
}
/* ── Consistent page gutters across all pages ── */
.page-container,
.cart-mobile-pad,
.page-wrap > .container,
.page-wrap > .page-header,
.page-wrap > .map-section,
.page-wrap > .contact-form-section,
.page-wrap > .cards-section,
.page-wrap > .terms-note,
.page-wrap > .hero-banner,
.page-wrap > .sections-wrap,
.page-wrap > .profile-header {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad,
  .page-wrap > .container,
  .page-wrap > .page-header,
  .page-wrap > .map-section,
  .page-wrap > .contact-form-section,
  .page-wrap > .cards-section,
  .page-wrap > .terms-note,
  .page-wrap > .hero-banner,
  .page-wrap > .sections-wrap,
  .page-wrap > .profile-header {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Update Password button → full width ── */
.section-card .btn-save {
  width: 100%;
}
/* ════════════════════════════════════════════════════════════════════
   NAVBAR DROPDOWNS — Menu (categories) & Profile (user actions)
   ════════════════════════════════════════════════════════════════════ */
.navbar-link-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 12, 10, 0.10);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 1000;
}
/* Open on hover (entire wrap including the trigger + dropdown bridge) */
.navbar-link-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Profile dropdown anchors to the right edge */
.navbar-link-wrap.right .nav-dropdown {
  left: auto;
  right: 0;
}
/* Each dropdown item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
.nav-dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-dropdown-item .emoji {
  width: 20px;
  display: inline-block;
  text-align: center;
  font-size: 16px;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 6px 4px;
}
.nav-dropdown-item.danger {
  color: var(--color-brand-wine);
}
.nav-dropdown-item.danger:hover {
  background: rgba(185, 28, 28, 0.06);
  color: var(--color-brand-wine);
}
/* Hover bridge — invisible padding under trigger so dropdown doesn't close while moving */
.navbar-link-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
/* Hide dropdowns on mobile (drawer handles those) */
@media (max-width: 767px) {
  .nav-dropdown { display: none !important; }
  .navbar-link-wrap::after { display: none; }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — POST-REVIEW FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Wider, nicer dropdowns ── */
.nav-dropdown {
  min-width: 260px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 16px 48px rgba(26, 12, 10, 0.10),
              0 4px 12px rgba(26, 12, 10, 0.05) !important;
}
.nav-dropdown-item {
  padding: 12px 14px !important;
  font-size: 14px;
  border-radius: 10px !important;
  gap: 12px !important;
  letter-spacing: -0.005em;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint) !important;
}
.nav-dropdown-item .emoji {
  font-size: 18px;
  width: 22px;
}
.nav-dropdown-item svg {
  color: var(--color-text-secondary);
}
.nav-dropdown-item:hover svg {
  color: var(--color-brand-teal);
}
.nav-dropdown-divider {
  margin: 8px 6px !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
/* Section labels above grouped items (subtle, uppercase) */
.nav-dropdown-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 8px 14px 6px;
}
/* ── Card hover: slightly more visible ── */
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.14),
              0 6px 12px rgba(14, 116, 144, 0.08) !important;
}
/* ════════════════════════════════════════════════════════════════════
   ORDER DETAIL — Timeline layout fix
   The original timeline was a vertical-timeline pattern but rendering
   horizontally in a broken way. Rebuild as a clean horizontal stepper.
   ════════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 12px 0 8px;
  margin: 8px 0 4px;
}
/* Each timeline cell holds a circle + label below */
.timeline > div {
  display: contents;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6px;
}
.timeline-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  transition: all 200ms;
}
.timeline-circle.done {
  background: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  color: #fff;
}
.timeline-circle.active {
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  gap: 2px;
}
.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}
.timeline-time {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Horizontal connector line between circles */
.timeline-line {
  position: absolute;
  top: 28px;  /* aligns with center of circles (12px padding + 16px to circle center) */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
/* Compute positions for the 3 connectors between 4 steps */
.timeline > div:nth-child(1) .timeline-line { left: 50%;  right: -50%; }
.timeline > div:nth-child(2) .timeline-line { left: 0%;   right: 0%; }
.timeline > div:nth-child(3) .timeline-line { left: -50%; right: 50%; }
/* Hide the vertical-line variants from the original markup */
.timeline-line-v {
  display: none !important;
}
/* Mobile: smaller labels, vertical layout fallback */
@media (max-width: 600px) {
  .timeline-label {
    font-size: 11px;
  }
  .timeline-time {
    font-size: 10px;
  }
  .timeline-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .timeline-line {
    top: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — REFINEMENTS: frosted dropdowns + clipped timeline + true aura
   ════════════════════════════════════════════════════════════════════ */
/* ── Frosted-glass dropdowns ── */
.nav-dropdown {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 16px 48px rgba(26, 12, 10, 0.12),
    0 4px 12px rgba(26, 12, 10, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
.nav-dropdown-item:hover {
  background: rgba(207, 250, 254, 0.6) !important;  /* translucent teal-faint */
}
/* ── Timeline: clip connector lines to BETWEEN circles only ── */
/* Reset old broken positioning */
.timeline > div:nth-child(1) .timeline-line,
.timeline > div:nth-child(2) .timeline-line,
.timeline > div:nth-child(3) .timeline-line {
  left: auto !important;
  right: auto !important;
}
/* New approach: line spans from center of THIS step to center of NEXT step */
.timeline-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 22px);   /* start just past current circle's right edge */
  width: calc(100% - 44px); /* end just before next circle's left edge */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
@media (max-width: 600px) {
  .timeline-line {
    top: 24px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }
}
/* ── True hover aura: glowing gradient behind card ── */
/* Re-enable ::after for the aura (we disabled it earlier) */
.product-card::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(14, 116, 144, 0.35) 0%,
    rgba(217, 119, 6, 0.25) 35%,
    rgba(185, 28, 28, 0.18) 60%,
    transparent 75%
  );
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  transform: scale(0.92);
}
.product-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Make sure card has positioning context + sits above its own aura */
.product-card {
  position: relative;
  isolation: isolate;
}
/* Reduce card's outer shadow on hover so the aura is the dominant effect */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 18px rgba(26, 12, 10, 0.06) !important;
}
/* ── Menu dropdown: 2-column grid ── */
/* Target ONLY the menu dropdown, not the profile one */
.navbar-link-wrap > .nav-dropdown {
  min-width: 380px !important;
}
/* The category items in the menu dropdown become a 2-col grid.
   We wrap them with a container in the HTML below. */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown-grid .nav-dropdown-item {
  padding: 10px 12px !important;
}
/* Profile dropdown stays single column — the 'right' modifier */
.navbar-link-wrap.right > .nav-dropdown {
  min-width: 240px !important;
}
/* ════════════════════════════════════════════════════════════════════
   HERO — auto-rotating artwork crossfade + dot indicators
   ════════════════════════════════════════════════════════════════════ */
.hero-art {
  position: absolute;
  /* keep existing positioning rules — these are added on top */
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art-img.active {
  opacity: 1;
}
/* ── Dot indicators ── */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 12, 10, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 250ms ease;
  position: relative;
}
.hero-dot::before {
  content: '';
  position: absolute;
  inset: -10px;  /* expanded hit area for fingers */
}
.hero-dot:hover {
  background: rgba(26, 12, 10, 0.4);
  transform: scale(1.2);
}
.hero-dot.active {
  background: var(--color-brand-teal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .hero-dots {
    bottom: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   HERO ROTATION FIX + COMPRESS HEIGHT
   ════════════════════════════════════════════════════════════════════ */
/* Override the original .hero-art img rule that's forcing all images visible */
.hero-art img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  transition: opacity 1000ms ease-in-out !important;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art img.active {
  opacity: 1 !important;
}
/* ── Compress hero so Best Sellers peeks above the fold on desktop ── */
.hero {
  min-height: 75vh !important;
}
@media (max-width: 767px) {
  .hero {
    min-height: 88vh !important;  /* mobile keeps more height since stacked */
  }
}
/* Tighten hero internal padding too */
.hero-content {
  padding-top: 80px;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .hero-content {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
/* ══ TOKENS ═════════════════════════════════════════════════════════════ */
:root {
  --color-brand-teal: #0e7490;
  --color-brand-teal-hover: #0c6680;
  --color-brand-teal-light: #cffafe;
  --color-brand-teal-faint: #ecfeff;
  --color-brand-wine: #b91c1c;
  --color-brand-wine-hover: #991b1b;
  --color-brand-wine-light: #fee2e2;
  --color-brand-wine-faint: #fff5f5;
  --color-brand-amber: #d97706;
  --color-brand-amber-hover: #b45309;
  --color-brand-amber-light: #fef3c7;
  --color-brand-amber-faint: #fffbeb;
  --color-brand-violet: #6b21a8;
  --color-brand-violet-light: #f3e8ff;
  --color-brand-violet-faint: #faf5ff;
  --gradient-brand: linear-gradient(135deg, #0e7490 0%, #6b21a8 100%);
  --gradient-cta: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  --color-footer-bg: #0c1a1a;
  --color-footer-surf: #142222;
  --color-white: #ffffff;
  --color-surface: #f9f6f4;
  --color-surface-2: #f2ede9;
  --color-border-light: #ede5e0;
  --color-border: #ddd0ca;
  --color-text-primary: #1a0c0a;
  --color-text-secondary: #4a2820;
  --color-text-muted: #8a6a62;
  --color-text-disabled: #c4aba4;
  --color-success: #047857;
  --color-success-light: #d1fae5;
  --shadow-xs: 0 1px 2px rgba(26, 12, 10, 0.05);
  --shadow-sm:
    0 1px 4px rgba(26, 12, 10, 0.07), 0 1px 2px rgba(26, 12, 10, 0.04);
  --shadow-md:
    0 4px 16px rgba(26, 12, 10, 0.09), 0 2px 6px rgba(26, 12, 10, 0.04);
  --shadow-lg:
    0 12px 40px rgba(26, 12, 10, 0.11), 0 4px 12px rgba(26, 12, 10, 0.05);
  --shadow-xl:
    0 24px 64px rgba(26, 12, 10, 0.13), 0 8px 24px rgba(26, 12, 10, 0.06);
  --shadow-brand:
    0 8px 32px rgba(14, 116, 144, 0.3), 0 2px 8px rgba(14, 116, 144, 0.15);
  --shadow-cta:
    0 8px 24px rgba(185, 28, 28, 0.35), 0 2px 8px rgba(217, 119, 6, 0.22);
  --shadow-navbar:
    0 1px 4px rgba(26, 12, 10, 0.06), 0 2px 12px rgba(26, 12, 10, 0.04);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ══ RESET ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  background: #fff;
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
}
/* ══ CONTAINER ══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}
/* ══ NAVBAR ═════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    box-shadow 300ms ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--shadow-navbar);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.navbar-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-cta);
  flex-shrink: 0;
}
.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-right: 32px;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 12, 10, 0.7);
  padding: 4px 0;
  position: relative;
  transition: color 150ms ease;
}
.navbar-links a:hover {
  color: var(--color-text-primary);
}
.navbar-links a.active {
  color: var(--color-brand-teal);
}
.navbar-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 12, 10, 0.7);
  border-radius: var(--radius-sm);
  transition:
    background 150ms,
    color 150ms;
}
.navbar-icon-btn:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}
.navbar-icon-btn svg {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-join-nav {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-join-nav:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}
/* Mobile navbar */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26, 12, 10, 0.75);
  border-radius: 2px;
  transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}
@media (max-width: 1023px) {
  .navbar-inner {
    padding: 0 16px;
    justify-content: space-between;
  }
  .navbar-links,
  .btn-join-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    margin-right: 0;
  }
  .navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .navbar-logo-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .navbar-logo-text {
    font-size: 14px;
  }
  .navbar-actions {
    gap: 2px;
  }
  .navbar.scrolled {
    height: 56px;
  }
}
/* ══ DRAWER ═════════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(80vw, 320px);
  height: 100dvh;
  background: #fff;
  box-shadow: 8px 0 48px rgba(12, 26, 26, 0.22);
  border-radius: 0 24px 24px 0;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-110%);
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  height: 64px;
  padding: 0 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-light);
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.drawer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 20px;
  transition: background 150ms;
}
.drawer-close:hover {
  background: var(--color-surface);
}
.drawer-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px 8px;
  display: block;
}
.drawer-item {
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-item:hover {
  background: var(--color-surface);
}
.drawer-item.active {
  background: var(--color-brand-teal-faint);
  border-left: 3px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.drawer-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.drawer-item span {
  font-size: 16px;
  font-weight: 500;
}
.drawer-cat-item {
  height: 48px;
  padding: 0 20px 0 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-cat-item:hover {
  background: var(--color-surface);
}
.drawer-cat-item span {
  font-size: 15px;
  font-weight: 500;
}
.drawer-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 4px 0;
}
.drawer-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-light);
}
.btn-drawer-cta {
  width: 100%;
  height: 50px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-drawer-cta:hover {
  opacity: 0.9;
}
/* ══ BOTTOM TAB BAR ═════════════════════════════════════════════════════ */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(200%);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 16px rgba(26, 12, 10, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 999;
}
@media (max-width: 767px) {
  .bottom-tab-bar {
    display: flex;
  }
}
.tab-bar-inner {
  display: flex;
  width: 100%;
}
.tab-btn {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  transition: color 150ms;
}
.tab-btn.active {
  color: var(--color-brand-teal);
}
.tab-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 0 0 3px 3px;
}
.tab-btn svg {
  width: 24px;
  height: 24px;
}
.tab-btn span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* ══ HERO ════════════════════════════════════════════════════════════════ */
.home-page .hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 82vh;
  min-height: 700px;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: 45dvh;
    min-height: 380px;
  }
}
/* Ambient blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.22) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  animation: blobDrift1 14000ms ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -40px;
  right: -20px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(52px);
  animation: blobDrift2 17000ms ease-in-out infinite 2000ms;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-amber {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -40px;
  left: 20%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(56px);
  animation: blobDrift3 20000ms ease-in-out infinite 4000ms;
  pointer-events: none;
  z-index: 0;
}
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(35px, 25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 45px) scale(0.97);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-25px, 35px) scale(1.07);
  }
  70% {
    transform: translate(18px, -28px) scale(0.95);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, -18px) scale(1.08);
  }
}
@media (max-width: 767px) {
  .hero::before {
    width: 260px;
    height: 260px;
    opacity: 0.8;
  }
  .hero::after {
    width: 220px;
    height: 220px;
    opacity: 0.7;
  }
  .hero-blob-amber {
    width: 200px;
    height: 200px;
    opacity: 0.65;
  }
}
/* Hero art — absolute behind text */
.hero-art {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 720px;
  z-index: 1;
  pointer-events: none;
  animation: artFloat 6000ms ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(-50% - 16px)) rotate(1deg);
  }
}
@media (max-width: 767px) {
  .hero-art {
    width: 90%;
    right: -10%;
    top: auto;
    bottom: -4%;
    transform: none;
    opacity: 0.5;
    animation: artFloatM 6000ms ease-in-out infinite;
  }
  @keyframes artFloatM {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  }
}
/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .hero-content {
    padding: 84px 16px 16px;
    align-items: flex-start;
  }
}
.hero-left {
  flex: 0 0 auto;
  width: 52%;
  max-width: 580px;
}
@media (max-width: 1023px) {
  .hero-left {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .hero-left {
    width: 100%;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 116, 144, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 116, 144, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 0ms forwards;
}
@media (max-width: 767px) {
  .hero-badge {
    display: none;
  }
}
.hero-headline {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 50ms forwards;
}
.hero-headline .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 767px) {
  .hero-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 150ms forwards;
}
@media (max-width: 767px) {
  .hero-sub {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 400ms ease-out 300ms forwards;
}
@media (max-width: 767px) {
  .hero-cta-row {
    flex-direction: column;
    max-width: 260px;
    gap: 8px;
  }
}
.btn-hero-primary {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 28px rgba(185, 28, 28, 0.3);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-hero-primary:active {
  transform: scale(0.97);
}
.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(14, 116, 144, 0.45);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  white-space: nowrap;
}
.btn-hero-secondary:hover {
  background: rgba(14, 116, 144, 0.07);
  border-color: rgba(14, 116, 144, 0.75);
}
@media (max-width: 767px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(26, 12, 10, 0.3);
  animation: scrollBounce 1500ms ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}
/* ══ SHARED SECTION STYLES ══════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 540px;
}
@media (max-width: 767px) {
  .section-heading {
    font-size: 26px;
  }
  .section-sub {
    font-size: 15px;
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(8) {
  transition-delay: 560ms;
  opacity: 1;
  transform: translateY(0);
}
/* ══ BEST SELLERS ════════════════════════════════════════════════════════ */
.best-sellers {
  background: #fff;
  padding: 40px 0;
}
@media (max-width: 767px) {
  .best-sellers {
    padding: 24px 0;
  }
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 20px;
  }
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand-teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.view-all-link:hover {
  color: var(--color-brand-teal-hover);
}
.view-all-link:hover svg {
  transform: translateX(3px);
}
.view-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms;
}
@media (max-width: 767px) {
  .view-all-link {
    display: none;
  }
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .bs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .bs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bs-grid::-webkit-scrollbar {
    display: none;
  }
}
/* ══ PRODUCT CARD ═══════════════════════════════════════════════════════ */
@property --aura-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
.product-card {
  background: transparent;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 250ms ease;
  z-index: 0;
}
@media (max-width: 767px) {
  .product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(50vw - 22px);
  }
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.1;
  z-index: 1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card:hover::before {
  opacity: 1;
  animation: auraRotate 4000ms linear infinite;
}
.product-card-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 2;
  border: 1px solid var(--color-border-light);
  transition: border-color 250ms;
}
.product-card:hover .product-card-inner {
  border-color: transparent;
}
.product-card-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
}
@media (max-width: 767px) {
  .product-card-image {
    aspect-ratio: unset;
    height: 100px;
  }
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
/* Price badge — bottom-right */
.price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  z-index: 2;
}
/* Label badge — top-left */
.label-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 2;
}
/* Heart — top-right */
.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: none;
  transition:
    transform 150ms,
    background 150ms;
}
.heart-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}
.heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #c4aba4;
  fill: none;
  transition: all 150ms;
}
.heart-btn.active svg {
  stroke: #b91c1c;
  fill: #b91c1c;
}
/* Card body */
.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 767px) {
  .card-body {
    padding: 10px 10px 12px;
  }
}
.card-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .card-product-name {
    font-size: 13px;
  }
}
.card-weight {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .card-weight {
    font-size: 11px;
    margin-bottom: 8px;
  }
}
.btn-add-cart {
  width: 100%;
  height: 40px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.22);
  transition:
    box-shadow 150ms,
    transform 150ms;
  letter-spacing: 0.01em;
}
.btn-add-cart:hover {
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}
.btn-add-cart:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .btn-add-cart {
    height: 34px;
    font-size: 12px;
  }
}
.qty-controls {
  display: none;
  width: 100%;
  height: 40px;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.qty-controls.visible {
  display: flex;
}
@media (max-width: 767px) {
  .qty-controls {
    height: 34px;
  }
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.qty-btn:hover {
  background: var(--color-brand-teal-light);
}
.qty-count {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-teal);
  font-variant-numeric: tabular-nums;
}
/* ══ INFO SCROLL SECTION ════════════════════════════════════════════════ */
.info-scroll {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (max-width: 767px) {
  .info-scroll {
    padding: 60px 0;
  }
}
/* Art 2 — background */
.info-art {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  z-index: 0;
  pointer-events: none;
  animation: artFloat2 8000ms ease-in-out infinite;
}
.info-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat2 {
  0%,
  100% {
    transform: translateY(-50%) rotate(1deg);
  }
  50% {
    transform: translateY(calc(-50% - 18px)) rotate(-1deg);
  }
}
@media (max-width: 767px) {
  .info-art {
    width: 100%;
    right: -15%;
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.3;
    animation: none;
  }
}
.info-scroll .container {
  position: relative;
  z-index: 1;
}
/* WhatsApp section */
.wa-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .wa-section {
    margin-bottom: 60px;
  }
}
.wa-section .section-sub {
  max-width: 440px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: none;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition:
    background 150ms,
    transform 150ms;
}
.btn-whatsapp:hover {
  background: #1ea355;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Locations section */
.locations-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .locations-section {
    margin-bottom: 60px;
  }
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition:
    border-color 150ms,
    background 150ms,
    color 150ms;
}
.location-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.location-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-brand-wine);
}
.btn-find-branch {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 500;
  transition: gap 150ms;
}
.btn-find-branch:hover {
  gap: 12px;
}
.btn-find-branch svg {
  width: 16px;
  height: 16px;
}
/* How it works */
.hiw-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .hiw-section {
    margin-bottom: 60px;
  }
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
}
.hiw-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  z-index: 0;
  transition: transform 250ms ease;
}
.hiw-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.08;
  z-index: -1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.hiw-card:hover {
  transform: translateY(-4px);
}
.hiw-card:hover::before {
  opacity: 0.9;
  animation: auraRotate 4000ms linear infinite;
}
.hiw-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.28);
}
.hiw-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.hiw-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .hiw-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
  }
  .hiw-step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hiw-title {
    font-size: 17px;
  }
}
/* What we provide */
.wwd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.wwd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  transition:
    background 150ms,
    transform 150ms;
  cursor: pointer;
}
.wwd-chip:hover {
  background: var(--color-brand-teal-light);
  transform: translateY(-2px);
}
/* ══ FOOTER ═════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-footer-bg);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer {
    padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.footer-links {
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.4;
  display: block;
  transition: color 150ms;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-wa-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #25d366;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 150ms;
}
.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 150ms;
}
.footer-legal a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ══ MENU PAGE STYLES ════════════════════════════════════════════════ */
.page-header {
  padding: 104px 0 24px;
  background: #fff;
}
@media (max-width: 767px) {
  .page-header {
    padding: 76px 0 16px;
  }
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 32px;
  }
  .page-sub {
    font-size: 15px;
  }
}
.category-bar {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
}
@media (max-width: 767px) {
  .category-bar {
    top: 56px;
  }
}
.category-bar-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .category-bar-inner {
    padding: 0 16px;
  }
}
.category-bar-inner::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .category-bar-inner {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms ease;
}
@media (max-width: 767px) {
  .cat-pill {
    height: 36px;
    padding: 0 14px;
  }
}
.cat-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
}
.cat-pill.active {
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.active-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.active-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.1),
    rgba(185, 28, 28, 0.08)
  );
  border: 1px solid rgba(14, 116, 144, 0.28);
  border-radius: var(--radius-full);
  padding: 4px 10px 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
}
.active-chip-x {
  width: 16px;
  height: 16px;
  border: none;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.clear-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  margin-left: auto;
  white-space: nowrap;
  transition: color 150ms;
}
.clear-all-btn:hover {
  color: var(--color-text-primary);
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sort-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.sort-select {
  height: 40px;
  padding: 0 36px 0 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6A62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
  width: 180px;
}
@media (max-width: 767px) {
  .sort-select {
    width: 150px;
  }
}
.sort-select:focus {
  border-color: var(--color-brand-teal);
}
.products-section {
  padding: 0 0 80px;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 0 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.results-count span {
  font-weight: 700;
  color: var(--color-text-primary);
}
.card-out .product-card-image {
  filter: grayscale(50%) opacity(0.8);
}
.card-out .price-badge {
  background: var(--color-text-disabled) !important;
  box-shadow: none;
}
.card-out .btn-add-cart {
  background: var(--color-border-light);
  color: var(--color-text-disabled);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.skeleton {
  background: linear-gradient(90deg, #f2ede9 25%, #eae3de 50%, #f2ede9 75%);
  background-size: 200% 100%;
  animation: shimmer 1500ms linear infinite;
  border-radius: 4px;
}
.skeleton-card .product-card-inner {
  pointer-events: none;
}
.skeleton-img {
  aspect-ratio: 4/3;
  border-radius: 0;
}
@media (max-width: 767px) {
  .skeleton-img {
    aspect-ratio: unset;
    height: 100px;
  }
}
.skeleton-line {
  height: 14px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.skeleton-line.w70 {
  width: 70%;
}
.skeleton-line.w40 {
  width: 40%;
}
.skeleton-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .skeleton-btn {
    height: 34px;
  }
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-load-more {
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 40px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  background: var(--color-brand-teal-faint);
}
.btn-load-more svg {
  width: 18px;
  height: 18px;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--color-border-light);
}
.empty-icon svg {
  width: 56px;
  height: 56px;
}
.empty-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  transition: background 150ms;
}
.btn-ghost:hover {
  background: var(--color-brand-teal-faint);
}
/* ══ CART PAGE STYLES ════════════════════════════════════════════════ */
.cart-badge-nav {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-wrapper {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrapper {
    padding-top: 56px;
  }
}
.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}
@media (max-width: 767px) {
  .cart-page {
    padding: 24px 0 120px;
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.item-count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1px solid var(--color-brand-teal-light);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  vertical-align: middle;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 36px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
  flex-shrink: 0;
}
.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.cart-item-info-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}
@media (max-width: 767px) {
  .cart-item-info-wrap {
    display: flex;
  }
  .cart-item-info-wrap .cart-item-info {
    flex: 1;
    min-width: 0;
  }
}
.btn-remove-x {
  display: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 150ms;
  margin-top: 1px;
}
.btn-remove-x:hover {
  color: var(--color-brand-wine);
}
@media (max-width: 767px) {
  .btn-remove-x {
    display: flex;
  }
}
.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  word-break: break-word;
}
.cart-item-variant {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.cart-item-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.cart-item-mobile-actions {
  display: none;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  width: 120px;
  height: 40px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-qty-mobile {
  display: flex;
  align-items: center;
  width: 90px;
  height: 32px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.btn-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-text-disabled);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
  transition:
    color 150ms,
    background 150ms;
}
.btn-remove:hover {
  color: var(--color-brand-wine);
  background: var(--color-brand-wine-faint, #fff5f5);
}
.btn-remove svg {
  width: 18px;
  height: 18px;
}
.btn-remove-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-wine);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-remove-text:hover {
  color: var(--color-brand-wine-hover);
}
.instructions-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  width: 100%;
}
.instructions-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.instructions-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.field-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  resize: vertical;
  outline: none;
  line-height: 1.55;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-textarea::placeholder {
  color: var(--color-text-disabled);
}
.field-textarea:focus {
  background: #fff;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 28px;
  max-height: none;
  height: fit-content;
  align-self: start;
}
.summary-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.summary-row-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.summary-row-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.summary-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 16px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.summary-total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.promo-input {
  flex: 1;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
}
.promo-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}
.btn-apply {
  height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 150ms;
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--color-brand-teal-faint);
}
.promo-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.promo-success.visible {
  display: flex;
}
.promo-success-text {
  font-size: 13px;
  font-weight: 500;
  color: #047857;
}
.promo-success svg {
  width: 16px;
  height: 16px;
  color: #047857;
  flex-shrink: 0;
}
.btn-checkout {
  width: 100%;
  height: 52px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  margin-top: 20px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-checkout:active {
  transform: scale(0.97);
}
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.security-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-start-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-start-shopping:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms ease-out;
  pointer-events: none;
}
@media (max-width: 767px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: 100%;
  }
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 16px;
  height: 16px;
  stroke: #047857;
  stroke-width: 2.5;
  fill: none;
}
.toast-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.toast-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .cart-mobile-pad {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .cart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .cart-item-img-placeholder {
    font-size: 22px;
  }
  .cart-item-info-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
  }
  .cart-item-info {
    flex: 1;
    min-width: 0;
  }
  .cart-item-name {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  .cart-item-variant {
    font-size: 11px;
  }
  .cart-item-price-unit {
    font-size: 11px;
  }
  .cart-item-mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 8px;
  }
  .cart-item-qty-mobile {
    width: 84px;
    height: 30px;
  }
  .btn-remove-x {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 1px;
  }
  .cart-item-qty {
    display: none;
  }
  .cart-item-total {
    display: none;
  }
  .btn-remove {
    display: none;
  }
  .field-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
  .summary-card {
    position: static;
    margin-top: 20px;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .promo-row {
    gap: 6px;
  }
  .promo-input {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }
  .btn-apply {
    padding: 0 14px;
    font-size: 13px;
  }
  .btn-checkout {
    height: 48px;
    font-size: 14px;
  }
}
html,
body {
  height: auto;
  overflow-y: auto;
}
[ng-view] {
  min-height: 100vh;
}
/* ══ CHECKOUT PAGE STYLES ════════════════════════════════════════════ */
.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.form-section-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}
.form-field {
  margin-bottom: 16px;
}
.form-field:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 150ms;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-brand-teal);
}
.form-input::placeholder {
  color: var(--color-text-muted);
}
.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.fulfillment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.fulfillment-option svg {
  width: 22px;
  height: 22px;
}
.fulfillment-option:hover {
  border-color: var(--color-brand-teal);
}
.fulfillment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
/* ── Branch picker grid ── */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}
.branch-card {
  position: relative;
  text-align: left;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.branch-card:hover {
  border-color: var(--color-brand-teal);
}
.branch-card.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.branch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.branch-card-header > svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.branch-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}
.branch-card-check {
  width: 18px;
  height: 18px;
  color: var(--color-brand-teal);
  opacity: 0;
  transform: scale(0.7);
  transition: all 150ms;
}
.branch-card.active .branch-card-check {
  opacity: 1;
  transform: scale(1);
}
.branch-card-address {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.branch-card-hours {
  font-size: 12px;
  color: var(--color-brand-teal);
  margin: 0;
  font-weight: 500;
}
/* ── Polished select dropdown ── */
select.form-input {
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
select.form-input:hover {
  border-color: var(--color-brand-teal);
}
select.form-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
/* Style options where browser allows it (Chrome on most platforms respects this) */
select.form-input option {
  padding: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--color-text-primary);
}
select.form-input option:checked {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
  font-weight: 600;
}
.select-wrap {
  position: relative;
}
.field-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 8px 0 0 0;
  line-height: 1.4;
}
/* ── Payment options ── */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 767px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 150ms;
}
.payment-option:hover {
  border-color: var(--color-brand-teal);
}
.payment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.payment-option-icon svg {
  width: 20px;
  height: 20px;
}
.payment-option.active .payment-option-icon {
  background: var(--color-brand-teal);
  color: #fff;
}
.payment-option-body {
  flex: 1;
  min-width: 0;
}
.payment-option-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
}
.payment-option-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.payment-option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 150ms;
  flex-shrink: 0;
}
.payment-option-check svg {
  width: 12px;
  height: 12px;
}
.payment-option.active .payment-option-check {
  opacity: 1;
  transform: scale(1);
}
/* ── Optional badge ── */
.form-section-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.form-section-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: -10px 0 14px 0;
  line-height: 1.4;
}
/* ── Textarea ── */
.form-textarea {
  width: 100%;
  min-height: 90px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 150ms;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.form-textarea::placeholder {
  color: var(--color-text-muted);
}
/* ── Checkout order summary ── */
.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.checkout-item:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-info {
  min-width: 0;
}
.checkout-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-item-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.checkout-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.checkout-empty {
  text-align: center;
  padding: 20px;
  color: var(--color-text-secondary);
}
.checkout-empty p {
  margin: 0 0 12px 0;
}
/* ── Place Order button ── */
.btn-place-order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand-wine), #dc2626);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 150ms;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}
.btn-place-order:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}
.btn-place-order:active:not(:disabled) {
  transform: translateY(0);
}
.btn-place-order:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-place-order-total {
  font-weight: 500;
  opacity: 0.9;
}
.btn-place-order .spinner {
  width: 18px;
  height: 18px;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.checkout-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 14px 0 0 0;
  padding-bottom: 80px; /* space above bottom-tab-bar on mobile */
}
/* ══ ORDER CONFIRMATION PAGE STYLES ════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
.navbar-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
}
.navbar-secure svg {
  width: 14px;
  height: 14px;
}
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.confirm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 16px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) {
  .confirm-page {
    padding: 40px 16px 100px;
  }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.blob-teal {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.18) 0%,
    transparent 70%
  );
  animation: blobDrift1 14s ease-in-out infinite;
}
.blob-wine {
  width: 400px;
  height: 400px;
  top: -40px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.12) 0%,
    transparent 70%
  );
  animation: blobDrift2 17s ease-in-out infinite 2s;
}
.blob-amber {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: 30%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.11) 0%,
    transparent 70%
  );
  animation: blobDrift3 20s ease-in-out infinite 4s;
}
.progress {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
}
@media (max-width: 767px) {
  .progress {
    margin-bottom: 28px;
  }
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.progress-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-circle.done {
  background: var(--gcta);
  color: #fff;
}
.progress-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.progress-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--tp);
  white-space: nowrap;
}
.progress-label.inactive {
  color: var(--tm);
}
.progress-line {
  flex: 1;
  height: 1.5px;
  margin-top: 15px;
  min-width: 20px;
}
.progress-line.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.progress-line.inactive {
  background: var(--border);
}
.confirm-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 500ms var(--ease-out) 200ms forwards;
}
@media (max-width: 767px) {
  .confirm-card {
    padding: 32px 20px;
  }
}
.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0);
  animation: successPop 450ms var(--ease-spring) 500ms forwards;
}
.success-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.confirm-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 700ms forwards;
}
@media (max-width: 767px) {
  .confirm-heading {
    font-size: 26px;
  }
}
.confirm-sub {
  font-size: 16px;
  color: var(--ts);
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 800ms forwards;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}
.order-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 850ms forwards;
}
.order-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 920ms forwards;
}
@media (max-width: 767px) {
  .order-number {
    font-size: 18px;
  }
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 980ms forwards;
}
.branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.branch-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ts);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.date-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.actions {
  margin-top: 0;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 1080ms forwards;
}
.btn-track {
  width: 100%;
  height: 52px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  text-decoration: none;
}
.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-track:active {
  transform: scale(0.97);
}
.btn-shop {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 150ms;
  text-decoration: none;
}
.btn-shop:hover {
  background: var(--teal-f);
}
.call-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.call-link:hover {
  color: var(--teal-h);
}
.cancel-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
  transition: color 150ms;
}
.cancel-link:hover {
  color: var(--wine);
}
.next-steps {
  width: min(560px, 100%);
  margin-top: 32px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 500ms var(--ease-out) 1150ms forwards;
}
.next-steps-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}
.step-icon.teal {
  background: var(--teal-f);
}
.step-icon.amber {
  background: #fffbeb;
}
.step-icon.green {
  background: #d1fae5;
}
/* ══ ORDER CONFIRMATION — KEYFRAMES + LEGACY VAR ALIASES ═══════════════ */
/* Variable aliases (the original page uses short names, our project uses long names) */
:root {
  --teal: var(--color-brand-teal);
  --tp: var(--color-text-primary);
  --ts: var(--color-text-secondary);
  --tm: var(--color-text-muted);
  --td: var(--color-text-secondary);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --gbrand: linear-gradient(135deg, #0e7490, #6b21a8);
  --gcta: linear-gradient(135deg, #b91c1c, #d97706);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Keyframes */
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 30px);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ══ MY ORDERS PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
    padding-bottom: 80px;
  }
}
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 0 16px;
  }
}
.page-header {
  padding: 48px 0 32px;
}
@media (max-width: 767px) {
  .page-header {
    padding: 32px 0 20px;
  }
}
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .page-heading {
    font-size: 26px;
  }
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ts);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 150ms,
    border-color 150ms,
    color 150ms,
    box-shadow 150ms;
}
.filter-tab .tab-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--border);
  color: var(--tm);
  padding: 1px 6px;
  border-radius: 9999px;
  transition:
    background 150ms,
    color 150ms;
}
.filter-tab:hover {
  background: var(--teal-f);
  border-color: var(--teal);
}
.filter-tab.active {
  background: var(--teal-f);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-tab.active .tab-count {
  background: var(--teal);
  color: #fff;
}
@media (max-width: 767px) {
  .filter-tab {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}
.orders-list {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .orders-list {
    padding-bottom: 32px;
  }
}
.order-card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  z-index: 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms;
}
.order-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  transition: border-color 250ms;
  overflow: hidden;
}
.order-card:hover .order-card-inner {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}
.order-card:hover {
  transform: translateY(-2px);
}
.order-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  transition: opacity 300ms;
  pointer-events: none;
}
.order-card:hover::before {
  opacity: 0.65;
  animation: auraRotate 4000ms linear infinite;
}
.order-card-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) {
  .order-card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
.thumb-stack {
  display: flex;
  align-items: center;
}
.thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.thumb-img + .thumb-img {
  margin-left: -10px;
}
.thumb-more {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface);
  border: 2px solid #fff;
  margin-left: -10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .thumb-stack {
    display: none;
  }
}
.order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: 0.01em;
}
.order-meta {
  font-size: 13px;
  color: var(--tm);
  margin-top: 3px;
}
.order-summary {
  font-size: 13px;
  color: var(--ts);
  margin-top: 2px;
  line-height: 1.4;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-unpaid {
  background: #fef3c7;
  color: #92400e;
}
.badge-paid {
  background: #d1fae5;
  color: #047857;
}
.badge-cancelled {
  background: var(--wine-f);
  color: #991b1b;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-delivery {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-total-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.order-total-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--td);
  transition: color 150ms;
}
.order-card:hover .chevron-icon {
  color: var(--teal);
}
.mobile-row-1 {
  display: none;
}
.mobile-row-2 {
  display: none;
}
.mobile-row-3 {
  display: none;
}
@media (max-width: 600px) {
  .mobile-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-row-2 {
    display: block;
  }
  .mobile-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .desktop-only {
    display: none;
  }
}
.cancel-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cancel-link-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--wine);
  transition: color 150ms;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cancel-link-btn:hover {
  color: var(--wine-h);
}
.view-detail-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.view-detail-link:hover {
  color: var(--teal-h);
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--border2);
  fill: none;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-shop-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom));
  z-index: 2001;
  transform: translateY(110%);
  transition: transform 350ms var(--ease-smooth);
  max-width: 600px;
  margin: 0 auto;
}
.sheet-overlay.open .bottom-sheet {
  transform: translateY(0);
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: var(--border);
  margin: 0 auto 24px;
}
.sheet-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.sheet-sub {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 4px;
}
.sheet-order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 24px;
}
.sheet-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    background 150ms,
    transform 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
  transform: translateY(-1px);
}
.btn-keep-order {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.btn-keep-order:hover {
  background: var(--teal-f);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Keyframes ── */
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
/* ══ MY ORDERS — Variable aliases for legacy short names ═══════════════ */
:root {
  --wine: var(--color-brand-wine);
  --wine-h: var(--color-brand-wine-hover);
  --teal-f: var(--color-brand-teal-faint);
  --gold: #d97706;
  --aura-angle: 0deg;
}
/* Most CSS uses these short aliases inherited from the original page —
   defining them here keeps the original styles working without rewrites. */
/* ══ ORDER DETAIL PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 100px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 20px 16px 100px;
  }
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  margin-bottom: 24px;
  transition: gap 150ms;
}
.back-btn:hover {
  gap: 10px;
}
.back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .back-btn {
    font-size: 13px;
    margin-bottom: 16px;
  }
}
.order-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .order-title {
    font-size: 22px;
    gap: 8px;
  }
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-text {
  font-size: 14px;
  color: var(--tm);
}
@media (max-width: 767px) {
  .meta-text {
    font-size: 13px;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-paid {
  background: #d1fae5;
  color: #065f46;
}
.badge-preparing {
  background: #fef3c7;
  color: #92400e;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-cancelled {
  background: var(--wine-l);
  color: #991b1b;
}
.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 767px) {
  .timeline {
    flex-direction: column;
    gap: 0;
  }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}
@media (max-width: 767px) {
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    width: 100%;
    gap: 14px;
    padding-bottom: 0;
  }
}
.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-circle.done {
  background: var(--gcta);
  color: #fff;
}
.timeline-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.timeline-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (max-width: 767px) {
  .timeline-info {
    align-items: flex-start;
    padding-bottom: 20px;
  }
}
.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--tp);
  text-align: center;
}
.timeline-label.inactive {
  color: var(--tm);
}
.timeline-time {
  font-size: 11px;
  color: var(--tm);
}
.timeline-line {
  flex: 1;
  height: 1.5px;
  margin-top: 13px;
  min-width: 12px;
}
@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }
}
.timeline-line-v {
  display: none;
}
@media (max-width: 767px) {
  .timeline-line-v {
    display: block;
    width: 1.5px;
    height: 20px;
    margin-left: 13px;
    flex-shrink: 0;
  }
}
.timeline-line.done,
.timeline-line-v.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.timeline-line.inactive,
.timeline-line-v.inactive {
  background: var(--border);
}
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .order-item {
    gap: 10px;
  }
}
.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .order-item-thumb {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
.order-item-info {
  flex: 1;
  min-width: 0;
}
.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .order-item-name {
    font-size: 13px;
  }
}
.order-item-variant {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
@media (max-width: 767px) {
  .order-item-variant {
    font-size: 11px;
  }
}
.order-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.order-item-qty {
  font-size: 13px;
  color: var(--tm);
}
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .order-item-price {
    font-size: 13px;
  }
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-label {
  font-size: 14px;
  color: var(--tm);
  flex-shrink: 0;
}
.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp);
  text-align: right;
}
@media (max-width: 767px) {
  .detail-label,
  .detail-value {
    font-size: 13px;
  }
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}
.total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
}
.total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .total-label {
    font-size: 16px;
  }
  .total-value {
    font-size: 18px;
  }
}
.instructions-box {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.instructions-text {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  font-style: italic;
}
@media (max-width: 767px) {
  .instructions-text {
    font-size: 13px;
  }
}
.reorder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.06)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-reorder {
  background: var(--gbrand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.25);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-reorder:hover {
  transform: translateY(-1px);
}
.btn-cancel {
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
  transition: background 150ms;
}
.btn-cancel:hover {
  background: var(--wine-f);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 12, 10, 0.45);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  .modal-card {
    border-radius: 24px;
    padding: 32px;
  }
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .modal-handle {
    display: none;
  }
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.55;
  margin-bottom: 24px;
}
.modal-order-ref {
  display: inline-block;
  background: var(--surface);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 20px;
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
}
.btn-keep {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-keep:hover {
  background: var(--surface);
}
/* ══ FAVOURITES PAGE STYLES ══════════════════════════════════════════ */
.count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.products-section {
  padding: 0 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 16px 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--border);
}
.empty-icon svg {
  width: 64px;
  height: 64px;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 28px;
}
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.26);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
/* ══ PROFILE PAGE STYLES ═══════════════════════════════════════════ */
.profile-header {
  background: var(--surface);
  padding: 40px 48px;
  text-align: center;
}
@media (max-width: 767px) {
  .profile-header {
    padding: 28px 16px;
  }
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.28);
}
.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .profile-name {
    font-size: 20px;
  }
}
.profile-meta {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 14px;
}
.btn-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  transition: background 150ms;
}
.btn-edit-profile:hover {
  background: var(--teal-f);
}
.btn-edit-profile svg {
  width: 14px;
  height: 14px;
}
.sections-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 48px 100px;
}
@media (max-width: 767px) {
  .sections-wrap {
    padding: 20px 16px 100px;
  }
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
}
.btn-edit-section {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-edit-section:hover {
  color: var(--teal-h);
}
.field-display {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.field-display:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.field-display-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.field-display-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
@media (max-width: 767px) {
  .field-display-value {
    font-size: 14px;
  }
}
.edit-form {
  display: none;
}
.edit-form.open {
  display: block;
}
.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 5px;
}
.field-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-wrap {
  position: relative;
}
.pw-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.pw-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
}
.pw-toggle svg {
  width: 17px;
  height: 17px;
}
.edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-save {
  flex: 1;
  height: 44px;
  background: var(--gcta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-save:hover {
  opacity: 0.9;
}
.btn-cancel-edit {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-cancel-edit:hover {
  background: var(--surface);
}
.referral-card {
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.05)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .referral-card {
    padding: 18px 16px;
  }
}
.referral-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.referral-sub {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  margin-bottom: 18px;
}
.referral-code-box {
  background: #fff;
  border: 1.5px dashed rgba(14, 116, 144, 0.38);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.referral-code {
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .referral-code {
    font-size: 16px;
  }
}
.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: none;
  background: none;
  flex-shrink: 0;
  transition: color 150ms;
}
.btn-copy:hover {
  color: var(--teal-h);
}
.btn-copy svg {
  width: 16px;
  height: 16px;
}
.referral-stats {
  display: flex;
  gap: 32px;
}
.ref-stat p:first-child {
  font-size: 24px;
  font-weight: 800;
  color: var(--tp);
}
.ref-stat p:last-child {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  border-top: 1px solid rgba(14, 116, 144, 0.15);
  margin-top: 16px;
}
.accordion-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 200ms;
  flex-shrink: 0;
}
.accordion-toggle.open svg {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding-top: 12px;
}
.accordion-body.open {
  display: block;
}
.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.reward-row:last-child {
  border-bottom: none;
}
.reward-from {
  color: var(--ts);
}
.reward-amount {
  font-weight: 700;
  color: var(--teal);
}
.reward-date {
  font-size: 12px;
  color: var(--tm);
}
.action-row {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 150ms;
  border-radius: 6px;
}
.action-row:last-child {
  border-bottom: none;
}
.action-row:hover {
  background: var(--surface);
  padding: 0 8px;
  margin: 0 -4px;
}
.action-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-left svg {
  width: 20px;
  height: 20px;
  color: var(--tm);
  flex-shrink: 0;
}
.action-left span {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
.action-chevron {
  width: 16px;
  height: 16px;
  color: var(--td);
}
@media (max-width: 767px) {
  .action-left span {
    font-size: 14px;
  }
}
.action-row.danger .action-left svg {
  color: var(--wine);
}
.action-row.danger .action-left span {
  color: var(--wine);
}
.action-row.danger:hover {
  background: var(--wine-f);
}
.action-row.danger .action-chevron {
  display: none;
}
.otp-note {
  font-size: 12px;
  color: var(--tm);
  margin-top: 4px;
  line-height: 1.4;
}
/* ══ AUTH PAGE STYLES ══════════════════════════════════════════════ */
.auth-page{
  min-height:100dvh;
  display:flex;align-items:center;justify-content:center;
  padding:60px 16px calc(60px + env(safe-area-inset-bottom));
  background:#fff;
  position:relative;overflow:hidden;
}
.auth-page::before{
  content:'';position:absolute;
  width:520px;height:520px;top:-120px;left:-100px;
  background:radial-gradient(circle,rgba(14,116,144,0.18) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobA 14000ms ease-in-out infinite;
}
.auth-page::after{
  content:'';position:absolute;
  width:440px;height:440px;bottom:-100px;right:-80px;
  background:radial-gradient(circle,rgba(185,28,28,0.13) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobB 17000ms ease-in-out infinite 2000ms;
}
.auth-card{
  position:relative;z-index:1;
  width:100%;max-width:480px;
  background:#fff;
  border:1px solid var(--color-border-light);
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  padding:40px;
}
@media(max-width:767px) {
.auth-card{padding:28px 20px;border-radius:20px;}
}
.auth-logo{
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin-bottom:24px;
}
.auth-logo-mark{
  width:44px;height:44px;border-radius:50%;
  background:var(--gradient-cta);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  box-shadow:var(--shadow-cta);
}
.auth-logo-text{font-size:20px;font-weight:800;letter-spacing:-0.02em;color:var(--color-text-primary);}
.auth-heading{font-size:22px;font-weight:700;color:var(--color-text-primary);text-align:center;margin-bottom:6px;}
.auth-sub{font-size:14px;font-weight:400;color:var(--color-text-muted);text-align:center;margin-bottom:28px;line-height:1.50;}
.tab-switcher{
  display:flex;background:var(--color-surface);
  border-radius:10px;padding:4px;gap:4px;margin-bottom:28px;
}
.tab-sw-btn{
  flex:1;height:40px;border-radius:8px;border:none;background:transparent;
  font-size:14px;font-weight:600;color:var(--color-text-muted);
  transition:all 200ms ease;
}
.tab-sw-btn.active{
  background:#fff;color:var(--color-text-primary);
  box-shadow:var(--shadow-xs);
}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.field-group{margin-bottom:16px;}
.field-label{
  display:block;font-size:13px;font-weight:500;
  color:var(--color-text-secondary);margin-bottom:6px;letter-spacing:0.01em;
}
.field-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.field-input::placeholder{color:var(--color-text-disabled);}
.field-input:focus{
  background:#fff;
  border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.field-input.error{
  border-color:var(--color-brand-wine);
  box-shadow:0 0 0 4px rgba(185,28,28,0.10);
}
@media(max-width:767px) {
.field-input{height:48px;font-size:15px;}
}
.phone-wrap{
  display:flex;align-items:center;
  background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  overflow:hidden;transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.phone-wrap:focus-within{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.phone-prefix{
  padding:0 12px 0 16px;font-size:16px;font-weight:500;
  color:var(--color-text-primary);white-space:nowrap;flex-shrink:0;
  border-right:1px solid var(--color-border-light);
}
.phone-input{
  flex:1;height:52px;border:none;background:transparent;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
}
.phone-input::placeholder{color:var(--color-text-disabled);}
@media(max-width:767px) {
.phone-input{height:48px;font-size:15px;}
}
.pw-wrap{position:relative;}
.pw-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 48px 0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.pw-input::placeholder{color:var(--color-text-disabled);}
.pw-input:focus{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.pw-toggle{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:var(--color-text-muted);transition:color 150ms;
}
.pw-toggle:hover{color:var(--color-text-primary);}
.pw-toggle svg{width:18px;height:18px;}
@media(max-width:767px) {
.pw-input{height:48px;font-size:15px;}
}
.field-helper{font-size:12px;color:var(--color-text-muted);margin-top:5px;line-height:1.40;}
.field-error{
  display:none;font-size:12px;color:var(--color-brand-wine);
  margin-top:5px;align-items:center;gap:4px;
}
.field-error.visible{display:flex;}
.field-error svg{width:13px;height:13px;flex-shrink:0;}
.forgot-row{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:20px;}
.forgot-link{font-size:13px;font-weight:500;color:var(--color-brand-teal);background:none;border:none;transition:color 150ms;}
.forgot-link:hover{color:var(--color-brand-teal-hover);}
.btn-primary{
  width:100%;height:52px;background:var(--gradient-cta);
  color:#fff;font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  box-shadow:0 4px 16px rgba(185,28,28,0.28);
  transition:transform 150ms,box-shadow 150ms;letter-spacing:0.01em;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-primary:active{transform:scale(0.97);}
.btn-primary:disabled{opacity:0.50;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-spinner{
  width:20px;height:20px;border:2px solid rgba(255,255,255,0.40);
  border-top-color:#fff;border-radius:50%;
  animation:spin 600ms linear infinite;display:none;
}
.btn-primary.loading .btn-text{display:none;}
.btn-primary.loading .btn-spinner{display:block;}
.divider{
  display:flex;align-items:center;gap:12px;margin:24px 0;
}
.divider-line{flex:1;height:1px;background:var(--color-border-light);}
.divider-text{font-size:13px;font-weight:400;color:var(--color-text-muted);white-space:nowrap;}
.social-row{display:flex;gap:12px;}
.btn-social{
  flex:1;height:48px;background:var(--color-surface);
  border:1px solid var(--color-border-light);border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--color-text-primary);
  transition:background 150ms,border-color 150ms;
}
.btn-social:hover{background:var(--color-surface-2);border-color:var(--color-border);}
.btn-social svg{width:20px;height:20px;flex-shrink:0;}
.terms-note{
  font-size:12px;color:var(--color-text-muted);text-align:center;margin-top:14px;line-height:1.55;
}
.terms-note a{color:var(--color-brand-teal);font-weight:500;}
.terms-note a:hover{text-decoration:underline;}
.forgot-back{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-brand-teal);
  border:none;background:none;margin-top:16px;transition:gap 150ms;
}
.forgot-back:hover{gap:10px;}
.forgot-back svg{width:16px;height:16px;}
.forgot-desc{font-size:14px;color:var(--color-text-secondary);text-align:center;line-height:1.60;margin:10px 0 24px;}
.reset-success{
  display:none;text-align:center;padding:20px 0;
}
.reset-success.active{display:block;}
.success-circle{
  width:64px;height:64px;border-radius:50%;
  background:var(--color-success);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  box-shadow:0 6px 20px rgba(4,120,87,0.28);
}
.success-circle svg{width:28px;height:28px;stroke:#fff;stroke-width:2.5;}
.success-heading{font-size:18px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px;}
.success-sub{font-size:14px;color:var(--color-text-muted);line-height:1.55;}
.back-home{
  position:absolute;z-index:2;
  top:24px;left:48px;
  display:flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-text-muted);
  transition:color 150ms;
}
.back-home:hover{color:var(--color-brand-teal);}
.back-home:hover svg{transform:translateX(-3px);}
.back-home svg{width:16px;height:16px;transition:transform 150ms;}
@media(max-width:767px) {
.back-home{top:20px;left:16px;font-size:13px;}
}
@keyframes blobA{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,20px) scale(1.06);}}
@keyframes blobB{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-25px,-20px) scale(1.05);}}
@keyframes spin{to{transform:rotate(360deg);}}
/* ══ CONTACT PAGE STYLES ══════════════════════════════════════════ */
.map-section{max-width:1280px;margin:0 auto;padding:0 48px 64px;}
@media(max-width:767px) {
.map-section{padding:0 16px 48px;}
}
.map-branches-grid{display:grid;grid-template-columns:1fr 400px;gap:32px;align-items:start;}
@media(max-width:1023px) {
.map-branches-grid{grid-template-columns:1fr;}
}
.map-container{
  height:560px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(135deg,var(--teal-f) 0%,var(--surface) 100%);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;
  position:sticky;top:80px;
}
@media(max-width:1023px) {
.map-container{height:260px;position:static;border-radius:16px;}
}
.map-placeholder-icon{font-size:48px;}
.map-placeholder-text{font-size:15px;font-weight:500;color:var(--teal);text-align:center;padding:0 20px;}
.map-placeholder-sub{font-size:13px;color:var(--tm);text-align:center;}
.branch-list{display:flex;flex-direction:column;gap:12px;}
.branch-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:20px;cursor:pointer;
  transition:border-color 200ms,box-shadow 200ms;
  position:relative;
}
.branch-card:hover,.branch-card.active-map{
  border-color:var(--teal);
  box-shadow:0 4px 16px rgba(14,116,144,0.14);
}
.branch-card-row1{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.branch-name{font-size:16px;font-weight:700;color:var(--tp);}
.badge-open{display:inline-flex;align-items:center;gap:5px;background:#D1FAE5;color:#065F46;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.badge-open-dot{width:6px;height:6px;border-radius:50%;background:#047857;flex-shrink:0;}
.badge-closed{display:inline-flex;align-items:center;gap:5px;background:var(--wine-l);color:#991B1B;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.branch-addr{font-size:13px;color:var(--ts);margin-bottom:3px;}
.branch-hours{font-size:13px;color:var(--tm);margin-bottom:4px;}
.branch-phone{font-size:13px;font-weight:500;color:var(--teal);display:flex;align-items:center;gap:5px;margin-bottom:12px;}
.branch-phone svg{width:13px;height:13px;flex-shrink:0;}
.branch-btns{display:flex;gap:8px;flex-wrap:wrap;}
.btn-wa{display:inline-flex;align-items:center;gap:6px;background:rgba(37,211,102,0.10);border:1px solid rgba(37,211,102,0.30);color:#16A34A;font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-wa:hover{background:rgba(37,211,102,0.18);}
.btn-wa svg{width:15px;height:15px;flex-shrink:0;}
.btn-directions{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);color:var(--ts);font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-directions:hover{background:var(--surface2);}
.btn-directions svg{width:14px;height:14px;flex-shrink:0;}
.contact-form-section{background:var(--surface);padding:64px 48px;margin-top:0;}
@media(max-width:767px) {
.contact-form-section{padding:48px 16px;}
}
.contact-form-inner{max-width:1280px;margin:0 auto;}
.contact-form-heading{font-size:32px;font-weight:700;color:var(--tp);letter-spacing:-0.02em;text-align:center;margin-bottom:8px;}
.contact-form-sub{font-size:16px;color:var(--ts);text-align:center;max-width:440px;margin:0 auto 40px;}
@media(max-width:767px) {
.contact-form-heading{font-size:24px;}
.contact-form-sub{font-size:14px;margin-bottom:28px;}
}
.contact-methods{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-bottom:48px;}
@media(max-width:767px) {
.contact-methods{gap:12px;margin-bottom:32px;}
}
.contact-method-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 20px;text-align:center;min-width:160px;flex:1;max-width:200px;}
@media(max-width:767px) {
.contact-method-card{padding:18px 14px;min-width:unset;}
}
.method-icon-circle{width:52px;height:52px;border-radius:50%;background:var(--gcta);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:22px;}
.method-label{font-size:11px;font-weight:600;color:var(--tm);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:4px;}
.method-value{font-size:15px;font-weight:700;color:var(--tp);}
@media(min-width:768px) {
.method-value{font-size:13px;word-break:break-word;text-align:center;}
}
@media(max-width:767px) {
.method-value{font-size:13px;}
}
.contact-form{max-width:560px;margin:0 auto;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;}
@media(max-width:767px) {
.field-row{grid-template-columns:1fr;}
}
.field-textarea{width:100%;min-height:120px;background:#fff;border:1.5px solid var(--border);border-radius:10px;padding:14px 16px;font-size:15px;color:var(--tp);outline:none;resize:vertical;line-height:1.55;transition:border-color 150ms,box-shadow 150ms;}
.field-textarea::placeholder{color:var(--td);}
.field-textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(14,116,144,0.12);}
@media(max-width:767px) {
.field-textarea{font-size:14px;}
}
.btn-send{width:100%;height:52px;background:var(--gcta);color:#fff;font-size:15px;font-weight:600;border:none;border-radius:10px;margin-top:4px;box-shadow:0 4px 16px rgba(185,28,28,0.26);transition:transform 150ms,box-shadow 150ms;display:flex;align-items:center;justify-content:center;gap:8px;}
.btn-send:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-send:active{transform:scale(0.97);}
.form-success{display:none;text-align:center;padding:40px 20px;}
.form-success.visible{display:block;}
/* ══ JOIN GROUP PAGE STYLES ════════════════════════════════════════ */
.hero-banner{
  background:var(--surface);
  padding:64px 48px 56px;
  text-align:center;
}
@media(max-width:767px) {
.hero-banner{padding:40px 16px 36px;}
}
.hero-title{font-size:48px;font-weight:800;color:var(--tp);letter-spacing:-0.02em;line-height:1.08;margin-bottom:14px;}
@media(max-width:767px) {
.hero-title{font-size:28px;}
}
.hero-sub{font-size:18px;font-weight:400;color:var(--ts);line-height:1.65;max-width:520px;margin:0 auto;}
@media(max-width:767px) {
.hero-sub{font-size:15px;}
}
.cards-section{padding:48px 48px 40px;max-width:1280px;margin:0 auto;}
@media(max-width:767px) {
.cards-section{padding:28px 16px 24px;}
}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media(max-width:1023px) {
.cards-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
}
@media(max-width:767px) {
.cards-grid{grid-template-columns:1fr;gap:14px;}
}
.wa-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:28px 24px;text-align:center;
  position:relative;z-index:0;
  transition:transform 250ms ease,border-color 250ms;
}
.wa-card::before{
  content:'';position:absolute;inset:-18px;border-radius:38px;
  background:conic-gradient(from var(--aura-angle,0deg),
    rgba(14,116,144,0.55),rgba(185,28,28,0.50),
    rgba(217,119,6,0.45),rgba(107,33,168,0.40),
    rgba(14,116,144,0.55));
  filter:blur(22px);opacity:0.08;z-index:-1;
  transition:opacity 300ms ease;pointer-events:none;
}
.wa-card:hover{transform:translateY(-4px);}
.wa-card:hover::before{opacity:0.90;animation:auraRotate 4000ms linear infinite;}
.wa-icon-circle{
  width:56px;height:56px;border-radius:50%;
  background:rgba(37,211,102,0.12);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.wa-icon-circle svg{width:28px;height:28px;}
.wa-branch-name{font-size:18px;font-weight:700;color:var(--tp);margin-bottom:4px;}
.wa-branch-addr{font-size:13px;color:var(--tm);margin-bottom:6px;line-height:1.45;}
.wa-delivery-days{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:6px;}
.wa-day-pill{background:var(--amber);background:linear-gradient(135deg,rgba(217,119,6,0.12),rgba(217,119,6,0.08));border:1px solid rgba(217,119,6,0.25);color:var(--amber);font-size:11px;font-weight:600;padding:2px 10px;border-radius:9999px;}
.wa-members{font-size:13px;color:var(--tm);margin-bottom:18px;}
.btn-join-wa{
  width:100%;height:48px;
  background:#25D366;color:#fff;
  font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 4px 16px rgba(37,211,102,0.28);
  transition:background 150ms,transform 150ms;
}
.btn-join-wa:hover{background:#1EA355;transform:translateY(-1px);}
.btn-join-wa svg{width:20px;height:20px;flex-shrink:0;}
.request-card{
  background:transparent;
  border:2px dashed var(--border);
  border-radius:20px;padding:28px 24px;
  text-align:center;cursor:pointer;
  transition:border-color 200ms,background 200ms;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:200px;
}
.request-card:hover{border-color:var(--teal);background:var(--teal-f);}
.request-plus{
  width:44px;height:44px;border-radius:50%;
  background:var(--surface);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;font-size:22px;
  transition:background 200ms;
}
.request-card:hover .request-plus{background:var(--teal-l);}
.request-label{font-size:16px;font-weight:600;color:var(--ts);margin-bottom:4px;}
.request-sub{font-size:13px;color:var(--tm);}
.terms-note{
  text-align:center;
  max-width:520px;margin:0 auto;
  padding:0 48px 60px;
  font-size:13px;color:var(--tm);line-height:1.65;
}
@media(max-width:767px) {
.terms-note{padding:0 16px 80px;}
}
.terms-note a{color:var(--teal);font-weight:500;}
/* ════════════════════════════════════════════════════════════════════
   STEP 1 — GLOBAL POLISH: SPACING TOKENS + UNIFORM CARDS
   These rules override earlier per-page rules to enforce consistency.
   ════════════════════════════════════════════════════════════════════ */
/* ── Spacing tokens ── */
:root {
  --space-page-top:   32px;
  --space-section-y:  48px;
  --space-card-gap:   16px;
  --space-page-bot:   80px;
  --navbar-h:         64px;
}
@media (max-width: 767px) {
  :root {
    --space-page-top:  16px;
    --space-section-y: 32px;
    --space-card-gap:  12px;
    --space-page-bot:  100px; /* extra space for bottom-tab-bar */
    --navbar-h:        56px;
  }
}
/* ── Eliminate navbar whitespace globally ── */
.page-wrapper,
.page-wrap {
  padding-top: var(--navbar-h) !important;
  min-height: 100vh;
  box-sizing: border-box;
}
/* All page-headers should have consistent compact spacing — no big empty gap below navbar */
.page-header {
  padding: var(--space-page-top) 0 24px !important;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .page-header {
    padding: var(--space-page-top) 0 16px !important;
  }
}
/* Page containers — uniform gutters */
.page-container,
.cart-mobile-pad {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: var(--space-page-bot);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Section gaps ── */
.section-card,
.form-section,
.products-section,
.map-section,
.contact-form-section,
.cards-section {
  margin-bottom: var(--space-section-y);
}
.section-card:last-child,
.form-section:last-child {
  margin-bottom: 0;
}
/* ── Uniform product cards (landing, menu, favourites) ── */
.product-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-image {
  height: 220px !important;
  flex-shrink: 0;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-add-cart,
.card-body .qty-controls {
  margin-top: auto; /* pin Add to Cart / qty to bottom of card */
}
/* Product grids — uniform gap */
.products-grid,
.bs-grid {
  gap: var(--space-card-gap) !important;
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — LAYOUT & POLISH FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Drop the min-height on product cards (let them size naturally) ── */
.product-card {
  min-height: auto !important;
}
/* ── Tighter hover aura — stays inside the card area ── */
.product-card,
.bs-grid .product-card {
  position: relative;
  overflow: visible;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.10),
              0 4px 8px rgba(14, 116, 144, 0.06);
  z-index: 1;
}
/* Kill any aura ::before / ::after pseudos that may bleed */
.product-card::before,
.product-card::after {
  display: none !important;
}
/* ── Fix navbar overlap — proper top padding on every page ── */
:root { --navbar-h: 80px; }
@media (max-width: 767px) { :root { --navbar-h: 64px; } }
.page-wrap,
.page-wrapper {
  padding-top: var(--navbar-h) !important;
  box-sizing: border-box;
  min-height: 100vh;
}
/* Page-headers should have breathing room below the navbar — but not too much */
.page-header {
  padding: 28px 0 20px !important;
}
@media (max-width: 767px) {
  .page-header { padding: 20px 0 14px !important; }
}
/* ── Consistent page gutters across all pages ── */
.page-container,
.cart-mobile-pad,
.page-wrap > .container,
.page-wrap > .page-header,
.page-wrap > .map-section,
.page-wrap > .contact-form-section,
.page-wrap > .cards-section,
.page-wrap > .terms-note,
.page-wrap > .hero-banner,
.page-wrap > .sections-wrap,
.page-wrap > .profile-header {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad,
  .page-wrap > .container,
  .page-wrap > .page-header,
  .page-wrap > .map-section,
  .page-wrap > .contact-form-section,
  .page-wrap > .cards-section,
  .page-wrap > .terms-note,
  .page-wrap > .hero-banner,
  .page-wrap > .sections-wrap,
  .page-wrap > .profile-header {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Update Password button → full width ── */
.section-card .btn-save {
  width: 100%;
}
/* ════════════════════════════════════════════════════════════════════
   NAVBAR DROPDOWNS — Menu (categories) & Profile (user actions)
   ════════════════════════════════════════════════════════════════════ */
.navbar-link-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 12, 10, 0.10);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 1000;
}
/* Open on hover (entire wrap including the trigger + dropdown bridge) */
.navbar-link-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Profile dropdown anchors to the right edge */
.navbar-link-wrap.right .nav-dropdown {
  left: auto;
  right: 0;
}
/* Each dropdown item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
.nav-dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-dropdown-item .emoji {
  width: 20px;
  display: inline-block;
  text-align: center;
  font-size: 16px;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 6px 4px;
}
.nav-dropdown-item.danger {
  color: var(--color-brand-wine);
}
.nav-dropdown-item.danger:hover {
  background: rgba(185, 28, 28, 0.06);
  color: var(--color-brand-wine);
}
/* Hover bridge — invisible padding under trigger so dropdown doesn't close while moving */
.navbar-link-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
/* Hide dropdowns on mobile (drawer handles those) */
@media (max-width: 767px) {
  .nav-dropdown { display: none !important; }
  .navbar-link-wrap::after { display: none; }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — POST-REVIEW FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Wider, nicer dropdowns ── */
.nav-dropdown {
  min-width: 260px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 16px 48px rgba(26, 12, 10, 0.10),
              0 4px 12px rgba(26, 12, 10, 0.05) !important;
}
.nav-dropdown-item {
  padding: 12px 14px !important;
  font-size: 14px;
  border-radius: 10px !important;
  gap: 12px !important;
  letter-spacing: -0.005em;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint) !important;
}
.nav-dropdown-item .emoji {
  font-size: 18px;
  width: 22px;
}
.nav-dropdown-item svg {
  color: var(--color-text-secondary);
}
.nav-dropdown-item:hover svg {
  color: var(--color-brand-teal);
}
.nav-dropdown-divider {
  margin: 8px 6px !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
/* Section labels above grouped items (subtle, uppercase) */
.nav-dropdown-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 8px 14px 6px;
}
/* ── Card hover: slightly more visible ── */
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.14),
              0 6px 12px rgba(14, 116, 144, 0.08) !important;
}
/* ════════════════════════════════════════════════════════════════════
   ORDER DETAIL — Timeline layout fix
   The original timeline was a vertical-timeline pattern but rendering
   horizontally in a broken way. Rebuild as a clean horizontal stepper.
   ════════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 12px 0 8px;
  margin: 8px 0 4px;
}
/* Each timeline cell holds a circle + label below */
.timeline > div {
  display: contents;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6px;
}
.timeline-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  transition: all 200ms;
}
.timeline-circle.done {
  background: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  color: #fff;
}
.timeline-circle.active {
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  gap: 2px;
}
.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}
.timeline-time {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Horizontal connector line between circles */
.timeline-line {
  position: absolute;
  top: 28px;  /* aligns with center of circles (12px padding + 16px to circle center) */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
/* Compute positions for the 3 connectors between 4 steps */
.timeline > div:nth-child(1) .timeline-line { left: 50%;  right: -50%; }
.timeline > div:nth-child(2) .timeline-line { left: 0%;   right: 0%; }
.timeline > div:nth-child(3) .timeline-line { left: -50%; right: 50%; }
/* Hide the vertical-line variants from the original markup */
.timeline-line-v {
  display: none !important;
}
/* Mobile: smaller labels, vertical layout fallback */
@media (max-width: 600px) {
  .timeline-label {
    font-size: 11px;
  }
  .timeline-time {
    font-size: 10px;
  }
  .timeline-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .timeline-line {
    top: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — REFINEMENTS: frosted dropdowns + clipped timeline + true aura
   ════════════════════════════════════════════════════════════════════ */
/* ── Frosted-glass dropdowns ── */
.nav-dropdown {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 16px 48px rgba(26, 12, 10, 0.12),
    0 4px 12px rgba(26, 12, 10, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
.nav-dropdown-item:hover {
  background: rgba(207, 250, 254, 0.6) !important;  /* translucent teal-faint */
}
/* ── Timeline: clip connector lines to BETWEEN circles only ── */
/* Reset old broken positioning */
.timeline > div:nth-child(1) .timeline-line,
.timeline > div:nth-child(2) .timeline-line,
.timeline > div:nth-child(3) .timeline-line {
  left: auto !important;
  right: auto !important;
}
/* New approach: line spans from center of THIS step to center of NEXT step */
.timeline-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 22px);   /* start just past current circle's right edge */
  width: calc(100% - 44px); /* end just before next circle's left edge */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
@media (max-width: 600px) {
  .timeline-line {
    top: 24px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }
}
/* ── True hover aura: glowing gradient behind card ── */
/* Re-enable ::after for the aura (we disabled it earlier) */
.product-card::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(14, 116, 144, 0.35) 0%,
    rgba(217, 119, 6, 0.25) 35%,
    rgba(185, 28, 28, 0.18) 60%,
    transparent 75%
  );
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  transform: scale(0.92);
}
.product-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Make sure card has positioning context + sits above its own aura */
.product-card {
  position: relative;
  isolation: isolate;
}
/* Reduce card's outer shadow on hover so the aura is the dominant effect */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 18px rgba(26, 12, 10, 0.06) !important;
}
/* ── Menu dropdown: 2-column grid ── */
/* Target ONLY the menu dropdown, not the profile one */
.navbar-link-wrap > .nav-dropdown {
  min-width: 380px !important;
}
/* The category items in the menu dropdown become a 2-col grid.
   We wrap them with a container in the HTML below. */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown-grid .nav-dropdown-item {
  padding: 10px 12px !important;
}
/* Profile dropdown stays single column — the 'right' modifier */
.navbar-link-wrap.right > .nav-dropdown {
  min-width: 240px !important;
}
/* ════════════════════════════════════════════════════════════════════
   HERO — auto-rotating artwork crossfade + dot indicators
   ════════════════════════════════════════════════════════════════════ */
.hero-art {
  position: absolute;
  /* keep existing positioning rules — these are added on top */
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art-img.active {
  opacity: 1;
}
/* ── Dot indicators ── */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 12, 10, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 250ms ease;
  position: relative;
}
.hero-dot::before {
  content: '';
  position: absolute;
  inset: -10px;  /* expanded hit area for fingers */
}
.hero-dot:hover {
  background: rgba(26, 12, 10, 0.4);
  transform: scale(1.2);
}
.hero-dot.active {
  background: var(--color-brand-teal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .hero-dots {
    bottom: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   HERO ROTATION FIX + COMPRESS HEIGHT
   ════════════════════════════════════════════════════════════════════ */
/* Override the original .hero-art img rule that's forcing all images visible */
.hero-art img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  transition: opacity 1000ms ease-in-out !important;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art img.active {
  opacity: 1 !important;
}
/* ── Compress hero so Best Sellers peeks above the fold on desktop ── */
.hero {
  min-height: 75vh !important;
}
@media (max-width: 767px) {
  .hero {
    min-height: 88vh !important;  /* mobile keeps more height since stacked */
  }
}
/* Tighten hero internal padding too */
.hero-content {
  padding-top: 80px;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .hero-content {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
/* ══════════════════════════════════════════════════════════════════════
   LANDING PAGE — scoped to .home-page only
   Items: hero height, best-sellers visibility, buy-now card button
   ══════════════════════════════════════════════════════════════════════ */
/* 1. Hero: reduce height so Best Sellers peek above fold on desktop */
.home-page .hero {
  height: 78vh !important;
  min-height: 560px !important;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 40px;
  }
}
/* 2. Hero content: tighter vertical padding inside hero */
.home-page .hero-content {
  padding-top: 72px;
  padding-bottom: 48px;
}
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: 56px;
    padding-bottom: 32px;
  }
}
/* 3. Best Sellers section: slight top trim so it peeks on desktop */
.home-page .best-sellers {
  padding-top: 32px;
}
@media (max-width: 767px) {
  .home-page .best-sellers {
    padding-top: 20px;
  }
}
/* 4. Buy Now card button — appears below qty controls when item is in cart */
.lp-btn-buy-now {
  width: 100%;
  height: 36px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.01em;
  transition: opacity 150ms ease, transform 150ms ease;
  flex-shrink: 0;
}
.lp-btn-buy-now:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.lp-btn-buy-now:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .lp-btn-buy-now {
    height: 30px;
    font-size: 11px;
    margin-top: 4px;
  }
}
/* ══ MOBILE TAB BAR — cart badge position fix ══════════════════════════ */
.tab-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tab-cart-badge {
  position: absolute;
  top: -14px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
}
/* ══ TOKENS ═════════════════════════════════════════════════════════════ */
:root {
  --color-brand-teal: #0e7490;
  --color-brand-teal-hover: #0c6680;
  --color-brand-teal-light: #cffafe;
  --color-brand-teal-faint: #ecfeff;
  --color-brand-wine: #b91c1c;
  --color-brand-wine-hover: #991b1b;
  --color-brand-wine-light: #fee2e2;
  --color-brand-wine-faint: #fff5f5;
  --color-brand-amber: #d97706;
  --color-brand-amber-hover: #b45309;
  --color-brand-amber-light: #fef3c7;
  --color-brand-amber-faint: #fffbeb;
  --color-brand-violet: #6b21a8;
  --color-brand-violet-light: #f3e8ff;
  --color-brand-violet-faint: #faf5ff;
  --gradient-brand: linear-gradient(135deg, #0e7490 0%, #6b21a8 100%);
  --gradient-cta: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  --color-footer-bg: #0c1a1a;
  --color-footer-surf: #142222;
  --color-white: #ffffff;
  --color-surface: #f9f6f4;
  --color-surface-2: #f2ede9;
  --color-border-light: #ede5e0;
  --color-border: #ddd0ca;
  --color-text-primary: #1a0c0a;
  --color-text-secondary: #4a2820;
  --color-text-muted: #8a6a62;
  --color-text-disabled: #c4aba4;
  --color-success: #047857;
  --color-success-light: #d1fae5;
  --shadow-xs: 0 1px 2px rgba(26, 12, 10, 0.05);
  --shadow-sm:
    0 1px 4px rgba(26, 12, 10, 0.07), 0 1px 2px rgba(26, 12, 10, 0.04);
  --shadow-md:
    0 4px 16px rgba(26, 12, 10, 0.09), 0 2px 6px rgba(26, 12, 10, 0.04);
  --shadow-lg:
    0 12px 40px rgba(26, 12, 10, 0.11), 0 4px 12px rgba(26, 12, 10, 0.05);
  --shadow-xl:
    0 24px 64px rgba(26, 12, 10, 0.13), 0 8px 24px rgba(26, 12, 10, 0.06);
  --shadow-brand:
    0 8px 32px rgba(14, 116, 144, 0.3), 0 2px 8px rgba(14, 116, 144, 0.15);
  --shadow-cta:
    0 8px 24px rgba(185, 28, 28, 0.35), 0 2px 8px rgba(217, 119, 6, 0.22);
  --shadow-navbar:
    0 1px 4px rgba(26, 12, 10, 0.06), 0 2px 12px rgba(26, 12, 10, 0.04);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ══ RESET ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  background: #fff;
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
}
/* ══ CONTAINER ══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}
/* ══ NAVBAR ═════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    box-shadow 300ms ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--shadow-navbar);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.navbar-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-cta);
  flex-shrink: 0;
}
.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-right: 32px;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 12, 10, 0.7);
  padding: 4px 0;
  position: relative;
  transition: color 150ms ease;
}
.navbar-links a:hover {
  color: var(--color-text-primary);
}
.navbar-links a.active {
  color: var(--color-brand-teal);
}
.navbar-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 12, 10, 0.7);
  border-radius: var(--radius-sm);
  transition:
    background 150ms,
    color 150ms;
}
.navbar-icon-btn:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}
.navbar-icon-btn svg {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-join-nav {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-join-nav:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}
/* Mobile navbar */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26, 12, 10, 0.75);
  border-radius: 2px;
  transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}
@media (max-width: 1023px) {
  .navbar-inner {
    padding: 0 16px;
    justify-content: space-between;
  }
  .navbar-links,
  .btn-join-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    margin-right: 0;
  }
  .navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .navbar-logo-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .navbar-logo-text {
    font-size: 14px;
  }
  .navbar-actions {
    gap: 2px;
  }
  .navbar.scrolled {
    height: 56px;
  }
}
/* ══ DRAWER ═════════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(80vw, 320px);
  height: 100dvh;
  background: #fff;
  box-shadow: 8px 0 48px rgba(12, 26, 26, 0.22);
  border-radius: 0 24px 24px 0;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-110%);
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  height: 64px;
  padding: 0 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-light);
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.drawer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 20px;
  transition: background 150ms;
}
.drawer-close:hover {
  background: var(--color-surface);
}
.drawer-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px 8px;
  display: block;
}
.drawer-item {
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-item:hover {
  background: var(--color-surface);
}
.drawer-item.active {
  background: var(--color-brand-teal-faint);
  border-left: 3px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.drawer-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.drawer-item span {
  font-size: 16px;
  font-weight: 500;
}
.drawer-cat-item {
  height: 48px;
  padding: 0 20px 0 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-cat-item:hover {
  background: var(--color-surface);
}
.drawer-cat-item span {
  font-size: 15px;
  font-weight: 500;
}
.drawer-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 4px 0;
}
.drawer-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-light);
}
.btn-drawer-cta {
  width: 100%;
  height: 50px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-drawer-cta:hover {
  opacity: 0.9;
}
/* ══ BOTTOM TAB BAR ═════════════════════════════════════════════════════ */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(200%);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 16px rgba(26, 12, 10, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 999;
}
@media (max-width: 767px) {
  .bottom-tab-bar {
    display: flex;
  }
}
.tab-bar-inner {
  display: flex;
  width: 100%;
}
.tab-btn {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  transition: color 150ms;
}
.tab-btn.active {
  color: var(--color-brand-teal);
}
.tab-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 0 0 3px 3px;
}
.tab-btn svg {
  width: 24px;
  height: 24px;
}
.tab-btn span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* ══ HERO ════════════════════════════════════════════════════════════════ */
.home-page .hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 82vh;
  min-height: 700px;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: 45dvh;
    min-height: 380px;
  }
}
/* Ambient blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.22) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  animation: blobDrift1 14000ms ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -40px;
  right: -20px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(52px);
  animation: blobDrift2 17000ms ease-in-out infinite 2000ms;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-amber {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -40px;
  left: 20%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(56px);
  animation: blobDrift3 20000ms ease-in-out infinite 4000ms;
  pointer-events: none;
  z-index: 0;
}
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(35px, 25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 45px) scale(0.97);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-25px, 35px) scale(1.07);
  }
  70% {
    transform: translate(18px, -28px) scale(0.95);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, -18px) scale(1.08);
  }
}
@media (max-width: 767px) {
  .hero::before {
    width: 260px;
    height: 260px;
    opacity: 0.8;
  }
  .hero::after {
    width: 220px;
    height: 220px;
    opacity: 0.7;
  }
  .hero-blob-amber {
    width: 200px;
    height: 200px;
    opacity: 0.65;
  }
}
/* Hero art — absolute behind text */
.hero-art {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 720px;
  z-index: 1;
  pointer-events: none;
  animation: artFloat 6000ms ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(-50% - 16px)) rotate(1deg);
  }
}
@media (max-width: 767px) {
  .hero-art {
    width: 90%;
    right: -10%;
    top: auto;
    bottom: -4%;
    transform: none;
    opacity: 0.5;
    animation: artFloatM 6000ms ease-in-out infinite;
  }
  @keyframes artFloatM {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  }
}
/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .hero-content {
    padding: 84px 16px 16px;
    align-items: flex-start;
  }
}
.hero-left {
  flex: 0 0 auto;
  width: 52%;
  max-width: 580px;
}
@media (max-width: 1023px) {
  .hero-left {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .hero-left {
    width: 100%;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 116, 144, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 116, 144, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 0ms forwards;
}
@media (max-width: 767px) {
  .hero-badge {
    display: none;
  }
}
.hero-headline {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 50ms forwards;
}
.hero-headline .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 767px) {
  .hero-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 150ms forwards;
}
@media (max-width: 767px) {
  .hero-sub {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 400ms ease-out 300ms forwards;
}
@media (max-width: 767px) {
  .hero-cta-row {
    flex-direction: column;
    max-width: 260px;
    gap: 8px;
  }
}
.btn-hero-primary {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 28px rgba(185, 28, 28, 0.3);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-hero-primary:active {
  transform: scale(0.97);
}
.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(14, 116, 144, 0.45);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  white-space: nowrap;
}
.btn-hero-secondary:hover {
  background: rgba(14, 116, 144, 0.07);
  border-color: rgba(14, 116, 144, 0.75);
}
@media (max-width: 767px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(26, 12, 10, 0.3);
  animation: scrollBounce 1500ms ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}
/* ══ SHARED SECTION STYLES ══════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 540px;
}
@media (max-width: 767px) {
  .section-heading {
    font-size: 26px;
  }
  .section-sub {
    font-size: 15px;
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(8) {
  transition-delay: 560ms;
  opacity: 1;
  transform: translateY(0);
}
/* ══ BEST SELLERS ════════════════════════════════════════════════════════ */
.best-sellers {
  background: #fff;
  padding: 40px 0;
}
@media (max-width: 767px) {
  .best-sellers {
    padding: 24px 0;
  }
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 20px;
  }
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand-teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.view-all-link:hover {
  color: var(--color-brand-teal-hover);
}
.view-all-link:hover svg {
  transform: translateX(3px);
}
.view-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms;
}
@media (max-width: 767px) {
  .view-all-link {
    display: none;
  }
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .bs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .bs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bs-grid::-webkit-scrollbar {
    display: none;
  }
}
/* ══ PRODUCT CARD ═══════════════════════════════════════════════════════ */
@property --aura-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
.product-card {
  background: transparent;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 250ms ease;
  z-index: 0;
}
@media (max-width: 767px) {
  .product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(50vw - 22px);
  }
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.1;
  z-index: 1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card:hover::before {
  opacity: 1;
  animation: auraRotate 4000ms linear infinite;
}
.product-card-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 2;
  border: 1px solid var(--color-border-light);
  transition: border-color 250ms;
}
.product-card:hover .product-card-inner {
  border-color: transparent;
}
.product-card-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
}
@media (max-width: 767px) {
  .product-card-image {
    aspect-ratio: unset;
    height: 100px;
  }
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
/* Price badge — bottom-right */
.price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  z-index: 2;
}
/* Label badge — top-left */
.label-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 2;
}
/* Heart — top-right */
.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: none;
  transition:
    transform 150ms,
    background 150ms;
}
.heart-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}
.heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #c4aba4;
  fill: none;
  transition: all 150ms;
}
.heart-btn.active svg {
  stroke: #b91c1c;
  fill: #b91c1c;
}
/* Card body */
.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 767px) {
  .card-body {
    padding: 10px 10px 12px;
  }
}
.card-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .card-product-name {
    font-size: 13px;
  }
}
.card-weight {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .card-weight {
    font-size: 11px;
    margin-bottom: 8px;
  }
}
.btn-add-cart {
  width: 100%;
  height: 40px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.22);
  transition:
    box-shadow 150ms,
    transform 150ms;
  letter-spacing: 0.01em;
}
.btn-add-cart:hover {
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}
.btn-add-cart:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .btn-add-cart {
    height: 34px;
    font-size: 12px;
  }
}
.qty-controls {
  display: none;
  width: 100%;
  height: 40px;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.qty-controls.visible {
  display: flex;
}
@media (max-width: 767px) {
  .qty-controls {
    height: 34px;
  }
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.qty-btn:hover {
  background: var(--color-brand-teal-light);
}
.qty-count {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-teal);
  font-variant-numeric: tabular-nums;
}
/* ══ INFO SCROLL SECTION ════════════════════════════════════════════════ */
.info-scroll {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (max-width: 767px) {
  .info-scroll {
    padding: 60px 0;
  }
}
/* Art 2 — background */
.info-art {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  z-index: 0;
  pointer-events: none;
  animation: artFloat2 8000ms ease-in-out infinite;
}
.info-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat2 {
  0%,
  100% {
    transform: translateY(-50%) rotate(1deg);
  }
  50% {
    transform: translateY(calc(-50% - 18px)) rotate(-1deg);
  }
}
@media (max-width: 767px) {
  .info-art {
    width: 100%;
    right: -15%;
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.3;
    animation: none;
  }
}
.info-scroll .container {
  position: relative;
  z-index: 1;
}
/* WhatsApp section */
.wa-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .wa-section {
    margin-bottom: 60px;
  }
}
.wa-section .section-sub {
  max-width: 440px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: none;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition:
    background 150ms,
    transform 150ms;
}
.btn-whatsapp:hover {
  background: #1ea355;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Locations section */
.locations-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .locations-section {
    margin-bottom: 60px;
  }
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition:
    border-color 150ms,
    background 150ms,
    color 150ms;
}
.location-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.location-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-brand-wine);
}
.btn-find-branch {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 500;
  transition: gap 150ms;
}
.btn-find-branch:hover {
  gap: 12px;
}
.btn-find-branch svg {
  width: 16px;
  height: 16px;
}
/* How it works */
.hiw-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .hiw-section {
    margin-bottom: 60px;
  }
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
}
.hiw-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  z-index: 0;
  transition: transform 250ms ease;
}
.hiw-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.08;
  z-index: -1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.hiw-card:hover {
  transform: translateY(-4px);
}
.hiw-card:hover::before {
  opacity: 0.9;
  animation: auraRotate 4000ms linear infinite;
}
.hiw-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.28);
}
.hiw-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.hiw-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .hiw-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
  }
  .hiw-step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hiw-title {
    font-size: 17px;
  }
}
/* What we provide */
.wwd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.wwd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  transition:
    background 150ms,
    transform 150ms;
  cursor: pointer;
}
.wwd-chip:hover {
  background: var(--color-brand-teal-light);
  transform: translateY(-2px);
}
/* ══ FOOTER ═════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-footer-bg);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer {
    padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.footer-links {
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.4;
  display: block;
  transition: color 150ms;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-wa-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #25d366;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 150ms;
}
.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 150ms;
}
.footer-legal a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ══ MENU PAGE STYLES ════════════════════════════════════════════════ */
.page-header {
  padding: 104px 0 24px;
  background: #fff;
}
@media (max-width: 767px) {
  .page-header {
    padding: 76px 0 16px;
  }
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 32px;
  }
  .page-sub {
    font-size: 15px;
  }
}
.category-bar {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
}
@media (max-width: 767px) {
  .category-bar {
    top: 56px;
  }
}
.category-bar-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .category-bar-inner {
    padding: 0 16px;
  }
}
.category-bar-inner::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .category-bar-inner {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms ease;
}
@media (max-width: 767px) {
  .cat-pill {
    height: 36px;
    padding: 0 14px;
  }
}
.cat-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
}
.cat-pill.active {
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.active-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.active-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.1),
    rgba(185, 28, 28, 0.08)
  );
  border: 1px solid rgba(14, 116, 144, 0.28);
  border-radius: var(--radius-full);
  padding: 4px 10px 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
}
.active-chip-x {
  width: 16px;
  height: 16px;
  border: none;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.clear-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  margin-left: auto;
  white-space: nowrap;
  transition: color 150ms;
}
.clear-all-btn:hover {
  color: var(--color-text-primary);
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sort-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.sort-select {
  height: 40px;
  padding: 0 36px 0 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6A62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
  width: 180px;
}
@media (max-width: 767px) {
  .sort-select {
    width: 150px;
  }
}
.sort-select:focus {
  border-color: var(--color-brand-teal);
}
.products-section {
  padding: 0 0 80px;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 0 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.results-count span {
  font-weight: 700;
  color: var(--color-text-primary);
}
.card-out .product-card-image {
  filter: grayscale(50%) opacity(0.8);
}
.card-out .price-badge {
  background: var(--color-text-disabled) !important;
  box-shadow: none;
}
.card-out .btn-add-cart {
  background: var(--color-border-light);
  color: var(--color-text-disabled);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.skeleton {
  background: linear-gradient(90deg, #f2ede9 25%, #eae3de 50%, #f2ede9 75%);
  background-size: 200% 100%;
  animation: shimmer 1500ms linear infinite;
  border-radius: 4px;
}
.skeleton-card .product-card-inner {
  pointer-events: none;
}
.skeleton-img {
  aspect-ratio: 4/3;
  border-radius: 0;
}
@media (max-width: 767px) {
  .skeleton-img {
    aspect-ratio: unset;
    height: 100px;
  }
}
.skeleton-line {
  height: 14px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.skeleton-line.w70 {
  width: 70%;
}
.skeleton-line.w40 {
  width: 40%;
}
.skeleton-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .skeleton-btn {
    height: 34px;
  }
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-load-more {
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 40px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  background: var(--color-brand-teal-faint);
}
.btn-load-more svg {
  width: 18px;
  height: 18px;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--color-border-light);
}
.empty-icon svg {
  width: 56px;
  height: 56px;
}
.empty-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  transition: background 150ms;
}
.btn-ghost:hover {
  background: var(--color-brand-teal-faint);
}
/* ══ CART PAGE STYLES ════════════════════════════════════════════════ */
.cart-badge-nav {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-wrapper {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrapper {
    padding-top: 56px;
  }
}
.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}
@media (max-width: 767px) {
  .cart-page {
    padding: 24px 0 120px;
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.item-count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1px solid var(--color-brand-teal-light);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  vertical-align: middle;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 36px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
  flex-shrink: 0;
}
.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.cart-item-info-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}
@media (max-width: 767px) {
  .cart-item-info-wrap {
    display: flex;
  }
  .cart-item-info-wrap .cart-item-info {
    flex: 1;
    min-width: 0;
  }
}
.btn-remove-x {
  display: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 150ms;
  margin-top: 1px;
}
.btn-remove-x:hover {
  color: var(--color-brand-wine);
}
@media (max-width: 767px) {
  .btn-remove-x {
    display: flex;
  }
}
.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  word-break: break-word;
}
.cart-item-variant {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.cart-item-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.cart-item-mobile-actions {
  display: none;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  width: 120px;
  height: 40px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-qty-mobile {
  display: flex;
  align-items: center;
  width: 90px;
  height: 32px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.btn-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-text-disabled);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
  transition:
    color 150ms,
    background 150ms;
}
.btn-remove:hover {
  color: var(--color-brand-wine);
  background: var(--color-brand-wine-faint, #fff5f5);
}
.btn-remove svg {
  width: 18px;
  height: 18px;
}
.btn-remove-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-wine);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-remove-text:hover {
  color: var(--color-brand-wine-hover);
}
.instructions-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  width: 100%;
}
.instructions-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.instructions-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.field-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  resize: vertical;
  outline: none;
  line-height: 1.55;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-textarea::placeholder {
  color: var(--color-text-disabled);
}
.field-textarea:focus {
  background: #fff;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 28px;
  max-height: none;
  height: fit-content;
  align-self: start;
}
.summary-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.summary-row-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.summary-row-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.summary-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 16px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.summary-total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.promo-input {
  flex: 1;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
}
.promo-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}
.btn-apply {
  height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 150ms;
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--color-brand-teal-faint);
}
.promo-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.promo-success.visible {
  display: flex;
}
.promo-success-text {
  font-size: 13px;
  font-weight: 500;
  color: #047857;
}
.promo-success svg {
  width: 16px;
  height: 16px;
  color: #047857;
  flex-shrink: 0;
}
.btn-checkout {
  width: 100%;
  height: 52px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  margin-top: 20px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-checkout:active {
  transform: scale(0.97);
}
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.security-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-start-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-start-shopping:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms ease-out;
  pointer-events: none;
}
@media (max-width: 767px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: 100%;
  }
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 16px;
  height: 16px;
  stroke: #047857;
  stroke-width: 2.5;
  fill: none;
}
.toast-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.toast-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .cart-mobile-pad {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .cart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .cart-item-img-placeholder {
    font-size: 22px;
  }
  .cart-item-info-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
  }
  .cart-item-info {
    flex: 1;
    min-width: 0;
  }
  .cart-item-name {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  .cart-item-variant {
    font-size: 11px;
  }
  .cart-item-price-unit {
    font-size: 11px;
  }
  .cart-item-mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 8px;
  }
  .cart-item-qty-mobile {
    width: 84px;
    height: 30px;
  }
  .btn-remove-x {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 1px;
  }
  .cart-item-qty {
    display: none;
  }
  .cart-item-total {
    display: none;
  }
  .btn-remove {
    display: none;
  }
  .field-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
  .summary-card {
    position: static;
    margin-top: 20px;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .promo-row {
    gap: 6px;
  }
  .promo-input {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }
  .btn-apply {
    padding: 0 14px;
    font-size: 13px;
  }
  .btn-checkout {
    height: 48px;
    font-size: 14px;
  }
}
html,
body {
  height: auto;
  overflow-y: auto;
}
[ng-view] {
  min-height: 100vh;
}
/* ══ CHECKOUT PAGE STYLES ════════════════════════════════════════════ */
.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.form-section-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}
.form-field {
  margin-bottom: 16px;
}
.form-field:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 150ms;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-brand-teal);
}
.form-input::placeholder {
  color: var(--color-text-muted);
}
.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.fulfillment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.fulfillment-option svg {
  width: 22px;
  height: 22px;
}
.fulfillment-option:hover {
  border-color: var(--color-brand-teal);
}
.fulfillment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
/* ── Branch picker grid ── */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}
.branch-card {
  position: relative;
  text-align: left;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.branch-card:hover {
  border-color: var(--color-brand-teal);
}
.branch-card.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.branch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.branch-card-header > svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.branch-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}
.branch-card-check {
  width: 18px;
  height: 18px;
  color: var(--color-brand-teal);
  opacity: 0;
  transform: scale(0.7);
  transition: all 150ms;
}
.branch-card.active .branch-card-check {
  opacity: 1;
  transform: scale(1);
}
.branch-card-address {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.branch-card-hours {
  font-size: 12px;
  color: var(--color-brand-teal);
  margin: 0;
  font-weight: 500;
}
/* ── Polished select dropdown ── */
select.form-input {
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
select.form-input:hover {
  border-color: var(--color-brand-teal);
}
select.form-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
/* Style options where browser allows it (Chrome on most platforms respects this) */
select.form-input option {
  padding: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--color-text-primary);
}
select.form-input option:checked {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
  font-weight: 600;
}
.select-wrap {
  position: relative;
}
.field-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 8px 0 0 0;
  line-height: 1.4;
}
/* ── Payment options ── */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 767px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 150ms;
}
.payment-option:hover {
  border-color: var(--color-brand-teal);
}
.payment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.payment-option-icon svg {
  width: 20px;
  height: 20px;
}
.payment-option.active .payment-option-icon {
  background: var(--color-brand-teal);
  color: #fff;
}
.payment-option-body {
  flex: 1;
  min-width: 0;
}
.payment-option-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
}
.payment-option-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.payment-option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 150ms;
  flex-shrink: 0;
}
.payment-option-check svg {
  width: 12px;
  height: 12px;
}
.payment-option.active .payment-option-check {
  opacity: 1;
  transform: scale(1);
}
/* ── Optional badge ── */
.form-section-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.form-section-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: -10px 0 14px 0;
  line-height: 1.4;
}
/* ── Textarea ── */
.form-textarea {
  width: 100%;
  min-height: 90px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 150ms;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.form-textarea::placeholder {
  color: var(--color-text-muted);
}
/* ── Checkout order summary ── */
.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.checkout-item:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-info {
  min-width: 0;
}
.checkout-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-item-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.checkout-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.checkout-empty {
  text-align: center;
  padding: 20px;
  color: var(--color-text-secondary);
}
.checkout-empty p {
  margin: 0 0 12px 0;
}
/* ── Place Order button ── */
.btn-place-order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand-wine), #dc2626);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 150ms;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}
.btn-place-order:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}
.btn-place-order:active:not(:disabled) {
  transform: translateY(0);
}
.btn-place-order:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-place-order-total {
  font-weight: 500;
  opacity: 0.9;
}
.btn-place-order .spinner {
  width: 18px;
  height: 18px;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.checkout-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 14px 0 0 0;
  padding-bottom: 80px; /* space above bottom-tab-bar on mobile */
}
/* ══ ORDER CONFIRMATION PAGE STYLES ════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
.navbar-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
}
.navbar-secure svg {
  width: 14px;
  height: 14px;
}
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.confirm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 16px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) {
  .confirm-page {
    padding: 40px 16px 100px;
  }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.blob-teal {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.18) 0%,
    transparent 70%
  );
  animation: blobDrift1 14s ease-in-out infinite;
}
.blob-wine {
  width: 400px;
  height: 400px;
  top: -40px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.12) 0%,
    transparent 70%
  );
  animation: blobDrift2 17s ease-in-out infinite 2s;
}
.blob-amber {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: 30%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.11) 0%,
    transparent 70%
  );
  animation: blobDrift3 20s ease-in-out infinite 4s;
}
.progress {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
}
@media (max-width: 767px) {
  .progress {
    margin-bottom: 28px;
  }
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.progress-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-circle.done {
  background: var(--gcta);
  color: #fff;
}
.progress-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.progress-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--tp);
  white-space: nowrap;
}
.progress-label.inactive {
  color: var(--tm);
}
.progress-line {
  flex: 1;
  height: 1.5px;
  margin-top: 15px;
  min-width: 20px;
}
.progress-line.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.progress-line.inactive {
  background: var(--border);
}
.confirm-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 500ms var(--ease-out) 200ms forwards;
}
@media (max-width: 767px) {
  .confirm-card {
    padding: 32px 20px;
  }
}
.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0);
  animation: successPop 450ms var(--ease-spring) 500ms forwards;
}
.success-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.confirm-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 700ms forwards;
}
@media (max-width: 767px) {
  .confirm-heading {
    font-size: 26px;
  }
}
.confirm-sub {
  font-size: 16px;
  color: var(--ts);
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 800ms forwards;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}
.order-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 850ms forwards;
}
.order-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 920ms forwards;
}
@media (max-width: 767px) {
  .order-number {
    font-size: 18px;
  }
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 980ms forwards;
}
.branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.branch-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ts);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.date-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.actions {
  margin-top: 0;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 1080ms forwards;
}
.btn-track {
  width: 100%;
  height: 52px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  text-decoration: none;
}
.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-track:active {
  transform: scale(0.97);
}
.btn-shop {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 150ms;
  text-decoration: none;
}
.btn-shop:hover {
  background: var(--teal-f);
}
.call-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.call-link:hover {
  color: var(--teal-h);
}
.cancel-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
  transition: color 150ms;
}
.cancel-link:hover {
  color: var(--wine);
}
.next-steps {
  width: min(560px, 100%);
  margin-top: 32px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 500ms var(--ease-out) 1150ms forwards;
}
.next-steps-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}
.step-icon.teal {
  background: var(--teal-f);
}
.step-icon.amber {
  background: #fffbeb;
}
.step-icon.green {
  background: #d1fae5;
}
/* ══ ORDER CONFIRMATION — KEYFRAMES + LEGACY VAR ALIASES ═══════════════ */
/* Variable aliases (the original page uses short names, our project uses long names) */
:root {
  --teal: var(--color-brand-teal);
  --tp: var(--color-text-primary);
  --ts: var(--color-text-secondary);
  --tm: var(--color-text-muted);
  --td: var(--color-text-secondary);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --gbrand: linear-gradient(135deg, #0e7490, #6b21a8);
  --gcta: linear-gradient(135deg, #b91c1c, #d97706);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Keyframes */
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 30px);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ══ MY ORDERS PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
    padding-bottom: 80px;
  }
}
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 0 16px;
  }
}
.page-header {
  padding: 48px 0 32px;
}
@media (max-width: 767px) {
  .page-header {
    padding: 32px 0 20px;
  }
}
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .page-heading {
    font-size: 26px;
  }
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ts);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 150ms,
    border-color 150ms,
    color 150ms,
    box-shadow 150ms;
}
.filter-tab .tab-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--border);
  color: var(--tm);
  padding: 1px 6px;
  border-radius: 9999px;
  transition:
    background 150ms,
    color 150ms;
}
.filter-tab:hover {
  background: var(--teal-f);
  border-color: var(--teal);
}
.filter-tab.active {
  background: var(--teal-f);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-tab.active .tab-count {
  background: var(--teal);
  color: #fff;
}
@media (max-width: 767px) {
  .filter-tab {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}
.orders-list {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .orders-list {
    padding-bottom: 32px;
  }
}
.order-card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  z-index: 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms;
}
.order-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  transition: border-color 250ms;
  overflow: hidden;
}
.order-card:hover .order-card-inner {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}
.order-card:hover {
  transform: translateY(-2px);
}
.order-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  transition: opacity 300ms;
  pointer-events: none;
}
.order-card:hover::before {
  opacity: 0.65;
  animation: auraRotate 4000ms linear infinite;
}
.order-card-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) {
  .order-card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
.thumb-stack {
  display: flex;
  align-items: center;
}
.thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.thumb-img + .thumb-img {
  margin-left: -10px;
}
.thumb-more {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface);
  border: 2px solid #fff;
  margin-left: -10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .thumb-stack {
    display: none;
  }
}
.order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: 0.01em;
}
.order-meta {
  font-size: 13px;
  color: var(--tm);
  margin-top: 3px;
}
.order-summary {
  font-size: 13px;
  color: var(--ts);
  margin-top: 2px;
  line-height: 1.4;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-unpaid {
  background: #fef3c7;
  color: #92400e;
}
.badge-paid {
  background: #d1fae5;
  color: #047857;
}
.badge-cancelled {
  background: var(--wine-f);
  color: #991b1b;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-delivery {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-total-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.order-total-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--td);
  transition: color 150ms;
}
.order-card:hover .chevron-icon {
  color: var(--teal);
}
.mobile-row-1 {
  display: none;
}
.mobile-row-2 {
  display: none;
}
.mobile-row-3 {
  display: none;
}
@media (max-width: 600px) {
  .mobile-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-row-2 {
    display: block;
  }
  .mobile-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .desktop-only {
    display: none;
  }
}
.cancel-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cancel-link-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--wine);
  transition: color 150ms;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cancel-link-btn:hover {
  color: var(--wine-h);
}
.view-detail-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.view-detail-link:hover {
  color: var(--teal-h);
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--border2);
  fill: none;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-shop-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom));
  z-index: 2001;
  transform: translateY(110%);
  transition: transform 350ms var(--ease-smooth);
  max-width: 600px;
  margin: 0 auto;
}
.sheet-overlay.open .bottom-sheet {
  transform: translateY(0);
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: var(--border);
  margin: 0 auto 24px;
}
.sheet-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.sheet-sub {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 4px;
}
.sheet-order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 24px;
}
.sheet-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    background 150ms,
    transform 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
  transform: translateY(-1px);
}
.btn-keep-order {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.btn-keep-order:hover {
  background: var(--teal-f);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Keyframes ── */
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
/* ══ MY ORDERS — Variable aliases for legacy short names ═══════════════ */
:root {
  --wine: var(--color-brand-wine);
  --wine-h: var(--color-brand-wine-hover);
  --teal-f: var(--color-brand-teal-faint);
  --gold: #d97706;
  --aura-angle: 0deg;
}
/* Most CSS uses these short aliases inherited from the original page —
   defining them here keeps the original styles working without rewrites. */
/* ══ ORDER DETAIL PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 100px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 20px 16px 100px;
  }
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  margin-bottom: 24px;
  transition: gap 150ms;
}
.back-btn:hover {
  gap: 10px;
}
.back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .back-btn {
    font-size: 13px;
    margin-bottom: 16px;
  }
}
.order-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .order-title {
    font-size: 22px;
    gap: 8px;
  }
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-text {
  font-size: 14px;
  color: var(--tm);
}
@media (max-width: 767px) {
  .meta-text {
    font-size: 13px;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-paid {
  background: #d1fae5;
  color: #065f46;
}
.badge-preparing {
  background: #fef3c7;
  color: #92400e;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-cancelled {
  background: var(--wine-l);
  color: #991b1b;
}
.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 767px) {
  .timeline {
    flex-direction: column;
    gap: 0;
  }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}
@media (max-width: 767px) {
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    width: 100%;
    gap: 14px;
    padding-bottom: 0;
  }
}
.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-circle.done {
  background: var(--gcta);
  color: #fff;
}
.timeline-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.timeline-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (max-width: 767px) {
  .timeline-info {
    align-items: flex-start;
    padding-bottom: 20px;
  }
}
.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--tp);
  text-align: center;
}
.timeline-label.inactive {
  color: var(--tm);
}
.timeline-time {
  font-size: 11px;
  color: var(--tm);
}
.timeline-line {
  flex: 1;
  height: 1.5px;
  margin-top: 13px;
  min-width: 12px;
}
@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }
}
.timeline-line-v {
  display: none;
}
@media (max-width: 767px) {
  .timeline-line-v {
    display: block;
    width: 1.5px;
    height: 20px;
    margin-left: 13px;
    flex-shrink: 0;
  }
}
.timeline-line.done,
.timeline-line-v.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.timeline-line.inactive,
.timeline-line-v.inactive {
  background: var(--border);
}
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .order-item {
    gap: 10px;
  }
}
.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .order-item-thumb {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
.order-item-info {
  flex: 1;
  min-width: 0;
}
.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .order-item-name {
    font-size: 13px;
  }
}
.order-item-variant {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
@media (max-width: 767px) {
  .order-item-variant {
    font-size: 11px;
  }
}
.order-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.order-item-qty {
  font-size: 13px;
  color: var(--tm);
}
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .order-item-price {
    font-size: 13px;
  }
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-label {
  font-size: 14px;
  color: var(--tm);
  flex-shrink: 0;
}
.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp);
  text-align: right;
}
@media (max-width: 767px) {
  .detail-label,
  .detail-value {
    font-size: 13px;
  }
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}
.total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
}
.total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .total-label {
    font-size: 16px;
  }
  .total-value {
    font-size: 18px;
  }
}
.instructions-box {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.instructions-text {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  font-style: italic;
}
@media (max-width: 767px) {
  .instructions-text {
    font-size: 13px;
  }
}
.reorder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.06)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-reorder {
  background: var(--gbrand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.25);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-reorder:hover {
  transform: translateY(-1px);
}
.btn-cancel {
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
  transition: background 150ms;
}
.btn-cancel:hover {
  background: var(--wine-f);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 12, 10, 0.45);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  .modal-card {
    border-radius: 24px;
    padding: 32px;
  }
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .modal-handle {
    display: none;
  }
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.55;
  margin-bottom: 24px;
}
.modal-order-ref {
  display: inline-block;
  background: var(--surface);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 20px;
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
}
.btn-keep {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-keep:hover {
  background: var(--surface);
}
/* ══ FAVOURITES PAGE STYLES ══════════════════════════════════════════ */
.count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.products-section {
  padding: 0 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 16px 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--border);
}
.empty-icon svg {
  width: 64px;
  height: 64px;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 28px;
}
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.26);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
/* ══ PROFILE PAGE STYLES ═══════════════════════════════════════════ */
.profile-header {
  background: var(--surface);
  padding: 40px 48px;
  text-align: center;
}
@media (max-width: 767px) {
  .profile-header {
    padding: 28px 16px;
  }
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.28);
}
.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .profile-name {
    font-size: 20px;
  }
}
.profile-meta {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 14px;
}
.btn-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  transition: background 150ms;
}
.btn-edit-profile:hover {
  background: var(--teal-f);
}
.btn-edit-profile svg {
  width: 14px;
  height: 14px;
}
.sections-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 48px 100px;
}
@media (max-width: 767px) {
  .sections-wrap {
    padding: 20px 16px 100px;
  }
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
}
.btn-edit-section {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-edit-section:hover {
  color: var(--teal-h);
}
.field-display {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.field-display:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.field-display-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.field-display-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
@media (max-width: 767px) {
  .field-display-value {
    font-size: 14px;
  }
}
.edit-form {
  display: none;
}
.edit-form.open {
  display: block;
}
.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 5px;
}
.field-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-wrap {
  position: relative;
}
.pw-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.pw-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
}
.pw-toggle svg {
  width: 17px;
  height: 17px;
}
.edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-save {
  flex: 1;
  height: 44px;
  background: var(--gcta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-save:hover {
  opacity: 0.9;
}
.btn-cancel-edit {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-cancel-edit:hover {
  background: var(--surface);
}
.referral-card {
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.05)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .referral-card {
    padding: 18px 16px;
  }
}
.referral-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.referral-sub {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  margin-bottom: 18px;
}
.referral-code-box {
  background: #fff;
  border: 1.5px dashed rgba(14, 116, 144, 0.38);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.referral-code {
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .referral-code {
    font-size: 16px;
  }
}
.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: none;
  background: none;
  flex-shrink: 0;
  transition: color 150ms;
}
.btn-copy:hover {
  color: var(--teal-h);
}
.btn-copy svg {
  width: 16px;
  height: 16px;
}
.referral-stats {
  display: flex;
  gap: 32px;
}
.ref-stat p:first-child {
  font-size: 24px;
  font-weight: 800;
  color: var(--tp);
}
.ref-stat p:last-child {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  border-top: 1px solid rgba(14, 116, 144, 0.15);
  margin-top: 16px;
}
.accordion-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 200ms;
  flex-shrink: 0;
}
.accordion-toggle.open svg {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding-top: 12px;
}
.accordion-body.open {
  display: block;
}
.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.reward-row:last-child {
  border-bottom: none;
}
.reward-from {
  color: var(--ts);
}
.reward-amount {
  font-weight: 700;
  color: var(--teal);
}
.reward-date {
  font-size: 12px;
  color: var(--tm);
}
.action-row {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 150ms;
  border-radius: 6px;
}
.action-row:last-child {
  border-bottom: none;
}
.action-row:hover {
  background: var(--surface);
  padding: 0 8px;
  margin: 0 -4px;
}
.action-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-left svg {
  width: 20px;
  height: 20px;
  color: var(--tm);
  flex-shrink: 0;
}
.action-left span {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
.action-chevron {
  width: 16px;
  height: 16px;
  color: var(--td);
}
@media (max-width: 767px) {
  .action-left span {
    font-size: 14px;
  }
}
.action-row.danger .action-left svg {
  color: var(--wine);
}
.action-row.danger .action-left span {
  color: var(--wine);
}
.action-row.danger:hover {
  background: var(--wine-f);
}
.action-row.danger .action-chevron {
  display: none;
}
.otp-note {
  font-size: 12px;
  color: var(--tm);
  margin-top: 4px;
  line-height: 1.4;
}
/* ══ AUTH PAGE STYLES ══════════════════════════════════════════════ */
.auth-page{
  min-height:100dvh;
  display:flex;align-items:center;justify-content:center;
  padding:60px 16px calc(60px + env(safe-area-inset-bottom));
  background:#fff;
  position:relative;overflow:hidden;
}
.auth-page::before{
  content:'';position:absolute;
  width:520px;height:520px;top:-120px;left:-100px;
  background:radial-gradient(circle,rgba(14,116,144,0.18) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobA 14000ms ease-in-out infinite;
}
.auth-page::after{
  content:'';position:absolute;
  width:440px;height:440px;bottom:-100px;right:-80px;
  background:radial-gradient(circle,rgba(185,28,28,0.13) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobB 17000ms ease-in-out infinite 2000ms;
}
.auth-card{
  position:relative;z-index:1;
  width:100%;max-width:480px;
  background:#fff;
  border:1px solid var(--color-border-light);
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  padding:40px;
}
@media(max-width:767px) {
.auth-card{padding:28px 20px;border-radius:20px;}
}
.auth-logo{
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin-bottom:24px;
}
.auth-logo-mark{
  width:44px;height:44px;border-radius:50%;
  background:var(--gradient-cta);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  box-shadow:var(--shadow-cta);
}
.auth-logo-text{font-size:20px;font-weight:800;letter-spacing:-0.02em;color:var(--color-text-primary);}
.auth-heading{font-size:22px;font-weight:700;color:var(--color-text-primary);text-align:center;margin-bottom:6px;}
.auth-sub{font-size:14px;font-weight:400;color:var(--color-text-muted);text-align:center;margin-bottom:28px;line-height:1.50;}
.tab-switcher{
  display:flex;background:var(--color-surface);
  border-radius:10px;padding:4px;gap:4px;margin-bottom:28px;
}
.tab-sw-btn{
  flex:1;height:40px;border-radius:8px;border:none;background:transparent;
  font-size:14px;font-weight:600;color:var(--color-text-muted);
  transition:all 200ms ease;
}
.tab-sw-btn.active{
  background:#fff;color:var(--color-text-primary);
  box-shadow:var(--shadow-xs);
}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.field-group{margin-bottom:16px;}
.field-label{
  display:block;font-size:13px;font-weight:500;
  color:var(--color-text-secondary);margin-bottom:6px;letter-spacing:0.01em;
}
.field-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.field-input::placeholder{color:var(--color-text-disabled);}
.field-input:focus{
  background:#fff;
  border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.field-input.error{
  border-color:var(--color-brand-wine);
  box-shadow:0 0 0 4px rgba(185,28,28,0.10);
}
@media(max-width:767px) {
.field-input{height:48px;font-size:15px;}
}
.phone-wrap{
  display:flex;align-items:center;
  background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  overflow:hidden;transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.phone-wrap:focus-within{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.phone-prefix{
  padding:0 12px 0 16px;font-size:16px;font-weight:500;
  color:var(--color-text-primary);white-space:nowrap;flex-shrink:0;
  border-right:1px solid var(--color-border-light);
}
.phone-input{
  flex:1;height:52px;border:none;background:transparent;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
}
.phone-input::placeholder{color:var(--color-text-disabled);}
@media(max-width:767px) {
.phone-input{height:48px;font-size:15px;}
}
.pw-wrap{position:relative;}
.pw-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 48px 0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.pw-input::placeholder{color:var(--color-text-disabled);}
.pw-input:focus{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.pw-toggle{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:var(--color-text-muted);transition:color 150ms;
}
.pw-toggle:hover{color:var(--color-text-primary);}
.pw-toggle svg{width:18px;height:18px;}
@media(max-width:767px) {
.pw-input{height:48px;font-size:15px;}
}
.field-helper{font-size:12px;color:var(--color-text-muted);margin-top:5px;line-height:1.40;}
.field-error{
  display:none;font-size:12px;color:var(--color-brand-wine);
  margin-top:5px;align-items:center;gap:4px;
}
.field-error.visible{display:flex;}
.field-error svg{width:13px;height:13px;flex-shrink:0;}
.forgot-row{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:20px;}
.forgot-link{font-size:13px;font-weight:500;color:var(--color-brand-teal);background:none;border:none;transition:color 150ms;}
.forgot-link:hover{color:var(--color-brand-teal-hover);}
.btn-primary{
  width:100%;height:52px;background:var(--gradient-cta);
  color:#fff;font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  box-shadow:0 4px 16px rgba(185,28,28,0.28);
  transition:transform 150ms,box-shadow 150ms;letter-spacing:0.01em;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-primary:active{transform:scale(0.97);}
.btn-primary:disabled{opacity:0.50;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-spinner{
  width:20px;height:20px;border:2px solid rgba(255,255,255,0.40);
  border-top-color:#fff;border-radius:50%;
  animation:spin 600ms linear infinite;display:none;
}
.btn-primary.loading .btn-text{display:none;}
.btn-primary.loading .btn-spinner{display:block;}
.divider{
  display:flex;align-items:center;gap:12px;margin:24px 0;
}
.divider-line{flex:1;height:1px;background:var(--color-border-light);}
.divider-text{font-size:13px;font-weight:400;color:var(--color-text-muted);white-space:nowrap;}
.social-row{display:flex;gap:12px;}
.btn-social{
  flex:1;height:48px;background:var(--color-surface);
  border:1px solid var(--color-border-light);border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--color-text-primary);
  transition:background 150ms,border-color 150ms;
}
.btn-social:hover{background:var(--color-surface-2);border-color:var(--color-border);}
.btn-social svg{width:20px;height:20px;flex-shrink:0;}
.terms-note{
  font-size:12px;color:var(--color-text-muted);text-align:center;margin-top:14px;line-height:1.55;
}
.terms-note a{color:var(--color-brand-teal);font-weight:500;}
.terms-note a:hover{text-decoration:underline;}
.forgot-back{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-brand-teal);
  border:none;background:none;margin-top:16px;transition:gap 150ms;
}
.forgot-back:hover{gap:10px;}
.forgot-back svg{width:16px;height:16px;}
.forgot-desc{font-size:14px;color:var(--color-text-secondary);text-align:center;line-height:1.60;margin:10px 0 24px;}
.reset-success{
  display:none;text-align:center;padding:20px 0;
}
.reset-success.active{display:block;}
.success-circle{
  width:64px;height:64px;border-radius:50%;
  background:var(--color-success);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  box-shadow:0 6px 20px rgba(4,120,87,0.28);
}
.success-circle svg{width:28px;height:28px;stroke:#fff;stroke-width:2.5;}
.success-heading{font-size:18px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px;}
.success-sub{font-size:14px;color:var(--color-text-muted);line-height:1.55;}
.back-home{
  position:absolute;z-index:2;
  top:24px;left:48px;
  display:flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-text-muted);
  transition:color 150ms;
}
.back-home:hover{color:var(--color-brand-teal);}
.back-home:hover svg{transform:translateX(-3px);}
.back-home svg{width:16px;height:16px;transition:transform 150ms;}
@media(max-width:767px) {
.back-home{top:20px;left:16px;font-size:13px;}
}
@keyframes blobA{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,20px) scale(1.06);}}
@keyframes blobB{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-25px,-20px) scale(1.05);}}
@keyframes spin{to{transform:rotate(360deg);}}
/* ══ CONTACT PAGE STYLES ══════════════════════════════════════════ */
.map-section{max-width:1280px;margin:0 auto;padding:0 48px 64px;}
@media(max-width:767px) {
.map-section{padding:0 16px 48px;}
}
.map-branches-grid{display:grid;grid-template-columns:1fr 400px;gap:32px;align-items:start;}
@media(max-width:1023px) {
.map-branches-grid{grid-template-columns:1fr;}
}
.map-container{
  height:560px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(135deg,var(--teal-f) 0%,var(--surface) 100%);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;
  position:sticky;top:80px;
}
@media(max-width:1023px) {
.map-container{height:260px;position:static;border-radius:16px;}
}
.map-placeholder-icon{font-size:48px;}
.map-placeholder-text{font-size:15px;font-weight:500;color:var(--teal);text-align:center;padding:0 20px;}
.map-placeholder-sub{font-size:13px;color:var(--tm);text-align:center;}
.branch-list{display:flex;flex-direction:column;gap:12px;}
.branch-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:20px;cursor:pointer;
  transition:border-color 200ms,box-shadow 200ms;
  position:relative;
}
.branch-card:hover,.branch-card.active-map{
  border-color:var(--teal);
  box-shadow:0 4px 16px rgba(14,116,144,0.14);
}
.branch-card-row1{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.branch-name{font-size:16px;font-weight:700;color:var(--tp);}
.badge-open{display:inline-flex;align-items:center;gap:5px;background:#D1FAE5;color:#065F46;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.badge-open-dot{width:6px;height:6px;border-radius:50%;background:#047857;flex-shrink:0;}
.badge-closed{display:inline-flex;align-items:center;gap:5px;background:var(--wine-l);color:#991B1B;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.branch-addr{font-size:13px;color:var(--ts);margin-bottom:3px;}
.branch-hours{font-size:13px;color:var(--tm);margin-bottom:4px;}
.branch-phone{font-size:13px;font-weight:500;color:var(--teal);display:flex;align-items:center;gap:5px;margin-bottom:12px;}
.branch-phone svg{width:13px;height:13px;flex-shrink:0;}
.branch-btns{display:flex;gap:8px;flex-wrap:wrap;}
.btn-wa{display:inline-flex;align-items:center;gap:6px;background:rgba(37,211,102,0.10);border:1px solid rgba(37,211,102,0.30);color:#16A34A;font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-wa:hover{background:rgba(37,211,102,0.18);}
.btn-wa svg{width:15px;height:15px;flex-shrink:0;}
.btn-directions{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);color:var(--ts);font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-directions:hover{background:var(--surface2);}
.btn-directions svg{width:14px;height:14px;flex-shrink:0;}
.contact-form-section{background:var(--surface);padding:64px 48px;margin-top:0;}
@media(max-width:767px) {
.contact-form-section{padding:48px 16px;}
}
.contact-form-inner{max-width:1280px;margin:0 auto;}
.contact-form-heading{font-size:32px;font-weight:700;color:var(--tp);letter-spacing:-0.02em;text-align:center;margin-bottom:8px;}
.contact-form-sub{font-size:16px;color:var(--ts);text-align:center;max-width:440px;margin:0 auto 40px;}
@media(max-width:767px) {
.contact-form-heading{font-size:24px;}
.contact-form-sub{font-size:14px;margin-bottom:28px;}
}
.contact-methods{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-bottom:48px;}
@media(max-width:767px) {
.contact-methods{gap:12px;margin-bottom:32px;}
}
.contact-method-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 20px;text-align:center;min-width:160px;flex:1;max-width:200px;}
@media(max-width:767px) {
.contact-method-card{padding:18px 14px;min-width:unset;}
}
.method-icon-circle{width:52px;height:52px;border-radius:50%;background:var(--gcta);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:22px;}
.method-label{font-size:11px;font-weight:600;color:var(--tm);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:4px;}
.method-value{font-size:15px;font-weight:700;color:var(--tp);}
@media(min-width:768px) {
.method-value{font-size:13px;word-break:break-word;text-align:center;}
}
@media(max-width:767px) {
.method-value{font-size:13px;}
}
.contact-form{max-width:560px;margin:0 auto;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;}
@media(max-width:767px) {
.field-row{grid-template-columns:1fr;}
}
.field-textarea{width:100%;min-height:120px;background:#fff;border:1.5px solid var(--border);border-radius:10px;padding:14px 16px;font-size:15px;color:var(--tp);outline:none;resize:vertical;line-height:1.55;transition:border-color 150ms,box-shadow 150ms;}
.field-textarea::placeholder{color:var(--td);}
.field-textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(14,116,144,0.12);}
@media(max-width:767px) {
.field-textarea{font-size:14px;}
}
.btn-send{width:100%;height:52px;background:var(--gcta);color:#fff;font-size:15px;font-weight:600;border:none;border-radius:10px;margin-top:4px;box-shadow:0 4px 16px rgba(185,28,28,0.26);transition:transform 150ms,box-shadow 150ms;display:flex;align-items:center;justify-content:center;gap:8px;}
.btn-send:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-send:active{transform:scale(0.97);}
.form-success{display:none;text-align:center;padding:40px 20px;}
.form-success.visible{display:block;}
/* ══ JOIN GROUP PAGE STYLES ════════════════════════════════════════ */
.hero-banner{
  background:var(--surface);
  padding:64px 48px 56px;
  text-align:center;
}
@media(max-width:767px) {
.hero-banner{padding:40px 16px 36px;}
}
.hero-title{font-size:48px;font-weight:800;color:var(--tp);letter-spacing:-0.02em;line-height:1.08;margin-bottom:14px;}
@media(max-width:767px) {
.hero-title{font-size:28px;}
}
.hero-sub{font-size:18px;font-weight:400;color:var(--ts);line-height:1.65;max-width:520px;margin:0 auto;}
@media(max-width:767px) {
.hero-sub{font-size:15px;}
}
.cards-section{padding:48px 48px 40px;max-width:1280px;margin:0 auto;}
@media(max-width:767px) {
.cards-section{padding:28px 16px 24px;}
}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media(max-width:1023px) {
.cards-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
}
@media(max-width:767px) {
.cards-grid{grid-template-columns:1fr;gap:14px;}
}
.wa-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:28px 24px;text-align:center;
  position:relative;z-index:0;
  transition:transform 250ms ease,border-color 250ms;
}
.wa-card::before{
  content:'';position:absolute;inset:-18px;border-radius:38px;
  background:conic-gradient(from var(--aura-angle,0deg),
    rgba(14,116,144,0.55),rgba(185,28,28,0.50),
    rgba(217,119,6,0.45),rgba(107,33,168,0.40),
    rgba(14,116,144,0.55));
  filter:blur(22px);opacity:0.08;z-index:-1;
  transition:opacity 300ms ease;pointer-events:none;
}
.wa-card:hover{transform:translateY(-4px);}
.wa-card:hover::before{opacity:0.90;animation:auraRotate 4000ms linear infinite;}
.wa-icon-circle{
  width:56px;height:56px;border-radius:50%;
  background:rgba(37,211,102,0.12);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.wa-icon-circle svg{width:28px;height:28px;}
.wa-branch-name{font-size:18px;font-weight:700;color:var(--tp);margin-bottom:4px;}
.wa-branch-addr{font-size:13px;color:var(--tm);margin-bottom:6px;line-height:1.45;}
.wa-delivery-days{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:6px;}
.wa-day-pill{background:var(--amber);background:linear-gradient(135deg,rgba(217,119,6,0.12),rgba(217,119,6,0.08));border:1px solid rgba(217,119,6,0.25);color:var(--amber);font-size:11px;font-weight:600;padding:2px 10px;border-radius:9999px;}
.wa-members{font-size:13px;color:var(--tm);margin-bottom:18px;}
.btn-join-wa{
  width:100%;height:48px;
  background:#25D366;color:#fff;
  font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 4px 16px rgba(37,211,102,0.28);
  transition:background 150ms,transform 150ms;
}
.btn-join-wa:hover{background:#1EA355;transform:translateY(-1px);}
.btn-join-wa svg{width:20px;height:20px;flex-shrink:0;}
.request-card{
  background:transparent;
  border:2px dashed var(--border);
  border-radius:20px;padding:28px 24px;
  text-align:center;cursor:pointer;
  transition:border-color 200ms,background 200ms;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:200px;
}
.request-card:hover{border-color:var(--teal);background:var(--teal-f);}
.request-plus{
  width:44px;height:44px;border-radius:50%;
  background:var(--surface);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;font-size:22px;
  transition:background 200ms;
}
.request-card:hover .request-plus{background:var(--teal-l);}
.request-label{font-size:16px;font-weight:600;color:var(--ts);margin-bottom:4px;}
.request-sub{font-size:13px;color:var(--tm);}
.terms-note{
  text-align:center;
  max-width:520px;margin:0 auto;
  padding:0 48px 60px;
  font-size:13px;color:var(--tm);line-height:1.65;
}
@media(max-width:767px) {
.terms-note{padding:0 16px 80px;}
}
.terms-note a{color:var(--teal);font-weight:500;}
/* ════════════════════════════════════════════════════════════════════
   STEP 1 — GLOBAL POLISH: SPACING TOKENS + UNIFORM CARDS
   These rules override earlier per-page rules to enforce consistency.
   ════════════════════════════════════════════════════════════════════ */
/* ── Spacing tokens ── */
:root {
  --space-page-top:   32px;
  --space-section-y:  48px;
  --space-card-gap:   16px;
  --space-page-bot:   80px;
  --navbar-h:         64px;
}
@media (max-width: 767px) {
  :root {
    --space-page-top:  16px;
    --space-section-y: 32px;
    --space-card-gap:  12px;
    --space-page-bot:  100px; /* extra space for bottom-tab-bar */
    --navbar-h:        56px;
  }
}
/* ── Eliminate navbar whitespace globally ── */
.page-wrapper,
.page-wrap {
  padding-top: var(--navbar-h) !important;
  min-height: 100vh;
  box-sizing: border-box;
}
/* All page-headers should have consistent compact spacing — no big empty gap below navbar */
.page-header {
  padding: var(--space-page-top) 0 24px !important;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .page-header {
    padding: var(--space-page-top) 0 16px !important;
  }
}
/* Page containers — uniform gutters */
.page-container,
.cart-mobile-pad {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: var(--space-page-bot);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Section gaps ── */
.section-card,
.form-section,
.products-section,
.map-section,
.contact-form-section,
.cards-section {
  margin-bottom: var(--space-section-y);
}
.section-card:last-child,
.form-section:last-child {
  margin-bottom: 0;
}
/* ── Uniform product cards (landing, menu, favourites) ── */
.product-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-image {
  height: 220px !important;
  flex-shrink: 0;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-add-cart,
.card-body .qty-controls {
  margin-top: auto; /* pin Add to Cart / qty to bottom of card */
}
/* Product grids — uniform gap */
.products-grid,
.bs-grid {
  gap: var(--space-card-gap) !important;
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — LAYOUT & POLISH FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Drop the min-height on product cards (let them size naturally) ── */
.product-card {
  min-height: auto !important;
}
/* ── Tighter hover aura — stays inside the card area ── */
.product-card,
.bs-grid .product-card {
  position: relative;
  overflow: visible;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.10),
              0 4px 8px rgba(14, 116, 144, 0.06);
  z-index: 1;
}
/* Kill any aura ::before / ::after pseudos that may bleed */
.product-card::before,
.product-card::after {
  display: none !important;
}
/* ── Fix navbar overlap — proper top padding on every page ── */
:root { --navbar-h: 80px; }
@media (max-width: 767px) { :root { --navbar-h: 64px; } }
.page-wrap,
.page-wrapper {
  padding-top: var(--navbar-h) !important;
  box-sizing: border-box;
  min-height: 100vh;
}
/* Page-headers should have breathing room below the navbar — but not too much */
.page-header {
  padding: 28px 0 20px !important;
}
@media (max-width: 767px) {
  .page-header { padding: 20px 0 14px !important; }
}
/* ── Consistent page gutters across all pages ── */
.page-container,
.cart-mobile-pad,
.page-wrap > .container,
.page-wrap > .page-header,
.page-wrap > .map-section,
.page-wrap > .contact-form-section,
.page-wrap > .cards-section,
.page-wrap > .terms-note,
.page-wrap > .hero-banner,
.page-wrap > .sections-wrap,
.page-wrap > .profile-header {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad,
  .page-wrap > .container,
  .page-wrap > .page-header,
  .page-wrap > .map-section,
  .page-wrap > .contact-form-section,
  .page-wrap > .cards-section,
  .page-wrap > .terms-note,
  .page-wrap > .hero-banner,
  .page-wrap > .sections-wrap,
  .page-wrap > .profile-header {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Update Password button → full width ── */
.section-card .btn-save {
  width: 100%;
}
/* ════════════════════════════════════════════════════════════════════
   NAVBAR DROPDOWNS — Menu (categories) & Profile (user actions)
   ════════════════════════════════════════════════════════════════════ */
.navbar-link-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 12, 10, 0.10);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 1000;
}
/* Open on hover (entire wrap including the trigger + dropdown bridge) */
.navbar-link-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Profile dropdown anchors to the right edge */
.navbar-link-wrap.right .nav-dropdown {
  left: auto;
  right: 0;
}
/* Each dropdown item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
.nav-dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-dropdown-item .emoji {
  width: 20px;
  display: inline-block;
  text-align: center;
  font-size: 16px;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 6px 4px;
}
.nav-dropdown-item.danger {
  color: var(--color-brand-wine);
}
.nav-dropdown-item.danger:hover {
  background: rgba(185, 28, 28, 0.06);
  color: var(--color-brand-wine);
}
/* Hover bridge — invisible padding under trigger so dropdown doesn't close while moving */
.navbar-link-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
/* Hide dropdowns on mobile (drawer handles those) */
@media (max-width: 767px) {
  .nav-dropdown { display: none !important; }
  .navbar-link-wrap::after { display: none; }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — POST-REVIEW FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Wider, nicer dropdowns ── */
.nav-dropdown {
  min-width: 260px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 16px 48px rgba(26, 12, 10, 0.10),
              0 4px 12px rgba(26, 12, 10, 0.05) !important;
}
.nav-dropdown-item {
  padding: 12px 14px !important;
  font-size: 14px;
  border-radius: 10px !important;
  gap: 12px !important;
  letter-spacing: -0.005em;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint) !important;
}
.nav-dropdown-item .emoji {
  font-size: 18px;
  width: 22px;
}
.nav-dropdown-item svg {
  color: var(--color-text-secondary);
}
.nav-dropdown-item:hover svg {
  color: var(--color-brand-teal);
}
.nav-dropdown-divider {
  margin: 8px 6px !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
/* Section labels above grouped items (subtle, uppercase) */
.nav-dropdown-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 8px 14px 6px;
}
/* ── Card hover: slightly more visible ── */
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.14),
              0 6px 12px rgba(14, 116, 144, 0.08) !important;
}
/* ════════════════════════════════════════════════════════════════════
   ORDER DETAIL — Timeline layout fix
   The original timeline was a vertical-timeline pattern but rendering
   horizontally in a broken way. Rebuild as a clean horizontal stepper.
   ════════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 12px 0 8px;
  margin: 8px 0 4px;
}
/* Each timeline cell holds a circle + label below */
.timeline > div {
  display: contents;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6px;
}
.timeline-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  transition: all 200ms;
}
.timeline-circle.done {
  background: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  color: #fff;
}
.timeline-circle.active {
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  gap: 2px;
}
.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}
.timeline-time {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Horizontal connector line between circles */
.timeline-line {
  position: absolute;
  top: 28px;  /* aligns with center of circles (12px padding + 16px to circle center) */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
/* Compute positions for the 3 connectors between 4 steps */
.timeline > div:nth-child(1) .timeline-line { left: 50%;  right: -50%; }
.timeline > div:nth-child(2) .timeline-line { left: 0%;   right: 0%; }
.timeline > div:nth-child(3) .timeline-line { left: -50%; right: 50%; }
/* Hide the vertical-line variants from the original markup */
.timeline-line-v {
  display: none !important;
}
/* Mobile: smaller labels, vertical layout fallback */
@media (max-width: 600px) {
  .timeline-label {
    font-size: 11px;
  }
  .timeline-time {
    font-size: 10px;
  }
  .timeline-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .timeline-line {
    top: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — REFINEMENTS: frosted dropdowns + clipped timeline + true aura
   ════════════════════════════════════════════════════════════════════ */
/* ── Frosted-glass dropdowns ── */
.nav-dropdown {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 16px 48px rgba(26, 12, 10, 0.12),
    0 4px 12px rgba(26, 12, 10, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
.nav-dropdown-item:hover {
  background: rgba(207, 250, 254, 0.6) !important;  /* translucent teal-faint */
}
/* ── Timeline: clip connector lines to BETWEEN circles only ── */
/* Reset old broken positioning */
.timeline > div:nth-child(1) .timeline-line,
.timeline > div:nth-child(2) .timeline-line,
.timeline > div:nth-child(3) .timeline-line {
  left: auto !important;
  right: auto !important;
}
/* New approach: line spans from center of THIS step to center of NEXT step */
.timeline-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 22px);   /* start just past current circle's right edge */
  width: calc(100% - 44px); /* end just before next circle's left edge */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
@media (max-width: 600px) {
  .timeline-line {
    top: 24px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }
}
/* ── True hover aura: glowing gradient behind card ── */
/* Re-enable ::after for the aura (we disabled it earlier) */
.product-card::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(14, 116, 144, 0.35) 0%,
    rgba(217, 119, 6, 0.25) 35%,
    rgba(185, 28, 28, 0.18) 60%,
    transparent 75%
  );
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  transform: scale(0.92);
}
.product-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Make sure card has positioning context + sits above its own aura */
.product-card {
  position: relative;
  isolation: isolate;
}
/* Reduce card's outer shadow on hover so the aura is the dominant effect */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 18px rgba(26, 12, 10, 0.06) !important;
}
/* ── Menu dropdown: 2-column grid ── */
/* Target ONLY the menu dropdown, not the profile one */
.navbar-link-wrap > .nav-dropdown {
  min-width: 380px !important;
}
/* The category items in the menu dropdown become a 2-col grid.
   We wrap them with a container in the HTML below. */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown-grid .nav-dropdown-item {
  padding: 10px 12px !important;
}
/* Profile dropdown stays single column — the 'right' modifier */
.navbar-link-wrap.right > .nav-dropdown {
  min-width: 240px !important;
}
/* ════════════════════════════════════════════════════════════════════
   HERO — auto-rotating artwork crossfade + dot indicators
   ════════════════════════════════════════════════════════════════════ */
.hero-art {
  position: absolute;
  /* keep existing positioning rules — these are added on top */
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art-img.active {
  opacity: 1;
}
/* ── Dot indicators ── */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 12, 10, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 250ms ease;
  position: relative;
}
.hero-dot::before {
  content: '';
  position: absolute;
  inset: -10px;  /* expanded hit area for fingers */
}
.hero-dot:hover {
  background: rgba(26, 12, 10, 0.4);
  transform: scale(1.2);
}
.hero-dot.active {
  background: var(--color-brand-teal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .hero-dots {
    bottom: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   HERO ROTATION FIX + COMPRESS HEIGHT
   ════════════════════════════════════════════════════════════════════ */
/* Override the original .hero-art img rule that's forcing all images visible */
.hero-art img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  transition: opacity 1000ms ease-in-out !important;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art img.active {
  opacity: 1 !important;
}
/* ── Compress hero so Best Sellers peeks above the fold on desktop ── */
.hero {
  min-height: 75vh !important;
}
@media (max-width: 767px) {
  .hero {
    min-height: 88vh !important;  /* mobile keeps more height since stacked */
  }
}
/* Tighten hero internal padding too */
.hero-content {
  padding-top: 80px;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .hero-content {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
/* ══ TOKENS ═════════════════════════════════════════════════════════════ */
:root {
  --color-brand-teal: #0e7490;
  --color-brand-teal-hover: #0c6680;
  --color-brand-teal-light: #cffafe;
  --color-brand-teal-faint: #ecfeff;
  --color-brand-wine: #b91c1c;
  --color-brand-wine-hover: #991b1b;
  --color-brand-wine-light: #fee2e2;
  --color-brand-wine-faint: #fff5f5;
  --color-brand-amber: #d97706;
  --color-brand-amber-hover: #b45309;
  --color-brand-amber-light: #fef3c7;
  --color-brand-amber-faint: #fffbeb;
  --color-brand-violet: #6b21a8;
  --color-brand-violet-light: #f3e8ff;
  --color-brand-violet-faint: #faf5ff;
  --gradient-brand: linear-gradient(135deg, #0e7490 0%, #6b21a8 100%);
  --gradient-cta: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  --color-footer-bg: #0c1a1a;
  --color-footer-surf: #142222;
  --color-white: #ffffff;
  --color-surface: #f9f6f4;
  --color-surface-2: #f2ede9;
  --color-border-light: #ede5e0;
  --color-border: #ddd0ca;
  --color-text-primary: #1a0c0a;
  --color-text-secondary: #4a2820;
  --color-text-muted: #8a6a62;
  --color-text-disabled: #c4aba4;
  --color-success: #047857;
  --color-success-light: #d1fae5;
  --shadow-xs: 0 1px 2px rgba(26, 12, 10, 0.05);
  --shadow-sm:
    0 1px 4px rgba(26, 12, 10, 0.07), 0 1px 2px rgba(26, 12, 10, 0.04);
  --shadow-md:
    0 4px 16px rgba(26, 12, 10, 0.09), 0 2px 6px rgba(26, 12, 10, 0.04);
  --shadow-lg:
    0 12px 40px rgba(26, 12, 10, 0.11), 0 4px 12px rgba(26, 12, 10, 0.05);
  --shadow-xl:
    0 24px 64px rgba(26, 12, 10, 0.13), 0 8px 24px rgba(26, 12, 10, 0.06);
  --shadow-brand:
    0 8px 32px rgba(14, 116, 144, 0.3), 0 2px 8px rgba(14, 116, 144, 0.15);
  --shadow-cta:
    0 8px 24px rgba(185, 28, 28, 0.35), 0 2px 8px rgba(217, 119, 6, 0.22);
  --shadow-navbar:
    0 1px 4px rgba(26, 12, 10, 0.06), 0 2px 12px rgba(26, 12, 10, 0.04);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
/* ══ RESET ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-primary);
  background: #fff;
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
}
/* ══ CONTAINER ══════════════════════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }
}
/* ══ NAVBAR ═════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 1000;
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    box-shadow 300ms ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--shadow-navbar);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.navbar-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-cta);
  flex-shrink: 0;
}
.navbar-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-right: 32px;
}
.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 12, 10, 0.7);
  padding: 4px 0;
  position: relative;
  transition: color 150ms ease;
}
.navbar-links a:hover {
  color: var(--color-text-primary);
}
.navbar-links a.active {
  color: var(--color-brand-teal);
}
.navbar-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(26, 12, 10, 0.7);
  border-radius: var(--radius-sm);
  transition:
    background 150ms,
    color 150ms;
}
.navbar-icon-btn:hover {
  background: var(--color-surface);
  color: var(--color-text-primary);
}
.navbar-icon-btn svg {
  width: 22px;
  height: 22px;
}
.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-join-nav {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-join-nav:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta);
}
/* Mobile navbar */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-sm);
}
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(26, 12, 10, 0.75);
  border-radius: 2px;
  transition: all 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}
@media (max-width: 1023px) {
  .navbar-inner {
    padding: 0 16px;
    justify-content: space-between;
  }
  .navbar-links,
  .btn-join-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
    margin-right: 0;
  }
  .navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }
  .navbar-logo-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .navbar-logo-text {
    font-size: 14px;
  }
  .navbar-actions {
    gap: 2px;
  }
  .navbar.scrolled {
    height: 56px;
  }
}
/* ══ DRAWER ═════════════════════════════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1099;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(80vw, 320px);
  height: 100dvh;
  background: #fff;
  box-shadow: 8px 0 48px rgba(12, 26, 26, 0.22);
  border-radius: 0 24px 24px 0;
  z-index: 1100;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(-110%);
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-header {
  height: 64px;
  padding: 0 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-light);
}
.drawer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.drawer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: 20px;
  transition: background 150ms;
}
.drawer-close:hover {
  background: var(--color-surface);
}
.drawer-section-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 20px 8px;
  display: block;
}
.drawer-item {
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-item:hover {
  background: var(--color-surface);
}
.drawer-item.active {
  background: var(--color-brand-teal-faint);
  border-left: 3px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.drawer-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.drawer-item span {
  font-size: 16px;
  font-weight: 500;
}
.drawer-cat-item {
  height: 48px;
  padding: 0 20px 0 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-primary);
  transition: background 150ms;
}
.drawer-cat-item:hover {
  background: var(--color-surface);
}
.drawer-cat-item span {
  font-size: 15px;
  font-weight: 500;
}
.drawer-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 4px 0;
}
.drawer-footer {
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border-light);
}
.btn-drawer-cta {
  width: 100%;
  height: 50px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-drawer-cta:hover {
  opacity: 0.9;
}
/* ══ BOTTOM TAB BAR ═════════════════════════════════════════════════════ */
.bottom-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px) saturate(200%);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 16px rgba(26, 12, 10, 0.06);
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 999;
}
@media (max-width: 767px) {
  .bottom-tab-bar {
    display: flex;
  }
}
.tab-bar-inner {
  display: flex;
  width: 100%;
}
.tab-btn {
  flex: 1;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  transition: color 150ms;
}
.tab-btn.active {
  color: var(--color-brand-teal);
}
.tab-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0e7490, #6b21a8);
  border-radius: 0 0 3px 3px;
}
.tab-btn svg {
  width: 24px;
  height: 24px;
}
.tab-btn span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
/* ══ HERO ════════════════════════════════════════════════════════════════ */
.home-page .hero {
  background: #fff;
  position: relative;
  overflow: hidden;
  height: 82vh;
  min-height: 700px;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: 45dvh;
    min-height: 380px;
  }
}
/* Ambient blobs */
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  left: -60px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.22) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(48px);
  animation: blobDrift1 14000ms ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -40px;
  right: -20px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(52px);
  animation: blobDrift2 17000ms ease-in-out infinite 2000ms;
  pointer-events: none;
  z-index: 0;
}
.hero-blob-amber {
  position: absolute;
  width: 360px;
  height: 360px;
  bottom: -40px;
  left: 20%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(56px);
  animation: blobDrift3 20000ms ease-in-out infinite 4000ms;
  pointer-events: none;
  z-index: 0;
}
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(35px, 25px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 45px) scale(0.97);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-25px, 35px) scale(1.07);
  }
  70% {
    transform: translate(18px, -28px) scale(0.95);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, -18px) scale(1.08);
  }
}
@media (max-width: 767px) {
  .hero::before {
    width: 260px;
    height: 260px;
    opacity: 0.8;
  }
  .hero::after {
    width: 220px;
    height: 220px;
    opacity: 0.7;
  }
  .hero-blob-amber {
    width: 200px;
    height: 200px;
    opacity: 0.65;
  }
}
/* Hero art — absolute behind text */
.hero-art {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 720px;
  z-index: 1;
  pointer-events: none;
  animation: artFloat 6000ms ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(-50% - 16px)) rotate(1deg);
  }
}
@media (max-width: 767px) {
  .hero-art {
    width: 90%;
    right: -10%;
    top: auto;
    bottom: -4%;
    transform: none;
    opacity: 0.5;
    animation: artFloatM 6000ms ease-in-out infinite;
  }
  @keyframes artFloatM {
    0%,
    100% {
      transform: translateY(0) rotate(-1deg);
    }
    50% {
      transform: translateY(-10px) rotate(1deg);
    }
  }
}
/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 48px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .hero-content {
    padding: 84px 16px 16px;
    align-items: flex-start;
  }
}
.hero-left {
  flex: 0 0 auto;
  width: 52%;
  max-width: 580px;
}
@media (max-width: 1023px) {
  .hero-left {
    width: 60%;
  }
}
@media (max-width: 767px) {
  .hero-left {
    width: 100%;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(14, 116, 144, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(14, 116, 144, 0.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 0ms forwards;
}
@media (max-width: 767px) {
  .hero-badge {
    display: none;
  }
}
.hero-headline {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 50ms forwards;
}
.hero-headline .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 767px) {
  .hero-headline {
    font-size: 26px;
    margin-bottom: 10px;
  }
}
.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 500ms ease-out 150ms forwards;
}
@media (max-width: 767px) {
  .hero-sub {
    font-size: 13px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 400ms ease-out 300ms forwards;
}
@media (max-width: 767px) {
  .hero-cta-row {
    flex-direction: column;
    max-width: 260px;
    gap: 8px;
  }
}
.btn-hero-primary {
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 28px rgba(185, 28, 28, 0.3);
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}
.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-hero-primary:active {
  transform: scale(0.97);
}
.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(14, 116, 144, 0.45);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  padding: 0 28px;
  height: 50px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  white-space: nowrap;
}
.btn-hero-secondary:hover {
  background: rgba(14, 116, 144, 0.07);
  border-color: rgba(14, 116, 144, 0.75);
}
@media (max-width: 767px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 40px;
    font-size: 14px;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(26, 12, 10, 0.3);
  animation: scrollBounce 1500ms ease-in-out infinite;
}
.scroll-indicator svg {
  width: 24px;
  height: 24px;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}
@media (max-width: 767px) {
  .scroll-indicator {
    display: none;
  }
}
/* ══ SHARED SECTION STYLES ══════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.section-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 540px;
}
@media (max-width: 767px) {
  .section-heading {
    font-size: 26px;
  }
  .section-sub {
    font-size: 15px;
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-child {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(1) {
  transition-delay: 0ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(2) {
  transition-delay: 80ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(3) {
  transition-delay: 160ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(4) {
  transition-delay: 240ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(5) {
  transition-delay: 320ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(6) {
  transition-delay: 400ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(7) {
  transition-delay: 480ms;
  opacity: 1;
  transform: translateY(0);
}
.reveal-on-scroll.is-visible .reveal-child:nth-child(8) {
  transition-delay: 560ms;
  opacity: 1;
  transform: translateY(0);
}
/* ══ BEST SELLERS ════════════════════════════════════════════════════════ */
.best-sellers {
  background: #fff;
  padding: 40px 0;
}
@media (max-width: 767px) {
  .best-sellers {
    padding: 24px 0;
  }
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 20px;
  }
}
.view-all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-brand-teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.view-all-link:hover {
  color: var(--color-brand-teal-hover);
}
.view-all-link:hover svg {
  transform: translateX(3px);
}
.view-all-link svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms;
}
@media (max-width: 767px) {
  .view-all-link {
    display: none;
  }
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .bs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .bs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 0 16px 12px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bs-grid::-webkit-scrollbar {
    display: none;
  }
}
/* ══ PRODUCT CARD ═══════════════════════════════════════════════════════ */
@property --aura-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
.product-card {
  background: transparent;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 250ms ease;
  z-index: 0;
}
@media (max-width: 767px) {
  .product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(50vw - 22px);
  }
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.1;
  z-index: 1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-6px);
}
.product-card:hover::before {
  opacity: 1;
  animation: auraRotate 4000ms linear infinite;
}
.product-card-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #fff;
  position: relative;
  z-index: 2;
  border: 1px solid var(--color-border-light);
  transition: border-color 250ms;
}
.product-card:hover .product-card-inner {
  border-color: transparent;
}
.product-card-image {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
}
@media (max-width: 767px) {
  .product-card-image {
    aspect-ratio: unset;
    height: 100px;
  }
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
/* Price badge — bottom-right */
.price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(185, 28, 28, 0.3);
  z-index: 2;
}
/* Label badge — top-left */
.label-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  z-index: 2;
}
/* Heart — top-right */
.heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: none;
  transition:
    transform 150ms,
    background 150ms;
}
.heart-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}
.heart-btn svg {
  width: 18px;
  height: 18px;
  stroke: #c4aba4;
  fill: none;
  transition: all 150ms;
}
.heart-btn.active svg {
  stroke: #b91c1c;
  fill: #b91c1c;
}
/* Card body */
.card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (max-width: 767px) {
  .card-body {
    padding: 10px 10px 12px;
  }
}
.card-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .card-product-name {
    font-size: 13px;
  }
}
.card-weight {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .card-weight {
    font-size: 11px;
    margin-bottom: 8px;
  }
}
.btn-add-cart {
  width: 100%;
  height: 40px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.22);
  transition:
    box-shadow 150ms,
    transform 150ms;
  letter-spacing: 0.01em;
}
.btn-add-cart:hover {
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}
.btn-add-cart:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .btn-add-cart {
    height: 34px;
    font-size: 12px;
  }
}
.qty-controls {
  display: none;
  width: 100%;
  height: 40px;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
  margin-top: auto;
}
.qty-controls.visible {
  display: flex;
}
@media (max-width: 767px) {
  .qty-controls {
    height: 34px;
  }
}
.qty-btn {
  width: 40px;
  height: 100%;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 18px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.qty-btn:hover {
  background: var(--color-brand-teal-light);
}
.qty-count {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-brand-teal);
  font-variant-numeric: tabular-nums;
}
/* ══ INFO SCROLL SECTION ════════════════════════════════════════════════ */
.info-scroll {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}
@media (max-width: 767px) {
  .info-scroll {
    padding: 60px 0;
  }
}
/* Art 2 — background */
.info-art {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 640px;
  z-index: 0;
  pointer-events: none;
  animation: artFloat2 8000ms ease-in-out infinite;
}
.info-art img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 1;
  filter: brightness(1.4) contrast(1.12) saturate(1.15);
}
@keyframes artFloat2 {
  0%,
  100% {
    transform: translateY(-50%) rotate(1deg);
  }
  50% {
    transform: translateY(calc(-50% - 18px)) rotate(-1deg);
  }
}
@media (max-width: 767px) {
  .info-art {
    width: 100%;
    right: -15%;
    top: auto;
    bottom: -5%;
    transform: none;
    opacity: 0.3;
    animation: none;
  }
}
.info-scroll .container {
  position: relative;
  z-index: 1;
}
/* WhatsApp section */
.wa-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .wa-section {
    margin-bottom: 60px;
  }
}
.wa-section .section-sub {
  max-width: 440px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  border: none;
  margin-top: 28px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition:
    background 150ms,
    transform 150ms;
}
.btn-whatsapp:hover {
  background: #1ea355;
  transform: translateY(-2px);
}
.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
/* Locations section */
.locations-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .locations-section {
    margin-bottom: 60px;
  }
}
.location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.location-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition:
    border-color 150ms,
    background 150ms,
    color 150ms;
}
.location-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
}
.location-pill svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-brand-wine);
}
.btn-find-branch {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 500;
  transition: gap 150ms;
}
.btn-find-branch:hover {
  gap: 12px;
}
.btn-find-branch svg {
  width: 16px;
  height: 16px;
}
/* How it works */
.hiw-section {
  margin-bottom: 80px;
}
@media (max-width: 767px) {
  .hiw-section {
    margin-bottom: 60px;
  }
}
.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 767px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
}
.hiw-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  z-index: 0;
  transition: transform 250ms ease;
}
.hiw-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 38px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(22px);
  opacity: 0.08;
  z-index: -1;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.hiw-card:hover {
  transform: translateY(-4px);
}
.hiw-card:hover::before {
  opacity: 0.9;
  animation: auraRotate 4000ms linear infinite;
}
.hiw-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.28);
}
.hiw-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
}
.hiw-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
@media (max-width: 767px) {
  .hiw-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
  }
  .hiw-step-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hiw-title {
    font-size: 17px;
  }
}
/* What we provide */
.wwd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.wwd-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  transition:
    background 150ms,
    transform 150ms;
  cursor: pointer;
}
.wwd-chip:hover {
  background: var(--color-brand-teal-light);
  transform: translateY(-2px);
}
/* ══ FOOTER ═════════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-footer-bg);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer {
    padding: 48px 0 calc(96px + env(safe-area-inset-bottom));
  }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.footer-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.footer-brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.social-icon:hover {
  background: rgba(255, 255, 255, 0.14);
}
.social-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-col-heading {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}
.footer-links {
  list-style: none;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 2.4;
  display: block;
  transition: color 150ms;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 10px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.footer-wa-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.28);
  color: #25d366;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: background 150ms;
}
.footer-wa-btn:hover {
  background: rgba(37, 211, 102, 0.2);
}
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 150ms;
}
.footer-legal a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ══ MENU PAGE STYLES ════════════════════════════════════════════════ */
.page-header {
  padding: 104px 0 24px;
  background: #fff;
}
@media (max-width: 767px) {
  .page-header {
    padding: 76px 0 16px;
  }
}
.page-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.page-sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
}
@media (max-width: 767px) {
  .page-title {
    font-size: 32px;
  }
  .page-sub {
    font-size: 15px;
  }
}
.category-bar {
  position: sticky;
  top: 64px;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  padding: 12px 0;
}
@media (max-width: 767px) {
  .category-bar {
    top: 56px;
  }
}
.category-bar-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .category-bar-inner {
    padding: 0 16px;
  }
}
.category-bar-inner::-webkit-scrollbar {
  display: none;
}
@media (min-width: 768px) {
  .category-bar-inner {
    flex-wrap: wrap;
    overflow-x: visible;
  }
}
.cat-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms ease;
}
@media (max-width: 767px) {
  .cat-pill {
    height: 36px;
    padding: 0 14px;
  }
}
.cat-pill:hover {
  background: var(--color-brand-teal-faint);
  border-color: var(--color-brand-teal);
}
.cat-pill.active {
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
  flex-wrap: wrap;
}
.active-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}
.filter-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.active-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.1),
    rgba(185, 28, 28, 0.08)
  );
  border: 1px solid rgba(14, 116, 144, 0.28);
  border-radius: var(--radius-full);
  padding: 4px 10px 4px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
}
.active-chip-x {
  width: 16px;
  height: 16px;
  border: none;
  background: transparent;
  color: var(--color-brand-teal);
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.clear-all-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  background: none;
  border: none;
  margin-left: auto;
  white-space: nowrap;
  transition: color 150ms;
}
.clear-all-btn:hover {
  color: var(--color-text-primary);
}
.sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.sort-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.sort-select {
  height: 40px;
  padding: 0 36px 0 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A6A62' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 150ms;
  width: 180px;
}
@media (max-width: 767px) {
  .sort-select {
    width: 150px;
  }
}
.sort-select:focus {
  border-color: var(--color-brand-teal);
}
.products-section {
  padding: 0 0 80px;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 0 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.results-count {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}
.results-count span {
  font-weight: 700;
  color: var(--color-text-primary);
}
.card-out .product-card-image {
  filter: grayscale(50%) opacity(0.8);
}
.card-out .price-badge {
  background: var(--color-text-disabled) !important;
  box-shadow: none;
}
.card-out .btn-add-cart {
  background: var(--color-border-light);
  color: var(--color-text-disabled);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}
.skeleton {
  background: linear-gradient(90deg, #f2ede9 25%, #eae3de 50%, #f2ede9 75%);
  background-size: 200% 100%;
  animation: shimmer 1500ms linear infinite;
  border-radius: 4px;
}
.skeleton-card .product-card-inner {
  pointer-events: none;
}
.skeleton-img {
  aspect-ratio: 4/3;
  border-radius: 0;
}
@media (max-width: 767px) {
  .skeleton-img {
    aspect-ratio: unset;
    height: 100px;
  }
}
.skeleton-line {
  height: 14px;
  margin-bottom: 6px;
  border-radius: 4px;
}
.skeleton-line.w70 {
  width: 70%;
}
.skeleton-line.w40 {
  width: 40%;
}
.skeleton-btn {
  height: 40px;
  border-radius: 10px;
  margin-top: 8px;
}
@media (max-width: 767px) {
  .skeleton-btn {
    height: 34px;
  }
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.btn-load-more {
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 40px;
  border-radius: 10px;
  transition:
    background 150ms,
    border-color 150ms;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-load-more:hover {
  background: var(--color-brand-teal-faint);
}
.btn-load-more svg {
  width: 18px;
  height: 18px;
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--color-border-light);
}
.empty-icon svg {
  width: 56px;
  height: 56px;
}
.empty-heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.btn-ghost {
  background: transparent;
  border: none;
  color: var(--color-brand-teal);
  font-size: 15px;
  font-weight: 500;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  transition: background 150ms;
}
.btn-ghost:hover {
  background: var(--color-brand-teal-faint);
}
/* ══ CART PAGE STYLES ════════════════════════════════════════════════ */
.cart-badge-nav {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--color-brand-wine);
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-wrapper {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrapper {
    padding-top: 56px;
  }
}
.cart-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 48px 80px;
}
@media (max-width: 767px) {
  .cart-page {
    padding: 24px 0 120px;
  }
}
.header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.item-count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--color-brand-teal-faint);
  border: 1px solid var(--color-brand-teal-light);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand-teal);
  vertical-align: middle;
}
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto 36px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface-2, #f2ede9);
  flex-shrink: 0;
}
.cart-item-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--img-gradient, linear-gradient(135deg, #f9f6f4, #f2ede9));
}
.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}
.cart-item-info-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  align-items: flex-start;
  gap: 6px;
}
@media (max-width: 767px) {
  .cart-item-info-wrap {
    display: flex;
  }
  .cart-item-info-wrap .cart-item-info {
    flex: 1;
    min-width: 0;
  }
}
.btn-remove-x {
  display: none;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 16px;
  font-weight: 500;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: color 150ms;
  margin-top: 1px;
}
.btn-remove-x:hover {
  color: var(--color-brand-wine);
}
@media (max-width: 767px) {
  .btn-remove-x {
    display: flex;
  }
}
.cart-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  word-break: break-word;
}
.cart-item-variant {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.cart-item-price-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
}
.cart-item-mobile-actions {
  display: none;
  align-items: center;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  width: 120px;
  height: 40px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-qty-mobile {
  display: flex;
  align-items: center;
  width: 90px;
  height: 32px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal);
  border-radius: 10px;
  overflow: hidden;
}
.cart-item-total {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.btn-remove {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--color-text-disabled);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  margin-top: 2px;
  transition:
    color 150ms,
    background 150ms;
}
.btn-remove:hover {
  color: var(--color-brand-wine);
  background: var(--color-brand-wine-faint, #fff5f5);
}
.btn-remove svg {
  width: 18px;
  height: 18px;
}
.btn-remove-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-wine);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-remove-text:hover {
  color: var(--color-brand-wine-hover);
}
.instructions-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border-light);
  width: 100%;
}
.instructions-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}
.instructions-sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.field-textarea {
  width: 100%;
  min-height: 100px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  resize: vertical;
  outline: none;
  line-height: 1.55;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-textarea::placeholder {
  color: var(--color-text-disabled);
}
.field-textarea:focus {
  background: #fff;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.12);
}
.summary-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 28px;
  max-height: none;
  height: fit-content;
  align-self: start;
}
.summary-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.summary-row-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-secondary);
}
.summary-row-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.summary-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 16px 0;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-primary);
}
.summary-total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
}
.promo-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.promo-input {
  flex: 1;
  height: 48px;
  background: #fff;
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--color-text-primary);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.promo-input::placeholder {
  text-transform: none;
  letter-spacing: 0;
}
.promo-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.1);
}
.btn-apply {
  height: 48px;
  padding: 0 18px;
  background: transparent;
  border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  transition: background 150ms;
  white-space: nowrap;
}
.btn-apply:hover {
  background: var(--color-brand-teal-faint);
}
.promo-success {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.promo-success.visible {
  display: flex;
}
.promo-success-text {
  font-size: 13px;
  font-weight: 500;
  color: #047857;
}
.promo-success svg {
  width: 16px;
  height: 16px;
  color: #047857;
  flex-shrink: 0;
}
.btn-checkout {
  width: 100%;
  height: 52px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  margin-top: 20px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-checkout:active {
  transform: scale(0.97);
}
.security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
}
.security-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.btn-start-shopping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-start-shopping:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 300ms ease-out;
  pointer-events: none;
}
@media (max-width: 767px) {
  .toast {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: 100%;
  }
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.toast-icon svg {
  width: 16px;
  height: 16px;
  stroke: #047857;
  stroke-width: 2.5;
  fill: none;
}
.toast-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.toast-sub {
  font-size: 13px;
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .cart-mobile-pad {
    padding: 0 16px;
    box-sizing: border-box;
  }
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
  }
  .cart-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  .cart-item-img-placeholder {
    font-size: 22px;
  }
  .cart-item-info-wrap {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: row;
    align-items: flex-start;
    gap: 6px;
    overflow: hidden;
  }
  .cart-item-info {
    flex: 1;
    min-width: 0;
  }
  .cart-item-name {
    font-size: 13px;
    white-space: normal;
    word-break: break-word;
  }
  .cart-item-variant {
    font-size: 11px;
  }
  .cart-item-price-unit {
    font-size: 11px;
  }
  .cart-item-mobile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
    gap: 8px;
  }
  .cart-item-qty-mobile {
    width: 84px;
    height: 30px;
  }
  .btn-remove-x {
    display: flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 1px;
  }
  .cart-item-qty {
    display: none;
  }
  .cart-item-total {
    display: none;
  }
  .btn-remove {
    display: none;
  }
  .field-textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
  }
  .summary-card {
    position: static;
    margin-top: 20px;
    border-radius: 16px;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
  }
  .promo-row {
    gap: 6px;
  }
  .promo-input {
    min-width: 0;
    flex: 1;
    font-size: 13px;
  }
  .btn-apply {
    padding: 0 14px;
    font-size: 13px;
  }
  .btn-checkout {
    height: 48px;
    font-size: 14px;
  }
}
html,
body {
  height: auto;
  overflow-y: auto;
}
[ng-view] {
  min-height: 100vh;
}
/* ══ CHECKOUT PAGE STYLES ════════════════════════════════════════════ */
.form-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
.form-section-heading {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
}
.form-field {
  margin-bottom: 16px;
}
.form-field:last-child {
  margin-bottom: 0;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  height: 48px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 150ms;
}
.form-input:focus {
  outline: none;
  border-color: var(--color-brand-teal);
}
.form-input::placeholder {
  color: var(--color-text-muted);
}
.fulfillment-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.fulfillment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 12px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.fulfillment-option svg {
  width: 22px;
  height: 22px;
}
.fulfillment-option:hover {
  border-color: var(--color-brand-teal);
}
.fulfillment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
select.form-input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
/* ── Branch picker grid ── */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .branch-grid {
    grid-template-columns: 1fr;
  }
}
.branch-card {
  position: relative;
  text-align: left;
  padding: 14px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 150ms;
}
.branch-card:hover {
  border-color: var(--color-brand-teal);
}
.branch-card.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.branch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.branch-card-header > svg:first-child {
  width: 16px;
  height: 16px;
  color: var(--color-brand-teal);
  flex-shrink: 0;
}
.branch-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}
.branch-card-check {
  width: 18px;
  height: 18px;
  color: var(--color-brand-teal);
  opacity: 0;
  transform: scale(0.7);
  transition: all 150ms;
}
.branch-card.active .branch-card-check {
  opacity: 1;
  transform: scale(1);
}
.branch-card-address {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0 0 4px 0;
  line-height: 1.4;
}
.branch-card-hours {
  font-size: 12px;
  color: var(--color-brand-teal);
  margin: 0;
  font-weight: 500;
}
/* ── Polished select dropdown ── */
select.form-input {
  font-weight: 500;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
select.form-input:hover {
  border-color: var(--color-brand-teal);
}
select.form-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
/* Style options where browser allows it (Chrome on most platforms respects this) */
select.form-input option {
  padding: 12px;
  font-size: 15px;
  background: #fff;
  color: var(--color-text-primary);
}
select.form-input option:checked {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
  font-weight: 600;
}
.select-wrap {
  position: relative;
}
.field-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 8px 0 0 0;
  line-height: 1.4;
}
/* ── Payment options ── */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 767px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}
.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 150ms;
}
.payment-option:hover {
  border-color: var(--color-brand-teal);
}
.payment-option.active {
  border-color: var(--color-brand-teal);
  background: var(--color-brand-teal-faint);
}
.payment-option-icon {
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: all 150ms;
}
.payment-option-icon svg {
  width: 20px;
  height: 20px;
}
.payment-option.active .payment-option-icon {
  background: var(--color-brand-teal);
  color: #fff;
}
.payment-option-body {
  flex: 1;
  min-width: 0;
}
.payment-option-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
}
.payment-option-sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.payment-option-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: all 150ms;
  flex-shrink: 0;
}
.payment-option-check svg {
  width: 12px;
  height: 12px;
}
.payment-option.active .payment-option-check {
  opacity: 1;
  transform: scale(1);
}
/* ── Optional badge ── */
.form-section-optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
}
.form-section-sub {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: -10px 0 14px 0;
  line-height: 1.4;
}
/* ── Textarea ── */
.form-textarea {
  width: 100%;
  min-height: 90px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--color-text-primary);
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 150ms;
}
.form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.form-textarea::placeholder {
  color: var(--color-text-muted);
}
/* ── Checkout order summary ── */
.checkout-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.checkout-item:last-of-type {
  border-bottom: none;
}
.checkout-item-img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.checkout-item-info {
  min-width: 0;
}
.checkout-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 2px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.checkout-item-meta {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 0;
}
.checkout-item-total {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.checkout-empty {
  text-align: center;
  padding: 20px;
  color: var(--color-text-secondary);
}
.checkout-empty p {
  margin: 0 0 12px 0;
}
/* ── Place Order button ── */
.btn-place-order {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, var(--color-brand-wine), #dc2626);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  transition: all 150ms;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.25);
}
.btn-place-order:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(185, 28, 28, 0.35);
}
.btn-place-order:active:not(:disabled) {
  transform: translateY(0);
}
.btn-place-order:disabled {
  background: var(--color-border);
  color: var(--color-text-muted);
  cursor: not-allowed;
  box-shadow: none;
}
.btn-place-order-total {
  font-weight: 500;
  opacity: 0.9;
}
.btn-place-order .spinner {
  width: 18px;
  height: 18px;
  animation: spin 800ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.checkout-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
  margin: 14px 0 0 0;
  padding-bottom: 80px; /* space above bottom-tab-bar on mobile */
}
/* ══ ORDER CONFIRMATION PAGE STYLES ════════════════════════════════ */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}
.navbar-secure {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
}
.navbar-secure svg {
  width: 14px;
  height: 14px;
}
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.confirm-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 16px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 767px) {
  .confirm-page {
    padding: 40px 16px 100px;
  }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 0;
}
.blob-teal {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -120px;
  background: radial-gradient(
    circle,
    rgba(14, 116, 144, 0.18) 0%,
    transparent 70%
  );
  animation: blobDrift1 14s ease-in-out infinite;
}
.blob-wine {
  width: 400px;
  height: 400px;
  top: -40px;
  right: -80px;
  background: radial-gradient(
    circle,
    rgba(185, 28, 28, 0.12) 0%,
    transparent 70%
  );
  animation: blobDrift2 17s ease-in-out infinite 2s;
}
.blob-amber {
  width: 360px;
  height: 360px;
  bottom: 0;
  left: 30%;
  background: radial-gradient(
    circle,
    rgba(217, 119, 6, 0.11) 0%,
    transparent 70%
  );
  animation: blobDrift3 20s ease-in-out infinite 4s;
}
.progress {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
}
@media (max-width: 767px) {
  .progress {
    margin-bottom: 28px;
  }
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.progress-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.progress-circle.done {
  background: var(--gcta);
  color: #fff;
}
.progress-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.progress-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.progress-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--tp);
  white-space: nowrap;
}
.progress-label.inactive {
  color: var(--tm);
}
.progress-line {
  flex: 1;
  height: 1.5px;
  margin-top: 15px;
  min-width: 20px;
}
.progress-line.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.progress-line.inactive {
  background: var(--border);
}
.confirm-card {
  width: min(560px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  animation: cardReveal 500ms var(--ease-out) 200ms forwards;
}
@media (max-width: 767px) {
  .confirm-card {
    padding: 32px 20px;
  }
}
.success-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  margin: 0 auto 24px;
  opacity: 0;
  transform: scale(0);
  animation: successPop 450ms var(--ease-spring) 500ms forwards;
}
.success-circle svg {
  width: 36px;
  height: 36px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.confirm-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 700ms forwards;
}
@media (max-width: 767px) {
  .confirm-heading {
    font-size: 26px;
  }
}
.confirm-sub {
  font-size: 16px;
  color: var(--ts);
  line-height: 1.55;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 800ms forwards;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}
.order-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 850ms forwards;
}
.order-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 500;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 920ms forwards;
}
@media (max-width: 767px) {
  .order-number {
    font-size: 18px;
  }
}
.summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 980ms forwards;
}
.branch-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.branch-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ts);
  font-size: 13px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
}
.date-pill svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  flex-shrink: 0;
}
.actions {
  margin-top: 0;
  opacity: 0;
  animation: fadeUp 400ms var(--ease-out) 1080ms forwards;
}
.btn-track {
  width: 100%;
  height: 52px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 150ms,
    box-shadow 150ms;
  text-decoration: none;
}
.btn-track:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-track:active {
  transform: scale(0.97);
}
.btn-shop {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 150ms;
  text-decoration: none;
}
.btn-shop:hover {
  background: var(--teal-f);
}
.call-link {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.call-link:hover {
  color: var(--teal-h);
}
.cancel-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--tm);
  transition: color 150ms;
}
.cancel-link:hover {
  color: var(--wine);
}
.next-steps {
  width: min(560px, 100%);
  margin-top: 32px;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 500ms var(--ease-out) 1150ms forwards;
}
.next-steps-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.step-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 10px;
}
.step-icon.teal {
  background: var(--teal-f);
}
.step-icon.amber {
  background: #fffbeb;
}
.step-icon.green {
  background: #d1fae5;
}
/* ══ ORDER CONFIRMATION — KEYFRAMES + LEGACY VAR ALIASES ═══════════════ */
/* Variable aliases (the original page uses short names, our project uses long names) */
:root {
  --teal: var(--color-brand-teal);
  --tp: var(--color-text-primary);
  --ts: var(--color-text-secondary);
  --tm: var(--color-text-muted);
  --td: var(--color-text-secondary);
  --surface: var(--color-surface);
  --border: var(--color-border);
  --gbrand: linear-gradient(135deg, #0e7490, #6b21a8);
  --gcta: linear-gradient(135deg, #b91c1c, #d97706);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Keyframes */
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -20px);
  }
}
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 30px);
  }
}
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes successPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  60% {
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ══ MY ORDERS PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
  min-height: 100dvh;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
    padding-bottom: 80px;
  }
}
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 0 16px;
  }
}
.page-header {
  padding: 48px 0 32px;
}
@media (max-width: 767px) {
  .page-header {
    padding: 32px 0 20px;
  }
}
.page-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-heading {
  font-size: 36px;
  font-weight: 800;
  color: var(--tp);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .page-heading {
    font-size: 26px;
  }
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-tab {
  height: 38px;
  padding: 0 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ts);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition:
    background 150ms,
    border-color 150ms,
    color 150ms,
    box-shadow 150ms;
}
.filter-tab .tab-count {
  font-size: 11px;
  font-weight: 600;
  background: var(--border);
  color: var(--tm);
  padding: 1px 6px;
  border-radius: 9999px;
  transition:
    background 150ms,
    color 150ms;
}
.filter-tab:hover {
  background: var(--teal-f);
  border-color: var(--teal);
}
.filter-tab.active {
  background: var(--teal-f);
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 116, 144, 0.18);
}
.filter-tab.active .tab-count {
  background: var(--teal);
  color: #fff;
}
@media (max-width: 767px) {
  .filter-tab {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}
.orders-list {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .orders-list {
    padding-bottom: 32px;
  }
}
.order-card {
  position: relative;
  border-radius: 16px;
  background: #fff;
  z-index: 0;
  margin-bottom: 12px;
  cursor: pointer;
  transition:
    transform 250ms var(--ease-out),
    box-shadow 250ms;
}
.order-card-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  transition: border-color 250ms;
  overflow: hidden;
}
.order-card:hover .order-card-inner {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(14, 116, 144, 0.12);
}
.order-card:hover {
  transform: translateY(-2px);
}
.order-card::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: conic-gradient(
    from var(--aura-angle, 0deg),
    rgba(14, 116, 144, 0.55),
    rgba(185, 28, 28, 0.5),
    rgba(217, 119, 6, 0.45),
    rgba(107, 33, 168, 0.4),
    rgba(14, 116, 144, 0.55)
  );
  filter: blur(18px);
  opacity: 0;
  z-index: 1;
  transition: opacity 300ms;
  pointer-events: none;
}
.order-card:hover::before {
  opacity: 0.65;
  animation: auraRotate 4000ms linear infinite;
}
.order-card-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 20px;
  align-items: center;
}
@media (max-width: 600px) {
  .order-card-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
}
.thumb-stack {
  display: flex;
  align-items: center;
}
.thumb-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
  background: var(--surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.thumb-img + .thumb-img {
  margin-left: -10px;
}
.thumb-more {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--surface);
  border: 2px solid #fff;
  margin-left: -10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .thumb-stack {
    display: none;
  }
}
.order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: 0.01em;
}
.order-meta {
  font-size: 13px;
  color: var(--tm);
  margin-top: 3px;
}
.order-summary {
  font-size: 13px;
  color: var(--ts);
  margin-top: 2px;
  line-height: 1.4;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-unpaid {
  background: #fef3c7;
  color: #92400e;
}
.badge-paid {
  background: #d1fae5;
  color: #047857;
}
.badge-cancelled {
  background: var(--wine-f);
  color: #991b1b;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-delivery {
  background: #ede9fe;
  color: #5b21b6;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.order-total-col {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.order-total-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
.chevron-icon {
  width: 16px;
  height: 16px;
  color: var(--td);
  transition: color 150ms;
}
.order-card:hover .chevron-icon {
  color: var(--teal);
}
.mobile-row-1 {
  display: none;
}
.mobile-row-2 {
  display: none;
}
.mobile-row-3 {
  display: none;
}
@media (max-width: 600px) {
  .mobile-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .mobile-row-2 {
    display: block;
  }
  .mobile-row-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .desktop-only {
    display: none;
  }
}
.cancel-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cancel-link-btn {
  font-size: 13px;
  font-weight: 500;
  color: var(--wine);
  transition: color 150ms;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.cancel-link-btn:hover {
  color: var(--wine-h);
}
.view-detail-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  transition: color 150ms;
}
.view-detail-link:hover {
  color: var(--teal-h);
}
.empty-state {
  text-align: center;
  padding: 80px 20px;
  max-width: 400px;
  margin: 0 auto;
  display: none;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.empty-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--border2);
  fill: none;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  line-height: 1.6;
  margin-bottom: 28px;
}
.btn-shop-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 10px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.28);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-shop-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}
.sheet-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(32px + env(safe-area-inset-bottom));
  z-index: 2001;
  transform: translateY(110%);
  transition: transform 350ms var(--ease-smooth);
  max-width: 600px;
  margin: 0 auto;
}
.sheet-overlay.open .bottom-sheet {
  transform: translateY(0);
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: var(--border);
  margin: 0 auto 24px;
}
.sheet-heading {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.sheet-sub {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 4px;
}
.sheet-order-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 24px;
}
.sheet-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.28);
  transition:
    background 150ms,
    transform 150ms;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
  transform: translateY(-1px);
}
.btn-keep-order {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  background: transparent;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}
.btn-keep-order:hover {
  background: var(--teal-f);
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── Keyframes ── */
@keyframes auraRotate {
  to {
    --aura-angle: 360deg;
  }
}
/* ══ MY ORDERS — Variable aliases for legacy short names ═══════════════ */
:root {
  --wine: var(--color-brand-wine);
  --wine-h: var(--color-brand-wine-hover);
  --teal-f: var(--color-brand-teal-faint);
  --gold: #d97706;
  --aura-angle: 0deg;
}
/* Most CSS uses these short aliases inherited from the original page —
   defining them here keeps the original styles working without rewrites. */
/* ══ ORDER DETAIL PAGE STYLES ════════════════════════════════════════ */
.page-wrap {
  padding-top: 64px;
}
@media (max-width: 767px) {
  .page-wrap {
    padding-top: 56px;
  }
}
.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 48px 100px;
}
@media (max-width: 767px) {
  .page-container {
    padding: 20px 16px 100px;
  }
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  margin-bottom: 24px;
  transition: gap 150ms;
}
.back-btn:hover {
  gap: 10px;
}
.back-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .back-btn {
    font-size: 13px;
    margin-bottom: 16px;
  }
}
.order-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--tp);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 767px) {
  .order-title {
    font-size: 22px;
    gap: 8px;
  }
}
.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-text {
  font-size: 14px;
  color: var(--tm);
}
@media (max-width: 767px) {
  .meta-text {
    font-size: 13px;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge-placed {
  background: #dbeafe;
  color: #1e40af;
}
.badge-paid {
  background: #d1fae5;
  color: #065f46;
}
.badge-preparing {
  background: #fef3c7;
  color: #92400e;
}
.badge-ready {
  background: var(--teal-f);
  color: var(--teal);
}
.badge-cancelled {
  background: var(--wine-l);
  color: #991b1b;
}
.badge-completed {
  background: #d1fae5;
  color: #065f46;
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
@media (max-width: 767px) {
  .timeline {
    flex-direction: column;
    gap: 0;
  }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 8px;
}
@media (max-width: 767px) {
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    flex: none;
    width: 100%;
    gap: 14px;
    padding-bottom: 0;
  }
}
.timeline-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-circle.done {
  background: var(--gcta);
  color: #fff;
}
.timeline-circle.active {
  background: #fff;
  border: 2px solid var(--teal);
  color: var(--teal);
}
.timeline-circle.inactive {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--td);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
@media (max-width: 767px) {
  .timeline-info {
    align-items: flex-start;
    padding-bottom: 20px;
  }
}
.timeline-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--tp);
  text-align: center;
}
.timeline-label.inactive {
  color: var(--tm);
}
.timeline-time {
  font-size: 11px;
  color: var(--tm);
}
.timeline-line {
  flex: 1;
  height: 1.5px;
  margin-top: 13px;
  min-width: 12px;
}
@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }
}
.timeline-line-v {
  display: none;
}
@media (max-width: 767px) {
  .timeline-line-v {
    display: block;
    width: 1.5px;
    height: 20px;
    margin-left: 13px;
    flex-shrink: 0;
  }
}
.timeline-line.done,
.timeline-line-v.done {
  background: linear-gradient(90deg, #b91c1c, #d97706);
}
.timeline-line.inactive,
.timeline-line-v.inactive {
  background: var(--border);
}
.order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
@media (max-width: 767px) {
  .order-item {
    gap: 10px;
  }
}
.order-item-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .order-item-thumb {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}
.order-item-info {
  flex: 1;
  min-width: 0;
}
.order-item-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .order-item-name {
    font-size: 13px;
  }
}
.order-item-variant {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
@media (max-width: 767px) {
  .order-item-variant {
    font-size: 11px;
  }
}
.order-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.order-item-qty {
  font-size: 13px;
  color: var(--tm);
}
.order-item-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .order-item-price {
    font-size: 13px;
  }
}
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.detail-label {
  font-size: 14px;
  color: var(--tm);
  flex-shrink: 0;
}
.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--tp);
  text-align: right;
}
@media (max-width: 767px) {
  .detail-label,
  .detail-value {
    font-size: 13px;
  }
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--border);
}
.total-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
}
.total-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--tp);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .total-label {
    font-size: 16px;
  }
  .total-value {
    font-size: 18px;
  }
}
.instructions-box {
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 4px;
}
.instructions-text {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  font-style: italic;
}
@media (max-width: 767px) {
  .instructions-text {
    font-size: 13px;
  }
}
.reorder-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.06)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-reorder {
  background: var(--gbrand);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  height: 40px;
  padding: 0 20px;
  border: none;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.25);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-reorder:hover {
  transform: translateY(-1px);
}
.btn-cancel {
  width: 100%;
  height: 48px;
  background: transparent;
  border: 1.5px solid var(--wine);
  color: var(--wine);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
  transition: background 150ms;
}
.btn-cancel:hover {
  background: var(--wine-f);
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 12, 10, 0.45);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}
.modal-overlay.open {
  display: flex;
}
.modal-card {
  background: #fff;
  width: 100%;
  max-width: 480px;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 768px) {
  .modal-card {
    border-radius: 24px;
    padding: 32px;
  }
}
.modal-handle {
  width: 40px;
  height: 4px;
  background: var(--border);
  border-radius: 9999px;
  margin: 0 auto 20px;
}
@media (min-width: 768px) {
  .modal-handle {
    display: none;
  }
}
.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.modal-sub {
  font-size: 14px;
  color: var(--tm);
  line-height: 1.55;
  margin-bottom: 24px;
}
.modal-order-ref {
  display: inline-block;
  background: var(--surface);
  border-radius: 8px;
  padding: 6px 12px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 20px;
}
.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-confirm-cancel {
  width: 100%;
  height: 50px;
  background: var(--wine);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-confirm-cancel:hover {
  background: var(--wine-h);
}
.btn-keep {
  width: 100%;
  height: 50px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-keep:hover {
  background: var(--surface);
}
/* ══ FAVOURITES PAGE STYLES ══════════════════════════════════════════ */
.count-pill {
  display: inline-flex;
  align-items: center;
  background: var(--teal-f);
  border: 1px solid var(--teal-l);
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
}
.products-section {
  padding: 0 48px 100px;
  max-width: 1280px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .products-section {
    padding: 0 16px 100px;
  }
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1023px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.empty-state {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  margin: 0 auto 20px;
  color: var(--border);
}
.empty-icon svg {
  width: 64px;
  height: 64px;
}
.empty-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 8px;
}
.empty-sub {
  font-size: 15px;
  color: var(--tm);
  margin-bottom: 28px;
}
.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gcta);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185, 28, 28, 0.26);
  transition:
    transform 150ms,
    box-shadow 150ms;
}
.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
/* ══ PROFILE PAGE STYLES ═══════════════════════════════════════════ */
.profile-header {
  background: var(--surface);
  padding: 40px 48px;
  text-align: center;
}
@media (max-width: 767px) {
  .profile-header {
    padding: 28px 16px;
  }
}
.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gbrand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.28);
}
.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 4px;
}
@media (max-width: 767px) {
  .profile-name {
    font-size: 20px;
  }
}
.profile-meta {
  font-size: 14px;
  color: var(--tm);
  margin-bottom: 14px;
}
.btn-edit-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  height: 38px;
  padding: 0 18px;
  border-radius: 9999px;
  transition: background 150ms;
}
.btn-edit-profile:hover {
  background: var(--teal-f);
}
.btn-edit-profile svg {
  width: 14px;
  height: 14px;
}
.sections-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 48px 100px;
}
@media (max-width: 767px) {
  .sections-wrap {
    padding: 20px 16px 100px;
  }
}
.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 16px;
  }
}
.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tp);
}
.btn-edit-section {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  border: none;
  background: none;
  transition: color 150ms;
}
.btn-edit-section:hover {
  color: var(--teal-h);
}
.field-display {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.field-display:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.field-display-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--tm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.field-display-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
@media (max-width: 767px) {
  .field-display-value {
    font-size: 14px;
  }
}
.edit-form {
  display: none;
}
.edit-form.open {
  display: block;
}
.field-group {
  margin-bottom: 14px;
}
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ts);
  margin-bottom: 5px;
}
.field-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.field-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-wrap {
  position: relative;
}
.pw-input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 44px 0 14px;
  font-size: 14px;
  color: var(--tp);
  outline: none;
  transition:
    border-color 150ms,
    box-shadow 150ms;
}
.pw-input:focus {
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1);
}
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm);
}
.pw-toggle svg {
  width: 17px;
  height: 17px;
}
.edit-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-save {
  flex: 1;
  height: 44px;
  background: var(--gcta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: opacity 150ms;
}
.btn-save:hover {
  opacity: 0.9;
}
.btn-cancel-edit {
  height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--ts);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  transition: background 150ms;
}
.btn-cancel-edit:hover {
  background: var(--surface);
}
.referral-card {
  background: linear-gradient(
    135deg,
    rgba(14, 116, 144, 0.07),
    rgba(185, 28, 28, 0.05)
  );
  border: 1px solid rgba(14, 116, 144, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .referral-card {
    padding: 18px 16px;
  }
}
.referral-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--tp);
  margin-bottom: 6px;
}
.referral-sub {
  font-size: 14px;
  color: var(--ts);
  line-height: 1.55;
  margin-bottom: 18px;
}
.referral-code-box {
  background: #fff;
  border: 1.5px dashed rgba(14, 116, 144, 0.38);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.referral-code {
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.08em;
}
@media (max-width: 767px) {
  .referral-code {
    font-size: 16px;
  }
}
.btn-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  border: none;
  background: none;
  flex-shrink: 0;
  transition: color 150ms;
}
.btn-copy:hover {
  color: var(--teal-h);
}
.btn-copy svg {
  width: 16px;
  height: 16px;
}
.referral-stats {
  display: flex;
  gap: 32px;
}
.ref-stat p:first-child {
  font-size: 24px;
  font-weight: 800;
  color: var(--tp);
}
.ref-stat p:last-child {
  font-size: 13px;
  color: var(--tm);
  margin-top: 2px;
}
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border: none;
  background: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp);
  border-top: 1px solid rgba(14, 116, 144, 0.15);
  margin-top: 16px;
}
.accordion-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  transition: transform 200ms;
  flex-shrink: 0;
}
.accordion-toggle.open svg {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding-top: 12px;
}
.accordion-body.open {
  display: block;
}
.reward-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.reward-row:last-child {
  border-bottom: none;
}
.reward-from {
  color: var(--ts);
}
.reward-amount {
  font-weight: 700;
  color: var(--teal);
}
.reward-date {
  font-size: 12px;
  color: var(--tm);
}
.action-row {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 150ms;
  border-radius: 6px;
}
.action-row:last-child {
  border-bottom: none;
}
.action-row:hover {
  background: var(--surface);
  padding: 0 8px;
  margin: 0 -4px;
}
.action-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.action-left svg {
  width: 20px;
  height: 20px;
  color: var(--tm);
  flex-shrink: 0;
}
.action-left span {
  font-size: 15px;
  font-weight: 500;
  color: var(--tp);
}
.action-chevron {
  width: 16px;
  height: 16px;
  color: var(--td);
}
@media (max-width: 767px) {
  .action-left span {
    font-size: 14px;
  }
}
.action-row.danger .action-left svg {
  color: var(--wine);
}
.action-row.danger .action-left span {
  color: var(--wine);
}
.action-row.danger:hover {
  background: var(--wine-f);
}
.action-row.danger .action-chevron {
  display: none;
}
.otp-note {
  font-size: 12px;
  color: var(--tm);
  margin-top: 4px;
  line-height: 1.4;
}
/* ══ AUTH PAGE STYLES ══════════════════════════════════════════════ */
.auth-page{
  min-height:100dvh;
  display:flex;align-items:center;justify-content:center;
  padding:60px 16px calc(60px + env(safe-area-inset-bottom));
  background:#fff;
  position:relative;overflow:hidden;
}
.auth-page::before{
  content:'';position:absolute;
  width:520px;height:520px;top:-120px;left:-100px;
  background:radial-gradient(circle,rgba(14,116,144,0.18) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobA 14000ms ease-in-out infinite;
}
.auth-page::after{
  content:'';position:absolute;
  width:440px;height:440px;bottom:-100px;right:-80px;
  background:radial-gradient(circle,rgba(185,28,28,0.13) 0%,transparent 70%);
  border-radius:50%;filter:blur(56px);pointer-events:none;z-index:0;
  animation:blobB 17000ms ease-in-out infinite 2000ms;
}
.auth-card{
  position:relative;z-index:1;
  width:100%;max-width:480px;
  background:#fff;
  border:1px solid var(--color-border-light);
  border-radius:24px;
  box-shadow:var(--shadow-lg);
  padding:40px;
}
@media(max-width:767px) {
.auth-card{padding:28px 20px;border-radius:20px;}
}
.auth-logo{
  display:flex;align-items:center;justify-content:center;
  gap:10px;margin-bottom:24px;
}
.auth-logo-mark{
  width:44px;height:44px;border-radius:50%;
  background:var(--gradient-cta);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  box-shadow:var(--shadow-cta);
}
.auth-logo-text{font-size:20px;font-weight:800;letter-spacing:-0.02em;color:var(--color-text-primary);}
.auth-heading{font-size:22px;font-weight:700;color:var(--color-text-primary);text-align:center;margin-bottom:6px;}
.auth-sub{font-size:14px;font-weight:400;color:var(--color-text-muted);text-align:center;margin-bottom:28px;line-height:1.50;}
.tab-switcher{
  display:flex;background:var(--color-surface);
  border-radius:10px;padding:4px;gap:4px;margin-bottom:28px;
}
.tab-sw-btn{
  flex:1;height:40px;border-radius:8px;border:none;background:transparent;
  font-size:14px;font-weight:600;color:var(--color-text-muted);
  transition:all 200ms ease;
}
.tab-sw-btn.active{
  background:#fff;color:var(--color-text-primary);
  box-shadow:var(--shadow-xs);
}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.field-group{margin-bottom:16px;}
.field-label{
  display:block;font-size:13px;font-weight:500;
  color:var(--color-text-secondary);margin-bottom:6px;letter-spacing:0.01em;
}
.field-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.field-input::placeholder{color:var(--color-text-disabled);}
.field-input:focus{
  background:#fff;
  border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.field-input.error{
  border-color:var(--color-brand-wine);
  box-shadow:0 0 0 4px rgba(185,28,28,0.10);
}
@media(max-width:767px) {
.field-input{height:48px;font-size:15px;}
}
.phone-wrap{
  display:flex;align-items:center;
  background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  overflow:hidden;transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.phone-wrap:focus-within{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.phone-prefix{
  padding:0 12px 0 16px;font-size:16px;font-weight:500;
  color:var(--color-text-primary);white-space:nowrap;flex-shrink:0;
  border-right:1px solid var(--color-border-light);
}
.phone-input{
  flex:1;height:52px;border:none;background:transparent;
  padding:0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
}
.phone-input::placeholder{color:var(--color-text-disabled);}
@media(max-width:767px) {
.phone-input{height:48px;font-size:15px;}
}
.pw-wrap{position:relative;}
.pw-input{
  width:100%;height:52px;background:var(--color-surface);
  border:1.5px solid var(--color-border-light);border-radius:10px;
  padding:0 48px 0 16px;font-size:16px;font-family:var(--font-primary);
  color:var(--color-text-primary);outline:none;
  transition:border-color 150ms,box-shadow 150ms,background 150ms;
}
.pw-input::placeholder{color:var(--color-text-disabled);}
.pw-input:focus{
  background:#fff;border-color:var(--color-brand-teal);
  box-shadow:0 0 0 4px rgba(14,116,144,0.12);
}
.pw-toggle{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;
  color:var(--color-text-muted);transition:color 150ms;
}
.pw-toggle:hover{color:var(--color-text-primary);}
.pw-toggle svg{width:18px;height:18px;}
@media(max-width:767px) {
.pw-input{height:48px;font-size:15px;}
}
.field-helper{font-size:12px;color:var(--color-text-muted);margin-top:5px;line-height:1.40;}
.field-error{
  display:none;font-size:12px;color:var(--color-brand-wine);
  margin-top:5px;align-items:center;gap:4px;
}
.field-error.visible{display:flex;}
.field-error svg{width:13px;height:13px;flex-shrink:0;}
.forgot-row{display:flex;justify-content:flex-end;margin-top:-8px;margin-bottom:20px;}
.forgot-link{font-size:13px;font-weight:500;color:var(--color-brand-teal);background:none;border:none;transition:color 150ms;}
.forgot-link:hover{color:var(--color-brand-teal-hover);}
.btn-primary{
  width:100%;height:52px;background:var(--gradient-cta);
  color:#fff;font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  box-shadow:0 4px 16px rgba(185,28,28,0.28);
  transition:transform 150ms,box-shadow 150ms;letter-spacing:0.01em;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-primary:active{transform:scale(0.97);}
.btn-primary:disabled{opacity:0.50;cursor:not-allowed;transform:none;box-shadow:none;}
.btn-spinner{
  width:20px;height:20px;border:2px solid rgba(255,255,255,0.40);
  border-top-color:#fff;border-radius:50%;
  animation:spin 600ms linear infinite;display:none;
}
.btn-primary.loading .btn-text{display:none;}
.btn-primary.loading .btn-spinner{display:block;}
.divider{
  display:flex;align-items:center;gap:12px;margin:24px 0;
}
.divider-line{flex:1;height:1px;background:var(--color-border-light);}
.divider-text{font-size:13px;font-weight:400;color:var(--color-text-muted);white-space:nowrap;}
.social-row{display:flex;gap:12px;}
.btn-social{
  flex:1;height:48px;background:var(--color-surface);
  border:1px solid var(--color-border-light);border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-size:14px;font-weight:500;color:var(--color-text-primary);
  transition:background 150ms,border-color 150ms;
}
.btn-social:hover{background:var(--color-surface-2);border-color:var(--color-border);}
.btn-social svg{width:20px;height:20px;flex-shrink:0;}
.terms-note{
  font-size:12px;color:var(--color-text-muted);text-align:center;margin-top:14px;line-height:1.55;
}
.terms-note a{color:var(--color-brand-teal);font-weight:500;}
.terms-note a:hover{text-decoration:underline;}
.forgot-back{
  display:inline-flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-brand-teal);
  border:none;background:none;margin-top:16px;transition:gap 150ms;
}
.forgot-back:hover{gap:10px;}
.forgot-back svg{width:16px;height:16px;}
.forgot-desc{font-size:14px;color:var(--color-text-secondary);text-align:center;line-height:1.60;margin:10px 0 24px;}
.reset-success{
  display:none;text-align:center;padding:20px 0;
}
.reset-success.active{display:block;}
.success-circle{
  width:64px;height:64px;border-radius:50%;
  background:var(--color-success);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 16px;
  box-shadow:0 6px 20px rgba(4,120,87,0.28);
}
.success-circle svg{width:28px;height:28px;stroke:#fff;stroke-width:2.5;}
.success-heading{font-size:18px;font-weight:700;color:var(--color-text-primary);margin-bottom:8px;}
.success-sub{font-size:14px;color:var(--color-text-muted);line-height:1.55;}
.back-home{
  position:absolute;z-index:2;
  top:24px;left:48px;
  display:flex;align-items:center;gap:6px;
  font-size:14px;font-weight:500;color:var(--color-text-muted);
  transition:color 150ms;
}
.back-home:hover{color:var(--color-brand-teal);}
.back-home:hover svg{transform:translateX(-3px);}
.back-home svg{width:16px;height:16px;transition:transform 150ms;}
@media(max-width:767px) {
.back-home{top:20px;left:16px;font-size:13px;}
}
@keyframes blobA{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(30px,20px) scale(1.06);}}
@keyframes blobB{0%,100%{transform:translate(0,0) scale(1);}50%{transform:translate(-25px,-20px) scale(1.05);}}
@keyframes spin{to{transform:rotate(360deg);}}
/* ══ CONTACT PAGE STYLES ══════════════════════════════════════════ */
.map-section{max-width:1280px;margin:0 auto;padding:0 48px 64px;}
@media(max-width:767px) {
.map-section{padding:0 16px 48px;}
}
.map-branches-grid{display:grid;grid-template-columns:1fr 400px;gap:32px;align-items:start;}
@media(max-width:1023px) {
.map-branches-grid{grid-template-columns:1fr;}
}
.map-container{
  height:560px;border-radius:20px;overflow:hidden;
  border:1px solid var(--border);
  background:linear-gradient(135deg,var(--teal-f) 0%,var(--surface) 100%);
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;
  position:sticky;top:80px;
}
@media(max-width:1023px) {
.map-container{height:260px;position:static;border-radius:16px;}
}
.map-placeholder-icon{font-size:48px;}
.map-placeholder-text{font-size:15px;font-weight:500;color:var(--teal);text-align:center;padding:0 20px;}
.map-placeholder-sub{font-size:13px;color:var(--tm);text-align:center;}
.branch-list{display:flex;flex-direction:column;gap:12px;}
.branch-card{
  background:#fff;border:1px solid var(--border);border-radius:16px;
  padding:20px;cursor:pointer;
  transition:border-color 200ms,box-shadow 200ms;
  position:relative;
}
.branch-card:hover,.branch-card.active-map{
  border-color:var(--teal);
  box-shadow:0 4px 16px rgba(14,116,144,0.14);
}
.branch-card-row1{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;}
.branch-name{font-size:16px;font-weight:700;color:var(--tp);}
.badge-open{display:inline-flex;align-items:center;gap:5px;background:#D1FAE5;color:#065F46;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.badge-open-dot{width:6px;height:6px;border-radius:50%;background:#047857;flex-shrink:0;}
.badge-closed{display:inline-flex;align-items:center;gap:5px;background:var(--wine-l);color:#991B1B;font-size:11px;font-weight:700;padding:3px 8px;border-radius:9999px;white-space:nowrap;flex-shrink:0;}
.branch-addr{font-size:13px;color:var(--ts);margin-bottom:3px;}
.branch-hours{font-size:13px;color:var(--tm);margin-bottom:4px;}
.branch-phone{font-size:13px;font-weight:500;color:var(--teal);display:flex;align-items:center;gap:5px;margin-bottom:12px;}
.branch-phone svg{width:13px;height:13px;flex-shrink:0;}
.branch-btns{display:flex;gap:8px;flex-wrap:wrap;}
.btn-wa{display:inline-flex;align-items:center;gap:6px;background:rgba(37,211,102,0.10);border:1px solid rgba(37,211,102,0.30);color:#16A34A;font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-wa:hover{background:rgba(37,211,102,0.18);}
.btn-wa svg{width:15px;height:15px;flex-shrink:0;}
.btn-directions{display:inline-flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--border);color:var(--ts);font-size:13px;font-weight:500;height:34px;padding:0 14px;border-radius:9999px;transition:background 150ms;white-space:nowrap;}
.btn-directions:hover{background:var(--surface2);}
.btn-directions svg{width:14px;height:14px;flex-shrink:0;}
.contact-form-section{background:var(--surface);padding:64px 48px;margin-top:0;}
@media(max-width:767px) {
.contact-form-section{padding:48px 16px;}
}
.contact-form-inner{max-width:1280px;margin:0 auto;}
.contact-form-heading{font-size:32px;font-weight:700;color:var(--tp);letter-spacing:-0.02em;text-align:center;margin-bottom:8px;}
.contact-form-sub{font-size:16px;color:var(--ts);text-align:center;max-width:440px;margin:0 auto 40px;}
@media(max-width:767px) {
.contact-form-heading{font-size:24px;}
.contact-form-sub{font-size:14px;margin-bottom:28px;}
}
.contact-methods{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;margin-bottom:48px;}
@media(max-width:767px) {
.contact-methods{gap:12px;margin-bottom:32px;}
}
.contact-method-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px 20px;text-align:center;min-width:160px;flex:1;max-width:200px;}
@media(max-width:767px) {
.contact-method-card{padding:18px 14px;min-width:unset;}
}
.method-icon-circle{width:52px;height:52px;border-radius:50%;background:var(--gcta);display:flex;align-items:center;justify-content:center;margin:0 auto 12px;font-size:22px;}
.method-label{font-size:11px;font-weight:600;color:var(--tm);letter-spacing:0.06em;text-transform:uppercase;margin-bottom:4px;}
.method-value{font-size:15px;font-weight:700;color:var(--tp);}
@media(min-width:768px) {
.method-value{font-size:13px;word-break:break-word;text-align:center;}
}
@media(max-width:767px) {
.method-value{font-size:13px;}
}
.contact-form{max-width:560px;margin:0 auto;}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;}
@media(max-width:767px) {
.field-row{grid-template-columns:1fr;}
}
.field-textarea{width:100%;min-height:120px;background:#fff;border:1.5px solid var(--border);border-radius:10px;padding:14px 16px;font-size:15px;color:var(--tp);outline:none;resize:vertical;line-height:1.55;transition:border-color 150ms,box-shadow 150ms;}
.field-textarea::placeholder{color:var(--td);}
.field-textarea:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(14,116,144,0.12);}
@media(max-width:767px) {
.field-textarea{font-size:14px;}
}
.btn-send{width:100%;height:52px;background:var(--gcta);color:#fff;font-size:15px;font-weight:600;border:none;border-radius:10px;margin-top:4px;box-shadow:0 4px 16px rgba(185,28,28,0.26);transition:transform 150ms,box-shadow 150ms;display:flex;align-items:center;justify-content:center;gap:8px;}
.btn-send:hover{transform:translateY(-2px);box-shadow:var(--shadow-cta);}
.btn-send:active{transform:scale(0.97);}
.form-success{display:none;text-align:center;padding:40px 20px;}
.form-success.visible{display:block;}
/* ══ JOIN GROUP PAGE STYLES ════════════════════════════════════════ */
.hero-banner{
  background:var(--surface);
  padding:64px 48px 56px;
  text-align:center;
}
@media(max-width:767px) {
.hero-banner{padding:40px 16px 36px;}
}
.hero-title{font-size:48px;font-weight:800;color:var(--tp);letter-spacing:-0.02em;line-height:1.08;margin-bottom:14px;}
@media(max-width:767px) {
.hero-title{font-size:28px;}
}
.hero-sub{font-size:18px;font-weight:400;color:var(--ts);line-height:1.65;max-width:520px;margin:0 auto;}
@media(max-width:767px) {
.hero-sub{font-size:15px;}
}
.cards-section{padding:48px 48px 40px;max-width:1280px;margin:0 auto;}
@media(max-width:767px) {
.cards-section{padding:28px 16px 24px;}
}
.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
@media(max-width:1023px) {
.cards-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
}
@media(max-width:767px) {
.cards-grid{grid-template-columns:1fr;gap:14px;}
}
.wa-card{
  background:#fff;border:1px solid var(--border);border-radius:20px;
  padding:28px 24px;text-align:center;
  position:relative;z-index:0;
  transition:transform 250ms ease,border-color 250ms;
}
.wa-card::before{
  content:'';position:absolute;inset:-18px;border-radius:38px;
  background:conic-gradient(from var(--aura-angle,0deg),
    rgba(14,116,144,0.55),rgba(185,28,28,0.50),
    rgba(217,119,6,0.45),rgba(107,33,168,0.40),
    rgba(14,116,144,0.55));
  filter:blur(22px);opacity:0.08;z-index:-1;
  transition:opacity 300ms ease;pointer-events:none;
}
.wa-card:hover{transform:translateY(-4px);}
.wa-card:hover::before{opacity:0.90;animation:auraRotate 4000ms linear infinite;}
.wa-icon-circle{
  width:56px;height:56px;border-radius:50%;
  background:rgba(37,211,102,0.12);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.wa-icon-circle svg{width:28px;height:28px;}
.wa-branch-name{font-size:18px;font-weight:700;color:var(--tp);margin-bottom:4px;}
.wa-branch-addr{font-size:13px;color:var(--tm);margin-bottom:6px;line-height:1.45;}
.wa-delivery-days{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-bottom:6px;}
.wa-day-pill{background:var(--amber);background:linear-gradient(135deg,rgba(217,119,6,0.12),rgba(217,119,6,0.08));border:1px solid rgba(217,119,6,0.25);color:var(--amber);font-size:11px;font-weight:600;padding:2px 10px;border-radius:9999px;}
.wa-members{font-size:13px;color:var(--tm);margin-bottom:18px;}
.btn-join-wa{
  width:100%;height:48px;
  background:#25D366;color:#fff;
  font-size:15px;font-weight:600;
  border:none;border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 4px 16px rgba(37,211,102,0.28);
  transition:background 150ms,transform 150ms;
}
.btn-join-wa:hover{background:#1EA355;transform:translateY(-1px);}
.btn-join-wa svg{width:20px;height:20px;flex-shrink:0;}
.request-card{
  background:transparent;
  border:2px dashed var(--border);
  border-radius:20px;padding:28px 24px;
  text-align:center;cursor:pointer;
  transition:border-color 200ms,background 200ms;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:200px;
}
.request-card:hover{border-color:var(--teal);background:var(--teal-f);}
.request-plus{
  width:44px;height:44px;border-radius:50%;
  background:var(--surface);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:12px;font-size:22px;
  transition:background 200ms;
}
.request-card:hover .request-plus{background:var(--teal-l);}
.request-label{font-size:16px;font-weight:600;color:var(--ts);margin-bottom:4px;}
.request-sub{font-size:13px;color:var(--tm);}
.terms-note{
  text-align:center;
  max-width:520px;margin:0 auto;
  padding:0 48px 60px;
  font-size:13px;color:var(--tm);line-height:1.65;
}
@media(max-width:767px) {
.terms-note{padding:0 16px 80px;}
}
.terms-note a{color:var(--teal);font-weight:500;}
/* ════════════════════════════════════════════════════════════════════
   STEP 1 — GLOBAL POLISH: SPACING TOKENS + UNIFORM CARDS
   These rules override earlier per-page rules to enforce consistency.
   ════════════════════════════════════════════════════════════════════ */
/* ── Spacing tokens ── */
:root {
  --space-page-top:   32px;
  --space-section-y:  48px;
  --space-card-gap:   16px;
  --space-page-bot:   80px;
  --navbar-h:         64px;
}
@media (max-width: 767px) {
  :root {
    --space-page-top:  16px;
    --space-section-y: 32px;
    --space-card-gap:  12px;
    --space-page-bot:  100px; /* extra space for bottom-tab-bar */
    --navbar-h:        56px;
  }
}
/* ── Eliminate navbar whitespace globally ── */
.page-wrapper,
.page-wrap {
  padding-top: var(--navbar-h) !important;
  min-height: 100vh;
  box-sizing: border-box;
}
/* All page-headers should have consistent compact spacing — no big empty gap below navbar */
.page-header {
  padding: var(--space-page-top) 0 24px !important;
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .page-header {
    padding: var(--space-page-top) 0 16px !important;
  }
}
/* Page containers — uniform gutters */
.page-container,
.cart-mobile-pad {
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: var(--space-page-bot);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Section gaps ── */
.section-card,
.form-section,
.products-section,
.map-section,
.contact-form-section,
.cards-section {
  margin-bottom: var(--space-section-y);
}
.section-card:last-child,
.form-section:last-child {
  margin-bottom: 0;
}
/* ── Uniform product cards (landing, menu, favourites) ── */
.product-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-image {
  height: 220px !important;
  flex-shrink: 0;
}
.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body .btn-add-cart,
.card-body .qty-controls {
  margin-top: auto; /* pin Add to Cart / qty to bottom of card */
}
/* Product grids — uniform gap */
.products-grid,
.bs-grid {
  gap: var(--space-card-gap) !important;
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — LAYOUT & POLISH FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Drop the min-height on product cards (let them size naturally) ── */
.product-card {
  min-height: auto !important;
}
/* ── Tighter hover aura — stays inside the card area ── */
.product-card,
.bs-grid .product-card {
  position: relative;
  overflow: visible;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(14, 116, 144, 0.10),
              0 4px 8px rgba(14, 116, 144, 0.06);
  z-index: 1;
}
/* Kill any aura ::before / ::after pseudos that may bleed */
.product-card::before,
.product-card::after {
  display: none !important;
}
/* ── Fix navbar overlap — proper top padding on every page ── */
:root { --navbar-h: 80px; }
@media (max-width: 767px) { :root { --navbar-h: 64px; } }
.page-wrap,
.page-wrapper {
  padding-top: var(--navbar-h) !important;
  box-sizing: border-box;
  min-height: 100vh;
}
/* Page-headers should have breathing room below the navbar — but not too much */
.page-header {
  padding: 28px 0 20px !important;
}
@media (max-width: 767px) {
  .page-header { padding: 20px 0 14px !important; }
}
/* ── Consistent page gutters across all pages ── */
.page-container,
.cart-mobile-pad,
.page-wrap > .container,
.page-wrap > .page-header,
.page-wrap > .map-section,
.page-wrap > .contact-form-section,
.page-wrap > .cards-section,
.page-wrap > .terms-note,
.page-wrap > .hero-banner,
.page-wrap > .sections-wrap,
.page-wrap > .profile-header {
  padding-left: 24px;
  padding-right: 24px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .page-container,
  .cart-mobile-pad,
  .page-wrap > .container,
  .page-wrap > .page-header,
  .page-wrap > .map-section,
  .page-wrap > .contact-form-section,
  .page-wrap > .cards-section,
  .page-wrap > .terms-note,
  .page-wrap > .hero-banner,
  .page-wrap > .sections-wrap,
  .page-wrap > .profile-header {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* ── Update Password button → full width ── */
.section-card .btn-save {
  width: 100%;
}
/* ════════════════════════════════════════════════════════════════════
   NAVBAR DROPDOWNS — Menu (categories) & Profile (user actions)
   ════════════════════════════════════════════════════════════════════ */
.navbar-link-wrap {
  position: relative;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(26, 12, 10, 0.10);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 1000;
}
/* Open on hover (entire wrap including the trigger + dropdown bridge) */
.navbar-link-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Profile dropdown anchors to the right edge */
.navbar-link-wrap.right .nav-dropdown {
  left: auto;
  right: 0;
}
/* Each dropdown item */
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint);
  color: var(--color-brand-teal);
}
.nav-dropdown-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-dropdown-item .emoji {
  width: 20px;
  display: inline-block;
  text-align: center;
  font-size: 16px;
}
.nav-dropdown-divider {
  height: 1px;
  background: var(--color-border-light);
  margin: 6px 4px;
}
.nav-dropdown-item.danger {
  color: var(--color-brand-wine);
}
.nav-dropdown-item.danger:hover {
  background: rgba(185, 28, 28, 0.06);
  color: var(--color-brand-wine);
}
/* Hover bridge — invisible padding under trigger so dropdown doesn't close while moving */
.navbar-link-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}
/* Hide dropdowns on mobile (drawer handles those) */
@media (max-width: 767px) {
  .nav-dropdown { display: none !important; }
  .navbar-link-wrap::after { display: none; }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — POST-REVIEW FIXES
   ════════════════════════════════════════════════════════════════════ */
/* ── Wider, nicer dropdowns ── */
.nav-dropdown {
  min-width: 260px !important;
  padding: 12px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 16px 48px rgba(26, 12, 10, 0.10),
              0 4px 12px rgba(26, 12, 10, 0.05) !important;
}
.nav-dropdown-item {
  padding: 12px 14px !important;
  font-size: 14px;
  border-radius: 10px !important;
  gap: 12px !important;
  letter-spacing: -0.005em;
}
.nav-dropdown-item:hover {
  background: var(--color-brand-teal-faint) !important;
}
.nav-dropdown-item .emoji {
  font-size: 18px;
  width: 22px;
}
.nav-dropdown-item svg {
  color: var(--color-text-secondary);
}
.nav-dropdown-item:hover svg {
  color: var(--color-brand-teal);
}
.nav-dropdown-divider {
  margin: 8px 6px !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
/* Section labels above grouped items (subtle, uppercase) */
.nav-dropdown-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  padding: 8px 14px 6px;
}
/* ── Card hover: slightly more visible ── */
.product-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 36px rgba(14, 116, 144, 0.14),
              0 6px 12px rgba(14, 116, 144, 0.08) !important;
}
/* ════════════════════════════════════════════════════════════════════
   ORDER DETAIL — Timeline layout fix
   The original timeline was a vertical-timeline pattern but rendering
   horizontally in a broken way. Rebuild as a clean horizontal stepper.
   ════════════════════════════════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding: 12px 0 8px;
  margin: 8px 0 4px;
}
/* Each timeline cell holds a circle + label below */
.timeline > div {
  display: contents;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 6px;
}
.timeline-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  transition: all 200ms;
}
.timeline-circle.done {
  background: var(--color-brand-teal);
  border-color: var(--color-brand-teal);
  color: #fff;
}
.timeline-circle.active {
  border-color: var(--color-brand-teal);
  color: var(--color-brand-teal);
  box-shadow: 0 0 0 4px var(--color-brand-teal-faint);
}
.timeline-info {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  gap: 2px;
}
.timeline-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}
.timeline-time {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}
/* Horizontal connector line between circles */
.timeline-line {
  position: absolute;
  top: 28px;  /* aligns with center of circles (12px padding + 16px to circle center) */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
/* Compute positions for the 3 connectors between 4 steps */
.timeline > div:nth-child(1) .timeline-line { left: 50%;  right: -50%; }
.timeline > div:nth-child(2) .timeline-line { left: 0%;   right: 0%; }
.timeline > div:nth-child(3) .timeline-line { left: -50%; right: 50%; }
/* Hide the vertical-line variants from the original markup */
.timeline-line-v {
  display: none !important;
}
/* Mobile: smaller labels, vertical layout fallback */
@media (max-width: 600px) {
  .timeline-label {
    font-size: 11px;
  }
  .timeline-time {
    font-size: 10px;
  }
  .timeline-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .timeline-line {
    top: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   BATCH A — REFINEMENTS: frosted dropdowns + clipped timeline + true aura
   ════════════════════════════════════════════════════════════════════ */
/* ── Frosted-glass dropdowns ── */
.nav-dropdown {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 16px 48px rgba(26, 12, 10, 0.12),
    0 4px 12px rgba(26, 12, 10, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}
.nav-dropdown-item:hover {
  background: rgba(207, 250, 254, 0.6) !important;  /* translucent teal-faint */
}
/* ── Timeline: clip connector lines to BETWEEN circles only ── */
/* Reset old broken positioning */
.timeline > div:nth-child(1) .timeline-line,
.timeline > div:nth-child(2) .timeline-line,
.timeline > div:nth-child(3) .timeline-line {
  left: auto !important;
  right: auto !important;
}
/* New approach: line spans from center of THIS step to center of NEXT step */
.timeline-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 22px);   /* start just past current circle's right edge */
  width: calc(100% - 44px); /* end just before next circle's left edge */
  height: 2px;
  background: var(--color-border);
  z-index: 1;
  transition: background 200ms;
}
.timeline-line.done {
  background: var(--color-brand-teal);
}
@media (max-width: 600px) {
  .timeline-line {
    top: 24px;
    left: calc(50% + 20px);
    width: calc(100% - 40px);
  }
}
/* ── True hover aura: glowing gradient behind card ── */
/* Re-enable ::after for the aura (we disabled it earlier) */
.product-card::after {
  display: block !important;
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  background: radial-gradient(
    ellipse at 30% 30%,
    rgba(14, 116, 144, 0.35) 0%,
    rgba(217, 119, 6, 0.25) 35%,
    rgba(185, 28, 28, 0.18) 60%,
    transparent 75%
  );
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  transition: opacity 280ms ease, transform 280ms ease;
  pointer-events: none;
  transform: scale(0.92);
}
.product-card:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Make sure card has positioning context + sits above its own aura */
.product-card {
  position: relative;
  isolation: isolate;
}
/* Reduce card's outer shadow on hover so the aura is the dominant effect */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 18px rgba(26, 12, 10, 0.06) !important;
}
/* ── Menu dropdown: 2-column grid ── */
/* Target ONLY the menu dropdown, not the profile one */
.navbar-link-wrap > .nav-dropdown {
  min-width: 380px !important;
}
/* The category items in the menu dropdown become a 2-col grid.
   We wrap them with a container in the HTML below. */
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.nav-dropdown-grid .nav-dropdown-item {
  padding: 10px 12px !important;
}
/* Profile dropdown stays single column — the 'right' modifier */
.navbar-link-wrap.right > .nav-dropdown {
  min-width: 240px !important;
}
/* ════════════════════════════════════════════════════════════════════
   HERO — auto-rotating artwork crossfade + dot indicators
   ════════════════════════════════════════════════════════════════════ */
.hero-art {
  position: absolute;
  /* keep existing positioning rules — these are added on top */
}
.hero-art-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art-img.active {
  opacity: 1;
}
/* ── Dot indicators ── */
.hero-dots {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(26, 12, 10, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 250ms ease;
  position: relative;
}
.hero-dot::before {
  content: '';
  position: absolute;
  inset: -10px;  /* expanded hit area for fingers */
}
.hero-dot:hover {
  background: rgba(26, 12, 10, 0.4);
  transform: scale(1.2);
}
.hero-dot.active {
  background: var(--color-brand-teal);
  width: 24px;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .hero-dots {
    bottom: 24px;
  }
}
/* ════════════════════════════════════════════════════════════════════
   HERO ROTATION FIX + COMPRESS HEIGHT
   ════════════════════════════════════════════════════════════════════ */
/* Override the original .hero-art img rule that's forcing all images visible */
.hero-art img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0 !important;
  transition: opacity 1000ms ease-in-out !important;
  display: block;
  mix-blend-mode: multiply;
  filter: brightness(1.40) contrast(1.12) saturate(1.15);
}
.hero-art img.active {
  opacity: 1 !important;
}
/* ── Compress hero so Best Sellers peeks above the fold on desktop ── */
.hero {
  min-height: 75vh !important;
}
@media (max-width: 767px) {
  .hero {
    min-height: 88vh !important;  /* mobile keeps more height since stacked */
  }
}
/* Tighten hero internal padding too */
.hero-content {
  padding-top: 80px;
  padding-bottom: 60px;
}
@media (max-width: 767px) {
  .hero-content {
    padding-top: 60px;
    padding-bottom: 40px;
  }
}
/* ══════════════════════════════════════════════════════════════════════
   LANDING PAGE — scoped to .home-page only
   Items: hero height, best-sellers visibility, buy-now card button
   ══════════════════════════════════════════════════════════════════════ */
/* 1. Hero: reduce height so Best Sellers peek above fold on desktop */
.home-page .hero {
  height: 78vh !important;
  min-height: 560px !important;
}
@media (max-width: 767px) {
  .home-page .hero {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 40px;
  }
}
/* 2. Hero content: tighter vertical padding inside hero */
.home-page .hero-content {
  padding-top: 72px;
  padding-bottom: 48px;
}
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: 56px;
    padding-bottom: 32px;
  }
}
/* 3. Best Sellers section: slight top trim so it peeks on desktop */
.home-page .best-sellers {
  padding-top: 32px;
}
@media (max-width: 767px) {
  .home-page .best-sellers {
    padding-top: 20px;
  }
}
/* 4. Buy Now card button — appears below qty controls when item is in cart */
.lp-btn-buy-now {
  width: 100%;
  height: 36px;
  background: var(--gradient-cta);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.01em;
  transition: opacity 150ms ease, transform 150ms ease;
  flex-shrink: 0;
}
.lp-btn-buy-now:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
.lp-btn-buy-now:active {
  transform: scale(0.97);
}
@media (max-width: 767px) {
  .lp-btn-buy-now {
    height: 30px;
    font-size: 11px;
    margin-top: 4px;
  }
}
/* ══ MOBILE TAB BAR — cart badge position fix ══════════════════════════ */
.tab-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tab-cart-badge {
  position: absolute;
  top: -14px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  font-size: 9px;
}
/* ══════════════════════════════════════════════════════════════════════
   HERO ART — remove background bleed, lift position
   ══════════════════════════════════════════════════════════════════════ */
/* Hero section: transparent background so art bg doesn't show */
.home-page .hero {
  background: transparent !important;
}
/* Art container: lift it up so it's fully visible. NOTE: transform is left
   without !important so the artFloatLifted keyframes can override it during
   animation — this is what makes the art actually float. */
.home-page .hero-art {
  top: 40% !important;
  transform: translateY(-50%);
  right: -2% !important;
}
/* Art images: multiply blends JPEG whites against white body so only the
   blob shape reads — gives the look of a transparent background. */
.home-page .hero-art img {
  mix-blend-mode: multiply !important;
  background: transparent !important;
  filter: brightness(1.4) contrast(1.12) saturate(1.15) !important;
  opacity: 0;
  transition: opacity 1000ms ease-in-out !important;
}
.home-page .hero-art img.active {
  opacity: 1 !important;
}
/* Float animation with lifted position */
@keyframes artFloatLifted {
  0%, 100% { transform: translateY(-50%) rotate(-1deg); }
  50%       { transform: translateY(calc(-50% - 14px)) rotate(1deg); }
}
.home-page .hero-art {
  animation: artFloatLifted 6000ms ease-in-out infinite !important;
}
/* Mobile: keep art visible, don't let it sink below fold */
@media (max-width: 767px) {
  .home-page .hero-art {
    top: auto !important;
    bottom: 0 !important;
    transform: none !important;
    animation: none !important;
    opacity: 0.65 !important;
    right: -8% !important;
    width: 85% !important;
  }
  .home-page .hero-art img {
    opacity: 0;
  }
  .home-page .hero-art img.active {
    opacity: 1 !important;
  }
}
/* ══════════════════════════════════════════════════════════════════════
   FLOATING BUY NOW FAB — landing & menu pages, when cart has items
   Single shared component (per UI brief: no duplicate mobile/desktop systems).
   Sits above the mobile bottom-tab-bar (which is 64px tall + safe-area).
   ══════════════════════════════════════════════════════════════════════ */
.floating-buy-now {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 950;            /* above page content, below modal/drawer */
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px 12px 18px;
  min-height: 56px;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-cta);
  cursor: pointer;
  font-family: var(--font-primary);
  letter-spacing: 0.01em;
  transition:
    transform 200ms cubic-bezier(.34,1.3,.6,1),
    box-shadow 200ms ease,
    opacity 200ms ease;
  animation: fbnEnter 320ms cubic-bezier(.34,1.3,.6,1) both;
}
.floating-buy-now:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 32px rgba(185,28,28,0.42), 0 4px 12px rgba(217,119,6,0.28);
}
.floating-buy-now:active {
  transform: translateX(-50%) scale(0.97);
}
.floating-buy-now .fbn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.floating-buy-now .fbn-icon svg {
  width: 18px;
  height: 18px;
}
.floating-buy-now .fbn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.floating-buy-now .fbn-label {
  font-size: 15px;
  font-weight: 700;
}
.floating-buy-now .fbn-meta {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.92;
  margin-top: 2px;
}
.floating-buy-now .fbn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.floating-buy-now .fbn-arrow svg {
  width: 16px;
  height: 16px;
}
@keyframes fbnEnter {
  from { opacity: 0; transform: translateX(-50%) translateY(28px) scale(0.92); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0)    scale(1); }
}
/* Mobile: clear the bottom-tab-bar (64px + safe area) and shrink slightly */
@media (max-width: 767px) {
  .floating-buy-now {
    bottom: calc(72px + env(safe-area-inset-bottom));
    padding: 10px 14px 10px 14px;
    min-height: 48px;
    gap: 10px;
    /* width capped so it never collides with screen edges on small phones */
    max-width: calc(100vw - 32px);
  }
  .floating-buy-now .fbn-icon {
    width: 28px;
    height: 28px;
  }
  .floating-buy-now .fbn-icon svg {
    width: 16px;
    height: 16px;
  }
  .floating-buy-now .fbn-label {
    font-size: 14px;
  }
  .floating-buy-now .fbn-meta {
    font-size: 11px;
  }
}
/* Reduced motion: kill the entrance animation */
@media (prefers-reduced-motion: reduce) {
  .floating-buy-now {
    animation: none;
    transition: none;
  }
}
/* ══════════════════════════════════════════════════════════════════════
   FAVOURITES DROPDOWN — Buy Now per item
   The .fav-dd-item used to be a single <a>. It is now a flex row containing
   .fav-dd-info (the tappable name/price area) and .fav-dd-buy (Buy Now).
   ══════════════════════════════════════════════════════════════════════ */
.nav-dropdown-item.fav-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;        /* override default padding for tighter row */
}
.nav-dropdown-item.fav-dd-item .fav-dd-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}
.nav-dropdown-item.fav-dd-item .fav-dd-buy {
  flex-shrink: 0;
  height: 28px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--gradient-cta);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}
.nav-dropdown-item.fav-dd-item .fav-dd-buy:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.nav-dropdown-item.fav-dd-item .fav-dd-buy:active {
  transform: scale(0.96);
}
/* ══════════════════════════════════════════════════════════════════════
   AUTH PAGE — restore vertical scroll
   The earlier rule used `overflow: hidden` to clip decorative blobs, but
   that also clipped the form on small screens (nothing scrollable). Allow
   vertical scroll while still hiding the horizontal blob overflow.
   ══════════════════════════════════════════════════════════════════════ */
.auth-page {
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
/* ══════════════════════════════════════════════════════════════════════
   MENU PAGE — slightly more breathing room on mobile
   The grid gap was 12px, which made cards feel cramped against each
   other and against the filter row. Bump to 16px and add a touch of
   space below the page header.
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .products-grid,
  .bs-grid {
    gap: 16px !important;
  }
  .page-header {
    padding-bottom: 8px;
  }
  .filter-sort-row {
    margin-top: 8px;
  }
}


/* ==========================================================================
   CODEX SESSION FIXES - restored after original stylesheet recovery
   ========================================================================== */
:root { --cc-nav-height: 72px; }
@media (max-width: 767px) { :root { --cc-nav-height: 64px; } }

/* Keep fixed navbar from covering hero badge/header content. */
.navbar {
  height: var(--cc-nav-height) !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--shadow-navbar);
}
.category-bar { top: var(--cc-nav-height) !important; }
.home-page .hero {
  box-sizing: border-box;
  padding-top: var(--cc-nav-height) !important;
  height: 62dvh !important;
  min-height: 500px !important;
  max-height: 620px !important;
  overflow: hidden !important;
}
.home-page .hero-content {
  min-height: 100% !important;
  padding-top: clamp(24px, 4vh, 42px) !important;
  padding-bottom: 56px !important;
  display: flex;
  align-items: center;
}
.home-page .hero-cta-row { flex-wrap: wrap !important; overflow: visible !important; }
.home-page .btn-hero-primary,
.home-page .btn-hero-secondary { flex-shrink: 0 !important; }
.home-page .hero-headline {
  font-size: clamp(48px, 6vw, 82px) !important;
  line-height: 0.96 !important;
  margin-bottom: 16px !important;
}
.home-page .hero-sub {
  font-size: clamp(15px, 1.5vw, 20px) !important;
  line-height: 1.45 !important;
  margin-bottom: 22px !important;
}
.home-page .best-sellers { padding-top: 18px !important; }
.home-page .best-sellers .section-header { margin-bottom: 14px !important; }

/* Hero JPEG assets have opaque light backgrounds; blend them into white. */
.home-page .hero-art {
  width: min(46vw, 620px) !important;
  height: min(52vw, 620px) !important;
  right: max(24px, 4vw) !important;
  top: 50% !important;
}
.home-page .hero-art img,
.home-page .hero-art-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  mix-blend-mode: multiply !important;
  filter: brightness(1.35) contrast(1.12) saturate(1.12) drop-shadow(0 24px 38px rgba(26, 12, 10, 0.12)) !important;
}

/* Menu/cards: safe gutters and compact same-row actions. */
.category-bar-inner,
.products-section > .container,
.page-header > .container {
  padding-left: clamp(18px, 4vw, 48px) !important;
  padding-right: clamp(18px, 4vw, 48px) !important;
}
.products-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; gap: 22px !important; }
.bs-grid { grid-template-columns: repeat(4, minmax(220px, 1fr)) !important; gap: 20px !important; }
.product-card { min-width: 0 !important; }
.product-card .product-card-inner { overflow: hidden !important; }
/* ── Card image ── */
.product-card .product-card-image { aspect-ratio: 4/3 !important; height: auto !important; }
/* ── Card body: flex column, no grid, no phantom rows ── */
.product-card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 14px 14px 16px !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.product-card .card-product-name {
  font-size: 15px !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
}
.product-card .card-weight {
  font-size: 13px !important;
  margin-bottom: 12px !important;
}
/* ── Single action row: Add to Cart OR qty-controls, never both ── */
.product-card .card-actions {
  margin-top: auto !important;
  width: 100% !important;
  min-height: 0 !important;
}
.product-card .btn-add-cart,
.product-card .qty-controls {
  width: 100% !important;
  height: 40px !important;
  border-radius: 10px !important;
  margin: 0 !important;
}

/* Auth page: one document scroller, no nested panel scrollbar. */
.auth-page {
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  align-items: flex-start !important;
}
.bottom-tab-bar[ng-if],
.bottom-tab-bar { }
.fab-buy-now { display: none !important; }

@media (max-width: 767px) {
  .home-page .hero {
    height: 50dvh !important;
    min-height: 360px !important;
    max-height: 430px !important;
    padding-top: var(--cc-nav-height) !important;
  }
  .home-page .hero-content {
    padding-top: 16px !important;
    padding-bottom: 14px !important;
    align-items: flex-start !important;
  }
  .home-page .hero-badge { font-size: 11px !important; padding: 6px 10px !important; margin-bottom: 10px !important; }
  .home-page .hero-headline { font-size: clamp(34px, 11vw, 48px) !important; margin-bottom: 8px !important; }
  .home-page .hero-sub { max-width: 280px !important; font-size: 13px !important; line-height: 1.35 !important; margin-bottom: 12px !important; }
  .home-page .btn-hero-primary,
  .home-page .btn-hero-secondary { height: 38px !important; padding: 0 13px !important; font-size: 12px !important; }
  .home-page .hero-art {
    width: min(92vw, 420px) !important;
    height: min(76vw, 360px) !important;
    right: -12vw !important;
    bottom: 2vh !important;
    top: auto !important;
    opacity: 0.5 !important;
  }
  .home-page .best-sellers { padding-top: 12px !important; }
  .home-page .best-sellers .section-header { margin-bottom: 10px !important; }
  .home-page .best-sellers .section-heading { font-size: 24px !important; }
  .products-section { padding-bottom: calc(156px + env(safe-area-inset-bottom)) !important; }
  .products-grid,
  .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .product-card .card-body {
    padding: 10px 12px 12px !important;
  }
  .product-card .btn-add-cart,
  .product-card .qty-controls { height: 36px !important; font-size: 12px !important; }
  .floating-buy-now { bottom: calc(76px + env(safe-area-inset-bottom)) !important; max-width: calc(100vw - 32px); }
}
@media (max-width: 420px) {
  .products-grid,
  .bs-grid { gap: 12px !important; }
  .product-card .card-body { padding-left: 10px !important; padding-right: 10px !important; }
}

/* Landing recovery: never hide page sections if reveal observer misses them. */
.home-page .reveal-on-scroll,
.home-page .reveal-child,
.home-page .info-scroll,
.home-page .wa-section,
.home-page .locations-section,
.home-page .hiw-section,
.home-page .wwd-section {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
.home-page .info-scroll {
  display: block !important;
  min-height: 1px !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}
@media (max-width: 767px) {
  .home-page .info-scroll {
    padding-top: 48px !important;
    padding-bottom: 96px !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   MASTER MOBILE-FIRST FIXES v2 — final override block
   All rules here are intentionally last so they win the cascade.
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Correct navbar-height token (the duplicate 80px is wrong) ── */
:root { --navbar-h: 64px !important; }
@media (max-width: 1023px) { :root { --navbar-h: 56px !important; } }

/* ── 2. All page wrappers clear the fixed navbar ── */
.page-wrap,
.page-wrapper {
  padding-top: var(--navbar-h) !important;
  min-height: 100dvh;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ── 3. Page headers: compact, consistent below navbar ── */
.page-header {
  padding: 20px 0 18px !important;
  margin-bottom: 0 !important;
}
@media (max-width: 767px) {
  .page-header { padding: 16px 0 12px !important; }
}

/* ── 4. Favourites header: reduce top gap ~50% ── */
.page-wrap > .page-container > .page-header,
.page-wrap .page-header:first-child {
  padding-top: 14px !important;
}

/* ── 5. Hero: ensure badge + content are never under the navbar ── */
.home-page .hero-content {
  z-index: 2 !important;
  position: relative !important;
}
/* Desktop: keep vertically centered but add safe top offset */
@media (min-width: 768px) {
  .home-page .hero-content {
    padding-top: var(--navbar-h) !important;
    align-items: center !important;
  }
  .home-page .hero {
    padding-top: 0 !important;
  }
}
/* Mobile: show badge, push content below navbar */
@media (max-width: 767px) {
  .hero-badge {
    display: inline-flex !important;
    font-size: 11px !important;
    padding: 5px 12px !important;
    margin-bottom: 10px !important;
  }
  .home-page .hero-content {
    padding: calc(var(--navbar-h) + 14px) 16px 20px !important;
    align-items: flex-start !important;
  }
  /* Hero must be tall enough for badge + headline + sub + CTAs */
  .home-page .hero {
    height: auto !important;
    min-height: 420px !important;
    padding-bottom: 40px !important;
  }
}

/* ── 6. Hero art: z-index behind text, JPEG brightness fix ── */
.home-page .hero-art {
  z-index: 1 !important;
  pointer-events: none !important;
}
/* JPEG slides get extra brightness so mix-blend-mode:multiply removes white BG */
.hero-art-img:nth-child(1) {
  filter: brightness(1.4) contrast(1.12) saturate(1.15) !important;
}
.hero-art-img:nth-child(2),
.hero-art-img:nth-child(3),
.hero-art-img:nth-child(4) {
  filter: brightness(2.4) contrast(0.90) saturate(1.05) !important;
}

/* ── 7. Best sellers horizontal scroll: first card has left gap ── */
@media (max-width: 767px) {
  .bs-grid {
    padding-left: 14px !important;
    padding-right: 14px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .bs-grid .product-card:first-child {
    margin-left: 0 !important;
  }
}

/* ── 8. Products grid: equal gutters, no card overlap, no edge-touch ── */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  /* Section containers provide 14px padding each side */
  .products-section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .products-section .container,
  .products-section > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 768px) {
  .products-section .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ── 9. Prevent any horizontal scroll on any page ── */
body { overflow-x: hidden !important; }

/* ── 10. Mobile tap-sheet styles (favorites + profile modal) ── */
.mobile-tap-sheet {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.mobile-tap-sheet.open {
  pointer-events: all;
  opacity: 1;
}
.mobile-tap-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 26, 0.52);
  backdrop-filter: blur(4px);
}
.mobile-tap-sheet-panel {
  position: relative;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  max-height: 72dvh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.mobile-tap-sheet.open .mobile-tap-sheet-panel {
  transform: translateY(0);
}
.sheet-drag-handle {
  width: 40px; height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.sheet-section-title {
  font-size: 14px; font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between;
}
.sheet-close-btn {
  width: 28px; height: 28px; border: none;
  background: var(--color-surface); border-radius: 50%;
  font-size: 14px; color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.sheet-fav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--color-border-light);
}
.sheet-fav-item:last-child { border-bottom: none; }
.sheet-fav-emoji {
  font-size: 20px; width: 36px; height: 36px; border-radius: 8px;
  background: var(--color-surface-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sheet-fav-name {
  flex: 1; font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sheet-fav-price { font-size: 12px; color: var(--color-text-muted); flex-shrink: 0; }
.sheet-fav-buy {
  height: 30px; padding: 0 10px;
  background: var(--gradient-cta); color: #fff;
  font-size: 11px; font-weight: 600; border: none; border-radius: 8px; flex-shrink: 0;
  cursor: pointer;
}
.sheet-action-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--color-border-light);
  cursor: pointer; color: var(--color-text-primary);
  font-size: 14px; font-weight: 500;
}
.sheet-action-item:last-child { border-bottom: none; }
.sheet-action-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-text-muted); }
.sheet-action-item.danger { color: var(--color-brand-wine); }
.sheet-action-item.danger svg { color: var(--color-brand-wine); }
.sheet-view-all-btn {
  width: 100%; height: 40px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--color-brand-teal); margin-top: 12px; cursor: pointer;
  transition: background 150ms;
}
.sheet-view-all-btn:hover { background: var(--color-brand-teal-faint); }
/* Sheets only shown via AngularJS on mobile; desktop uses CSS :hover */
@media (min-width: 768px) {
  .mobile-tap-sheet { display: none !important; }
}

/* ── 11. Checkout page new layout ── */
.checkout-page-shell {
  min-height: 100dvh;
  padding-top: var(--navbar-h);
  display: flex; flex-direction: column;
  background: var(--color-surface);
}
.checkout-area {
  flex: 1;
  max-width: 1280px; width: 100%;
  margin: 0 auto;
  padding: 24px 32px 120px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1023px) {
  .checkout-area { grid-template-columns: 1fr; padding: 20px 16px 140px; }
}
.checkout-page-title-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; grid-column: 1 / -1;
}
.checkout-page-title { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.checkout-page-eyebrow {
  font-size: 11px; font-weight: 600; color: var(--color-text-muted);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; display: block;
}
.checkout-secure-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--color-text-muted);
}
.checkout-secure-badge svg { width: 14px; height: 14px; color: #047857; }
@media (max-width: 767px) {
  .checkout-page-title { font-size: 20px; }
  .checkout-page-title-row { margin-bottom: 12px; }
}
.checkout-left-col { display: flex; flex-direction: column; gap: 12px; }
.checkout-card-block {
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); padding: 18px 20px;
}
.checkout-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.checkout-step-chip {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.checkout-card-title { font-size: 15px; font-weight: 700; color: var(--color-text-primary); }
.checkout-method-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px; overflow: hidden;
}
.checkout-method-btn {
  height: 42px; border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: all 200ms ease; cursor: pointer;
}
.checkout-method-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.checkout-method-btn.active {
  background: #fff; color: var(--color-brand-teal);
  box-shadow: var(--shadow-sm); border-radius: 8px;
  margin: 3px; height: 36px;
}
.checkout-saved-addr-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--color-brand-teal-faint);
  border: 1.5px solid var(--color-brand-teal-light);
  border-radius: 10px; padding: 12px 14px; margin-top: 12px;
}
.checkout-saved-addr-card svg { width: 18px; height: 18px; color: var(--color-brand-teal); flex-shrink: 0; margin-top: 1px; }
.checkout-saved-addr-text { flex: 1; min-width: 0; }
.checkout-saved-addr-name { font-size: 13px; font-weight: 600; }
.checkout-saved-addr-line { font-size: 12px; color: var(--color-text-secondary); margin-top: 2px; line-height: 1.4; }
.checkout-edit-addr-btn {
  flex-shrink: 0; font-size: 12px; font-weight: 600;
  color: var(--color-brand-teal); border: none; background: none; cursor: pointer;
  padding: 0; transition: color 150ms;
}
.checkout-addr-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.checkout-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout-field-row-3 { display: grid; grid-template-columns: 1fr 80px 100px; gap: 10px; }
@media (max-width: 480px) {
  .checkout-field-row, .checkout-field-row-3 { grid-template-columns: 1fr; }
}
.checkout-field-group { display: flex; flex-direction: column; gap: 4px; }
.checkout-field-label { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); }
.checkout-field-input, .checkout-field-select {
  width: 100%; height: 44px;
  background: var(--color-surface); border: 1.5px solid var(--color-border-light);
  border-radius: 10px; padding: 0 14px;
  font-size: 14px; font-family: var(--font-primary);
  color: var(--color-text-primary); outline: none;
  appearance: none; -webkit-appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.checkout-field-input:focus, .checkout-field-select:focus {
  background: #fff; border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.12);
}
.checkout-field-input::placeholder { color: var(--color-text-disabled); }
.checkout-select-wrap { position: relative; }
.checkout-select-wrap::after {
  content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0; pointer-events: none;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-muted);
}
.checkout-datetime-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
@media (max-width: 480px) { .checkout-datetime-grid { grid-template-columns: 1fr; } }
.checkout-payment-options { display: flex; flex-direction: column; gap: 8px; }
.checkout-payment-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--color-border-light);
  cursor: pointer; transition: all 150ms; background: #fff;
}
.checkout-payment-option:hover { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-payment-option.selected { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-payment-option input[type="radio"] { width: 16px; height: 16px; accent-color: var(--color-brand-teal); flex-shrink: 0; }
.checkout-payment-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--color-surface-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
}
.checkout-payment-label { font-size: 14px; font-weight: 600; }
.checkout-payment-sub { font-size: 12px; color: var(--color-text-muted); margin-top: 1px; }
/* Right column — sticky summary */
.checkout-right-col { position: sticky; top: calc(var(--navbar-h) + 12px); }
.checkout-summary-card {
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg); padding: 20px;
}
.checkout-summary-heading { font-size: 16px; font-weight: 700; margin-bottom: 14px; }
.checkout-summary-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.checkout-summary-item { display: flex; align-items: center; gap: 10px; }
.checkout-summary-item-emoji {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.checkout-summary-item-name {
  flex: 1; min-width: 0; font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.checkout-summary-item-qty { font-size: 11px; color: var(--color-text-muted); }
.checkout-summary-item-price { font-size: 13px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout-summary-divider { height: 1px; background: var(--color-border-light); margin: 12px 0; }
.checkout-summary-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.checkout-summary-row-label { font-size: 13px; color: var(--color-text-secondary); }
.checkout-summary-row-value { font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.checkout-summary-row-value.discount { color: #047857; }
.checkout-summary-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.checkout-summary-total-label { font-size: 16px; font-weight: 700; }
.checkout-summary-total-value { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.checkout-promo-row { display: flex; gap: 6px; margin-top: 14px; }
.checkout-promo-input {
  flex: 1; height: 40px; min-width: 0;
  background: var(--color-surface); border: 1.5px solid var(--color-border-light);
  border-radius: 10px; padding: 0 12px;
  font-size: 13px; font-family: var(--font-primary);
  color: var(--color-text-primary); outline: none;
  text-transform: uppercase; letter-spacing: 0.04em;
  transition: border-color 150ms;
}
.checkout-promo-input::placeholder { text-transform: none; letter-spacing: 0; color: var(--color-text-disabled); }
.checkout-promo-input:focus { border-color: var(--color-brand-teal); box-shadow: 0 0 0 3px rgba(14,116,144,0.10); }
.checkout-btn-apply {
  height: 40px; padding: 0 14px;
  background: transparent; border: 1.5px solid var(--color-brand-teal);
  color: var(--color-brand-teal); font-size: 13px; font-weight: 600;
  border-radius: 10px; transition: background 150ms; cursor: pointer; white-space: nowrap;
}
.checkout-btn-apply:hover { background: var(--color-brand-teal-faint); }
.checkout-promo-success {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12px; font-weight: 500; color: #047857;
}
.checkout-promo-success svg { width: 14px; height: 14px; flex-shrink: 0; }
.checkout-btn-place-order {
  width: 100%; height: 50px;
  background: var(--gradient-cta); color: #fff;
  font-size: 15px; font-weight: 700; border: none; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185,28,28,0.28);
  margin-top: 16px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 150ms, box-shadow 150ms; cursor: pointer;
}
.checkout-btn-place-order:hover:not(:disabled) { transform: translateY(-2px); box-shadow: var(--shadow-cta); }
.checkout-btn-place-order:disabled { opacity: 0.6; cursor: not-allowed; }
.checkout-security-note {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-top: 10px; font-size: 11px; color: var(--color-text-muted);
}
/* Mobile floating CTA bar */
.checkout-mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border-light);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 900;
  display: none;
}
@media (max-width: 1023px) {
  .checkout-mobile-cta { display: flex; gap: 10px; align-items: center; }
  .checkout-right-col { position: static; }
  /* Hide desktop summary card "place order" on mobile — use CTA bar instead */
  .checkout-summary-card .checkout-btn-place-order { display: none; }
}
.checkout-mobile-total {
  flex: 1;
  display: flex; flex-direction: column;
}
.checkout-mobile-total-label { font-size: 11px; color: var(--color-text-muted); font-weight: 500; }
.checkout-mobile-total-value { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.checkout-mobile-place-btn {
  height: 48px; padding: 0 24px;
  background: var(--gradient-cta); color: #fff;
  font-size: 15px; font-weight: 700; border: none; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185,28,28,0.28);
  display: flex; align-items: center; gap: 8px;
  transition: transform 150ms; cursor: pointer; white-space: nowrap;
  flex-shrink: 0;
}
.checkout-mobile-place-btn:hover:not(:disabled) { transform: translateY(-1px); }
.checkout-mobile-place-btn:disabled { opacity: 0.6; cursor: not-allowed; }
/* Auth tabs (compact 3-button row in left col) */
.checkout-auth-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.checkout-auth-tab {
  flex: 1; min-width: 90px;
  padding: 10px 10px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px; cursor: pointer; background: #fff;
  color: var(--color-text-secondary); text-align: center;
  transition: all 0.15s; line-height: 1.2;
}
.checkout-auth-tab:hover { border-color: #b91c1c; color: #b91c1c; }
.checkout-auth-tab.active { border-color: #b91c1c; background: #fef2f2; color: #b91c1c; }
/* Inline guest field area */
.checkout-guest-inline {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}
/* ── Favourites / Profile auth card (shown when not logged in) ── */
.fav-auth-wrap {
  display: flex; justify-content: center;
  padding: 40px 16px;
}
@media(max-width:767px) {
  .fav-auth-wrap { padding-top: 72px; }
}
.fav-auth-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 20px;
  padding: 32px 28px;
  width: 100%; max-width: 480px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}
.fav-auth-icon {
  width: 64px; height: 64px;
  background: #fef2f2; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: #b91c1c;
}
.fav-auth-heading {
  font-size: 20px; font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.fav-auth-sub {
  font-size: 14px; color: var(--color-text-secondary);
  line-height: 1.55; margin-bottom: 24px;
}
.fav-auth-tabs {
  display: flex; gap: 0; margin-bottom: 20px;
  border: 1.5px solid var(--color-border-light);
  border-radius: 12px; overflow: hidden;
}
.fav-auth-tab {
  flex: 1; padding: 11px 10px;
  font-size: 14px; font-weight: 700;
  background: none; border: none; cursor: pointer;
  color: var(--color-text-secondary); transition: all 0.15s;
}
.fav-auth-tab.active { background: #b91c1c; color: #fff; }
.fav-auth-field {
  text-align: left; margin-bottom: 10px;
}
.fav-auth-error {
  margin-top: 4px; font-size: 12px; color: #b91c1c;
}
.fav-auth-btn {
  width: 100%; height: 48px; margin-top: 4px;
  background: #b91c1c; color: #fff;
  font-size: 15px; font-weight: 700;
  border: none; border-radius: 12px;
  cursor: pointer; transition: opacity 0.15s;
}
.fav-auth-btn:hover { opacity: 0.9; }
.fav-auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.fav-auth-sq {
  text-align: left;
  background: var(--color-surface-2, #f8f8f8);
  border-radius: 10px; padding: 12px;
  margin-bottom: 14px;
}
.fav-auth-sq-label {
  font-size: 11px; font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Auth modal backdrop */
.checkout-auth-modal-backdrop {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
/* Auth modal card */
.checkout-auth-modal-card {
  background: #fff; border-radius: 20px;
  padding: 20px; width: 100%; max-width: 440px;
  position: relative; margin: auto;
  max-height: 90vh; overflow-y: auto;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  animation: modal-in 0.18s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.checkout-auth-modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--color-surface-2, #f4f4f4); border: none;
  border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--color-text-muted); transition: background 0.15s;
}
.checkout-auth-modal-close:hover { background: var(--color-border-light); }
/* Modal tab toggle */
.checkout-auth-modal-tabs {
  display: flex; gap: 0; margin-bottom: 14px;
  border: 1.5px solid var(--color-border-light);
  border-radius: 12px; overflow: hidden;
}
.checkout-auth-modal-tab {
  flex: 1; padding: 11px 10px; font-size: 14px; font-weight: 700;
  background: none; border: none; cursor: pointer;
  color: var(--color-text-secondary); transition: all 0.15s;
}
.checkout-auth-modal-tab.active {
  background: #b91c1c; color: #fff;
}
/* Legacy guest gate classes kept for any remaining references */
.checkout-guest-gate {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(12, 26, 26, 0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.checkout-guest-panel {
  background: #fff; border-radius: 20px;
  padding: 32px 28px; max-width: 400px; width: 100%;
  box-shadow: var(--shadow-xl); text-align: center;
}
.checkout-guest-actions { display: flex; flex-direction: column; gap: 10px; }
.checkout-btn-signin {
  width: 100%; height: 48px;
  background: var(--gradient-brand); color: #fff;
  font-size: 15px; font-weight: 700; border: none; border-radius: 12px;
  cursor: pointer; transition: opacity 150ms;
}
.checkout-btn-signin:hover { opacity: 0.92; }
.checkout-btn-guest {
  width: 100%; height: 48px;
  background: transparent; border: 1.5px solid var(--color-border);
  color: var(--color-text-primary); font-size: 15px; font-weight: 600;
  border-radius: 12px; cursor: pointer; transition: background 150ms;
}
.checkout-btn-guest:hover { background: var(--color-surface); }
/* Checkout toast */
.checkout-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 3000;
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; max-width: 300px;
  transform: translateY(20px); opacity: 0;
  transition: all 300ms ease-out; pointer-events: none;
}
@media (max-width: 767px) {
  .checkout-toast { left: 16px; right: 16px; bottom: 90px; max-width: 100%; }
}
.checkout-toast.show { transform: translateY(0); opacity: 1; pointer-events: all; }
.checkout-toast-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.checkout-toast-text { font-size: 13px; font-weight: 600; }
.checkout-toast-sub { font-size: 12px; color: var(--color-text-muted); }
/* Step summary chip (collapsed payment) */
.checkout-step-chip-summary {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--color-surface); border: 1.5px solid var(--color-border-light);
  border-radius: 10px; padding: 10px 14px;
  cursor: pointer; transition: border-color 150ms, background 150ms;
}
.checkout-step-chip-summary:hover { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-step-chip-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.checkout-step-chip-emoji { font-size: 16px; flex-shrink: 0; }
.checkout-step-chip-text { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-step-chip-change { font-size: 12px; font-weight: 600; color: var(--color-brand-teal); flex-shrink: 0; white-space: nowrap; margin-left: 10px; }
.checkout-step-expand { display: none; }
.checkout-step-expand.open { display: block; margin-top: 12px; }
/* Textarea for special instructions */
.checkout-field-textarea {
  width: 100%; min-height: 80px; padding: 12px 14px;
  background: var(--color-surface); border: 1.5px solid var(--color-border-light);
  border-radius: 10px; font-size: 14px; font-family: var(--font-primary);
  color: var(--color-text-primary); outline: none; resize: vertical;
  transition: border-color 150ms;
}
.checkout-field-textarea:focus { background: #fff; border-color: var(--color-brand-teal); box-shadow: 0 0 0 3px rgba(14,116,144,0.12); }
.checkout-field-textarea::placeholder { color: var(--color-text-disabled); }
/* spinner for place order */
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-spinner { animation: co-spin 700ms linear infinite; }
/* ── Mobile CTA bar: payment pill + place order button ── */
.checkout-cta-payment-pill {
  flex: 0 0 auto;
  height: 48px; padding: 0 14px;
  display: flex; align-items: center; gap: 8px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px; cursor: pointer;
  transition: border-color 150ms, background 150ms;
}
.checkout-cta-payment-pill:hover { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-cta-pill-emoji { font-size: 18px; flex-shrink: 0; }
.checkout-cta-pill-label { font-size: 12px; font-weight: 600; color: var(--color-text-primary); white-space: nowrap; }
.checkout-cta-place-btn {
  flex: 1; height: 48px;
  background: var(--gradient-cta); color: #fff;
  font-size: 14px; font-weight: 700; border: none; border-radius: 10px;
  box-shadow: 0 4px 16px rgba(185,28,28,0.28);
  display: flex; align-items: center; justify-content: center;
  transition: transform 150ms; cursor: pointer;
}
.checkout-cta-place-btn:hover:not(:disabled) { transform: translateY(-1px); }
.checkout-cta-place-btn:disabled { opacity: 0.6; cursor: not-allowed; }
/* Cancel address edit link */
.checkout-btn-cancel-edit {
  margin-top: 6px; padding: 0; border: none; background: none;
  font-size: 12px; font-weight: 600; color: var(--color-text-muted);
  cursor: pointer; transition: color 150ms;
}
.checkout-btn-cancel-edit:hover { color: var(--color-text-primary); }
/* Empty cart state in summary */
.checkout-empty-state { text-align: center; padding: 12px 0; }
.checkout-btn-goto-cart {
  height: 36px; padding: 0 16px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 8px; font-size: 13px; font-weight: 600;
  color: var(--color-brand-teal); cursor: pointer;
  transition: background 150ms;
}
.checkout-btn-goto-cart:hover { background: var(--color-brand-teal-faint); }
/* Promo input error state */
.checkout-promo-error-border { border-color: var(--color-brand-wine) !important; box-shadow: 0 0 0 3px rgba(185,28,28,0.10) !important; }
/* ── REFINEMENT PATCH v3 ───────────────────────────────────────────── */

/* 1. Desktop hero: reduce headline ~12% (64→56px), sub 18→16px */
@media (min-width: 768px) {
  .hero-headline { font-size: 56px !important; }
  .hero-sub { font-size: 16px !important; margin-bottom: 28px !important; }
}

/* 2. Mobile hero: top gap -50% (14px→6px), slightly smaller badge */
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: calc(var(--navbar-h) + 6px) !important;
  }
  .hero-badge {
    font-size: 10px !important;
    padding: 4px 10px !important;
    margin-bottom: 7px !important;
  }
}

/* 3. Menu page: .page-header is the root element (no .page-wrap parent),
      so it needs the full navbar offset itself on mobile */
@media (max-width: 767px) {
  .page-header { padding-top: calc(var(--navbar-h) + 10px) !important; }
  /* Pages that already have a padded wrapper: keep small internal gap */
  .page-wrap .page-header,
  .page-wrapper .page-header { padding-top: 14px !important; }
}

/* 4. Favorites: ensure products-section inside .page-container matches menu padding */
.page-container > .products-section {
  padding-left: 14px !important;
  padding-right: 14px !important;
}
@media (min-width: 768px) {
  .page-container > .products-section { padding-left: 24px !important; padding-right: 24px !important; }
}

/* 5. Cart: reduce special instructions bottom gap ~60% */
.instructions-section {
  margin-bottom: 14px !important;
  padding-bottom: 0 !important;
}

/* 6. Checkout floating CTA bar: show on ALL viewport sizes (desktop + mobile) */
.checkout-mobile-cta {
  display: flex !important;
  gap: 10px;
  align-items: center;
}
/* Explicit 30 / 70 ratio */
.checkout-cta-payment-pill {
  flex: 0 0 30% !important;
  max-width: 30%;
  min-width: 0;
}
.checkout-cta-place-btn { flex: 1 !important; }
/* Summary card place-order hidden: floating CTA bar is the single action */
.checkout-summary-card .checkout-btn-place-order { display: none !important; }
/* Right column no longer needs to be sticky since CTA bar is fixed */
.checkout-right-col { position: static !important; }
/* Add bottom padding so floating bar never obscures form content */
.checkout-area { padding-bottom: 100px !important; }

/* 7. Checkout datetime grid: ensure 50/50 side-by-side on all widths ≥ 360px */
@media (min-width: 360px) {
  .checkout-datetime-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── END MASTER FIXES ── */

/* Auth signup: address toggle button */
.addr-toggle-btn {
  width: 100%; display: flex; align-items: center; gap: 6px;
  background: var(--color-surface); border: 1.5px solid var(--color-border-light);
  border-radius: 10px; padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: var(--color-brand-teal);
  cursor: pointer; transition: background 150ms, border-color 150ms;
  font-family: var(--font-primary);
}
.addr-toggle-btn:hover { background: var(--color-brand-teal-faint); border-color: var(--color-brand-teal); }
.addr-toggle-btn svg { flex-shrink: 0; }
.rotate-180 { transform: rotate(180deg); }

/* ── SCREENSHOT BUG FIXES ───────────────────────────────────────────── */

/* 1. Favourites: override .container reset so cards don't touch the left edge */
.page-container .products-section .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-container .products-section .products-grid {
  padding-left: 14px !important;
  padding-right: 14px !important;
}
@media (min-width: 768px) {
  .page-container .products-section .products-grid {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* 2. Hero badge: increase gap from navbar so badge never collides */
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: calc(var(--navbar-h) + 16px) !important;
  }
}

/* 3. Checkout CTA payment pill: neutral resting state, no selected look */
.checkout-cta-payment-pill {
  background: var(--color-surface) !important;
  border-color: var(--color-border-light) !important;
  box-shadow: none !important;
  outline: none !important;
  user-select: none;
  -webkit-user-select: none;
}
.checkout-cta-payment-pill:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* 4. Checkout area: bottom padding without tab bar (tab bar hidden on checkout) */
.checkout-area {
  padding-bottom: 80px !important;
}

/* ── END SCREENSHOT BUG FIXES ── */

/* ══════════════════════════════════════════════════════════════════════
   BUTCHER DASHBOARD
══════════════════════════════════════════════════════════════════════ */
.bd-shell {
  max-width: 1400px; margin: 0 auto;
  padding: calc(var(--navbar-h) + 24px) 28px 48px;
}
@media (max-width: 600px) { .bd-shell { padding: calc(var(--navbar-h) + 16px) 12px 40px; } }

/* Header */
.bd-header-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.bd-title { font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.bd-sub   { font-size: 13px; color: var(--color-text-muted); margin-top: 3px; }
@media (max-width: 600px) { .bd-title { font-size: 22px; } }

.bd-btn-refresh {
  display: flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 16px;
  background: #fff; border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; color: var(--color-text-secondary);
  transition: border-color 150ms, color 150ms;
}
.bd-btn-refresh:hover { border-color: var(--color-brand-teal); color: var(--color-brand-teal); }
.bd-btn-refresh svg { width: 15px; height: 15px; }
.bd-btn-refresh.spinning svg { animation: bd-spin 0.6s linear; }
@keyframes bd-spin { to { transform: rotate(360deg); } }

/* Stat pills */
.bd-stat-row { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.bd-stat-pill {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full); padding: 7px 14px 7px 10px;
  box-shadow: var(--shadow-xs); cursor: pointer; flex-shrink: 0;
  transition: border-color 150ms, background 150ms;
}
.bd-stat-pill:hover { border-color: var(--color-border); }
.bd-stat-pill.active-filter { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.bd-pill-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.bd-dot-all     { background: var(--color-text-muted); }
.bd-dot-new     { background: var(--color-brand-wine);  box-shadow: 0 0 0 3px rgba(185,28,28,0.15); }
.bd-dot-working { background: var(--color-brand-amber); box-shadow: 0 0 0 3px rgba(217,119,6,0.15); }
.bd-dot-ready   { background: var(--color-success);     box-shadow: 0 0 0 3px rgba(4,120,87,0.15); }
.bd-pill-label { font-size: 13px; font-weight: 600; color: var(--color-text-secondary); }
.bd-pill-count {
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff;
}
.bd-count-all     { background: var(--color-text-muted); }
.bd-count-new     { background: var(--color-brand-wine); }
.bd-count-working { background: var(--color-brand-amber); }
.bd-count-ready   { background: var(--color-success); }

/* Orders grid */
.bd-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px; align-items: start;
}
@media (max-width: 600px) { .bd-orders-grid { grid-template-columns: 1fr; gap: 12px; } }

/* Order card */
.bd-order-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border-light);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: box-shadow 250ms, transform 250ms;
  position: relative;
}
.bd-order-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bd-state-placed          { border-left: 4px solid var(--color-brand-wine); }
.bd-state-new             { border-left: 4px solid var(--color-brand-wine); }
.bd-state-accepted        { border-left: 4px solid var(--color-brand-amber); }
.bd-state-cutting         { border-left: 4px solid var(--color-brand-amber); }
.bd-state-packing         { border-left: 4px solid var(--color-brand-amber); }
.bd-state-working         { border-left: 4px solid var(--color-brand-amber); }
.bd-state-ready           { border-left: 4px solid var(--color-success); }
.bd-state-out_for_delivery{ border-left: 4px solid #2563EB; }
.bd-state-delivered       { border-left: 4px solid var(--color-success); }
.bd-state-cancelled       { border-left: 4px solid #9CA3AF; opacity: 0.75; }
.bd-state-ready .bd-card-head {
  background: linear-gradient(135deg, rgba(4,120,87,0.04), rgba(207,250,254,0.18));
}

/* Card sections */
.bd-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--color-border-light); gap: 8px;
}
.bd-order-id   { font-size: 13px; font-weight: 700; }
.bd-order-time { font-size: 11px; color: var(--color-text-muted); margin-top: 2px; }

.bd-status-badge {
  display: inline-flex; align-items: center; gap: 5px;
  border-radius: var(--radius-full); padding: 3px 10px;
  font-size: 11px; font-weight: 700; white-space: nowrap;
}
.bd-badge-placed          { background: var(--color-brand-wine-light);  color: var(--color-brand-wine); }
.bd-badge-new             { background: var(--color-brand-wine-light);  color: var(--color-brand-wine); }
.bd-badge-accepted        { background: var(--color-brand-amber-light); color: #92400E; }
.bd-badge-cutting         { background: var(--color-brand-amber-light); color: #92400E; }
.bd-badge-packing         { background: var(--color-brand-violet-light);color: var(--color-brand-violet); }
.bd-badge-working         { background: var(--color-brand-amber-light); color: #92400E; }
.bd-badge-ready           { background: var(--color-success-light);     color: var(--color-success); }
.bd-badge-out_for_delivery{ background: #DBEAFE;                        color: #1D4ED8; }
.bd-badge-delivered       { background: var(--color-success-light);     color: var(--color-success); }
.bd-badge-cancelled       { background: #F3F4F6;                        color: #6B7280; }
.bd-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.bd-state-new .bd-badge-dot { animation: bd-blink 1.4s ease-in-out infinite; }
@keyframes bd-blink { 0%,100%{opacity:1;} 50%{opacity:0.25;} }

.bd-card-customer {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-bottom: 1px solid var(--color-border-light);
}
.bd-customer-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.bd-customer-name  { font-size: 14px; font-weight: 600; }
.bd-customer-meta  { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.bd-customer-phone { font-size: 11px; color: var(--color-text-muted); }
.bd-method-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  border-radius: var(--radius-full); padding: 2px 7px;
}
.bd-tag-pickup   { background: var(--color-brand-teal-faint);   color: var(--color-brand-teal); }
.bd-tag-delivery { background: var(--color-brand-violet-light); color: var(--color-brand-violet); }

.bd-card-items { padding: 10px 16px; border-bottom: 1px solid var(--color-border-light); }
.bd-item-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.bd-item-emoji {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.bd-item-name        { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; }
.bd-item-weight-row  { display: flex; align-items: center; gap: 4px; }
.bd-item-approx {
  font-size: 11px; font-weight: 500; color: var(--color-text-muted);
  background: var(--color-surface); border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full); padding: 2px 8px; white-space: nowrap;
}
.bd-item-real {
  font-size: 11px; font-weight: 700; color: var(--color-success);
  background: var(--color-success-light);
  border-radius: var(--radius-full); padding: 2px 8px; white-space: nowrap;
}

/* Weight entry */
.bd-weight-entry {
  padding: 12px 16px;
  background: var(--color-brand-amber-faint);
  border-top: 1px dashed rgba(217,119,6,0.30);
  display: flex; flex-direction: column; gap: 10px;
}
.bd-weight-entry-label { font-size: 12px; font-weight: 600; color: #92400E; display: block; }
.bd-weight-inputs    { display: flex; flex-direction: column; gap: 8px; }
.bd-weight-item-row  { display: flex; align-items: center; gap: 8px; }
.bd-weight-item-name { flex: 1; font-size: 13px; font-weight: 500; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-weight-input-wrap { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.bd-weight-input {
  width: 72px; height: 34px; text-align: center;
  background: #fff; border: 1.5px solid rgba(217,119,6,0.40);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; color: var(--color-text-primary);
  outline: none; transition: border-color 150ms, box-shadow 150ms;
  font-family: var(--font-primary);
}
.bd-weight-input:focus { border-color: var(--color-brand-amber); box-shadow: 0 0 0 3px rgba(217,119,6,0.12); }
.bd-weight-unit { font-size: 12px; font-weight: 600; color: var(--color-text-muted); }

/* Card footer */
.bd-card-foot {
  padding: 12px 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.bd-card-total { font-size: 13px; font-weight: 700; }
.bd-card-total span { font-size: 11px; font-weight: 400; color: var(--color-text-muted); margin-left: 2px; }

.bd-btn-cta {
  height: 38px; padding: 0 18px; border: none; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: transform 150ms, box-shadow 150ms, opacity 150ms;
  flex-shrink: 0; cursor: pointer; font-family: var(--font-primary);
}
.bd-btn-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.bd-btn-cta:hover { transform: translateY(-1px); }
.bd-btn-cta:active { transform: scale(0.96); }
.bd-btn-accept  { background: var(--gradient-cta);                              box-shadow: 0 4px 12px rgba(185,28,28,0.28); }
.bd-btn-working { background: linear-gradient(135deg,#0e7490,#0891b2);           box-shadow: 0 4px 12px rgba(14,116,144,0.28); }
.bd-btn-ready   { background: linear-gradient(135deg,#D97706,#047857);           box-shadow: 0 4px 12px rgba(4,120,87,0.22); }
.bd-btn-cod     { background: linear-gradient(135deg,#92400E,#D97706); width: 100%; margin-top: 6px; justify-content: center; white-space: nowrap; }
.bd-btn-done    { background: var(--color-success); opacity: 0.70; cursor: default; }
.bd-btn-done:hover { transform: none; }

/* Empty state */
.bd-empty {
  grid-column: 1 / -1; padding: 64px 24px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.bd-empty-icon { font-size: 48px; opacity: 0.35; }
.bd-empty-text { font-size: 17px; font-weight: 600; color: var(--color-text-muted); }
.bd-empty-sub  { font-size: 14px; color: var(--color-text-disabled); }

/* Toast */
.bd-toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 3000;
  background: #fff; border: 1px solid var(--color-border-light);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px; max-width: 300px;
  transform: translateY(16px); opacity: 0;
  transition: transform 280ms cubic-bezier(0.34,1.56,0.64,1), opacity 280ms ease;
  pointer-events: none;
}
@media (max-width: 600px) { .bd-toast { left: 12px; right: 12px; max-width: 100%; bottom: 16px; } }
.bd-toast.show  { transform: translateY(0); opacity: 1; pointer-events: all; }
.bd-toast-icon  { font-size: 20px; flex-shrink: 0; }
.bd-toast-text  { font-size: 13px; font-weight: 700; }
.bd-toast-sub   { font-size: 12px; color: var(--color-text-muted); margin-top: 1px; }

/* ══════════════════════════════════════════════════════════════════════
   PAGE FIXES (final override block — do not add below this)
══════════════════════════════════════════════════════════════════════ */

/* 1. Mobile hero: push content to top, reduce space above badge */
@media (max-width: 767px) {
  .home-page .hero {
    align-items: flex-start !important;
  }
  .home-page .hero-content {
    justify-content: flex-start !important;
    padding-top: calc(var(--navbar-h) + 14px) !important;
    padding-bottom: 20px !important;
  }
}

/* 2. Favourites mobile: cards start from left, full width */
@media (max-width: 767px) {
  .page-container .products-section .products-grid {
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }
  .page-container .products-section .products-grid .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* 3. Favourites desktop: cards match home/menu card sizing, no stretching */
@media (min-width: 768px) {
  .page-container .products-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    align-items: start !important;
    gap: 20px !important;
  }
}

/* 4. Checkout: payment dropdown in CTA bar */
.checkout-payment-dropdown-wrap {
  position: relative;
  flex: 0 0 30%;
  max-width: 30%;
}
.checkout-cta-pay-btn {
  width: 100%; height: 48px; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--color-text-primary);
  font-family: var(--font-primary);
  transition: border-color 150ms, background 150ms;
  user-select: none; -webkit-user-select: none;
  outline: none;
}
.checkout-cta-pay-btn:focus { outline: none; }
.checkout-cta-pay-btn:hover { border-color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-cta-pay-btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform 200ms; }
.checkout-cta-pay-btn.open svg { transform: rotate(180deg); }

.checkout-pay-dropdown {
  position: absolute; bottom: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1.5px solid var(--color-border-light);
  border-radius: 12px; box-shadow: var(--shadow-md);
  overflow: hidden; z-index: 500;
  animation: pay-drop-in 160ms ease-out;
}
@keyframes pay-drop-in { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

.checkout-pay-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-light);
  transition: background 120ms;
}
.checkout-pay-option:last-child { border-bottom: none; }
.checkout-pay-option:hover { background: var(--color-surface); }
.checkout-pay-option.selected { color: var(--color-brand-teal); background: var(--color-brand-teal-faint); }
.checkout-pay-option-emoji { font-size: 16px; flex-shrink: 0; }

/* ── BUTCHER NAVBAR ─────────────────────────────────────────────────── */
.bd-navbar {
  position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 1000;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(16px) saturate(200%);
  box-shadow: var(--shadow-navbar);
}
.bd-navbar-inner {
  display: flex; align-items: center; height: 100%;
  max-width: 1400px; margin: 0 auto; padding: 0 28px; gap: 16px;
}
.bd-navbar-logo { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.bd-navbar-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gradient-cta);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; box-shadow: var(--shadow-cta);
}
.bd-navbar-text    { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.bd-navbar-divider { width: 1px; height: 24px; background: var(--color-border-light); margin: 0 4px; }
.bd-navbar-section { font-size: 13px; font-weight: 600; color: var(--color-text-muted); letter-spacing: 0.02em; }
.bd-navbar-right   { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.bd-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
  animation: bd-pulse-green 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes bd-pulse-green {
  0%,100% { box-shadow: 0 0 0 2px rgba(34,197,94,0.25); }
  50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0.12); }
}
.bd-butcher-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--color-surface); border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full); padding: 5px 12px 5px 6px;
}
.bd-butcher-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.bd-butcher-name { font-size: 13px; font-weight: 600; }
.bd-navbar-signout {
  height: 32px; padding: 0 12px;
  background: none; border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 12px; font-weight: 600; color: var(--color-text-muted);
  cursor: pointer; transition: border-color 150ms, color 150ms;
  font-family: var(--font-primary);
}
.bd-navbar-signout:hover { border-color: var(--color-brand-wine); color: var(--color-brand-wine); }

/* Adjust shell padding to account for 60px butcher navbar */
.bd-shell { padding-top: 84px !important; }

@media (max-width: 600px) {
  .bd-navbar-inner  { padding: 0 16px; }
  .bd-navbar-divider, .bd-navbar-section, .bd-butcher-name { display: none; }
  .bd-shell { padding-top: 76px !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   USER-SPECIFIED OVERRIDES (client demo — do not remove)
══════════════════════════════════════════════════════════════════════ */

/* ── Favourites page grid: 4-col → 3-col → 2-col (matches menu) ─── */
.page-container .products-section .container {
  padding-left: 0; padding-right: 0;
}
.page-container .products-section .products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
}
@media (max-width: 1023px) {
  .page-container .products-section .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}
@media (max-width: 767px) {
  .page-container .products-section .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Favourites outer wrapper: no left gutter */
  .page-wrap .page-container { padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
}
.page-container .products-section .products-grid .product-card { height: 100%; }
.page-container .products-section .products-grid .product-card-inner { height: 100%; }

/* ── Order status stepper: line sits under circles ──────────────── */
.status-steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.status-progress-line {
  position: absolute;
  top: 24px; left: 0; right: 0;
  height: 2px;
  background: var(--color-border, #ddd0ca);
  z-index: 1;
}
.status-step {
  position: relative;
  z-index: 2;
  background: #fff;
}
@media (max-width: 767px) {
  .status-progress-line { top: 20px; }
}

/* ── Hero mobile: constrain left column to 72% ──────────────────── */
@media (max-width: 767px) {
  .hero-left { max-width: 72% !important; width: 72% !important; }
}

/* ── Inline Buy Now button (replaces side-arrow lp-btn-buy-now) ─── */
.btn-buy-now-inline {
  display: block; width: 100%; margin-top: 8px;
  padding: 9px 14px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #B91C1C 0%, #D97706 100%);
  color: #fff; font-size: 13px; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: opacity .15s; text-align: center;
  letter-spacing: .01em;
}
.btn-buy-now-inline:hover  { opacity: .88; }
.btn-buy-now-inline:active { opacity: .75; transform: scale(.98); }

/* Disabled minus button in qty-controls */
.qty-btn:disabled { opacity: 0.3; cursor: default; }

/* ══════════════════════════════════════════════════════════════════════════
   LOGO IMAGE — replaces emoji marks in navbar, drawer, footer
   ══════════════════════════════════════════════════════════════════════════ */
.navbar-logo-mark,
.drawer-logo-mark,
.footer-logo-mark {
  background: none !important;
  border-radius: 0 !important;
  display: block !important;
  object-fit: contain !important;
  flex-shrink: 0;
}
.navbar-logo-mark  { width: 40px  !important; height: 40px  !important; }
.drawer-logo-mark  { width: 36px  !important; height: 36px  !important; }
.footer-logo-mark  { width: 44px  !important; height: 44px  !important; }
@media (max-width: 767px) {
  .navbar-logo-mark { width: 28px !important; height: 28px !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   QTY CONTROLS — pill, transparent/light teal, scoped so cart is unaffected
   ══════════════════════════════════════════════════════════════════════════ */
.qty-controls {
  width: 100% !important;
  background: rgba(236, 254, 255, 0.55) !important;
  border: 1.5px solid var(--color-brand-teal) !important;
  border-radius: 999px !important;
  height: 44px !important;
  overflow: hidden;
  box-shadow: none !important;
  transform: none !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 767px) {
  .qty-controls { height: 38px !important; }
}

/* Scoped to .qty-controls only — cart widgets are NOT inside .qty-controls */
.qty-controls .qty-btn {
  width: 44px !important;
  height: 100%;
  background: rgba(255, 255, 255, 0.45) !important;
  color: var(--color-brand-teal) !important;
  font-size: 20px !important;
  border: none;
  flex-shrink: 0;
  transition: background 150ms ease;
}
.qty-controls .qty-btn:hover {
  background: rgba(255, 255, 255, 0.80) !important;
}
.qty-controls .qty-btn:disabled {
  opacity: 0.38 !important;
  cursor: default;
}
.qty-controls .qty-count {
  flex: 1;
  background: transparent !important;
  color: var(--color-brand-teal) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════════════════
   PRODUCT CARD AURA — invisible at rest, activates on hover
   ══════════════════════════════════════════════════════════════════════════ */
.product-card::before {
  inset: -20px !important;
  filter: blur(28px) !important;
  opacity: 0 !important;
  animation: none !important;
}
.product-card:hover::before {
  opacity: 1 !important;
  animation: auraRotate 4000ms linear infinite !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ORDER TIMELINE — center connector line on circle vertical midpoint
   ══════════════════════════════════════════════════════════════════════════ */
/* Each ng-repeat wrapper becomes a flex item that owns its connector */
.timeline > div {
  flex: 1 !important;
  position: relative !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Circle sits on top; its center is at 14px (half of 28px height) */
.timeline-step {
  position: relative;
  z-index: 1;
}
/* Connector line: absolutely positioned at the circle's vertical center */
.timeline-line {
  position: absolute !important;
  top: 14px !important;   /* 14px = 28px circle ÷ 2  */
  left: 50% !important;
  right: -50% !important;
  height: 2px !important;
  margin: 0 !important;
  z-index: 0 !important;
  min-width: 0 !important;
}
/* Reset the nth-child position overrides from earlier in the file */
.timeline > div:nth-child(1) .timeline-line,
.timeline > div:nth-child(2) .timeline-line,
.timeline > div:nth-child(3) .timeline-line,
.timeline > div:nth-child(4) .timeline-line {
  left: 50% !important;
  right: -50% !important;
  top: 14px !important;
}

/* ── Auth page: fix double scrollbar ───────────────────────────────────── */
.auth-page {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  align-items: flex-start !important;
}
/* ── Auth divider: horizontal line — text — line ────────────────────────── */
.divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 24px 0 16px !important;
}
.divider-line:first-child,
.divider-line:last-child {
  display: block !important;
  flex: 1 !important;
  height: 1px !important;
  background: var(--color-border-light) !important;
}
.divider-text {
  display: inline !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--color-text-muted) !important;
  white-space: nowrap !important;
}
.social-row {
  margin-top: 4px !important;
}
/* ── Auth logo img (no circle bg) ───────────────────────────────────────── */
.auth-logo-mark {
  background: none !important;
  border-radius: 0 !important;
}

/* ── Logo: multiply blend removes white background on any light surface ── */
.navbar-logo-mark,
.drawer-logo-mark,
.footer-logo-mark {
  mix-blend-mode: multiply !important;
  background: none !important;
  border-radius: 0 !important;
}
/* Admin + butcher + auth logo images */
img[alt="A2Z Fresh Meats"] {
  mix-blend-mode: multiply !important;
  background: none !important;
  border-radius: 0 !important;
}

/* ── Logo: clip to circle — removes white square background permanently ── */
.navbar-logo-mark,
.drawer-logo-mark,
.footer-logo-mark,
img[alt="A2Z Fresh Meats"] {
  border-radius: 50% !important;
  object-fit: cover !important;
  mix-blend-mode: normal !important;
  background: none !important;
}

/* ── Unified Add-to-Cart row [−][Add to Cart / count][+] ── */
.cart-row {
  display: flex;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: auto;
}
.cart-dec,
.cart-inc {
  width: 38px;
  min-width: 38px;
  height: 100%;
  background: #9b1c1c;
  color: #fff;
  border: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
  flex-shrink: 0;
}
.cart-dec:hover,
.cart-inc:hover {
  background: #7f1d1d;
}
.cart-dec.cart-side-dim {
  opacity: 0.4;
  cursor: default;
}
.cart-mid {
  flex: 1;
  background: var(--gradient-cta);
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 150ms;
  padding: 0;
}
.cart-mid:hover {
  filter: brightness(1.1);
}
@media (max-width: 767px) {
  .cart-row  { height: 34px; }
  .cart-dec,
  .cart-inc  { width: 32px; min-width: 32px; font-size: 18px; }
  .cart-mid  { font-size: 11px; }
}

/* ── Compact product cards ─────────────────────────────────────────────── */
/* Shorter image: 3:2 ratio instead of 4:3 */
.product-card-image {
  aspect-ratio: 3 / 2 !important;
}
@media (max-width: 767px) {
  .product-card-image {
    aspect-ratio: unset !important;
    height: 90px !important;
  }
}
/* Card spacing governed by .product-card scoped rules above */
/* .card-actions: simple passthrough wrapper — no phantom height */
.card-actions {
  margin-top: auto;
  width: 100%;
}
.card-actions .btn-add-cart,
.card-actions .qty-controls {
  margin-top: 0 !important;
  width: 100%;
}
/* Fallback: direct children (no .card-actions wrapper) still pin to bottom */
.card-body > .btn-add-cart,
.card-body > .qty-controls {
  margin-top: auto !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO — Full-bleed background slides
   ══════════════════════════════════════════════════════════════════════════ */

/* Kill old floating art + blob */
.hero-art        { display: none !important; }
.hero-blob-amber { display: none !important; }
.scroll-indicator{ display: none !important; }

/* Background slide stack */
.hero-bg-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
}
.hero-bg-slide.active { opacity: 1; }

/* Dark gradient overlay — heavier on left where text sits */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.68) 0%,
    rgba(0,0,0,0.42) 50%,
    rgba(0,0,0,0.12) 100%
  );
}
@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.25) 0%,
      rgba(0,0,0,0.65) 100%
    ) !important;
  }
}

/* Hero content sits above overlay */
.hero-content {
  position: relative !important;
  z-index: 2 !important;
}
@media (max-width: 767px) {
  .hero-content {
    padding-top: 40px !important;
    padding-bottom: 16px !important;
    align-items: flex-start !important;
  }
}

/* Text — white on dark image bg */
.home-page .hero-headline {
  color: #fff !important;
  font-size: 52px !important;
}
@media (max-width: 767px) {
  .home-page .hero-headline {
    font-size: 28px !important;
    margin-bottom: 8px !important;
  }
}
.home-page .hero-headline .accent {
  background: linear-gradient(90deg,#f97316,#ef4444) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.home-page .hero-sub {
  color: rgba(255,255,255,0.88) !important;
  font-size: 16px !important;
}
@media (max-width: 767px) {
  .home-page .hero-sub {
    font-size: 13px !important;
    max-width: 280px !important;
  }
}
.hero-badge {
  background: rgba(255,255,255,0.14) !important;
  color: rgba(255,255,255,0.95) !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
  backdrop-filter: blur(6px) !important;
}

/* Dots on dark bg */
.hero-dot {
  background: rgba(255,255,255,0.35) !important;
  border: 1.5px solid rgba(255,255,255,0.55) !important;
}
.hero-dot.active {
  background: #fff !important;
  border-color: #fff !important;
}
.hero-dots {
  position: absolute !important;
  bottom: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 3 !important;
  display: flex !important;
  gap: 8px !important;
}

/* ═══════════════════════════════════════════════════════════════
   TASK 1 — Hero vertical centering (account for fixed navbar)
═══════════════════════════════════════════════════════════════ */
.home-page .hero-content {
  padding-top: 72px !important;
}
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: 80px !important;
    padding-bottom: 20px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TASK 2 — Mobile navbar logo truncation
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .navbar-logo-text {
    max-width: 130px !important;
    font-size: 13px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .navbar-logo-mark {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   TASK 3 — Timeline vertical connector centering
═══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  .timeline-line-v {
    margin-left: 14px; /* exactly half of 28px circle */
  }
}

/* ═══════════════════════════════════════════════════════════════
   TASK 4 — Auth card close button
═══════════════════════════════════════════════════════════════ */
.auth-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background 150ms, color 150ms;
  z-index: 2;
}
.auth-close-btn:hover {
  background: var(--color-surface-2);
  color: var(--color-text-primary);
}
.auth-close-btn svg {
  width: 14px;
  height: 14px;
}
.auth-card {
  max-width: 420px;
}

/* ═══════════════════════════════════════════════════════════════
   TASK 5 — Floating label inputs
═══════════════════════════════════════════════════════════════ */
.floating-field {
  position: relative;
  margin-bottom: 16px;
}

/* Base input */
.float-input {
  width: 100%;
  height: 56px;
  padding: 20px 16px 6px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text-primary);
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  display: block;
  box-sizing: border-box;
}
.float-input:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.10);
}
.float-input.error {
  border-color: var(--color-brand-wine);
}

/* Floating label */
.float-label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-muted);
  pointer-events: none;
  transition: top 130ms ease, font-size 130ms ease, color 130ms ease, letter-spacing 130ms ease;
  line-height: 1;
}
/* Float up when input is focused or has value */
.float-input:focus + .float-label,
.float-input:not(:placeholder-shown) + .float-label {
  top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.04em;
}
.float-input.error:not(:placeholder-shown) + .float-label {
  color: var(--color-brand-wine);
}

/* Password wrapper */
.float-pw-wrap {
  position: relative;
}
.float-pw-wrap .float-input {
  padding-right: 48px;
}
/* Reset label defaults inside pw-wrap (it targets .float-label via sibling) */
.float-pw-wrap .float-input:focus + .float-label,
.float-pw-wrap .float-input:not(:placeholder-shown) + .float-label {
  top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.04em;
}
.float-pw-wrap.error .float-input {
  border-color: var(--color-brand-wine);
}
.float-pw-wrap.error .float-input:not(:placeholder-shown) + .float-label {
  color: var(--color-brand-wine);
}

/* Eye toggle */
.pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 0;
  z-index: 1;
}
.pw-toggle:hover { color: var(--color-text-primary); }
.pw-toggle svg { width: 18px; height: 18px; display: block; }

/* Phone wrapper */
.float-phone-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  height: 56px;
  transition: border-color 150ms, box-shadow 150ms;
  overflow: hidden;
}
.float-phone-wrap:focus-within {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14,116,144,0.10);
}
.float-phone-wrap.error {
  border-color: var(--color-brand-wine);
}
.phone-prefix {
  display: flex;
  align-items: flex-end;
  padding: 0 4px 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
  flex-shrink: 0;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
.float-phone-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text-primary);
  padding: 20px 16px 6px 4px;
  min-width: 0;
}
.float-label-phone {
  left: 54px;
}
.float-phone-wrap:focus-within .float-label-phone,
.float-phone-input:not(:placeholder-shown) ~ .float-label-phone {
  top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand-teal);
  letter-spacing: 0.04em;
}
.float-phone-wrap.error .float-phone-input:not(:placeholder-shown) ~ .float-label-phone {
  color: var(--color-brand-wine);
}

/* ═══════════════════════════════════════════════════════════════
   TASK 6 — Login welcome toast
═══════════════════════════════════════════════════════════════ */
.login-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3100;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 300ms ease-out, opacity 300ms ease-out;
  pointer-events: none;
}
@media (max-width: 767px) {
  .login-toast {
    left: 16px;
    right: 16px;
    bottom: 84px;
    max-width: 100%;
  }
}
.login-toast.show {
  transform: translateY(0);
  opacity: 1;
}
.login-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d1fae5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.login-toast-icon svg {
  width: 16px;
  height: 16px;
  stroke: #047857;
  stroke-width: 2.5;
  fill: none;
}
.login-toast-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.login-toast-body span:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.login-toast-body span:last-child {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   CORRECTIONS PASS — Tasks 1-7
═══════════════════════════════════════════════════════════════ */

/* ── Task 1: Hero text pushed further down ── */
.home-page .hero-content {
  padding-top: 120px !important;
  padding-bottom: 60px !important;
  box-sizing: border-box !important;
}
@media (max-width: 767px) {
  .home-page .hero-content {
    padding-top: 96px !important;
    padding-bottom: 52px !important;
  }
}

/* ── Task 2: Navbar glass effect on hero page ── */
.navbar.on-hero:not(.scrolled) {
  background: rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(8px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
}
.navbar.on-hero:not(.scrolled) .navbar-logo-text {
  color: rgba(255, 255, 255, 0.95) !important;
}
.navbar.on-hero:not(.scrolled) .navbar-links a {
  color: rgba(255, 255, 255, 0.82) !important;
}
.navbar.on-hero:not(.scrolled) .navbar-links a:hover,
.navbar.on-hero:not(.scrolled) .navbar-links a.active {
  color: #fff !important;
}
.navbar.on-hero:not(.scrolled) .navbar-icon-btn {
  color: rgba(255, 255, 255, 0.88) !important;
}
.navbar.on-hero:not(.scrolled) .navbar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
}
.navbar.on-hero:not(.scrolled) .hamburger-btn span {
  background: rgba(255, 255, 255, 0.9) !important;
}
.navbar.on-hero:not(.scrolled) .btn-join-nav {
  /* keep the CTA button as-is — it's already colourful */
}

/* ── Task 3: Auth divider — fix override by later rule ── */
.auth-card .divider {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  height: auto !important;
  background: transparent !important;
  margin: 20px 0 !important;
}
.auth-card .divider-line {
  flex: 1 !important;
  height: 1px !important;
  background: var(--color-border-light) !important;
}
.auth-card .divider-text {
  font-size: 12px !important;
  color: var(--color-text-muted) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ── Task 4: Compact auth card — reduce field sizes ── */
.auth-card .floating-field {
  margin-bottom: 12px !important;
}
.auth-card .float-input {
  height: 48px !important;
  padding: 14px 14px 2px !important;
  font-size: 14px !important;
}
.auth-card .float-pw-wrap .float-input {
  padding-right: 44px !important;
}
.auth-card .float-phone-wrap {
  height: 48px !important;
}
.auth-card .float-phone-input {
  padding: 14px 14px 2px 4px !important;
  font-size: 14px !important;
}
.auth-card .phone-prefix {
  padding: 0 4px 8px 14px !important;
  font-size: 14px !important;
}
.auth-card .btn-primary {
  height: 46px !important;
  margin-top: 6px !important;
}
.auth-card .tab-switcher {
  margin-bottom: 20px !important;
}
.auth-card .divider {
  margin: 16px 0 !important;
}
.auth-card .social-row {
  gap: 10px !important;
}
.auth-card .btn-social {
  height: 42px !important;
  font-size: 13px !important;
}
.auth-card .terms-note {
  margin-top: 10px !important;
  font-size: 11px !important;
}
.auth-card .forgot-row {
  margin-top: -4px !important;
  margin-bottom: 14px !important;
}

/* ── Task 5: Material outlined floating label (label sits on border) ── */
/* Override previous positioning — label floats TO the border, not inside */
.float-label {
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  padding: 0 4px !important;
  z-index: 1 !important;
  font-size: 14px !important;
}
/* Floated state — label moves onto the top border line */
.float-input:focus + .float-label,
.float-input:not(:placeholder-shown) + .float-label {
  top: 0 !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--color-brand-teal) !important;
  letter-spacing: 0.04em !important;
}
.float-input.error + .float-label,
.float-input.error:focus + .float-label {
  color: var(--color-brand-wine) !important;
}
/* Password wrapper — same pattern */
.float-pw-wrap .float-label {
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
}
.float-pw-wrap .float-input:focus + .float-label,
.float-pw-wrap .float-input:not(:placeholder-shown) + .float-label {
  top: 0 !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--color-brand-teal) !important;
  letter-spacing: 0.04em !important;
}
.float-pw-wrap.error .float-input + .float-label {
  color: var(--color-brand-wine) !important;
}
/* Phone wrapper — label offset past +1 prefix */
.float-label-phone {
  left: 54px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
}
.float-phone-wrap:focus-within .float-label-phone,
.float-phone-input:not(:placeholder-shown) ~ .float-label-phone {
  top: 0 !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--color-brand-teal) !important;
  letter-spacing: 0.04em !important;
}

/* ── Task 6: Branch select dropdown (floating label style) ── */
.float-select-wrap {
  position: relative;
}
.float-select {
  width: 100%;
  height: 48px;
  padding: 14px 40px 2px 14px;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border-light);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text-primary);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 150ms, box-shadow 150ms;
  display: block;
  box-sizing: border-box;
}
.float-select:focus {
  border-color: var(--color-brand-teal);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, 0.10);
}
.float-select-wrap .float-label {
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  font-size: 14px !important;
  pointer-events: none;
  transition: top 130ms ease, transform 130ms ease, font-size 130ms ease,
              color 130ms ease, background 130ms ease;
}
/* Floated state triggered by ng-class="{'floated': signup.branchId}" */
.float-select-wrap .float-label.floated {
  top: 0 !important;
  transform: translateY(-50%) !important;
  background: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--color-brand-teal) !important;
  letter-spacing: 0.04em !important;
}
.float-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text-muted);
}

/* ── Task 7: Mobile navbar — logo left-aligned, no overlap ── */
@media (max-width: 1023px) {
  .navbar-logo {
    position: static !important;
    transform: none !important;
    margin-left: 6px !important;
    margin-right: auto !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .navbar-logo-text {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 110px !important;
    font-size: 13px !important;
  }
  .navbar-logo-mark {
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
  .navbar-actions {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }
  .navbar-icon-btn {
    width: 36px !important;
    height: 36px !important;
  }
  .navbar-icon-btn svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ── Phone field corrections ── */
/* Fix prefix vertical centering — was align-items: flex-end */
.phone-prefix {
  align-items: center !important;
  padding: 0 4px 0 16px !important;
}
.auth-card .phone-prefix {
  padding: 0 4px 0 14px !important;
}
/* Remove overflow:hidden so floated label isn't clipped by the border-radius */
.float-phone-wrap {
  overflow: visible !important;
}
/* Clip only the internal inputs, not the label */
.float-phone-wrap .phone-prefix,
.float-phone-wrap .float-phone-input {
  overflow: hidden;
}
/* Keep the border-radius visual on the input row itself */
.float-phone-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
}

/* ── Phone prefix — more breathing room on the right ── */
.phone-prefix {
  padding-right: 10px !important;
}
.auth-card .phone-prefix {
  padding-right: 10px !important;
}

/* ── Auth landing state (Medium Task 2) ──────────────────────────────── */
.auth-tagline {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 24px;
  line-height: 1.5;
}
.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #666;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
  transition: color 0.15s;
}
.auth-back-btn:hover { color: var(--clr-accent); }
.auth-back-btn svg { width: 16px; height: 16px; }

/* Guest CTA — prominent outlined button */
.btn-guest {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--clr-accent);
  border-radius: 10px;
  background: transparent;
  color: var(--clr-accent);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 4px;
}
.btn-guest:hover {
  background: var(--clr-accent);
  color: #fff;
}

/* Secondary outline button (Create Account on landing) */
.btn-outline {
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  background: transparent;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

/* ── Checkout empty cart state (Medium Task 1) ───────────────────────── */
.checkout-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}
.checkout-empty-panel {
  text-align: center;
  max-width: 360px;
}
.checkout-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  line-height: 1;
}
.checkout-empty-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}
.checkout-empty-sub {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.checkout-empty-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
.checkout-empty-btn:hover { opacity: 0.88; }

/* ── Input text vertical centering fix ───────────────────────────────── */
/* Inputs were bottom-heavy due to uneven padding-top vs padding-bottom.
   Force balanced vertical padding so text sits centered in the field.   */
.floating-field .float-input,
.floating-field .float-phone-input {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  height: 56px !important;
  line-height: normal !important;
  box-sizing: border-box !important;
}
/* float-pw-wrap and float-phone-wrap contain the input — ensure they
   also have correct height so the inner flex alignment works            */
.float-pw-wrap,
.float-phone-wrap {
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
}

/* ── Checkout guest gate: Create Account button ───────────────────────── */
.checkout-btn-create {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 20px;
  border: 1.5px solid #d0d5dd;
  border-radius: 10px;
  background: transparent;
  color: #344054;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  gap: 4px;
}
.checkout-btn-create:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: rgba(180,40,20,0.04);
}

/* ── Define missing --clr-accent variable ────────────────────────────── */
:root { --clr-accent: #b91c1c; }

/* ── Nav dropdown: force opaque background + dark text ───────────────── */
/* The navbar on the hero has white text which dropdown items inherit.
   Explicitly set colors so the menu dropdown is always readable.       */
.nav-dropdown {
  background: #ffffff !important;
  color: #1a1a1a !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.07) !important;
}
.nav-dropdown .nav-dropdown-item {
  color: #1a1a1a !important;
}
.nav-dropdown .nav-dropdown-section {
  color: #888 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 10px 12px 4px !important;
}
.nav-dropdown .nav-dropdown-item:hover {
  background: #fff5f5 !important;
  color: #b91c1c !important;
}
.nav-dropdown .nav-dropdown-item.danger {
  color: #b91c1c !important;
}

/* ── Checkout guest gate: red buttons to match brand ─────────────────── */
.checkout-btn-signin {
  background: var(--gradient-cta) !important;
  box-shadow: 0 4px 14px rgba(185,28,28,0.25) !important;
}
.checkout-btn-signin:hover { opacity: 0.92; transform: translateY(-1px); }
.checkout-btn-create {
  border-color: #b91c1c !important;
  color: #b91c1c !important;
}
.checkout-btn-create:hover {
  background: #fff5f5 !important;
  border-color: #991b1b !important;
  color: #991b1b !important;
}

/* ── Signup card: compact footer + trim bottom padding ───────────────── */
.signup-footer-note {
  margin-top: 12px !important;
  margin-bottom: 0 !important;
  line-height: 1.6 !important;
}
/* Reduce auth-card bottom padding so last element sits close to border  */
.auth-card { padding-bottom: 24px !important; }
@media (max-width: 767px) { .auth-card { padding-bottom: 18px !important; } }

/* ── Nav dropdown: override the hero-navbar white-text rule ──────────── */
/* Competing rule: .navbar.on-hero:not(.scrolled) .navbar-links a        */
/* has specificity (0,4,1) + !important. We need (0,5,0) or higher.      */
.navbar .navbar-links .navbar-link-wrap .nav-dropdown,
.navbar .navbar-links .navbar-link-wrap .nav-dropdown .nav-dropdown-item,
.navbar .navbar-links .navbar-link-wrap .nav-dropdown .nav-dropdown-section {
  color: #1a1a1a !important;
}
/* The <a> tags inside items are type-selected by the hero rule; target   */
/* them with 5 classes to win the specificity contest.                   */
.navbar .navbar-links .navbar-link-wrap .nav-dropdown a.nav-dropdown-item,
.navbar .navbar-links .navbar-link-wrap .nav-dropdown .nav-dropdown-item a {
  color: #1a1a1a !important;
}
/* Hover stays red */
.navbar .navbar-links .navbar-link-wrap .nav-dropdown .nav-dropdown-item:hover,
.navbar .navbar-links .navbar-link-wrap .nav-dropdown a.nav-dropdown-item:hover {
  color: #b91c1c !important;
  background: #fff5f5 !important;
}

/* ── Security questions (signup + forgot) ──────────────────── */
.sq-section {
  margin: 16px 0 4px;
  padding: 14px 16px;
  background: var(--color-surface-2, #f9f9f9);
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 10px;
}
.sq-section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary, #1a1a1a);
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sq-section-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-muted, #888);
}
.sq-row {
  margin-bottom: 12px;
}
.sq-row:last-of-type { margin-bottom: 0; }
.sq-question {
  display: block;
  font-size: 12px;
  color: var(--color-text-secondary, #555);
  margin-bottom: 5px;
  line-height: 1.4;
}
.sq-answer-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  color: var(--color-text-primary, #1a1a1a);
  box-sizing: border-box;
  outline: none;
  transition: border-color 150ms;
}
.sq-answer-input:focus { border-color: #b91c1c; }
.sq-answer-input::placeholder { color: #bbb; }

/* ─────────────────────────────────────────────────────────────────────────
   AUTH CARD — double-scroll fix + compact layout
   Problem: `.floating-field .float-input` at line 28151 has `height:56px
   !important` which wins over `.auth-card .float-input { height:48px }`.
   Fix: use a 3-class selector with !important inside .auth-card so it
   takes precedence everywhere regardless of cascade order.
   ───────────────────────────────────────────────────────────────────────── */

/* 1. Reduce auth-page vertical padding → more room for the card */
.auth-page {
  padding-top:    28px !important;
  padding-bottom: 28px !important;
}
@media(max-width:767px) {
  .auth-page { padding-top: 72px !important; align-items: flex-start; }
}

/* 2. Fix input heights — higher specificity beats the 56px override */
.auth-card .floating-field .float-input {
  height: 44px !important;
  padding: 0 14px !important;
}
.auth-card .floating-field .float-pw-wrap {
  height: 44px !important;
}
.auth-card .floating-field .float-pw-wrap .float-input {
  padding-right: 44px !important;
}
.auth-card .floating-field .float-phone-wrap {
  height: 44px !important;
}
.auth-card .floating-field .float-phone-input {
  height: 44px !important;
  padding: 0 !important;
}

/* 3. Tighter field gap */
.auth-card .floating-field {
  margin-bottom: 10px !important;
}

/* 4. Logo gap — give back some of the breathing room we removed from page padding */
.auth-card .auth-logo {
  margin-bottom: 16px !important;
}

/* 5. Back button — less bottom gap so next element sits closer */
.auth-card .auth-back-btn {
  margin-bottom: 6px !important;
}

/* 6. Compact security questions section */
.auth-card .sq-section {
  padding:    10px 12px !important;
  margin-top:  8px !important;
  margin-bottom: 0   !important;
}
.auth-card .sq-section-label {
  font-size:     12px !important;
  margin-bottom:  8px !important;
}
.auth-card .sq-section-hint {
  font-size: 10px !important;
}
.auth-card .sq-row {
  margin-bottom: 7px !important;
}
.auth-card .sq-row:last-of-type {
  margin-bottom: 0 !important;
}
.auth-card .sq-question {
  font-size:     11px !important;
  margin-bottom:  3px !important;
}
.auth-card .sq-answer-input {
  height:        34px !important;
  font-size:     12px !important;
  padding:    0 10px !important;
  border-radius:  6px !important;
}

/* 7. More breathing room between sq-section and the Create Account button */
.auth-card .sq-section + .btn-primary {
  margin-top: 18px !important;
}
