/* ==========================================================================
   GROCEASY — DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Forest Green, Warm Ivory, High-Contrast Editorial Serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --color-bg-base: #1E352F;        /* Deep forest green from brand reference */
  --color-bg-dark: #152722;        /* Darker shadow / footer tint */
  --color-bg-elevated: #244039;    /* Elevated surface */
  --color-surface-glass: rgba(255, 255, 255, 0.06);
  --color-surface-glass-hover: rgba(255, 255, 255, 0.1);
  --color-border-subtle: rgba(255, 255, 255, 0.14);
  --color-border-card: rgba(255, 255, 255, 0.22);
  --color-border-active: rgba(255, 255, 255, 0.4);

  /* Typography Colors */
  --color-text-main: #F7F6F0;      /* Warm white / ivory */
  --color-text-secondary: #C4D3CC; /* Soft sage */
  --color-text-muted: #8FA89D;     /* Muted eucalyptus */
  --color-text-dark: #1E352F;      /* Dark green for CTA text */

  /* Accents */
  --color-accent-gold: #D6A85D;    /* Subtle ripe gold */
  --color-accent-emerald: #4ADE80; /* Status dot live */
  --color-accent-warm: #E2725B;    /* Ripe tomato / berry accent */

  /* Buttons */
  --color-btn-primary-bg: #F7F6F0;
  --color-btn-primary-text: #1E352F;
  --color-btn-primary-hover: #FFFFFF;

  /* Typography Families */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spatial Scale (8px rhythm) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-card: 28px;
  --radius-pill: 9999px;

  /* Elevation Shadows */
  --shadow-card: 0 20px 45px -10px rgba(0, 0, 0, 0.45);
  --shadow-card-elevated: 0 28px 60px -12px rgba(0, 0, 0, 0.6);
  --shadow-button: 0 8px 24px -4px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: 320ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: 480ms cubic-bezier(0.2, 0.9, 0.2, 1);

  /* Max Widths */
  --container-max: 1240px;
  --container-wide: 1360px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 20%, #25443C 0%, #1E352F 60%, #162722 100%);
  background-attachment: fixed;
  color: var(--color-text-main);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility Focus Ring */
:focus-visible {
  outline: 2px solid var(--color-text-main);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--color-text-main);
  color: var(--color-text-dark);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

/* Utility Containers */
.content-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* --------------------------------------------------------------------------
   3. Global Site Header (Desktop & Tablet only)
   -------------------------------------------------------------------------- */
.site-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(30, 53, 47, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 14px var(--space-6);
  min-height: 64px;
}

/* Brand Link */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* Desktop Nav */
.desktop-nav {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-item {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.938rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  padding: 4px 0;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-text-main);
  transition: width var(--transition-fast);
}

.nav-item:hover {
  color: var(--color-text-main);
}

.nav-item:hover::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Switcher (RU / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--color-text-main);
}

.lang-btn.active {
  background: var(--color-text-main);
  color: var(--color-text-dark);
}

.status-pill {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
  display: inline-block;
}

.status-dot.pulse {
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse-ring 2.4s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}



/* --------------------------------------------------------------------------
   4. Hero / Welcome Screen Section (Core Focus)
   -------------------------------------------------------------------------- */
.hero-welcome-section {
  position: relative;
  width: 100%;
  padding: clamp(16px, 3vh, 24px) var(--space-4) clamp(16px, 2.5vh, 24px);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.welcome-container {
  width: 100%;
  max-width: 420px; /* Mobile app container baseline */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
  justify-content: space-between;
}

.hero-text-col {
  display: contents;
}

/* Mobile Top Brand Bar */
.mobile-brand-bar {
  display: block;
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(6px, 1.2vh, 14px);
  order: 0;
}

.mobile-top-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.mobile-profile-wrap {
  justify-self: start;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mobile-profile-wrap .profile-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  height: 32px;
  width: 38px;
  padding: 0;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-profile-wrap .profile-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.mobile-profile-wrap .profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  z-index: 1000;
}

.mobile-top-row .brand-wrap.center {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(0.95rem, 3.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mobile-lang {
  justify-self: end;
  position: relative;
  top: auto;
  right: auto;
  transform: none;
}

/* Hero Headline */
.hero-headline-wrap {
  margin-bottom: clamp(8px, 1.5vh, 16px);
  width: 100%;
  order: 1;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-main);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-size: clamp(2.35rem, 8.5vw, 2.9rem);
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
  padding: 4px 0;
}

.hero-headline .line-1,
.hero-headline .line-2 {
  display: block;
}

.hero-subtext {
  font-size: 1.063rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: var(--space-4) 0 0;
}

/* Desktop only helper */
.desktop-only {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Hero Visual Showcase (3-Card App-Like Composition)
   -------------------------------------------------------------------------- */
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(10px, 1.8vh, 18px);
  overflow: hidden; /* Avoid page scrollbar on mobile */
  padding: 4px 0;
  order: 2;
}

.cards-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: clamp(340px, 45vh, 395px);
  min-height: 340px;
  perspective: 1000px;
  user-select: none;
  touch-action: pan-y;
}

/* Individual Produce Card */
.produce-card {
  position: relative;
  width: clamp(224px, 62vw, 255px);
  height: clamp(340px, 45vh, 395px);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-bg-dark);
  border: 1.5px solid var(--color-border-card);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-card), opacity var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-card);
  flex-shrink: 0;
  outline: none;
}

.produce-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.produce-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 600ms ease-out;
}

.produce-card:hover img {
  transform: scale(1.05);
}

/* Card Scrim (Dark gradient overlay for text readability) */
.card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 36, 32, 0.1) 0%,
    rgba(20, 36, 32, 0) 35%,
    rgba(14, 25, 22, 0.55) 65%,
    rgba(14, 25, 22, 0.92) 100%
  );
  pointer-events: none;
}

/* Card Caption */
.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-4);
  text-align: left;
  z-index: 2;
  color: var(--color-text-main);
}

.card-tag {
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-1);
}

.card-title {
  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-text-main);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.card-title.prominent {
  font-size: 1.063rem;
  font-weight: 600;
  line-height: 1.3;
}

.card-subcaption {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-1);
}

/* Mobile Stacking Arrangement */
/* Center Card: Active */
.produce-card.card-center {
  z-index: 10;
  transform: translateX(0) scale(1);
  opacity: 1;
  box-shadow: var(--shadow-card-elevated);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Left Card: Peeking */
.produce-card.card-left {
  position: absolute;
  left: 50%;
  transform: translateX(-155%) scale(0.92);
  opacity: 0.5;
  z-index: 5;
  pointer-events: auto;
}

/* Right Card: Peeking */
.produce-card.card-right {
  position: absolute;
  left: 50%;
  transform: translateX(55%) scale(0.92);
  opacity: 0.5;
  z-index: 5;
  pointer-events: auto;
}

/* Indicators */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(8px, 1.5vh, 14px);
}

