/* ─── Reset & Base ───────────────────────────────────────────── */

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

:root {
  --cream: #FDF8F4;
  --cream-dark: #FEF0E6;
  --terracotta: #C75B3A;
  --brown-dark: #3A2518;
  --brown-mid: #8B6E5D;
  --brown-warm: #7A4A30;
  --border: #F0DDD0;
  --tan-light: #F5D4BF;
  --tan-mid: #EABC9E;
  --tan-dark: #B5825F;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 14px;
}

body {
  font-family: var(--font-sans);
  background: #f5f0eb;
  color: var(--brown-dark);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────────────────────── */

.site-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 0;
}

.site-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.5px solid var(--border);
}

/* ─── Top bar ────────────────────────────────────────────────── */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 57px;
  padding: 0 28px;
  border-bottom: 0.5px solid var(--border);
  position: relative;
  z-index: 10;
  overflow: visible;
}

.topbar-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  padding-top: 4px;
}

.topbar-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 11;
  filter: drop-shadow(0 4px 8px rgba(58, 37, 24, 0.08));
}

.topbar-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--brown-mid);
  align-items: center;
}

.topbar-nav a:hover {
  color: var(--terracotta);
}

.btn {
  display: inline-block;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn:hover { opacity: 0.85; }

.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
}

.btn-outline {
  border: 0.5px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
}

.btn-sm {
  padding: 7px 16px;
}

.btn-xs {
  padding: 8px 18px;
}

/* ─── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: flex;
  min-height: 400px;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 220px;
  opacity: 0.12;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #E8956E 0px, #E8956E 23px, transparent 23px, transparent 47px);
}

.hero-content {
  flex: 1;
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 46px;
  color: var(--brown-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-desc {
  font-size: 17px;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  gap: 10px;
}

.hero-photo {
  width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px 24px 0;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(58, 37, 24, 0.18), 0 2px 8px rgba(58, 37, 24, 0.08);
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* ─── Trust bar ──────────────────────────────────────────────── */

.trust-bar {
  background: linear-gradient(90deg, #FADBC8 0%, #F5CCAE 25%, #FADBC8 50%, #F5CCAE 75%, #FADBC8 100%);
  background-size: 200px 100%;
  padding: 14px 28px;
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 13px;
  color: var(--brown-warm);
  letter-spacing: 0.3px;
  font-weight: 500;
}

.trust-bar .sep {
  opacity: 0.3;
}

/* ─── Products grid ──────────────────────────────────────────── */

.products {
  padding: 40px 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 31px;
  color: var(--brown-dark);
}

.section-subtitle {
  font-size: 14px;
  color: var(--brown-mid);
  margin-top: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 0.5px solid var(--border);
  overflow: hidden;
}
a.product-card--link {
  display: block; color: inherit; text-decoration: none;
  transition: box-shadow 0.15s;
}
a.product-card--link:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }

.product-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: linear-gradient(135deg, var(--tan-light), var(--tan-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--tan-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  overflow: hidden;
}

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

.product-info {
  padding: 14px 12px;
}

.product-name {
  font-weight: 500;
  font-size: 17px;
  color: var(--brown-dark);
  margin-bottom: 2px;
}

.product-desc {
  font-size: 13px;
  color: var(--brown-mid);
  margin-bottom: 6px;
}

.product-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
}

.products-cta {
  text-align: center;
  margin-top: 16px;
}

.link-cta {
  font-size: 14px;
  color: var(--terracotta);
  font-weight: 500;
}

.link-cta:hover {
  text-decoration: underline;
}

/* ─── Classes CTA ────────────────────────────────────────────── */

.classes-cta {
  margin: 0 40px 32px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  border: 0.5px solid var(--border);
  background: #fff;
}

.classes-photo {
  width: 300px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.classes-photo::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(to right, transparent, rgba(58, 37, 24, 0.12));
  z-index: 3;
  pointer-events: none;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slide-arrow:hover {
  background: rgba(0, 0, 0, 0.55);
}

.slide-arrow--left { left: 8px; }
.slide-arrow--right { right: 8px; }

.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 6px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.2s;
}

.slide-dot--active {
  background: rgba(0, 0, 0, 0.75);
}

.classes-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.classes-slide--active {
  opacity: 1;
}

.classes-body {
  flex: 1;
  padding: 24px;
}

.class-tags {
  display: inline-flex;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid var(--tan-mid);
  border-radius: 20px;
  overflow: hidden;
}

.class-tag {
  padding: 6px 18px;
  background: transparent;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--tan-mid);
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  font-weight: 400;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  user-select: none;
}
.class-tag:last-child {
  border-right: none;
}

.class-tag:hover {
  background: var(--tan-light);
  color: var(--brown-dark);
}

.class-tag--active {
  background: var(--terracotta);
  color: #fff;
}

.classes-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--brown-dark);
  margin-bottom: 6px;
}

.classes-desc {
  font-size: 14px;
  color: var(--brown-mid);
  line-height: 1.6;
  margin-bottom: 10px;
}

.press-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 10px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 0.5px solid var(--border);
  width: fit-content;
}

.press-badge-label {
  font-size: 12px;
  color: var(--brown-mid);
  font-style: italic;
}

.press-badge-names {
  display: flex;
  gap: 8px;
  align-items: center;
}

.press-badge-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--brown-dark);
  letter-spacing: -0.2px;
}

.press-badge-sep {
  font-size: 12px;
  color: var(--terracotta);
  opacity: 0.4;
}

/* ─── Classes section — dynamic press badge ──────────────────── */

#classes-press {
  margin-bottom: 14px;
}

/* ── Carousel container */
.cpc-container {
  position: relative;
  margin-top: 8px;
}

.cpc-viewport {
  overflow: hidden;
}

.cpc-track {
  display: flex;
  gap: 12px;
  transition: transform 0.32s ease;
}

