:root {
  --fire: #d97700;
  --ember: #e86b1a;
  --cream: #faf3e4;
  --slate: #2e3f3c;
  --forest: #6b7a5e;
  --bark: #5a3e10;
  --wheat: #e8c97a;
  --smoke: #f5edd8;
  --card-bg: #f0ede3;
  --card-featured-bg: #fdf6e8;
  --input-bg: var(--smoke);
  --input-border: rgba(46, 63, 60, 0.2);
  --body-gradient-a: rgba(217, 119, 0, 0.06);
  --body-gradient-b: rgba(46, 63, 60, 0.07);
  --qty-bg: white;
  --easter-green: #2e4a2e;
  --easter-green-light: #3a5c3a;
  --error-color: #c0392b;
  --surface-dark: #2e3f3c;
  --text-on-dark: #faf3e4;
  --text-on-light: #000;
}

[data-theme="dark"] {
  --cream: #1a2422;
  --slate: #e8e0d0;
  --forest: #9aab8a;
  --bark: #d4b878;
  --smoke: #243430;
  --card-bg: #243430;
  --card-featured-bg: #2a3228;
  --input-bg: #243430;
  --input-border: rgba(250, 243, 228, 0.15);
  --body-gradient-a: rgba(217, 119, 0, 0.04);
  --body-gradient-b: rgba(250, 243, 228, 0.03);
  --qty-bg: #1a2422;
  --easter-green: #3a5c3a;
  --easter-green-light: #4a7a4a;
  --error-color: #e57373;
  --surface-dark: #141c1a;
  --text-on-dark: #e8e0d0;
}

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

body {
  background-color: var(--cream);
  font-family: "Libre Baskerville", Georgia, serif;
  color: var(--slate);
  min-height: 100vh;
  background-image:
    radial-gradient(
      ellipse at 10% 20%,
      var(--body-gradient-a) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 90% 80%,
      var(--body-gradient-b) 0%,
      transparent 50%
    );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

header {
  background-color: var(--surface-dark);
  padding: 0;
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--fire) 0px,
    var(--fire) 18px,
    var(--ember) 18px,
    var(--ember) 36px,
    var(--wheat) 36px,
    var(--wheat) 54px
  );
}

.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.logo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--fire);
  box-shadow:
    0 0 0 3px var(--wheat),
    0 8px 32px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  background: transparent;
}

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

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

.tagline {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  color: var(--wheat);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--text-on-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 span {
  color: var(--fire);
}

.header-note {
  font-size: 0.82rem;
  color: rgba(250, 243, 228, 0.65);
  font-style: italic;
  margin-top: 8px;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  margin-top: 48px;
}

.section-label:first-child {
  margin-top: 0;
}

.section-label span {
  font-family: "Playfair Display", serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
}

.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--forest), transparent);
  opacity: 0.4;
}

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 580px) {
  .field-group {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bark);
}

label .req {
  color: var(--fire);
  margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: "Libre Baskerville", serif;
  font-size: 0.92rem;
  color: var(--slate);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(217, 119, 0, 0.15);
}

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

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232E3F3C' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

@media (max-width: 580px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

.menu-card {
  background: var(--card-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  padding: 22px 20px 18px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.menu-card:hover {
  border-color: var(--fire);
  box-shadow: 0 4px 20px rgba(217, 119, 0, 0.12);
  transform: translateY(-2px);
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fire), var(--ember));
  opacity: 0;
  transition: opacity 0.2s;
}

.menu-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 4px;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--forest);
  font-style: italic;
  margin-bottom: 14px;
  line-height: 1.5;
}

.card-price {
  display: inline-block;
  background: var(--fire);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-family: "Libre Baskerville", serif;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.qty-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bark);
  flex: 1;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--qty-bg);
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
  font-family: "Libre Baskerville", serif;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--fire);
  color: white;
}

.qty-display {
  width: 36px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate);
  font-family: "Libre Baskerville", serif;
  border-left: 1px solid var(--input-border);
  border-right: 1px solid var(--input-border);
  padding: 0 4px;
  line-height: 34px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--input-border);
}

.toggle-label {
  font-size: 0.78rem;
  color: var(--forest);
  font-style: italic;
  flex: 1;
}

