/* 41 Bagels — Southwest Florida palette */
:root {
  --ocean-deep: #0d4f6e;
  --ocean-teal: #1a8a8a;
  --ocean-light: #48cae4;
  --sky-blue: #90e0ef;
  --sand-light: #faf3e8;
  --sand-warm: #f5e6d3;
  --sand-deep: #e9dcc9;
  --coral: #e76f51;
  --coral-light: #f4a261;
  --sunset: #e9c46a;
  --palm-green: #2d6a4f;
  --palm-light: #40916c;
  --white: #fffdf9;
  --text-dark: #1a2e35;
  --text-muted: #5a6f78;
  --shadow: 0 4px 24px rgba(13, 79, 110, 0.12);
  --shadow-lg: 0 12px 40px rgba(13, 79, 110, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(165deg, var(--sand-light) 0%, var(--white) 40%, var(--sky-blue) 200%);
  min-height: 100vh;
  line-height: 1.6;
}

body.splash-active {
  overflow: hidden;
  background: #ffffff;
}

/* ── Splash screen ── */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  transition: opacity 0.7s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.splash-logo {
  height: clamp(160px, 28vw, 240px);
  width: auto;
  animation: splash-in 0.6s ease-out;
}

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

.site-content--hidden {
  opacity: 0;
  visibility: hidden;
}

.site-content--visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

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

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

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ── Header & Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 138, 138, 0.15);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-img--footer {
  height: 48px;
  /* Invert to white so it reads clearly on the dark footer background */
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(26, 138, 138, 0.1);
  color: var(--ocean-teal);
}

.nav-link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item:hover .chevron,
.nav-item.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(26, 138, 138, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  overflow: hidden;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 0.85rem 1.1rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.92rem;
  transition: background var(--transition);
}

.dropdown-link:hover {
  background: linear-gradient(90deg, rgba(244, 162, 97, 0.15), transparent);
}

.dropdown-link .cat-icon {
  font-size: 1.2rem;
}

.dropdown-link .cat-desc {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(231, 111, 81, 0.35);
  margin-left: 0.5rem;
}

.cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.45);
}

.cart-count {
  background: white;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ocean-deep);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(72, 202, 228, 0.25), transparent),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(244, 162, 97, 0.2), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(45, 106, 79, 0.12);
  color: var(--palm-green);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--ocean-deep);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-deep));
  color: white;
  box-shadow: 0 4px 16px rgba(13, 79, 110, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 79, 110, 0.35);
}

.btn-secondary {
  background: white;
  color: var(--ocean-deep);
  border: 2px solid var(--ocean-teal);
}

.btn-secondary:hover {
  background: rgba(26, 138, 138, 0.08);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bagel {
  width: clamp(220px, 36vw, 420px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(231, 111, 81, 0.25));
  animation: float 4s ease-in-out infinite;
}

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

/* ── Sections ── */
.section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* Category cards on home */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 138, 138, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.category-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
}

.category-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
  margin-bottom: 1rem;
}

.category-card-link {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.category-card-link:hover {
  color: var(--coral-light);
}

/* ── Scrolling Reviews Banner ── */
.reviews-banner {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-teal));
  padding: 2.25rem 0;
  overflow: hidden;
}

.reviews-track-wrapper {
  overflow: hidden;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: reviews-scroll 55s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  width: 360px;
  flex-shrink: 0;
  color: white;
  backdrop-filter: blur(4px);
}

.review-stars {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 0.85rem;
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ── Yesterday's Bagels Promo ── */
.promo-section {
  padding: 2.5rem 0;
  background: var(--sand-warm);
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
}

.promo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--coral-light);
  position: relative;
  overflow: hidden;
}

.promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(244,162,97,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.promo-badge {
  background: linear-gradient(135deg, var(--coral), var(--coral-light));
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
}

.promo-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.promo-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.promo-note {
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.promo-instore {
  color: var(--palm-green);
  font-size: 0.85rem;
  font-weight: 600;
}

.promo-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  flex-shrink: 0;
}

.promo-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--coral);
  line-height: 1;
}

.promo-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.promo-btn {
  margin-top: 0.5rem;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-badge {
    align-self: center;
  }

  .promo-price-block {
    align-items: center;
  }
}


/* ── Photo Gallery ── */
.gallery-section {
  background: var(--sand-light);
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 0.75rem;
}

/* First photo spans 2 columns and 2 rows — featured/hero shot */
.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* Placeholder shown when no images uploaded yet */
.gallery-placeholder {
  border-radius: var(--radius);
  border: 2px dashed var(--sand-deep);
  padding: 4rem 2rem;
  text-align: center;
}