/* 3 items visible: (100% - 2 gaps) / 3 */
.cpc-item {
  flex: 0 0 calc(33.333% - 8px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 6px;
  padding: 6px;
  margin: -6px;
  transition: background 0.15s;
}
.cpc-item:hover { background: var(--cream-dark); }

.classes-press-logo {
  height: 18px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: left center;
}

.classes-press-excerpt {
  font-size: 10.5px;
  color: var(--brown-mid);
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

/* Nav bar: ‹ • • • › centered below items */
.cpc-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.cpc-arrow {
  background: none;
  border: none;
  color: var(--brown-mid);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
}
.cpc-arrow:hover { color: var(--brown-dark); }
.cpc-prev { visibility: hidden; }

.cpc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(58,37,24,0.18);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.cpc-dot--active { background: rgba(58,37,24,0.6); }


/* ─── Upcoming dates ─────────────────────────────────────────── */

.upcoming-dates {
  margin-bottom: 14px;
}

.upcoming-dates-loading {
  font-size: 12px;
  color: var(--brown-mid);
}

.upcoming-dates-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upcoming-dates-week {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.upcoming-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  background: var(--cream);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}

.upcoming-date-day {
  font-size: 12px;
  color: var(--brown-dark);
}

.upcoming-date:hover {
  background: var(--cream-dark);
  border-color: var(--tan-mid);
}

.upcoming-date-spots {
  font-size: 10px;
  color: var(--brown-mid);
}

.upcoming-date-spots--low {
  color: var(--terracotta);
  font-weight: 500;
}

.upcoming-dates-label {
  font-size: 11px;
  color: var(--brown-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ─── Booking popup ─────────────────────────────────────────── */

.booking-popup {
  position: absolute;
  z-index: 100;
  width: 220px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(58, 37, 24, 0.15);
  padding: 14px;
}

.booking-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-popup-title {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--brown-dark);
  line-height: 1.2;
}

.booking-popup-time {
  display: block;
  font-family: var(--font-sans, sans-serif);
  font-size: 11px;
  color: var(--brown-mid);
  font-weight: 400;
  margin-top: 1px;
}

.booking-popup-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--brown-mid);
  cursor: pointer;
  padding: 0 0 0 8px;
  line-height: 1;
}

.booking-popup-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-popup-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-dark);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}

.booking-popup-option:hover {
  background: var(--tan-light, #f0e6d6);
}

.booking-popup-option-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.booking-popup-option-name {
  font-size: 13px;
  color: var(--brown-dark);
  font-weight: 500;
}

.booking-popup-option-time {
  font-size: 11px;
  color: var(--brown-mid);
  font-weight: 400;
}

.booking-popup-option-spots {
  font-size: 11px;
  color: var(--brown-mid);
  white-space: nowrap;
  margin-left: 8px;
}

.booking-popup-tickets {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-popup-label {
  font-size: 13px;
  color: var(--brown-dark);
}

.booking-popup-stepper {
  display: flex;
  align-items: center;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.booking-popup-step-btn {
  width: 32px;
  height: 32px;
  background: var(--cream-dark);
  border: none;
  font-size: 16px;
  color: var(--brown-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.booking-popup-step-btn:hover:not(:disabled) {
  background: var(--tan-light, #f0e6d6);
}

.booking-popup-step-btn:disabled {
  color: var(--border);
  cursor: default;
}

.booking-popup-count {
  width: 32px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-dark);
  border-left: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
}

.booking-popup-book {
  width: 100%;
  padding: 8px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.booking-popup-book:hover {
  background: var(--terracotta-dark, #b5703c);
}

/* ─── Story section ──────────────────────────────────────────── */

.story {
  padding: 36px 40px;
  border-top: 0.5px solid var(--border);
}

.story-section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 20px;
}

.story-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.story-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.story-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--tan-light), var(--tan-mid));
  flex-shrink: 0;
  overflow: hidden;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.3);
  transform-origin: top center;
}

.story-card-body {
  flex: 1;
  min-width: 0;
}

.story-name {
  font-weight: 500;
  font-size: 16px;
  color: var(--brown-dark);
}

.story-role {
  font-size: 12px;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 6px;
}

.story-text {
  font-size: 13px;
  color: var(--brown-mid);
  line-height: 1.65;
}

.story-cta {
  text-align: center;
  margin-top: 16px;
}

/* ─── Locations ──────────────────────────────────────────────── */

.locations {
  padding: 0 40px 36px;
}

.locations-title {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--brown-dark);
  margin-bottom: 14px;
  text-align: center;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.location-card {
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.location-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 2px 12px rgba(199, 91, 58, 0.1);
}

.location-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terracotta);
  margin: 0 auto 8px;
  opacity: 0.6;
}

.location-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 2px;
}

.location-details {
  font-size: 12px;
  color: var(--brown-mid);
  line-height: 1.5;
}

/* ─── Press section ──────────────────────────────────────────── */

.press {
  padding: 36px 40px;
  border-top: 0.5px solid var(--border);
  text-align: center;
}

.press-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--brown-mid);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.press-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.press-row:last-child {
  margin-bottom: 0;
}

.press-name {
  font-weight: 500;
  color: var(--brown-dark);
  letter-spacing: -0.3px;
}

.press-name--lg {
  font-size: 19px;
  opacity: 0.7;
  font-family: var(--font-serif);
}

.press-name--md {
  font-size: 17px;
  opacity: 0.7;
}

.press-name--sm {
  font-size: 16px;
  opacity: 0.5;
}

.press-name--xs {
  font-size: 14px;
  opacity: 0.4;
}

.press-name--serif {
  font-family: var(--font-serif);
}

.press-name--italic {
  font-style: italic;
}

.press-name--wide {
  letter-spacing: 0.5px;
}


.press-cta {
  text-align: center;
  padding: 18px 0 4px;
}

/* ─── Hiring banner ──────────────────────────────────────────── */

.hiring {
  padding: 16px 28px;
  background: var(--cream-dark);
  border-top: 0.5px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.hiring-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2s ease-in-out infinite;
}

.hiring-text {
  font-size: 14px;
  color: var(--brown-dark);
}

.hiring-text strong {
  font-weight: 500;
}

.hiring-text span {
  color: var(--brown-mid);
}

/* ─── Footer ─────────────────────────────────────────────────── */

.footer {
  background: #F5EEEA;
  padding: 18px 28px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  height: 36px;
  opacity: 0.8;
}

.footer-sub {
  font-size: 12px;
  color: var(--brown-mid);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--brown-mid);
}

.footer-links a:hover {
  color: var(--brown-dark);
}

.footer-copy {
  font-size: 10px;
  color: var(--tan-dark);
  margin-top: 0;
}

/* ─── About page ────────────────────────────────────────────── */

.about-hero {
  text-align: center;
  padding: 48px 40px 36px;
}