.toggle-switch {
  position: relative;
  width: 42px;
  height: 22px;
  flex-shrink: 0;
}

.toggle-switch input {
  display: none;
}

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--input-border);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
}

.toggle-track::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-track {
  background: var(--fire);
}
.toggle-switch input:checked + .toggle-track::after {
  transform: translateX(20px);
}

.summary-box {
  background: var(--surface-dark);
  border-radius: 14px;
  padding: 28px 28px 24px;
  margin-top: 8px;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.summary-box::before {
  content: "🏕️";
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 2.5rem;
  opacity: 0.12;
}

.summary-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--wheat);
  letter-spacing: 0.04em;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(250, 243, 228, 0.08);
  color: rgba(250, 243, 228, 0.8);
}

.summary-empty {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(250, 243, 228, 0.4);
  text-align: center;
  padding: 8px 0;
}

.payment-note {
  background: rgba(217, 119, 0, 0.08);
  border: 1px solid rgba(217, 119, 0, 0.25);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--bark);
  line-height: 1.6;
}

.payment-note strong {
  color: var(--fire);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  justify-content: center;
}

.pay-badge {
  background: var(--smoke);
  border: 1px solid var(--input-border);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.05em;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--fire);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-row span {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.5;
}

.submit-area {
  margin-top: 36px;
  text-align: center;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--fire), var(--ember));
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(217, 119, 0, 0.35);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(217, 119, 0, 0.45);
}

.submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

#submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-sub {
  font-size: 0.78rem;
  color: var(--forest);
  font-style: italic;
  margin-top: 10px;
}

.success-screen {
  display: none;
  text-align: center;
  padding: 60px 24px;
}

.success-screen.show {
  display: block;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.success-screen h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--slate);
  margin-bottom: 12px;
}

.success-screen p {
  color: var(--forest);
  font-size: 0.95rem;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

.confirmation-summary {
  max-width: 400px;
  margin: 28px auto;
  background: var(--slate);
  color: var(--cream);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
}

.confirmation-summary h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--wheat);
}

.conf-line {
  font-size: 0.85rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(250, 243, 228, 0.1);
}

.conf-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(250, 243, 228, 0.2);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--wheat);
}

.qr-section {
  max-width: 500px;
  margin: 32px auto 0;
  text-align: center;
}

.qr-section h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.qr-section p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--slate);
  font-weight: 500;
}

.qr-codes {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto;
}

.qr-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.qr-card-link:hover .qr-card,
.qr-card-link:focus .qr-card {
  transform: scale(1.04);   /* subtle grow effect */
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.qr-card-link:focus {
  outline: none;
}

.qr-card-link:focus .qr-card {
  outline: 3px solid var(--fire);
  outline-offset: 3px;
}

.qr-card {
  background: white;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.qr-card img {
  width: 160px;
  height: auto;
  border-radius: 8px;
}

.qr-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-on-light);
}

.size-btn {
  flex: 1;
  min-width: 130px;
  background: var(--qty-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: "Libre Baskerville", serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  text-align: center;
}

.size-btn:hover {
  background: var(--fire);
  border-color: var(--fire);
  color: white;
}

.easter-banner {
  margin-top: 40px;
  background: linear-gradient(
    135deg,
    var(--easter-green),
    var(--easter-green-light)
  );
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 2px solid rgba(232, 201, 122, 0.3);
}

.easter-banner-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.easter-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.easter-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--wheat);
  line-height: 1.2;
}

.easter-subtitle {
  font-size: 0.78rem;
  color: rgba(232, 201, 122, 0.65);
  font-style: italic;
  margin-top: 3px;
}

.easter-deadline {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}

.easter-deadline-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(232, 201, 122, 0.6);
  font-weight: 700;
}

.easter-deadline-date {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fire);
}

.easter-deadline-pickup {
  font-size: 0.73rem;
  color: rgba(232, 201, 122, 0.7);
  font-style: italic;
  margin-top: 2px;
}

.easter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 8px;
}

@media (max-width: 580px) {
  .easter-grid {
    grid-template-columns: 1fr;
  }
  .easter-deadline {
    margin-left: 0;
    text-align: left;
  }
}