.gallery-placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

.gallery-placeholder p {
  color: var(--text-muted);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item--featured {
    grid-column: span 1;
  }
}

/* Info strip */
.info-strip {
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-teal));
  color: white;
  padding: 2.5rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.info-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.info-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ── Menu page ── */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-hero .cat-icon-large {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ocean-deep);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

.menu-grid {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(26, 138, 138, 0.06);
  transition: box-shadow var(--transition);
}

.menu-item:hover {
  box-shadow: var(--shadow-lg);
}

.menu-item-info h3 {
  font-size: 1.1rem;
  color: var(--ocean-deep);
  margin-bottom: 0.25rem;
}

.menu-item-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.menu-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--coral);
}

.add-btn {
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, var(--palm-green), var(--palm-light));
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.add-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.35);
}

.add-btn.added {
  background: var(--sand-deep);
  color: var(--text-muted);
}

/* ── Cart & Checkout ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.cart-item-name {
  font-weight: 600;
  color: var(--ocean-deep);
}

.cart-item-price {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand-warm);
  color: var(--ocean-deep);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.qty-btn:hover {
  background: var(--sand-deep);
}

.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.remove-btn {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.25rem;
}

.remove-btn:hover {
  text-decoration: underline;
}

.cart-summary {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 90px;
  border: 1px solid rgba(26, 138, 138, 0.1);
}

.cart-summary h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ocean-deep);
  margin-bottom: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

.summary-row.total {
  border-top: 2px solid var(--sand-deep);
  margin-top: 0.75rem;
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ocean-deep);
}

.empty-cart {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-cart-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

/* Checkout form */
.checkout-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--sand-deep);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--sand-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean-teal);
  background: white;
}

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

.form-error {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 0.2rem;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(45, 106, 79, 0.08);
  border-radius: var(--radius-sm);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--ocean-deep);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: 2000;
  font-weight: 500;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  background: var(--palm-green);
}

.toast.error {
  background: #c0392b;
}

/* Order confirmation */
.confirmation {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 560px;
  margin: 2rem auto 4rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.confirmation h1 {
  font-family: var(--font-display);
  color: var(--ocean-deep);
  margin-bottom: 0.75rem;
}

.confirmation .order-id {
  font-family: monospace;
  background: var(--sand-warm);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 1rem 0;
  font-size: 1.1rem;
  color: var(--coral);
}

/* Footer */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-display);
  margin-bottom: 0.75rem;
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
}

.footer-disclaimer {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  opacity: 0.85;
}

.info-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-link:hover {
  opacity: 0.85;
}

.checkout-alt-order {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.checkout-alt-order p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Flash messages */
.flash-messages {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  width: min(480px, 90vw);
}

.flash {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

.flash.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.flash.success {
  background: #e8f5e9;
  color: var(--palm-green);
  border: 1px solid #c8e6c9;
}

/* ── Customization Modal ── */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(13, 79, 110, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: min(560px, 100%);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--sand-deep);
  flex-shrink: 0;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ocean-deep);
  margin: 0;
}

.modal-close {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--sand-warm);
  color: var(--text-dark);
}

.modal-body {
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.modal-footer {
  border-top: 1px solid var(--sand-deep);
  padding: 1rem 1.5rem;
  flex-shrink: 0;
  background: var(--sand-light);
}

.modal-price-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
}

/* Customization option groups */
.cust-group {
  margin-bottom: 1.5rem;
}

.cust-group:last-child {
  margin-bottom: 0;
}

.cust-group-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cust-required {
  color: var(--coral);
}

.cust-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cust-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background var(--transition);
}

.cust-option:hover {
  background: var(--sand-warm);
}

.cust-option input {
  accent-color: var(--ocean-teal);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.cust-price {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--coral);
  font-weight: 600;
}

/* Dozen picker */
.dozen-counter {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  background: var(--sand-light);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
}

.dozen-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dozen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.dozen-row:hover {
  background: var(--sand-warm);
}

.dozen-label {
  font-size: 0.95rem;
}

.dozen-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dozen-qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--ocean-deep);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}

.dozen-qty-btn:hover {
  background: var(--ocean-teal);
  color: white;
}

.dozen-qty {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Cart item customization line */
.cart-item-customization {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}


/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

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

  .cart-summary {
    position: static;
  }

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

  .footer-brand p {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--sand-light);
    border-radius: var(--radius-sm);
    margin-top: 0.25rem;
    display: none;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .cart-btn {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0 0;
  }

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

  .menu-item {
    grid-template-columns: 1fr;
  }

  .menu-item-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