.about-hero-tag {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}

.about-hero-title {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--brown-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.about-hero-subtitle {
  font-size: 16px;
  color: var(--brown-mid);
  font-style: italic;
}

.about-profile {
  display: flex;
  gap: 32px;
  padding: 32px 48px;
  align-items: flex-start;
}

.about-profile--reverse {
  flex-direction: row-reverse;
}

.about-profile-photo {
  width: 270px;
  flex-shrink: 0;
}

.about-profile-photo img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 6px 24px rgba(58, 37, 24, 0.14);
}

.about-profile-body {
  flex: 1;
}

.about-profile-name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--brown-dark);
}

.about-profile-role {
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 12px;
}

.about-profile-body p {
  font-size: 14px;
  color: var(--brown-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}

.about-profile-body p:last-child {
  margin-bottom: 0;
}

.about-timeline {
  padding: 24px 48px 32px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.timeline-item {
  flex: 1;
  text-align: center;
  padding: 18px;
  background: #fff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 13px;
  color: var(--brown-mid);
  line-height: 1.6;
}

.about-cta {
  text-align: center;
  padding: 20px 40px 36px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ─── Apply form ────────────────────────────────────────────── */

.apply-section {
  padding: 0 48px 36px;
  max-width: 600px;
  margin: 0 auto;
}

.form-fieldset {
  border: none;
  margin-bottom: 18px;
}

.form-legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 10px;
}

/* Modern position toggle cards */
.form-position-group {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--tan-mid);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 4px;
}

.form-position-card {
  position: relative;
  cursor: pointer;
}

.form-position-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-position-label {
  display: block;
  padding: 6px 22px;
  border-right: 1px solid var(--tan-mid);
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  user-select: none;
}

.form-position-card:last-child .form-position-label {
  border-right: none;
}

.form-position-card input:checked + .form-position-label {
  background: var(--terracotta);
}

.form-position-card input:checked + .form-position-label .form-position-name {
  color: #fff;
}

.form-position-label:hover {
  background: var(--tan-light);
}

.form-position-card input:checked + .form-position-label:hover {
  background: var(--terracotta);
}

.form-position-name {
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  transition: color 0.18s;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px; /* ≥16px prevents iOS Safari auto-zoom on focus */
  font-family: var(--font-sans);
  color: var(--brown-dark);
  background: #fff;
  transition: border-color 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--terracotta);
}

.form-input--sm {
  max-width: 120px;
}

.form-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Modern file drop zone */
.form-dropzone {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}

.form-dropzone:hover,
.form-dropzone.drag-over {
  border-color: var(--terracotta);
  background: #FEF5F1;
}

.form-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.form-dropzone-icon {
  font-size: 24px;
  opacity: 0.6;
}

.form-dropzone-text {
  font-size: 13px;
  color: var(--brown-mid);
}

.form-dropzone-text strong {
  color: var(--terracotta);
  font-weight: 500;
}

.form-dropzone-filename {
  font-size: 13px;
  color: var(--brown-dark);
  font-weight: 500;
  display: none;
}

.form-hint {
  font-size: 12px;
  color: var(--brown-mid);
  margin-top: 4px;
}

.form-hint--error {
  color: #c0392b;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-checkbox input {
  accent-color: var(--terracotta);
}

.form-checkbox-label {
  font-size: 13px;
  color: var(--brown-dark);
}

.form-actions {
  margin-top: 20px;
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  min-height: 20px;
}

.form-message--success {
  color: #27ae60;
}

.form-message--error {
  color: #c0392b;
}
/* ─── Gift Cards ─────────────────────────────────────────────── */

.gc-amount-group {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--tan-mid);
  border-radius: 20px;
  overflow: hidden;
  flex-wrap: wrap;
}

.gc-amount-option {
  position: relative;
  cursor: pointer;
}

.gc-amount-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gc-amount-label {
  display: block;
  padding: 6px 18px;
  border-right: 1px solid var(--tan-mid);
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  user-select: none;
}

.gc-amount-option:last-child .gc-amount-label {
  border-right: none;
}

.gc-amount-option input:checked + .gc-amount-label {
  background: var(--terracotta);
  color: #fff;
}

.gc-amount-option .gc-amount-label:hover {
  background: var(--tan-light);
}

.gc-amount-option input:checked + .gc-amount-label:hover {
  background: var(--terracotta);
}

/* Gift card type selector — two card-style radio options */
.gc-type-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gc-type-card {
  position: relative;
  display: block;
  cursor: pointer;
  border: 1px solid var(--tan-mid);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px 18px;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.gc-type-card:hover {
  border-color: var(--terracotta);
}

.gc-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gc-type-card:has(input:checked) {
  border-color: var(--terracotta);
  background: #fff7f2;
  box-shadow: 0 0 0 1px var(--terracotta);
}

.gc-type-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gc-type-name {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--brown-dark);
}

.gc-type-desc {
  font-size: 13px;
  color: var(--brown-mid);
  line-height: 1.45;
}

.gc-type-warning {
  font-size: 12px;
  color: var(--terracotta);
  font-weight: 500;
  margin-top: 4px;
}

.gc-type-note {
  font-size: 12px;
  color: var(--brown-mid);
  margin-top: 12px;
  text-align: center;
}

.gc-class-callout {
  border: 1px dashed var(--terracotta);
  background: #fff7f2;
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  text-align: center;
  margin-bottom: 18px;
}

.gc-class-callout p {
  font-size: 14px;
  color: var(--brown-dark);
  margin-bottom: 14px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .gc-type-group {
    grid-template-columns: 1fr;
  }
}

.gc-delivery-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gc-delivery-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--brown-dark);
}

.gc-delivery-option input[type="radio"] {
  accent-color: var(--terracotta);
  width: 16px;
  height: 16px;
  margin: 0;
}

.gc-download-btn {
  display: inline-block;
  margin-bottom: 12px;
}

#card-container {
  min-height: 89px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  background: #fff;
}

#card-container iframe {
  border: none;
}

/* ─── Gift Card Hero ─────────────────────────────────────────── */

.gc-hero {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.gc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://storage.googleapis.com/millefeuille-static-13589613798213612798/class/class-croissant.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.gc-hero-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.10;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #E8956E 0px, #E8956E 23px, transparent 23px, transparent 47px);
}

.gc-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 40px 36px;
}