.dot-btn {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.dot-btn::after {
  content: '';
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -8px;
  right: -8px;
}

.dot-btn.active {
  width: 24px;
  background: var(--color-text-main);
}

/* Model badge on mobile */
.model-badge-mobile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: clamp(6px, 1.2vh, 10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
}

/* --------------------------------------------------------------------------
   6. Primary Call to Action & Legal Links
   -------------------------------------------------------------------------- */
.hero-cta-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 12px);
  margin-top: auto;
  order: 3;
}

.btn-primary-pill {
  width: 100%;
  max-width: 330px;
  height: 52px;
  background-color: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-button);
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.btn-primary-pill:hover {
  background-color: var(--color-btn-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
}

.btn-primary-pill:active {
  transform: scale(0.98);
}

/* Legal Notice */
.legal-notice {
  font-size: 0.77rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 320px;
}

.legal-link {
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: inherit;
  font-family: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  padding: 0;
  transition: opacity var(--transition-fast);
}

.legal-link:hover {
  opacity: 0.8;
}

.link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.link-subtle:hover {
  color: var(--color-text-main);
}

/* --------------------------------------------------------------------------
   7. Section 2: Модель поставок Клуба умных покупателей
   -------------------------------------------------------------------------- */
.section-model {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
  background: linear-gradient(180deg, rgba(22, 39, 34, 0.4) 0%, rgba(22, 39, 34, 0.8) 100%);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.section-header.center {
  text-align: center;
}

.eyebrow-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  background: rgba(214, 168, 93, 0.12);
  border: 1px solid rgba(214, 168, 93, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.model-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.model-step-card {
  position: relative;
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.model-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-card);
}

.model-step-card.highlight {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

.step-num-badge {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-3);
}

.step-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  margin-bottom: var(--space-4);
}

.step-heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: var(--space-2);
}

.step-body {
  font-size: 0.938rem;
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   8. Section 3: Current Weekly Harvest
   -------------------------------------------------------------------------- */
.section-harvest {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
}

.harvest-header-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.schedule-pill-desktop {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
}

.harvest-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.harvest-item-card {
  background: var(--color-surface-glass);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.harvest-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-card);
}

.item-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}

.harvest-item-card:hover .item-img-wrap img {
  transform: scale(1.06);
}

.item-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 36, 32, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-main);
  font-size: 0.688rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.item-content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.item-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-main);
  flex: 1;
}

.item-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.item-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-price-unit {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 1px;
  white-space: nowrap;
}

.old-price {
  font-size: 0.813rem;
  color: var(--color-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
}

.item-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-3);
}

.item-weight {
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.item-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #79D2A6;
  font-weight: 600;
}

.item-status-tag .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #79D2A6;
  display: inline-block;
}

.harvest-cta-center {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Section 4: Standards
   -------------------------------------------------------------------------- */
.section-standards {
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(20, 36, 32, 0.5);
}

.standards-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.standards-list {
  list-style: none;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.standards-list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.16);
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.standards-list strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 2px;
}

.standards-list span {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.quote-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  position: relative;
}

.quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--color-text-main);
  margin-bottom: var(--space-6);
}

.quote-author {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
}

.author-name {
  font-weight: 600;
  font-size: 0.938rem;
  color: var(--color-text-main);
}

.author-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------


