﻿/* ============================================
   Chirag's Bakery — Father's Day Theme
   Mobile-first responsive styles
   ============================================ */

:root {
  --color-cream: #faf7f2;
  --color-cream-dark: #f0ebe3;
  --color-walnut: #3d2c2e;
  --color-walnut-light: #5c4548;
  --color-burgundy: #8b2942;
  --color-burgundy-dark: #6e1f34;
  --color-gold: #c9a227;
  --color-gold-light: #e8c84a;
  --color-white: #ffffff;
  --color-text: #3d2c2e;
  --color-text-muted: #7a6568;
  --color-border: #e5ddd4;
  --color-error: #b83232;
  --color-success: #2d6a4f;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(61, 44, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(61, 44, 46, 0.1);
  --shadow-lg: 0 16px 48px rgba(61, 44, 46, 0.12);

  --header-height: 64px;
  --container-padding: 1.25rem;
  --section-spacing: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(139, 41, 66, 0.04) 0%, transparent 50%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-walnut);
}

.logo-icon {
  color: var(--color-gold);
  font-size: 1.2rem;
}

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

.nav-link {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  background: var(--color-cream-dark);
}

.nav-link--cta {
  background: var(--color-burgundy);
  color: var(--color-white);
}

.nav-link--cta:hover {
  background: var(--color-burgundy-dark);
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-dark));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(139, 41, 66, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(139, 41, 66, 0.4);
}

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

.btn-secondary:hover {
  border-color: var(--color-gold);
  background: var(--color-cream-dark);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(250, 247, 242, 0.3) 0%, rgba(250, 247, 242, 0.95) 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  padding-top: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-burgundy);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(139, 41, 66, 0.1));
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-walnut);
  margin-bottom: 1.25rem;
}

.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--color-burgundy);
  font-size: 0.75em;
  margin-top: 0.25rem;
}

.hero-description {
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--color-text-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 3rem;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-cue-arrow {
  font-size: 1.25rem;
  color: var(--color-gold);
}

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

/* ---- Sections ---- */

.section {
  padding: var(--section-spacing) 0;
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--color-walnut);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 28rem;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ---- Products ---- */

.products {
  background: var(--color-white);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--color-cream-dark), rgba(201, 162, 39, 0.12));
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-walnut);
  margin-bottom: 0.35rem;
}

.product-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-burgundy);
}

.product-select-btn {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-burgundy);
  background: var(--color-white);
  border: 2px solid var(--color-burgundy);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.product-select-btn:hover {
  background: var(--color-burgundy);
  color: var(--color-white);
}

.product-visual {
  position: relative;
}

.product-qty-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-burgundy);
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* ---- Order Form ---- */

.order {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.order-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label,
.form-fieldset legend {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-walnut);
  margin-bottom: 0.4rem;
}

.form-fieldset {
  border: none;
  margin-bottom: 1.25rem;
  padding: 0;
}

.form-fieldset legend {
  padding: 0;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.required {
  color: var(--color-burgundy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--color-cream);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

.form-group--nested {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.form-group--invalid input,
.form-group--invalid select,
.form-group--invalid textarea,
.form-fieldset--invalid .checkbox-grid {
  border-color: var(--color-error);
}

.form-error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--color-error);
  min-height: 1.2em;
}
/* Cart */

.cart-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-walnut);
  margin-bottom: 0.35rem;
}

.cart {
  margin-bottom: 0.75rem;
}

.cart-empty {
  padding: 1.25rem;
  text-align: center;
  background: var(--color-cream);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
}

.cart-empty p {
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.cart-empty-link {
  font-weight: 600;
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cart-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-cream);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.cart-row-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 140px;
}

.cart-row-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cart-row-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cart-row-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-row-unit {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cart-row-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-burgundy);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: rgba(139, 41, 66, 0.08);
}

.qty-value {
  min-width: 2rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.cart-row-total {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-burgundy);
  min-width: 3rem;
  text-align: right;
}

.cart-remove-btn {
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-remove-btn:hover {
  color: var(--color-error);
}

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--color-border);
}

.cart-total-label {
  font-weight: 600;
  font-size: 1rem;
}

.cart-total-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-burgundy);
}

.cart-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}

.cart-actions[hidden] {
  display: none !important;
}

.cart-action-btn {
  flex: 1;
  min-height: 44px;
  text-align: center;
  font-weight: 600;
}

#cart-add-more.cart-action-btn {
  background: var(--color-cream);
  color: var(--color-burgundy);
  border: 2px solid var(--color-burgundy);
}