.gc-hero-tag {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--terracotta);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}

.gc-hero-title {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--brown-dark);
  line-height: 1.25;
  margin-bottom: 10px;
}

.gc-hero-subtitle {
  font-size: 16px;
  color: var(--brown-mid);
  font-style: italic;
}

.gc-trust-bar {
  background: linear-gradient(90deg, var(--tan-light), var(--tan-mid), var(--tan-light));
  padding: 12px 28px;
  display: flex;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  color: var(--brown-warm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.gc-confirmation {
  text-align: center;
}

.gc-card {
  width: 420px;
  max-width: 100%;
  aspect-ratio: 1.586;
  margin: 0 auto 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--brown-dark) 0%, var(--brown-warm) 60%, var(--terracotta) 100%);
  color: #fff;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(58, 37, 24, 0.25), 0 2px 8px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.gc-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.gc-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.gc-card-logo {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(345deg) brightness(0.85);
}

.gc-card-badge {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 3px 10px;
  border-radius: 20px;
}

.gc-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.gc-card-left {
  flex: 1;
}

.gc-card-balance {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.gc-card-number {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  opacity: 0.75;
}

.gc-card-qr {
  width: 90px;
  height: 90px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

.gc-confirm-text {
  font-size: 15px;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.gc-confirm-subtext {
  font-size: 13px;
  color: var(--brown-mid);
  margin-bottom: 20px;
}

.btn-outline {
  display: inline-block;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}

.btn-outline:hover {
  background: var(--terracotta);
  color: #fff;
}

/* ─── Animations ─────────────────────────────────────────────── */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ─── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  .site-wrapper {
    padding: 0;
  }

  .site-card {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-photo {
    width: 100%;
    height: auto;
    padding: 0 16px 16px;
  }

  .hero-photo .hero-slideshow {
    height: 300px;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .hero-title {
    font-size: 26px;
  }

  .topbar {
    padding: 12px 16px;
  }

  .topbar-brand {
    margin-left: 0;
  }

  .topbar-nav {
    gap: 12px;
    font-size: 11px;
  }

  .topbar-logo {
    height: 38px;
  }

  .products {
    padding: 24px 16px;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-card {
    display: block;
  }

  .product-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .product-info { padding: 10px 8px; }
  .product-name { font-size: 13px; }
  .product-desc { font-size: 11px; margin-bottom: 4px; }
  .product-price { font-size: 12px; }

  .classes-cta {
    flex-direction: column;
    margin: 0 16px 20px;
  }

  .classes-photo {
    width: 100%;
    height: 160px;
  }

  .classes-body {
    padding: 20px 16px;
  }

  .locations {
    padding: 0 16px 24px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trust-bar {
    padding: 12px 16px;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 10px;
  }

  .story {
    padding: 24px 16px;
  }

  .story-cards {
    grid-template-columns: 1fr;
  }

  .press {
    padding: 24px 16px;
  }

  .press-row {
    gap: 16px;
  }

  .hiring {
    padding: 14px 16px;
  }

  .footer {
    padding: 24px 16px 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    font-size: 12px;
  }

  .about-hero {
    padding: 32px 20px 24px;
  }

  .about-hero-title {
    font-size: 26px;
  }

  .gc-hero-content {
    padding: 32px 20px 24px;
  }

  .gc-hero-title {
    font-size: 26px;
  }

  .gc-trust-bar {
    gap: 16px;
    font-size: 10px;
    padding: 10px 16px;
  }

  .about-profile {
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
  }

  .about-profile--reverse {
    flex-direction: column;
  }

  .about-profile-photo {
    width: 180px;
  }

  .about-timeline {
    flex-direction: column;
    padding: 16px 20px 24px;
  }

  .about-cta {
    padding: 16px 20px 28px;
  }

  .apply-section {
    padding: 0 20px 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ─── Locations page ─────────────────────────────────────────────── */

.loc-hero {
  text-align: center;
  padding: 48px 24px 32px;
}

.loc-hero-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.loc-hero-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin: 0 0 10px;
}

.loc-hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--brown-mid);
  margin: 0;
  text-wrap: balance;
}

.loc-hero-nearest {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--terracotta);
  margin: 10px 0 0;
  animation: fadeInUp 0.5s ease-out;
  text-wrap: balance;
}

.loc-hero-nearest strong {
  font-weight: 500;
}

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

.topbar-active {
  color: var(--terracotta) !important;
}

/* Map section */

.loc-map-section {
  padding: 0 24px 40px;
  display: flex;
  justify-content: center;
}

.loc-map {
  width: 100%;
  max-width: 520px;
  height: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* Leaflet custom markers */
.mm-outer {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mm-outer-right { align-items: flex-end; }
.mm-outer-left  { align-items: flex-start; }

.mm-travel {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mm-travel:empty { display: none; }

.mm-travel-link {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  color: var(--brown-dark);
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-sans);
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0,0,0,0.18);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.mm-travel-link:hover { background: #f0ebe6; }

.mm-travel-loading { color: var(--brown-mid); font-size: 0.68rem; }

.mm-wrap {
  display: flex;
  align-items: center;
  cursor: pointer;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}

.mm-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 4px solid var(--terracotta);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.mm-photo-empty {
  background-color: var(--cream-dark);
}

.mm-line {
  width: 128px;
  flex-shrink: 0;
  border-top: 1.5px dashed rgba(199, 91, 58, 0.65);
}

.mm-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 4px solid white;
  flex-shrink: 0;
}

.mm-wrap:hover .mm-dot {
  transform: scale(1.3);
  transition: transform 0.15s;
}

/* Remove default Leaflet blue outline on focus */
.leaflet-container a.leaflet-active {
  outline: none;
}

/* Park labels on map */
.mm-park-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.68rem;
  color: #5A7A47;
  white-space: nowrap;
  text-shadow: 0 0 3px white, 0 0 3px white;
}

/* Subway line labels on map */
.mm-line-label {
  display: flex;
  gap: 2px;
}

.mm-line-label .subway-circle {
  width: 16px;
  height: 16px;
  font-size: 0.58rem;
}

/* "You are here" geolocation marker */
.mm-you-here {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mm-you-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4285F4;
  border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.25);
  animation: mm-you-pulse 2s ease-out infinite;
}

@keyframes mm-you-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(66, 133, 244, 0); }
  100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

.mm-you-label {
  background: white;
  color: var(--brown-dark);
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
}

/* Locate-me button (sits next to zoom controls) */
.mm-locate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #555;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
  margin-top: 4px;
}

.mm-locate-btn:hover { background: #f4f4f4; color: #4285F4; }
.mm-locate-loading { color: #4285F4; opacity: 0.6; cursor: default; }

/* Minimal attribution — legally required, visually discreet */
.leaflet-control-attribution {
  font-size: 0.65rem !important;
  opacity: 0.5;
  background: transparent !important;
  box-shadow: none !important;
}
.leaflet-control-attribution:hover {
  opacity: 0.85;
}

/* Detail cards */

.loc-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 24px 48px;
  max-width: 800px;
  margin: 0 auto;
}

.loc-card {
  display: flex;
  gap: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  scroll-margin-top: 24px;
}

.loc-card-photo {
  flex: 0 0 280px;
  min-height: 260px;
  position: relative;
}

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

.loc-card-photo-placeholder {
  background: var(--cream-dark);
}

.loc-card-body {
  flex: 1;
  padding: 28px 28px 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.loc-card-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brown-dark);
  margin: 0;
}

.loc-card-address {
  font-size: 0.95rem;
  color: var(--brown-dark);
  line-height: 1.6;
}

.loc-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
  z-index: 1;
}

.loc-status-open {
  background: #E8F5E8;
  color: #2E7D32;
}

.loc-status-open::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2E7D32;
}