/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background-color: var(--color-bg-dark);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand .brand-link {
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  max-width: 320px;
  line-height: 1.5;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.footer-col h4 {
  font-size: 0.813rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a,
.footer-col button {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  text-align: left;
  display: inline-block;
  width: 100%;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--color-text-main);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   12. Modals & Drawers
   -------------------------------------------------------------------------- */
.modal-sheet {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end; /* Slide up on mobile */
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility var(--transition-fast), opacity var(--transition-fast);
}

.modal-sheet[open] {
  visibility: visible;
  opacity: 1;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 540px;
  max-height: 85vh;
  background-color: #1A302A;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.modal-sheet[open] .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-subtle);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.modal-subtitle {
  display: block;
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  color: var(--color-text-main);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: var(--space-6);
  overflow-y: auto;
  flex-grow: 1;
}

/* Text modal specifics */
.text-modal-body h3 {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.text-modal-body p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

/* Catalog Filter Chips */
.catalog-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: var(--space-4);
  scrollbar-width: none;
}

.catalog-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip.active {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border-color: var(--color-btn-primary-bg);
}

/* Modal Items List */
.modal-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.modal-item-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
}

.modal-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.modal-item-info {
  flex-grow: 1;
}

.modal-item-title {
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.modal-item-cost {
  font-size: 0.875rem;
  color: var(--color-accent-gold);
  font-weight: 600;
}

.modal-item-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
}

.stepper-btn {
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-val {
  font-size: 0.875rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.catalog-order-panel {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
  padding-bottom: max(var(--space-2), env(safe-area-inset-bottom, 8px));
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.btn-checkout-pill {
  width: 100%;
  height: 50px;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-checkout-pill:hover {
  background: #FFFFFF;
  color: var(--color-btn-primary-text);
  transform: translateY(-1px);
}

.checkout-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}



/* --------------------------------------------------------------------------
   13. DESKTOP MEDIA QUERIES (>= 992px)
   Adapts to a sophisticated, spacious editorial landing page
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  
  /* Show Desktop Site Header, Nav & Status Pill */
  .site-header {
    display: block;
  }

  .desktop-nav {
    display: block;
  }

  .status-pill {
    display: inline-flex;
  }

  .mobile-brand-bar {
    display: none;
  }

  .desktop-only {
    display: block;
  }

  /* Spacious Hero Layout (2-Column Grid) */
  .hero-welcome-section {
    padding: var(--space-12) var(--space-6) var(--space-20);
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
  }

  .welcome-container {
    max-width: var(--container-wide);
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    text-align: left;
  }

  .hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: var(--space-6);
  }

  .hero-headline-wrap {
    order: initial;
    text-align: left;
    margin-bottom: 0;
  }

  .hero-headline {
    text-align: left;
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    line-height: 1.12;
    padding: 8px 0;
  }

  .hero-subtext {
    margin-top: var(--space-4);
    font-size: 1.125rem;
    max-width: 520px;
    line-height: 1.6;
    color: var(--color-text-secondary);
  }

  .hero-cta-wrap {
    order: initial;
    margin-top: 0;
    align-items: flex-start;
    gap: var(--space-4);
    width: 100%;
  }

  /* Desktop Visual Stage: Sophisticated Layered Editorial Trio */
  .hero-visual-stage {
    order: initial;
    margin-bottom: 0;
    overflow: visible;
    padding: var(--space-6) 0;
  }

  .cards-track {
    width: 100%;
    height: 520px;
    position: relative;
    display: block;
  }

  /* Center Produce Card: Dominant & Grounded */
  .produce-card.card-center {
    position: absolute;
    width: 320px;
    height: 480px;
    left: 20%;
    top: 20px;
    z-index: 10;
    transform: rotate(0deg);
    border-radius: 36px;
  }

  /* Left Produce Card: Floating Left Offset */
  .produce-card.card-left {
    position: absolute;
    width: 220px;
    height: 340px;
    left: -5%;
    top: 90px;
    transform: rotate(-4deg);
    opacity: 0.85;
    z-index: 5;
    border-radius: 28px;
  }

  .produce-card.card-left:hover {
    transform: rotate(-2deg) scale(1.03);
    opacity: 1;
    z-index: 12;
  }

  /* Right Produce Card: Floating Right Offset */
  .produce-card.card-right {
    position: absolute;
    width: 240px;
    height: 360px;
    left: 65%;
    top: 50px;
    transform: rotate(4deg);
    opacity: 0.85;
    z-index: 6;
    border-radius: 28px;
  }

  .produce-card.card-right:hover {
    transform: rotate(2deg) scale(1.03);
    opacity: 1;
    z-index: 12;
  }

  /* Carousel Dots not needed on wide screen layered composition */
  .carousel-dots {
    display: none;
  }

  .model-badge-mobile {
    display: none;
  }

  /* CTA on Desktop */
  .hero-cta-wrap {
    align-items: flex-start;
    gap: var(--space-4);
  }

  .btn-primary-pill {
    width: auto;
    min-width: 200px;
    padding: 0 42px;
    height: 56px;
    font-size: 1.125rem;
  }

  .legal-notice {
    text-align: left;
    max-width: 440px;
  }

  /* Multi-column Grids for Supporting Sections */
  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .harvest-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .schedule-pill-desktop {
    align-self: auto;
  }

  .harvest-catalog-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .standards-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-nav-groups {
    grid-template-columns: repeat(2, auto);
    gap: var(--space-16);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Modals on Desktop: Center Dialog */
  .modal-sheet {
    align-items: center;
  }

  .modal-card {
    border-radius: var(--radius-card);
    transform: scale(0.95);
    opacity: 0;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .modal-sheet[open] .modal-card {
    transform: scale(1);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Compact Mobile & Small Viewport Optimization (iPhone SE, short screens)
   -------------------------------------------------------------------------- */
@media (max-height: 720px) and (max-width: 991px) {
  .hero-welcome-section {
    padding: clamp(10px, 1.8vh, 16px) var(--space-4) clamp(10px, 1.5vh, 16px);
  }

  .mobile-brand-bar {
    margin-bottom: 4px;
  }

  .hero-headline-wrap {
    margin-bottom: 6px;
  }

  .hero-headline {
    font-size: clamp(2rem, 7.5vw, 2.35rem);
    padding: 2px 0;
  }

  .cards-track,
  .produce-card {
    height: clamp(270px, 39vh, 320px);
    min-height: 270px;
  }

  .produce-card {
    width: clamp(190px, 58vw, 225px);
  }

  .hero-visual-stage {
    margin-bottom: 8px;
  }

  .model-badge-mobile {
    margin-top: 4px;
  }

  .btn-pill-primary.hero-cta-btn {
    height: 48px;
  }

  .legal-notice {
    margin-top: 6px;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   14. Reduced Motion (WCAG AA Compliance)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   15. PROFILE TRIGGER & DROPDOWN MENU
   ========================================================================== */
.profile-header-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.profile-trigger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--color-border-subtle);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  outline: none;
}

.profile-trigger-btn:hover,
.profile-trigger-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.04);
}

.profile-avatar-slot {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar-img,
.profile-avatar-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: var(--color-bg-dark);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  padding: 8px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.profile-dropdown-header {
  padding: 8px 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-dropdown-name {
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-dropdown-badge {
  font-size: 0.688rem;
  font-weight: 600;
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-dropdown-divider {
  height: 1px;
  background: var(--color-border-subtle);
  margin: 6px 0;
}

.profile-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-menu-item:hover,
.profile-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-main);
}

.profile-menu-item.logout-item {
  color: #F87171;
}

.profile-menu-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #FCA5A5;
}

/* ==========================================================================
   16. POST-AUTH STORE VIEW (Mobile First Architecture)
   ========================================================================== */
.store-page-body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

.store-app-viewport {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-bg-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

.store-top-bar {
  padding: clamp(12px, 2vh, 18px) var(--space-4) clamp(10px, 1.8vh, 14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-main);
  width: 100%;
  box-sizing: border-box;
}

.store-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

.store-delivery-address {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition-fast);
  min-width: 0;
}

.store-delivery-address:hover {
  opacity: 0.85;
}

.address-pin-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
  flex-shrink: 0;
}

.address-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.address-label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  opacity: 0.85;
  line-height: 1.2;
  white-space: nowrap;
}

.address-value-row {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.address-value {
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  max-width: clamp(110px, 32vw, 175px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.address-chevron {
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.store-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.store-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.store-circle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent-warm);
}

.btn-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-accent-gold);
  color: var(--color-bg-dark);
  font-size: 0.688rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 1.5px solid var(--color-bg-base);
}

/* White App Sheet (Native App feel matching screenshot) */
.store-sheet-body {
  background: #FFFFFF;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 20px var(--space-4) 110px;
  flex-grow: 1;
  color: #1A2823;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.store-search-wrap {
  margin-bottom: 22px;
}

.store-search-input-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F4F6F5;
  border: 1.5px solid #E6ECE8;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  transition: border-color var(--transition-fast);
}

.store-search-input-box:focus-within {
  border-color: #1C362F;
  background: #FFFFFF;
}

.store-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.938rem;
  color: #1A2823;
  outline: none;
}

.store-search-input::placeholder {
  color: #8E9995;
}

.store-section {
  margin-bottom: 24px;
}

.store-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.store-section-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: #162621;
  letter-spacing: -0.01em;
}

.store-see-all-link {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4A6359;
  cursor: pointer;
  padding: 4px;
}

.store-see-all-link:hover {
  color: #1C362F;
}

/* Category Horizontal Scroll Ribbon */
.categories-horizontal-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--space-4));
  padding: 4px var(--space-4) 14px;
  scroll-padding: var(--space-4);
}

.categories-horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 66px;
  padding: 0;
  outline: none;
}

.category-circle-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #F1F4F2;
  color: #556B61;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.category-chip-item.active .category-circle-icon {
  background: #1C362F;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(28, 54, 47, 0.28);
}

.category-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #384A42;
  white-space: nowrap;
  text-align: center;
}

/* Popular Now 2-Column Product Grid */
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.store-product-card {
  background: #FFFFFF;
  border: 1px solid #EAEFEA;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.store-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.product-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.discount-badge {
  display: inline-block;
  background: #FFE8D6;
  color: #C85A32;
  font-size: 0.688rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.product-img-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 10px;
  overflow: hidden;
  border-radius: 12px;
}

.product-thumb {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.store-product-card:hover .product-thumb {
  transform: scale(1.05);
}

.product-card-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A2823;
  line-height: 1.3;
  min-height: 2.3em;
  margin-bottom: 8px;
}

.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
}