#cart-add-more.cart-action-btn:hover {
  background: var(--color-cream-dark);
  border-color: var(--color-burgundy-dark);
  color: var(--color-burgundy-dark);
}

#menu,
#cart-section,
#checkout-details {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.checkout-details-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-walnut);
  margin-top: 1.75rem;
  margin-bottom: 1rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--color-border);
}

.checkout-details-fields {
  margin-top: 0;
}

.checkout-details--highlight {
  animation: highlight-pulse 1.2s ease;
  border-radius: var(--radius-sm);
}

.payment-info {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(139, 41, 66, 0.06);
  border: 1px solid rgba(139, 41, 66, 0.2);
  border-radius: var(--radius-sm);
}

.payment-info[hidden] {
  display: none !important;
}

.payment-info-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.payment-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-burgundy);
  word-break: break-all;
}

.cart-section--highlight {
  animation: highlight-pulse 1.2s ease;
}

.form-fieldset--invalid .cart {
  outline: 2px solid var(--color-error);
  border-radius: var(--radius-sm);
}

/* Sticky cart bar */

.cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -6px 24px rgba(45, 35, 32, 0.1);
  padding: 0.85rem 0;
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cart-bar[hidden] {
  display: none !important;
}

.cart-bar--at-checkout {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

body.has-cart-bar {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

.cart-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-bar-summary {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cart-bar-count {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-bar-total {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-burgundy);
  line-height: 1.1;
}

.cart-bar-cta {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 400px) {
  .cart-bar-cta {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  .cart-bar-total {
    font-size: 1.2rem;
  }
}

/* Checkbox cards */

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.checkbox-card {
  display: block;
  cursor: pointer;
}

.checkbox-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-cream);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  min-height: 48px;
}

.checkbox-card input:checked + .checkbox-card-content {
  border-color: var(--color-burgundy);
  background: rgba(139, 41, 66, 0.06);
  box-shadow: 0 0 0 1px var(--color-burgundy);
}

.checkbox-card input:focus-visible + .checkbox-card-content {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.checkbox-card--highlight .checkbox-card-content {
  animation: highlight-pulse 1.2s ease;
}

@keyframes highlight-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0); }
  50% { box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.3); }
}

.checkbox-card-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.checkbox-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.checkbox-card-name {
  font-weight: 500;
  font-size: 0.9rem;
}

.checkbox-card-price {
  font-size: 0.8rem;
  color: var(--color-burgundy);
  font-weight: 600;
}

.form-actions {
  margin-top: 1.5rem;
}

.btn-submit {
  width: 100%;
  position: relative;
}

.btn-submit--loading .btn-text {
  opacity: 0;
}

.btn-submit--loading .btn-loader {
  opacity: 1;
}

.btn-loader {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* Form messages */

.form-message {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.form-message[hidden] {
  display: none;
}

.form-message--success {
  background: rgba(45, 106, 79, 0.1);
  border: 1px solid rgba(45, 106, 79, 0.25);
  color: var(--color-success);
}

.form-message--error {
  background: rgba(184, 50, 50, 0.08);
  border: 1px solid rgba(184, 50, 50, 0.25);
  color: var(--color-error);
}

.form-message-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-weight: 700;
  border-radius: 50%;
  font-size: 0.85rem;
}

.form-message--success .form-message-icon {
  background: var(--color-success);
  color: var(--color-white);
}

.form-message--error .form-message-icon {
  background: var(--color-error);
  color: var(--color-white);
}

.form-message strong {
  display: block;
  margin-bottom: 0.2rem;
}

.form-message p {
  margin: 0;
  opacity: 0.9;
}

/* ---- Footer ---- */

.site-footer {
  padding: 2.5rem 0;
  background: var(--color-walnut);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.35rem;
}

.footer-note {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--color-gold-light);
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---- Reveal animation ---- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Tablet (768px+) ---- */

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
    --section-spacing: 5.5rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .order-form {
    padding: 2.25rem;
  }
}

/* ---- Desktop (1024px+) ---- */

@media (min-width: 1024px) {
  :root {
    --header-height: 72px;
    --section-spacing: 6.5rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .nav {
    gap: 0.75rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .product-visual {
    height: 160px;
    font-size: 4rem;
  }

  .hero-content {
    padding-top: 3rem;
  }
}

/* ---- Reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-cue {
    animation: none;
  }

  .btn:active {
    transform: none;
  }
}