.loc-status-closing {
  background: #FFF8E1;
  color: #F57F17;
}

.loc-status-closing::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F57F17;
}

.loc-status-closed {
  background: #F5F5F5;
  color: #757575;
}

.loc-status-closed::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #BDBDBD;
}

.loc-status-coming {
  background: #FEF0E6;
  color: var(--terracotta);
}

.loc-status-coming::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.loc-card-subway {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.subway-stop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.subway-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.subway-station {
  font-size: 0.82rem;
  color: var(--brown-mid);
  margin-left: 2px;
}

.subway-divider {
  font-size: 0.75rem;
  color: var(--brown-mid);
  padding: 0 2px;
}

.loc-card-hours {
  margin-top: 4px;
}

.loc-card-hours-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-bottom: 6px;
}

.loc-hours-row {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--brown-dark);
  padding: 2px 0;
}

.loc-hours-row span:first-child {
  color: var(--brown-mid);
  min-width: 72px;
}

.loc-card-coming {
  font-style: italic;
  color: var(--brown-mid);
  font-size: 0.88rem;
}

.loc-card-directions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.loc-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brown-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 16px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.loc-dir-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: #FEF0E6;
}

.loc-dir-btn svg {
  flex-shrink: 0;
}

/* Locations page mobile */

@media (max-width: 768px) {
  .loc-hero {
    padding: 32px 20px 24px;
  }

  .loc-hero-title {
    font-size: 1.8rem;
  }

  .loc-map-section {
    padding: 0 16px 28px;
  }

  .loc-map {
    height: 420px;
  }

  .loc-details {
    padding: 0 16px 32px;
    gap: 24px;
  }

  .loc-card {
    flex-direction: column;
    gap: 0;
  }

  .loc-card-photo {
    flex: none;
    width: 100%;
    height: 220px;
    min-height: unset;
  }

  .loc-card-body {
    padding: 20px;
  }

  .loc-card-name {
    font-size: 1.3rem;
  }
}

/* ─── Order Page ────────────────────────────────────────────── */

.site-card--wide { max-width: 1200px; }

.order-section { padding: 24px 28px 32px; }

.order-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.order-header h2 { font-family: var(--font-serif); font-size: 1.3rem; }

.order-title {
  font-family: var(--font-serif); font-size: 1.4rem;
  margin-bottom: 6px;
}
.order-subtitle { color: var(--brown-mid); font-size: 14px; }

/* Location picker */
.order-location-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.order-location-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s;
}
.order-location-card:hover {
  border-color: var(--terracotta); box-shadow: 0 2px 12px rgba(199,91,58,0.1);
}
.order-location-card h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 6px; }
.order-location-card p { font-size: 13px; color: var(--brown-mid); margin-bottom: 4px; }
.order-location-hours { font-size: 12px !important; }
.order-location-card .btn { margin-top: 12px; }

/* Location bar */
.order-location-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.order-location-addr { color: var(--brown-mid); font-size: 13px; margin-left: 10px; }

/* Layout: menu + cart */
.order-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }

/* ── Two-level menu navigation ───────────────────────────────── */
/* Section tabs (Sweet/Savory/Beverages): big underline tabs that share
   the bottom border with the subnav so they read as one nav block.   */
.order-category-tabs {
  display: flex;
  gap: 28px;
  margin-bottom: 0;
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--cream); z-index: 6;
}
.order-cat-tab {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  padding: 10px 0; font-size: 16px; font-family: var(--font-serif);
  color: var(--brown-mid); cursor: pointer; transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
}
.order-cat-tab:hover { color: var(--brown-dark); }
.order-cat-tab.active {
  color: var(--terracotta); border-bottom-color: var(--terracotta); font-weight: 500;
}

/* Subnav chips: nested visually below the tabs, lighter weight, with a
   contained pill highlight on the active one. Sticks just below the
   section tabs so both bars stay visible while scrolling. */
.order-subnav {
  display: flex; gap: 24px; flex-wrap: nowrap;
  margin: 0 0 10px;
  padding: 0 4px 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky; top: 47px; z-index: 5;
}
.order-subnav::-webkit-scrollbar { display: none; }
.order-subnav-chip {
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  font-size: 14px;
  color: var(--brown-mid);
  cursor: pointer;
  font-family: var(--font-serif);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}
.order-subnav-chip:hover { color: var(--brown-dark); }
.order-subnav-chip.active {
  color: var(--terracotta); border-bottom-color: var(--terracotta); font-weight: 500;
}

/* Items grid */
.order-items-grid {
  display: flex; flex-direction: column; gap: 24px;
}
.order-subcategory-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400;
  margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
  color: var(--brown-dark);
}
.order-items-subgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
/* Brand intro (La Colombe / Harney & Sons) */
.order-brand-intro {
  display: flex; align-items: center; gap: 14px;
  padding: 0 0 14px; margin-bottom: 4px;
}
.order-brand-logo {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 50%; flex-shrink: 0;
}
.order-brand-text {
  font-family: var(--font-serif); font-size: 14px;
  color: var(--brown-mid); line-height: 1.45; margin: 0;
  font-style: italic; text-wrap: balance;
}
.order-brand-text strong { color: var(--brown-dark); font-weight: 600; font-style: normal; }