.price-stack {
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}

.current-price {
  font-size: 1.063rem;
  font-weight: 700;
  color: #1A2823;
}

.old-price {
  font-size: 0.75rem;
  color: #9BA8A2;
  text-decoration: line-through;
}

.product-price-unit {
  font-size: 0.72rem;
  font-weight: 500;
  color: #64748B;
  display: inline-block;
  margin-left: 2px;
  white-space: nowrap;
}

.btn-add-product {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1C362F;
  color: #FFFFFF;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
}

.btn-add-product:hover,
.btn-add-product:active {
  background: #152722;
  transform: scale(1.1);
}

/* Promo Banner Card */
.store-promo-card {
  background: #183129;
  border-radius: 22px;
  padding: 18px;
  color: #F7F6F0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(24, 49, 41, 0.25);
}

.promo-text-side {
  flex: 1;
}

.promo-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.25;
  color: #F7F6F0;
  margin-bottom: 12px;
}

.promo-highlight {
  color: var(--color-accent-gold);
  font-weight: 700;
}

.btn-promo-detail {
  background: #FFFFFF;
  color: #183129;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.813rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-promo-detail:hover {
  background: #F7F6F0;
  transform: translateY(-1px);
}

.promo-media-side {
  width: 105px;
  height: 105px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

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

/* ==========================================================================
   17. MOBILE BOTTOM NAVIGATION DOCK (From Screenshot)
   ========================================================================== */
.app-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 990;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

@media (min-width: 481px) {
  .app-bottom-dock {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.dock-nav-item {
  background: none;
  border: none;
  color: #71847D;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.dock-nav-item:hover {
  color: #1C362F;
}

.dock-nav-item.active .dock-pill-bg {
  background: #1C362F;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(28, 54, 47, 0.28);
}

.dock-label {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ==========================================================================
   18. PERSONAL CABINET VIEW (Личный кабинет)
   ========================================================================== */
.profile-page-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--color-bg-base);
  color: var(--color-text-main);
  padding: clamp(16px, 2.5vh, 24px) var(--space-4) 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
}

.profile-back-btn,
.profile-home-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-back-btn:hover,
.profile-home-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.profile-page-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-card-user {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #152722;
  border: 2px solid var(--color-accent-gold);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-placeholder {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent-gold);
}

.profile-user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-user-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.profile-user-phone {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.profile-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--color-accent-emerald);
}

.channel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
}

.profile-section-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-main);
}

.icon-title-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
}

.section-hint {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

.profile-form-group label {
  font-size: 0.813rem;
  color: var(--color-text-secondary);
}

.profile-input {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.938rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.profile-input:focus {
  border-color: var(--color-text-main);
}

.profile-input.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.4);
}

.profile-input-error-text {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 2px;
  display: none;
}

.profile-input-error-text.visible {
  display: block;
}

.profile-input.readonly {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
  cursor: not-allowed;
}

.btn-save-profile {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px;
  font-size: 0.938rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 4px;
}

.btn-save-profile:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-save-profile:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.club-perks-card {
  background: rgba(20, 36, 32, 0.75);
  border-color: rgba(214, 168, 93, 0.3);
}