.easter-card {
  background: var(--card-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.easter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fire), var(--ember));
  opacity: 0;
  transition: opacity 0.2s;
}

.easter-card:hover::before {
  opacity: 1;
}

.easter-card:hover {
  border-color: var(--fire);
  box-shadow: 0 4px 20px rgba(217, 119, 0, 0.12);
  transform: translateY(-2px);
}

.easter-card-featured {
  border-color: var(--fire);
  background: var(--card-featured-bg);
  box-shadow: 0 4px 16px rgba(217, 119, 0, 0.1);
}

.easter-featured-tag {
  position: absolute;
  top: -1px;
  right: 16px;
  background: var(--fire);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
}

.easter-card-header {
  margin-bottom: 14px;
}

.easter-card-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate);
  line-height: 1.2;
}

.easter-card-serves {
  font-size: 0.8rem;
  color: var(--forest);
  font-style: italic;
  margin-top: 4px;
  margin-bottom: 10px;
}

.easter-card-price {
  display: inline-block;
  background: var(--fire);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 11px;
  border-radius: 20px;
  font-family: "Libre Baskerville", serif;
  line-height: 1.3;
}

.easter-items {
  list-style: none;
  flex: 1;
  margin-bottom: 16px;
}

.easter-items li {
  font-size: 0.8rem;
  color: var(--slate);
  padding: 4px 0;
  border-bottom: 1px dashed var(--input-border);
  line-height: 1.4;
}

.easter-items li:last-child {
  border-bottom: none;
}

.easter-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--fire), var(--ember));
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-family: "Libre Baskerville", serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  margin-top: auto;
  box-shadow: 0 2px 10px rgba(217, 119, 0, 0.2);
}

.easter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217, 119, 0, 0.35);
}

footer {
  background: var(--surface-dark);
  color: rgba(250, 243, 228, 0.45);
  text-align: center;
  padding: 20px;
  font-size: 0.75rem;
  font-style: italic;
  letter-spacing: 0.04em;
}

footer::before {
  content: "";
  display: block;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--fire) 0px,
    var(--fire) 18px,
    var(--ember) 18px,
    var(--ember) 36px,
    var(--wheat) 36px,
    var(--wheat) 54px
  );
  margin-bottom: 20px;
}

.field-error {
  font-size: 0.74rem;
  color: var(--error-color);
  margin-top: 3px;
  min-height: 1.1em;
}

input.invalid,
select.invalid {
  border-color: var(--fire) !important;
  box-shadow: 0 0 0 3px rgba(217, 119, 0, 0.2) !important;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  15% {
    transform: translateX(-8px);
  }
  30% {
    transform: translateX(8px);
  }
  45% {
    transform: translateX(-6px);
  }
  60% {
    transform: translateX(6px);
  }
  75% {
    transform: translateX(-4px);
  }
  90% {
    transform: translateX(4px);
  }
}

.shake {
  animation: shake 0.8s ease-in-out;
}

.shake span {
  color: var(--error-color);
}

/* ── THEME TOGGLE ── */
.theme-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 1.5px solid rgba(250, 243, 228, 0.25);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition:
    border-color 0.2s,
    background 0.2s;
  z-index: 10;
}

.theme-toggle:hover {
  border-color: var(--wheat);
  background: rgba(250, 243, 228, 0.1);
}

[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e8e0d0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

[data-theme="dark"] body::before {
  opacity: 0.02;
}

/* ── FORM LAYOUT (adaptive summary sidebar) ── */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  grid-template-areas:
    "top sidebar"
    "btm sidebar";
  gap: 0 40px;
  align-items: start;
}

.form-top {
  grid-area: top;
}
.form-bottom {
  grid-area: btm;
}

.summary-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 1.5rem;
}

@media (max-width: 960px) {
  .form-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "sidebar"
      "btm";
  }
  .summary-sidebar {
    position: static;
  }
  .mobile-basket-bar.has-items {
    display: flex;
  }
}

/* Mobile bottom bar */
.mobile-basket-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  padding: 14px 20px;
  border-top: 3px solid var(--fire);
  z-index: 100;
  cursor: pointer;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}

.mobile-bar-badge {
  background: var(--fire);
  color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mobile-bar-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
}

.mobile-bar-total {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--wheat);
}