.order-loading { text-align: center; color: var(--brown-mid); padding: 40px 0; }

.order-item-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.15s;
}
.order-item-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.06); }

.order-item-img {
  width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; display: block;
}
.order-item-img--placeholder {
  background: var(--cream-dark);
}
.order-item-info { padding: 10px 12px; flex: 1; }
.order-item-name { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.order-item-desc { font-size: 12px; color: var(--brown-mid); margin-bottom: 6px; line-height: 1.4; }
.order-item-price { font-size: 14px; font-weight: 500; color: var(--terracotta); }
.order-item-add { margin: 0 12px 10px; }

/* Cart sidebar */
.order-cart {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px; align-self: start; position: sticky; top: 16px;
}
.order-modal-price {
  font-size: 1.05rem; color: var(--terracotta); font-weight: 600;
  margin: -8px 0 12px;
}
.order-inscription-input {
  display: block;
  width: 100%;
  margin-top: 8px;
  box-sizing: border-box;
}
.order-inscription-input[hidden] { display: none; }
.order-modal-pickup {
  margin: 8px 0 14px; padding: 8px 12px; background: #FDFAF8;
  border-left: 3px solid var(--terracotta); border-radius: 4px;
  font-size: 13px; color: var(--brown-mid);
}
.order-modal-pickup-val { color: var(--brown-dark); font-weight: 500; }

/* Global loading overlay */
.order-loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(248, 244, 240, 0.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  backdrop-filter: blur(2px);
}
.order-loading-overlay[hidden] { display: none; }
.order-loading-spinner {
  width: 40px; height: 40px; border-radius: 50%;
  border: 3px solid rgba(192, 108, 75, 0.25);
  border-top-color: var(--terracotta);
  animation: order-spin 0.8s linear infinite;
}
.order-loading-label { font-family: var(--font-sans); font-size: 13px; color: var(--brown-mid); }
@keyframes order-spin { to { transform: rotate(360deg); } }

/* Square Web Payments SDK */
#square-checkout { max-width: 480px; margin: 0 auto; width: 100%; }
.square-pay-summary { font-size: 14px; color: var(--brown-mid); text-align: center; margin-bottom: 18px; }
.square-pay-summary strong { color: var(--brown-dark); font-size: 18px; }
.square-wallet-btn { display: none; margin-bottom: 10px; min-height: 48px; }
/* "or pay with card" divider — hidden by default, shown by JS only
   when at least one wallet button (Apple Pay / Google Pay / Cash App)
   renders successfully. Without a wallet there is no "or". */
.square-pay-divider { display: none; align-items: center; gap: 10px; margin: 18px 0; color: var(--brown-mid); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.square-pay-divider::before, .square-pay-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
#square-card-container { padding: 12px; background: white; border: 1px solid var(--border); border-radius: 8px; min-height: 90px; }

/* Checkout layout: recap + payment side-by-side */
.order-checkout-section { padding: 32px 28px; }
.order-checkout-banner {
  margin-bottom: 20px; padding: 14px 18px;
  background: #fdecea; border: 1px solid #f5c2bd; border-left: 4px solid #b3261e;
  color: #6e1410; border-radius: 8px;
  font-size: 14px; line-height: 1.45;
}
.order-checkout-banner strong { display: block; margin-bottom: 2px; }
.order-checkout-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.order-checkout-header h2 {
  font-family: var(--font-serif); font-size: 1.4rem; margin: 0;
}
.order-checkout-back { flex: 0 0 auto; }
.order-checkout-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px; align-items: start;
}
@media (max-width: 760px) {
  .order-checkout-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Recap card */
.order-recap {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.order-recap-block { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border); }
.order-recap-block--pickup {
  background: var(--cream-dark);
  border: 1px solid var(--tan-mid);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.order-recap-block--pickup .order-recap-label { color: var(--terracotta); }
.order-recap-block--pickup .order-recap-loc-name { font-size: 18px; }
.order-recap-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--brown-mid); margin-bottom: 4px;
}
.order-recap-count { text-transform: none; letter-spacing: 0; }
.order-recap-loc-name { font-size: 15px; font-weight: 600; color: var(--brown-dark); }
.order-recap-loc-addr { font-size: 12px; color: var(--brown-mid); margin-top: 2px; }
.order-recap-when { font-size: 15px; font-weight: 600; color: var(--brown-dark); }
.order-recap-notes { font-size: 13px; color: var(--brown-dark); white-space: pre-wrap; word-break: break-word; }

.order-recap-items { list-style: none; padding: 0; margin: 0; }
.order-recap-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 6px 0; font-size: 13px;
}
.order-recap-item + .order-recap-item { border-top: 1px dashed var(--border); }
.order-recap-item-qty { flex: 0 0 auto; color: var(--brown-mid); min-width: 22px; }
.order-recap-item-body { flex: 1 1 0; min-width: 0; }
.order-recap-item-name { color: var(--brown-dark); }
.order-recap-item-var { color: var(--brown-mid); font-size: 11px; }
.order-recap-item-mods { font-size: 11px; color: var(--brown-mid); margin-top: 1px; }
.order-recap-item-price { flex: 0 0 auto; font-weight: 500; color: var(--brown-dark); }

.order-recap-totals { padding-top: 4px; }
.order-recap-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--brown-mid); padding: 3px 0;
}
.order-recap-total {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 600; color: var(--brown-dark);
  margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border);
}