.club-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.club-badge {
  font-size: 0.813rem;
  font-weight: 700;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.club-schedule-badge {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.club-lead {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
}

.club-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-size: 1.063rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.stat-label {
  font-size: 0.688rem;
  color: var(--color-text-muted);
}

.profile-actions-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.btn-profile-to-store {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  height: 50px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-profile-to-store:hover {
  background: #FFFFFF;
}

.btn-profile-logout {
  background: rgba(239, 68, 68, 0.12);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-pill);
  height: 48px;
  font-size: 0.938rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-profile-logout:hover {
  background: rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   19. MESSENGER AUTH MODAL (Telegram / MAX OTP Flow)
   ========================================================================== */
.auth-modal {
  align-items: center !important;
  justify-content: center !important;
  padding: 16px;
  box-sizing: border-box;
}

.auth-modal .auth-card {
  width: 100%;
  max-width: 440px;
  max-height: min(680px, calc(100dvh - 32px));
  max-height: min(680px, calc(100vh - 32px));
  background-color: #172A24 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 4px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.96);
  opacity: 1;
  transition: transform var(--transition-fast);
}

.auth-modal[open] .auth-card {
  transform: scale(1);
  opacity: 1;
}

.auth-modal .modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.auth-modal .modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
}

.auth-modal .modal-subtitle {
  display: block;
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  margin-top: 4px;
  line-height: 1.4;
}

.auth-modal .modal-body.auth-body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  overscroll-behavior: contain;
}

.auth-modal .modal-body.auth-body::-webkit-scrollbar {
  width: 6px;
}

.auth-modal .modal-body.auth-body::-webkit-scrollbar-track {
  background: transparent;
}

.auth-modal .modal-body.auth-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.auth-channel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.channel-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.938rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.channel-tab-btn.active {
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.bot-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.bot-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  color: var(--color-accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bot-info-text strong {
  display: block;
  font-size: 0.938rem;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.bot-info-text p {
  font-size: 0.813rem;
  color: var(--color-text-secondary);
  line-height: 1.45;
  margin: 0;
}

.auth-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.btn-auth-primary {
  width: 100%;
  height: 50px;
  background: var(--color-btn-primary-bg);
  color: var(--color-btn-primary-text);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.btn-auth-primary:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}

.btn-auth-secondary {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-main);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.938rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-auth-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.auth-live-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(42, 171, 238, 0.12);
  border: 1px solid rgba(42, 171, 238, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  color: #60a5fa;
  margin: 0;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: livePulse 1.6s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes livePulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.auth-hint-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 10px;
  text-align: center;
}

.btn-link-subtle {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.813rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 6px 10px;
  margin: 0;
  transition: color var(--transition-fast);
}

.btn-link-subtle:hover {
  color: var(--color-text-main);
}

.auth-demo-hint {
  margin-top: 18px;
  text-align: center;
}

.btn-demo-quick-login {
  background: none;
  border: 1px dashed var(--color-accent-gold);
  color: var(--color-accent-gold);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-demo-quick-login:hover {
  background: rgba(214, 168, 93, 0.12);
}

/* Stage 2: Code Verification */
.code-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.813rem;
  color: var(--color-accent-emerald);
  margin-bottom: 16px;
}

.status-dot-sent {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent-emerald);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

.profile-preview-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.preview-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #152722;
  border: 1.5px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-accent-gold);
  overflow: hidden;
  flex-shrink: 0;
}

.preview-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}

.preview-name {
  font-size: 0.938rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.preview-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.code-input-instruction {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  text-align: center;
}

.otp-inputs-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.otp-digit {
  width: 44px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--color-border-subtle);
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: center;
  outline: none;
  transition: all var(--transition-fast);
}

.otp-digit:focus {
  border-color: var(--color-text-main);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.resend-countdown-wrap {
  margin-top: 14px;
  text-align: center;
  font-size: 0.813rem;
  color: var(--color-text-muted);
}

.btn-link-resend {
  background: none;
  border: none;
  color: var(--color-accent-gold);
  font-size: 0.813rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.auth-back-wrap {
  margin-top: 12px;
  text-align: center;
  padding-bottom: 4px;
}

.btn-back-channel {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.813rem;
  cursor: pointer;
  margin-top: 14px;
  text-align: center;
  display: block;
  width: 100%;
}

@media (max-width: 480px) {
  .auth-modal {
    padding: 12px;
  }
  .auth-modal .auth-card {
    border-radius: 20px;
    max-height: calc(100dvh - 24px);
    max-height: calc(100vh - 24px);
  }
  .auth-modal .modal-header {
    padding: 16px 18px 14px;
  }
  .auth-modal .modal-body.auth-body {
    padding: 16px 18px 20px;
  }
  .otp-digit {
    width: 38px;
    height: 48px;
    font-size: 1.2rem;
  }
}

.btn-back-channel:hover {
  color: var(--color-text-main);
}

/* ==========================================================================
   20. DESKTOP / PC STORE & PROFILE LAYOUT (min-width: 992px)
   ========================================================================== */
@media (min-width: 992px) {
  /* Store Container on PC */
  .store-app-viewport {
    max-width: 1280px;
    padding: 0 var(--space-8);
    background-color: var(--color-bg-base);
  }

  /* Desktop Top Bar */
  .store-top-bar {
    padding: 24px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .store-delivery-address {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-pill);
    padding: 6px 16px 6px 6px;
    transition: all var(--transition-fast);
  }

  .store-delivery-address:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .address-value {
    max-width: 320px;
  }

  /* White Store Sheet on PC */
  .store-sheet-body {
    border-radius: 32px;
    padding: 36px 40px 60px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
  }

  .store-search-wrap {
    max-width: 640px;
    margin: 0 auto 36px;
  }

  .store-search-input-box {
    padding: 14px 22px;
  }

  .store-search-input {
    font-size: 1rem;
  }

  /* Category Ribbon on PC */
  .categories-horizontal-scroll {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 8px 0 24px;
    overflow-x: visible;
  }

  .category-chip-item {
    min-width: 80px;
    gap: 10px;
  }

  .category-circle-icon {
    width: 72px;
    height: 72px;
  }

  .category-circle-icon svg {
    width: 28px;
    height: 28px;
  }

  .category-name {
    font-size: 0.875rem;
  }

  /* Product Grid: 4 COLUMNS on Desktop */
  .store-products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .store-product-card {
    padding: 16px;
    border-radius: 24px;
  }

  .product-img-box {
    height: 180px;
    margin: 8px 0 14px;
  }

  .product-item-title {
    font-size: 1rem;
    min-height: 2.8em;
  }

  .current-price {
    font-size: 1.25rem;
  }

  /* Wide Desktop Promo Banner */
  .store-promo-card {
    border-radius: 28px;
    padding: 40px 52px;
    margin-top: 36px;
    gap: 32px;
  }

  .promo-title {
    font-size: 2rem;
    margin-bottom: 18px;
  }

  .btn-promo-detail {
    padding: 12px 28px;
    font-size: 0.938rem;
  }

  .promo-media-side {
    width: 260px;
    height: 160px;
    border-radius: 20px;
  }

  /* Profile page container on PC */
  .profile-page-container {
    max-width: 800px;
    padding: 40px var(--space-8) 60px;
    gap: 24px;
  }

  .profile-card-user {
    padding: 24px 32px;
  }

  .profile-avatar-large {
    width: 80px;
    height: 80px;
  }

  /* Bottom Dock: HIDDEN ON DESKTOP */
  .app-bottom-dock {
    display: none !important;
  }
}

/* Tablet adjustments (641px - 991px) */
@media (min-width: 641px) and (max-width: 991px) {
  .store-app-viewport {
    max-width: 740px;
  }
  .app-bottom-dock {
    max-width: 740px;
  }
  .store-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* Mobile adjustments (<= 991px) */
@media (max-width: 991px) {
  .desktop-store-logo {
    display: none !important;
  }
  .store-top-actions .profile-header-wrap {
    display: none !important;
  }
  .store-top-bar {
    padding: 12px 16px;
  }
  .store-top-actions {
    gap: 8px;
  }
  .store-top-actions .lang-switcher {
    padding: 2px;
    height: 32px;
  }
  .store-top-actions .lang-btn {
    padding: 3px 7px;
    font-size: 0.688rem;
    min-height: 26px;
  }
  .store-circle-btn {
    width: 36px;
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   19. Product Details Modal Sheet (.pdm-*)
   -------------------------------------------------------------------------- */
.store-product-card {
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.store-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.store-product-card:active {
  transform: translateY(0);
}

.pdm-dialog {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: transparent;
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}

.pdm-dialog[open] {
  visibility: visible;
  opacity: 1;
}

.pdm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 18, 0.68);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.pdm-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 480px;
  height: 94vh;
  max-height: 94vh;
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdm-dialog[open] .pdm-panel {
  transform: translateY(0);
}

/* Header */
.pdm-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
  flex-shrink: 0;
  z-index: 2;
}

.pdm-header-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
}

.pdm-round-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #1F2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.pdm-round-btn:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #111827;
}

.pdm-round-btn:active {
  transform: scale(0.93);
}

.pdm-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #1C362F;
  color: #FFFFFF;
  font-size: 0.688rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
}

/* Scrollable Body */
.pdm-scroll-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 20px 96px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #FFFFFF;
}

/* Media Box */
.pdm-media-box {
  position: relative;
  width: 100%;
  height: 280px;
  min-height: 280px;
  border-radius: 24px;
  background: #F4F5F7;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.pdm-media-image {
  width: 88%;
  height: 88%;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.3s ease;
  display: block;
}

.pdm-media-image:not(.active) {
  display: none;
}

.pdm-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: none;
  background: #000000;
}

.pdm-media-video.active {
  display: block;
}

.pdm-video-status-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(28, 54, 47, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
  z-index: 5;
}

.pdm-video-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
}

/* Thumbnails */
.pdm-thumbs-row {
  display: flex;
  gap: 12px;
}

.pdm-thumb-item {
  flex: 1;
  aspect-ratio: 1.25;
  border-radius: 16px;
  background: #F4F5F7;
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.pdm-thumb-item:hover {
  background: #EAECEF;
}

.pdm-thumb-item.active {
  border-color: #1C362F;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(28, 54, 47, 0.12);
}

.pdm-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.pdm-thumb-video-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #1C362F;
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Product Info */
.pdm-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.pdm-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0;
}

.pdm-actions-group {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.pdm-fav-btn.active svg {
  fill: #EF4444;
  stroke: #EF4444;
  animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.pdm-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: -6px;
}

.pdm-price-val {
  font-size: 1.625rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.03em;
}

.pdm-old-price-val {
  font-size: 1.063rem;
  font-weight: 500;
  color: #9CA3AF;
  text-decoration: line-through;
}

.pdm-price-unit {
  font-size: 0.938rem;
  font-weight: 500;
  color: #6B7280;
  margin-left: 2px;
  white-space: nowrap;
}

.pdm-guarantee-row {
  margin-top: -8px;
}

.pdm-guarantee-text {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1.5px dotted #9CA3AF;
  padding-bottom: 2px;
}

/* Tags */
.pdm-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.pdm-tag-pill {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.813rem;
  font-weight: 500;
  color: #374151;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

/* Description */
.pdm-desc-section {
  border-top: 1px solid #F3F4F6;
  padding-top: 14px;
}

.pdm-desc-title,
.pdm-recs-title {
  font-size: 1.063rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}

.pdm-desc-para {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #4B5563;
  margin: 0;
}

.pdm-see-more-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1C362F;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 6px;
}

.pdm-see-more-link:hover {
  color: #11221D;
}

/* Recommendations */
.pdm-recs-section {
  border-top: 1px solid #F3F4F6;
  padding-top: 14px;
}

.pdm-recs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pdm-recs-see-all {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
}

.pdm-recs-see-all:hover {
  color: #111827;
}

.pdm-recs-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.pdm-recs-scroll::-webkit-scrollbar {
  display: none;
}

.pdm-rec-card {
  flex: 0 0 160px;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  cursor: pointer;
  text-align: left;
  user-select: none;
  padding: 10px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid #EAEFEA;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.pdm-rec-card .product-badge-wrap {
  top: 8px;
  left: 8px;
}

.pdm-rec-card .discount-badge {
  font-size: 0.625rem;
  padding: 2px 7px;
}

.pdm-rec-card .product-img-box {
  height: 105px;
  margin: 4px 0 8px;
  border-radius: 12px;
}

.pdm-rec-card .product-thumb {
  border-radius: 10px;
}

.pdm-rec-card .product-item-title {
  font-size: 0.813rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 2.5em;
  margin-bottom: 6px;
}

.pdm-rec-card .current-price {
  font-size: 0.938rem;
}

.pdm-rec-card .old-price {
  font-size: 0.688rem;
}

.pdm-rec-card .btn-add-product {
  width: 30px;
  height: 30px;
  font-size: 1.15rem;
}

/* Bottom Action Dock */
.pdm-bottom-dock {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 12px 20px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  z-index: 2;
}

.pdm-qty-control {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #F4F5F7;
  border-radius: 9999px;
  height: 52px;
  padding: 0 6px;
  width: 116px;
  border: 1px solid #E5E7EB;
}

.pdm-qty-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #FFFFFF;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pdm-qty-btn:hover {
  background: #E5E7EB;
}

.pdm-qty-btn:active {
  transform: scale(0.92);
}

.pdm-qty-num {
  font-size: 1.063rem;
  font-weight: 700;
  color: #111827;
  min-width: 20px;
  text-align: center;
  user-select: none;
}

.pdm-cta-shop-btn {
  flex: 1;
  height: 52px;
  border-radius: 9999px;
  background: #1C362F;
  color: #FFFFFF;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(28, 54, 47, 0.25);
}

.pdm-cta-shop-btn:hover {
  background: #142823;
  box-shadow: 0 6px 20px rgba(28, 54, 47, 0.35);
}

.pdm-cta-shop-btn:active {
  transform: scale(0.98);
}

/* Desktop Modal adaptation (min-width: 768px) */
@media (min-width: 768px) {
  .pdm-dialog {
    align-items: center;
    justify-content: center;
  }

  .pdm-panel {
    height: auto;
    max-height: 88vh;
    max-width: 500px;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.94) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .pdm-dialog[open] .pdm-panel {
    transform: scale(1) translateY(0);
  }

  .pdm-bottom-dock {
    padding-bottom: 14px;
  }
}

/* ==========================================================================
   CART MODAL SHEET STYLES
   ========================================================================== */
.cart-panel {
  max-width: 520px;
}

.cart-clear-btn {
  background: transparent;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #EF4444;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.cart-clear-btn:hover {
  background: rgba(239, 68, 68, 0.08);
}

.cart-scroll-body {
  padding-bottom: 20px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cart-item-row:hover {
  border-color: #E5E7EB;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: #6B7280;
  margin-bottom: 4px;
}

.cart-item-price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E352F;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.cart-item-stepper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cart-step-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #1F2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.cart-step-btn:hover {
  background: #F3F4F6;
}

.cart-step-qty {
  min-width: 22px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
}

.cart-item-line-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.cart-item-del-btn {
  background: transparent;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.cart-item-del-btn:hover {
  color: #EF4444;
}

/* Promo Box */
.cart-promo-card {
  margin: 0 16px 12px;
  background: #F9FAFB;
  border: 1px dashed #D1D5DB;
  border-radius: 16px;
  padding: 10px 14px;
}

.cart-promo-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-promo-icon {
  color: #6B7280;
  flex-shrink: 0;
}

.cart-promo-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.88rem;
  color: #111827;
  outline: none;
}

.cart-promo-apply-btn {
  padding: 6px 14px;
  background: #1E352F;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cart-promo-apply-btn:hover {
  opacity: 0.9;
}

.cart-promo-status {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-promo-status.success {
  color: #059669;
}

.cart-promo-status.error {
  color: #EF4444;
}

/* Summary Card */
.cart-summary-card {
  margin: 0 16px 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 14px 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #4B5563;
  margin-bottom: 8px;
}

.summary-delivery-val {
  color: #059669;
  font-weight: 600;
}

.summary-discount-val {
  color: #EF4444;
  font-weight: 700;
}

.cart-summary-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 10px 0;
}

.cart-total-row {
  margin-bottom: 0;
}

.summary-total-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.summary-total-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1E352F;
}

/* Free Shipping Pill */
.cart-free-shipping-pill {
  margin: 0 16px 16px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
}

.free-shipping-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #15803D;
  display: block;
  margin-bottom: 6px;
}

.shipping-progress-track {
  height: 6px;
  background: rgba(74, 222, 128, 0.25);
  border-radius: 9999px;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: #16A34A;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Empty State */
.cart-empty-state, .orders-empty-state {
  padding: 48px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.empty-state-desc {
  font-size: 0.9rem;
  color: #6B7280;
  max-width: 300px;
  margin-bottom: 24px;
  line-height: 1.45;
}

.btn-empty-action {
  padding: 13px 26px;
  background: #1E352F;
  color: #FFFFFF;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-empty-action:hover {
  opacity: 0.92;
}

/* Cart Checkout CTA */
.cart-checkout-action-btn, .checkout-submit-action-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  background: #1E352F;
  color: #FFFFFF;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(30, 53, 47, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cart-checkout-action-btn:hover, .checkout-submit-action-btn:hover {
  background: #152722;
}

.cart-checkout-action-btn:active, .checkout-submit-action-btn:active {
  transform: scale(0.98);
}

.cart-btn-price, .checkout-btn-price {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ==========================================================================
   CHECKOUT MODAL SHEET STYLES
   ========================================================================== */
.checkout-panel {
  max-width: 560px;
}

.checkout-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: #ECFDF5;
  color: #059669;
  border-radius: 9999px;
}

.checkout-section-card {
  margin: 0 16px 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 14px 16px;
}

.checkout-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.checkout-section-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1E352F;
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
}