.order-toast {
  position: fixed; top: 20px; right: 20px; z-index: 9999; padding: 12px 18px;
  background: var(--brown-dark, #3b2f2a); color: white; border-radius: 8px;
  font-family: var(--font-sans); font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.order-toast--show { opacity: 1; transform: translateY(0); }
.order-toast--err { background: #b3261e; }
.order-consent-block { margin: 8px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.order-consent-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--brown-mid); cursor: pointer; }
.order-consent-row input[type="checkbox"] { margin-top: 2px; flex: 0 0 auto; }
.order-consent-row input[type="checkbox"]:disabled + span { opacity: 0.5; }
.order-customer-view { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 4px 0; }
.order-customer-view-text { font-size: 13px; color: var(--brown-dark); line-height: 1.4; min-width: 0; word-break: break-word; }
.order-customer-view-sub { font-size: 12px; color: var(--brown-mid); }
.order-customer-edit-btn { background: none; border: none; color: var(--terracotta); font-size: 12px; font-family: var(--font-sans); cursor: pointer; padding: 2px 6px; flex: 0 0 auto; }
.order-customer-edit-btn:hover { text-decoration: underline; }
.order-customer-field { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.order-customer-field .form-label { flex: 0 0 auto; margin: 0; font-size: 12px; white-space: nowrap; }
.order-customer-field .form-input { flex: 1 1 0; min-width: 0; max-width: none; width: auto; box-sizing: border-box; }
.order-add-notes-btn {
  background: none; border: none; padding: 4px 0; margin-top: 4px;
  color: var(--terracotta); font-size: 12px; font-family: var(--font-sans); cursor: pointer; text-align: left;
}
.order-add-notes-btn:hover { text-decoration: underline; }
.order-cust-note { width: 100%; max-width: none; box-sizing: border-box; margin-top: 4px; }
.order-cust-note[hidden] { display: none; }
.order-pickup-row { display: flex; gap: 6px; }
.order-pickup-row select { max-width: none; min-width: 0; font-weight: 600; }
.order-pickup-row #pickup-date { flex: 3 1 0; }
.order-pickup-row #pickup-time { flex: 2 1 0; }
.order-cart-location { padding-bottom: 14px; margin-bottom: 14px; }
.order-cart-location-hint { font-size: 12px; color: var(--terracotta); margin: 4px 0 8px; }
.order-cart-location-buttons { display: flex; gap: 4px; flex-wrap: nowrap; }
.order-cart-location-btn {
  flex: 1 1 0; min-width: 0; padding: 6px 4px; font-size: 11px; line-height: 1.2;
  font-family: var(--font-sans); white-space: normal; word-break: break-word;
  background: white; color: var(--brown-dark); border: 1px solid var(--border);
  border-radius: 6px; cursor: pointer; text-align: center;
}
.order-cart-location-btn:hover { border-color: var(--terracotta); }
.order-cart-location-btn.active { background: var(--terracotta); color: white; border-color: var(--terracotta); }
.order-cart-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--border); }
.order-cart-title-row .order-cart-title { margin-bottom: 0; }
.order-clear-cart-btn { background: none; border: none; color: var(--terracotta); font-size: 12px; font-family: var(--font-sans); cursor: pointer; padding: 4px 6px; }
.order-clear-cart-btn:hover { text-decoration: underline; }
.order-cart-title { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 12px; }
.order-cart-empty { font-size: 13px; color: var(--brown-mid); text-align: center; padding: 20px 0; }

.order-cart-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 0; border-bottom: 1px solid var(--border); gap: 8px;
}
.order-cart-item:last-child { border-bottom: none; }
.order-cart-item-info { flex: 1; min-width: 0; cursor: pointer; }
.order-cart-item-info:hover .order-cart-item-name { color: var(--terracotta); }
.order-cart-item-name { font-size: 13px; font-weight: 500; display: block; }
.order-cart-var, .order-cart-mods {
  font-size: 11px; color: var(--brown-mid); display: block;
}
.order-cart-item-controls {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
}
.order-cart-item-price { font-weight: 500; min-width: 50px; text-align: right; font-size: 13px; }

.order-qty-btn {
  width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 14px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.order-qty-btn:hover { border-color: var(--terracotta); color: var(--terracotta); }

.order-cart-section {
  padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--border);
}
.order-cart-section .form-label { font-size: 12px; font-weight: 500; margin-bottom: 6px; }

/* Tip buttons */
.order-tip-group { display: flex; gap: 6px; flex-wrap: wrap; }
.order-tip-btn {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 20px;
  background: #fff; font-size: 12px; cursor: pointer; transition: all 0.15s;
}
.order-tip-btn:hover { border-color: var(--terracotta); }
.order-tip-btn.active { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }

/* Gift card */
.order-gc-row { display: flex; gap: 8px; }
.order-gc-row .form-input { flex: 1; }
.order-gc-status { font-size: 12px; margin-top: 4px; }
.order-gc-status--ok { color: #27ae60; }
.order-gc-status--error { color: #c0392b; }
.order-gc-remove {
  background: none; border: none; color: var(--terracotta); font-size: 12px;
  font-family: var(--font-sans); cursor: pointer; padding: 0; margin-left: 6px;
  text-decoration: underline;
}
.order-gc-remove:hover { color: var(--brown-dark); }

/* Summary */
.order-cart-summary { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--border); }
.order-summary-row {
  display: flex; justify-content: space-between; font-size: 13px;
  padding: 3px 0; color: var(--brown-mid);
}
.order-summary-total {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 600; padding: 8px 0; margin-top: 4px;
  border-top: 1px solid var(--border);
}
.order-checkout-btn { width: 100%; margin-top: 12px; }
/* Mobile-only "Continue shopping" secondary action — sits above the
   primary "Review & Pay" button inside the cart drawer summary, so the
   customer can dismiss the drawer and keep browsing. Hidden on desktop
   where the sidebar is always visible. */
.order-continue-shopping-btn { display: none; }
@media (max-width: 768px) {
  .order-continue-shopping-btn { display: block; width: 100%; margin-top: 12px; }
}

/* On mobile, tip selection lives in Review & Pay — hide the pre-computed
   tip line and total from the cart drawer to avoid showing a default 15%
   the user hasn't chosen yet. They see Subtotal + Tax only. */
@media (max-width: 768px) {
  #sum-tip-row { display: none !important; }
  .order-cart-summary > .order-summary-total { display: none !important; }
}

/* Hint below "Earliest pickup" in item modal — mobile only, since on
   desktop the pickup slot selector is visible in the sidebar already. */
.order-modal-pickup-hint { display: none; }
@media (max-width: 768px) {
  .order-modal-pickup-hint { display: inline; color: var(--brown-mid); font-size: 12px; }
}

/* Confirmation */
.order-confirm-header { text-align: center; padding: 8px 0 24px; }
.order-confirm-icon {
  width: 60px; height: 60px; border-radius: 50%; background: #27ae60; color: #fff;
  font-size: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.order-confirm-header h2 { font-family: var(--font-serif); font-size: 1.6rem; margin: 0 0 6px; }
.order-confirm-header p { color: var(--brown-mid); font-size: 14px; margin: 0; }

.order-confirm-shortid-box {
  background: #faf7f4; border: 1px solid #efe6dd; border-radius: var(--radius-lg);
  padding: 18px 16px; text-align: center; margin: 0 auto 24px; max-width: 520px;
}
.order-confirm-shortid {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 32px; font-weight: 700; color: var(--brown-dark);
  letter-spacing: 0.12em; margin-top: 6px;
}
.order-confirm-fullid {
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 11px; color: var(--brown-mid); margin-top: 6px;
  word-break: break-all;
}

.order-confirm-side { display: flex; flex-direction: column; gap: 20px; }
.order-confirm-notice {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px 18px; font-size: 13px; color: var(--brown-dark); line-height: 1.6;
  margin: 0;
}
.order-confirm-notice strong { color: var(--brown-dark); }
.order-confirm-actions { flex-direction: column; gap: 8px; align-items: flex-start; }
.order-confirm-actions .btn { width: auto; align-self: flex-start; }

/* Item detail modal */
.order-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.order-modal {
  background: var(--cream); border-radius: var(--radius-lg); max-width: 440px;
  width: 100%; max-height: 90vh; overflow-y: auto; padding: 24px; position: relative;
}
.order-modal-close {
  position: absolute; top: 12px; right: 12px; background: none; border: none;
  font-size: 24px; cursor: pointer; color: var(--brown-mid); line-height: 1;
}
.order-modal-img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; border-radius: var(--radius); margin-bottom: 16px; display: block; }
.order-modal h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; }