.checkout-form-group {
  margin-bottom: 10px;
}

.checkout-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6B7280;
  margin-bottom: 4px;
}

.checkout-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #111827;
  background: #F9FAFB;
  transition: all 0.2s ease;
  font-family: inherit;
}

.checkout-input:focus {
  outline: none;
  border-color: #1E352F;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(30, 53, 47, 0.08);
}

.checkout-form-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

/* Day & Time Slots */
.checkout-day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.checkout-day-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 0.82rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.checkout-day-btn.active {
  background: #1E352F;
  color: #FFF;
  border-color: #1E352F;
}

.checkout-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkout-slot-chip {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.checkout-slot-chip.active {
  background: rgba(30, 53, 47, 0.08);
  border-color: #1E352F;
  color: #1E352F;
  font-weight: 700;
}

/* Payment Options */
.checkout-payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #FAFAFA;
}

.payment-option-card.active {
  border-color: #1E352F;
  background: rgba(30, 53, 47, 0.04);
  box-shadow: 0 2px 8px rgba(30, 53, 47, 0.06);
}

.payment-radio {
  display: none;
}

.payment-icon-box {
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-text-box {
  flex: 1;
}

.payment-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}

.payment-sub {
  display: block;
  font-size: 0.76rem;
  color: #6B7280;
  margin-top: 2px;
}

.payment-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.payment-option-card.active .payment-check-circle {
  border-color: #1E352F;
  background: #1E352F;
}

.payment-option-card.active .payment-check-circle::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* Mini summary */
.checkout-mini-summary {
  margin: 0 16px 14px;
  padding: 12px 14px;
  background: #F9FAFB;
  border-radius: 14px;
  border: 1px solid #E5E7EB;
  font-size: 0.88rem;
  color: #4B5563;
}

/* Success View */
.checkout-success-view {
  padding: 36px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-animation-wrap {
  margin-bottom: 16px;
}

.success-check-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.2);
}

.success-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.success-order-num {
  font-size: 0.95rem;
  font-weight: 700;
  color: #059669;
  margin-bottom: 20px;
}

.success-details-card {
  width: 100%;
  max-width: 420px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.success-detail-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px solid #E5E7EB;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pill-transit {
  background: #FEF3C7;
  color: #92400E;
}

.status-pill-delivered {
  background: #ECFDF5;
  color: #065F46;
}

.status-pill-processing {
  background: #EFF6FF;
  color: #1E40AF;
}

.detail-label {
  color: #6B7280;
}

.detail-val {
  font-weight: 600;
  color: #111827;
}

.detail-price-bold {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1E352F;
}

.success-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

.btn-success-primary {
  padding: 14px 20px;
  background: #1E352F;
  color: #FFF;
  border-radius: 16px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-success-primary:hover {
  opacity: 0.92;
}

.btn-success-secondary {
  padding: 13px 20px;
  background: #F3F4F6;
  color: #374151;
  border-radius: 16px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-success-secondary:hover {
  background: #E5E7EB;
}

/* ==========================================================================
   ORDER HISTORY MODAL SHEET STYLES
   ========================================================================== */
.orders-panel {
  max-width: 580px;
}

.orders-count-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 10px;
  background: #F3F4F6;
  color: #374151;
  border-radius: 9999px;
}

.orders-filter-tabs {
  display: flex;
  padding: 10px 16px;
  gap: 8px;
  background: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
  flex-shrink: 0;
}

.orders-tab-btn {
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #E5E7EB;
  background: #F9FAFB;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.orders-tab-btn.active {
  background: #1E352F;
  color: #FFFFFF;
  border-color: #1E352F;
}

.orders-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.order-history-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.order-history-card:hover {
  border-color: #D1D5DB;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.order-id-num {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.order-id-date {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 2px;
}

.order-card-items-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 0 10px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
}

.order-item-thumb-box {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  overflow: hidden;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  flex-shrink: 0;
}

.order-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-item-thumb-count {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.72);
  color: #FFF;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
}

.order-footer-price-lbl {
  font-size: 0.75rem;
  color: #6B7280;
  text-transform: uppercase;
  font-weight: 600;
}

.order-footer-total {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}

.order-actions-group {
  display: flex;
  gap: 8px;
}

.btn-repeat-order {
  padding: 8px 14px;
  background: #1E352F;
  color: #FFF;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease;
}

.btn-repeat-order:hover {
  opacity: 0.9;
}

.btn-order-receipt {
  padding: 8px 12px;
  background: #F3F4F6;
  color: #374151;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-order-receipt:hover {
  background: #E5E7EB;
}

/* ==========================================================================
   FAVORITES (WISHLIST) & FACETS FILTER STYLES
   ========================================================================== */

/* Favorite Button on Catalog Cards */
.btn-product-favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-product-favorite:hover {
  transform: scale(1.1);
  color: #EF4444;
  background: #FFFFFF;
}

.btn-product-favorite.active {
  color: #EF4444;
  background: #FEE2E2;
  border-color: #FECACA;
}

.btn-product-favorite.active svg {
  fill: #EF4444;
}

/* Favorite Button in Product Details Sheet */
.pdm-fav-btn {
  color: #64748B;
  transition: all 0.2s ease;
}

.pdm-fav-btn:hover {
  color: #EF4444;
}

.pdm-fav-btn.active {
  color: #EF4444;
  background: #FEE2E2;
}

.pdm-fav-btn.active svg {
  fill: #EF4444;
}

/* Dock Favorites Badge */
.dock-fav-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 9999px;
  border: 2px solid #FFFFFF;
}

/* Favorites Modal Panel */
.favorites-panel {
  max-width: 580px;
}

.favorites-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.fav-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.fav-item-row:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.fav-item-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #F1F5F9;
}

.fav-item-info {
  flex: 1;
  min-width: 0;
}

.fav-item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1E352F;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fav-item-meta {
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 4px;
}

.fav-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827;
}

.fav-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-fav-add-cart {
  padding: 8px 14px;
  background: #1E352F;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-fav-add-cart:hover {
  background: #2A4A41;
}