.order-var-list, .order-mod-group { margin: 12px 0; }
.order-var-option, .order-mod-option {
  display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; cursor: pointer;
}
.order-mod-group .form-label { font-size: 12px; font-weight: 600; margin-bottom: 4px; }
/* When a modifier group has many options (~6+), lay them out in 2 columns. */
.order-mod-group:has(.order-mod-option:nth-of-type(7)) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}
.order-mod-group:has(.order-mod-option:nth-of-type(7)) > .form-label,
.order-mod-group:has(.order-mod-option:nth-of-type(7)) > .order-inscription-input {
  grid-column: 1 / -1;
}

.order-modal-qty {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 16px 0; font-size: 18px;
}
.order-modal-add { width: 100%; }

/* Mobile cart toggle */
.order-mobile-cart-btn {
  display: none; /* shown via JS when items in cart */
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: #fff; border: none; border-radius: 24px;
  padding: 12px 28px; font-size: 15px; font-weight: 500; cursor: pointer;
  box-shadow: 0 4px 16px rgba(199,91,58,0.3);
  /* Above the sticky pickup-location bar (z-index 60) so any overlap
     during transitions or large bar variants still leaves the pill
     visible. */
  z-index: 70;
}

/* Mobile-only sticky pickup-location bar.
   Lives outside the cart drawer so the customer always sees which
   location's prices they're browsing. The `hidden` HTML attribute keeps
   it suppressed on desktop; the @media block below unhides + shows it
   on ≤768px. */
.order-mobile-location-bar { display: none; }
.order-mobile-location-bar-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brown-dark); margin-bottom: 6px; text-align: center;
}
.order-mobile-location-buttons {
  display: flex; gap: 6px;
}
.order-mobile-location-buttons .order-cart-location-btn {
  flex: 1 1 0; min-width: 0;
  font-size: 14px; font-weight: 600;
  padding: 10px 6px;
}

/* Mobile-only slot inside Review & Pay that holds the editable cart
   sections (Your Info, Pickup time, Tip, Gift card, Notes) reparented
   from the cart drawer. Hidden on desktop — those blocks stay in the
   sidebar there. */
.order-checkout-mobile-extras { display: none; }

/* Admin orders tab */
.admin-orders-list { width: 100%; font-size: 13px; border-collapse: collapse; }
.admin-orders-list th, .admin-orders-list td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-orders-list th { font-weight: 600; font-size: 12px; color: var(--brown-mid); }
.admin-order-status {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 500;
}
.admin-order-status--confirmed { background: #d4edda; color: #155724; }
.admin-order-status--fulfilled { background: #cce5ff; color: #004085; }
.admin-order-status--refunded { background: #f8d7da; color: #721c24; }
.admin-order-status--canceled { background: #f8d7da; color: #721c24; }
.admin-order-status--partially_refunded { background: #fff3cd; color: #856404; }

/* Responsive */
@media (max-width: 768px) {
  .order-layout { grid-template-columns: 1fr; }

  .order-cart {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-height: 70vh; max-height: 70dvh; /* dvh excludes iOS Safari address bar */
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: env(safe-area-inset-bottom, 0); /* home indicator on notch iPhones */
    transform: translateY(100%); transition: transform 0.3s ease;
    z-index: 100; box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  }
  .order-cart--open { transform: translateY(0); }

  /* On mobile the location picker lives inside the cart drawer (single popup). */
  .order-mobile-location-bar { display: none !important; }

  .order-mobile-cart-btn { display: block; bottom: calc(16px + env(safe-area-inset-bottom, 0)); }
  #section-menu { padding-bottom: 80px; }

  .order-items-grid { gap: 10px; }
  .order-items-subgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  /* Tighter info block so the 3-col cards stay readable on a ~110px card */
  .order-item-info { padding: 8px 8px 0; }
  .order-item-name { font-size: 12px; line-height: 1.25; }
  .order-item-desc { font-size: 11px; margin-bottom: 4px; }
  .order-item-price { font-size: 12px; }
  .order-item-add { margin: 6px 8px 8px; font-size: 12px; padding: 6px 8px; }

  .order-location-grid { grid-template-columns: 1fr; }

  /* Reveal the reparented edit blocks on Review & Pay. */
  .order-checkout-mobile-extras { display: block; }

  /* Reparented sections lose their natural in-drawer context. Give them
     a card look on Review & Pay so they read as distinct fields. */
  .order-checkout-mobile-extras > .order-cart-section {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 14px 16px; margin: 14px 0 0;
  }
  .order-checkout-mobile-extras > .order-cart-section:first-child { margin-top: 0; }
}