.btn-fav-remove {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-fav-remove:hover {
  background: #FEE2E2;
}

/* ================= FACETS / QUICK FILTERS BAR ================= */
.store-facets-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.facet-chips-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.facet-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  background: #F1F5F9;
  border: 1px solid transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.facet-chip:hover {
  background: #E2E8F0;
  color: #1E293B;
}

.facet-chip.active {
  background: #1E352F;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(30, 53, 47, 0.2);
}

.facet-sort-wrap {
  display: flex;
  align-items: center;
}

.facet-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.facet-sort-btn:hover {
  border-color: #CBD5E1;
  color: #1E293B;
}

.facet-sort-btn.active {
  border-color: #10B981;
  color: #059669;
  background: #ECFDF5;
}

/* ================= OUT OF STOCK STYLING ================= */
.card-out-of-stock {
  opacity: 0.65;
  filter: grayscale(0.2);
}

.out-of-stock-badge {
  background: #64748B !important;
  color: #FFFFFF !important;
}

.btn-add-disabled {
  background: #CBD5E1 !important;
  color: #94A3B8 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* Stock Count Badge on Storefront Cards */
.stock-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stock-count-badge.low-stock {
  background: #FFFBEB;
  color: #92400E;
  border-color: #FDE68A;
}

.stock-out-hidden,
.category-disabled {
  display: none !important;
}

/* ================= WEIGHTED PRODUCE & RECALCULATION STYLING ================= */
.weight-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  font-size: 0.70rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.product-unit-info {
  font-size: 0.73rem;
  color: #64748B;
  margin-top: 2px;
  margin-bottom: 6px;
  font-weight: 500;
}

.order-weight-recalc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 6px 0;
  box-shadow: 0 1px 2px rgba(245, 158, 11, 0.08);
}

.order-recalc-diff-tag {
  background: #FEF3C7;
  color: #92400E;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
}

/* ================= NOTIFICATIONS MODAL & TOAST ================= */
.notifications-panel {
  max-width: 520px;
}

.notif-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
}

.notif-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.notif-card.unread {
  border-color: #10B981;
  background: #F0FDF4;
}

.notif-card.unread::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
}

.notif-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notif-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #E6F4EA;
  color: #137333;
  flex-shrink: 0;
}

.notif-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F172A;
}

.notif-time {
  font-size: 0.72rem;
  color: #94A3B8;
  white-space: nowrap;
}

.notif-body-text {
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
}

.notif-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  border-top: 1px dashed #E2E8F0;
  font-size: 0.76rem;
}

.notif-bot-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563EB;
  background: #EFF6FF;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.notif-action-link {
  color: #059669;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
}

.notif-action-link:hover {
  text-decoration: underline;
}

.notif-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: #64748B;
}

.notif-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

.notif-realtime-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 380px;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  z-index: 99999;
  border-left: 4px solid #10B981;
  animation: slideUpToast 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.notif-toast-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.notif-toast-content {
  flex: 1;
}

.notif-toast-title {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.notif-toast-body {
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.4;
}

.notif-toast-bot {
  margin-top: 6px;
  font-size: 0.70rem;
  color: #93C5FD;
  font-weight: 600;
}

.notif-toast-close {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.notif-toast-close:hover {
  color: #FFFFFF;
}

.robokassa-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.70rem;
  font-weight: 700;
}

/* ========================================================
   Delivery Address Management & Dynamic Header CTA
   ======================================================== */

.store-delivery-address.is-empty-address {
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.45);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.15);
  animation: pulseAddressCta 3s infinite ease-in-out;
}

.store-delivery-address.is-empty-address:hover {
  background: rgba(74, 222, 128, 0.22);
  border-color: rgba(74, 222, 128, 0.8);
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.25);
}

.store-delivery-address.is-empty-address .address-pin-icon {
  background: rgba(74, 222, 128, 0.25);
  color: #4ADE80;
}

.store-delivery-address.is-empty-address .address-label {
  color: #A7F3D0;
  opacity: 0.95;
}

.store-delivery-address.is-empty-address .address-value {
  color: #FFFFFF;
  font-weight: 800;
}

.store-delivery-address.is-empty-address .address-chevron {
  color: #4ADE80;
}

@keyframes pulseAddressCta {
  0%, 100% {
    border-color: rgba(74, 222, 128, 0.45);
  }
  50% {
    border-color: rgba(74, 222, 128, 0.85);
  }
}

.address-panel {
  max-width: 520px;
}

.address-scroll-body {
  padding: 14px 18px 48px;
}

.address-section-block {
  margin-bottom: 14px;
}

.address-section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.address-section-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
}

.address-count-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: #F3F4F6;
  color: #4B5563;
  padding: 2px 8px;
  border-radius: 9999px;
}

.address-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.address-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: left;
  width: 100%;
}

.address-card:hover {
  border-color: #10B981;
  background: #FAFAFA;
  transform: translateY(-1px);
}

.address-card.is-active {
  border-color: #10B981;
  background: #F0FDF4;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.12);
}

.address-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.address-card.is-active .address-card-radio {
  border-color: #10B981;
  background: #10B981;
}

.address-card-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.address-card.is-active .address-card-radio::after {
  opacity: 1;
}

.address-card-content {
  flex: 1;
  min-width: 0;
}

.address-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.address-card-street {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  word-break: break-word;
}

.address-badge-active {
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 2px 8px;
  border-radius: 9999px;
}

.address-card-subline {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.4;
}

.address-card-comment {
  font-size: 0.80rem;
  color: #059669;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.address-card-delete {
  background: none;
  border: none;
  padding: 6px;
  color: #9CA3AF;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-card-delete:hover {
  color: #EF4444;
  background: #FEE2E2;
}

.address-empty-state {
  text-align: center;
  padding: 12px 14px;
  background: #F9FAFB;
  border-radius: 14px;
  border: 1px dashed #E5E7EB;
  margin-bottom: 10px;
}

.address-empty-icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.address-empty-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1E352F;
  margin-bottom: 2px;
}

.address-empty-desc {
  font-size: 0.78rem;
  color: #6B7280;
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.35;
}

.address-add-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1.5px dashed #10B981;
  border-radius: 14px;
  background: #F0FDF4;
  color: #065F46;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.address-add-toggle-btn:hover {
  background: #DCFCE7;
  border-color: #059669;
  transform: translateY(-1px);
}

.address-add-form {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.address-form-title {
  font-size: 0.90rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.address-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 14px;
}

.address-checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: #10B981;
  cursor: pointer;
}

.address-checkbox-row label {
  font-size: 0.82rem;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.address-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cancel-new-addr {
  padding: 9px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #FFFFFF;
  color: #6B7280;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-new-addr:hover {
  background: #F3F4F6;
  color: #111827;
}

.btn-save-addr {
  padding: 9px 20px;
  font-size: 0.88rem;
  min-height: 42px;
}

/* ================= 15. SHOWCASE SCHEDULE & STORE STATUS ================= */
.store-closed-banner {
  background: linear-gradient(135deg, #064E3B, #0F172A);
  color: #F8FAFC;
  padding: 14px 18px;
  margin: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeInDown 0.3s ease;
}

.store-closed-banner-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.store-closed-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.store-closed-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.86rem;
}

.store-closed-text strong {
  font-weight: 700;
  color: #F1F5F9;
}

.store-closed-sub {
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.35;
}

.cart-checkout-disabled {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  pointer-events: none;
}







