/* Ember Crust Pizza Co. — demo sample website styles.
   ALL colours are defined once in :root and reused via var(--name). */

:root {
  --tomato: #C1272D;
  --tomato-dark: #8E1B20;
  --tomato-soft: rgba(193, 39, 45, .08);
  --ember: #E8632B;
  --ember-soft: rgba(232, 99, 43, .14);
  --crust: #F2A93B;
  --crust-soft: rgba(242, 169, 59, .25);
  --cream: #FFF6E8;
  --paper: #FFFDF8;
  --sand: #F3E3C3;
  --charcoal: #26211C;
  --charcoal-soft: #4A4238;
  --ink-soft: #6B6156;
  --basil: #3E7C4F;
  --basil-dark: #2C5A39;
  --white: #FFFFFF;
  --shadow: rgba(38, 33, 28, .14);
  --shadow-strong: rgba(38, 33, 28, .26);
  --glow: rgba(232, 99, 43, .38);
  --font-head: "Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
}

img { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 .5em;
  color: var(--charcoal);
}

p { margin: 0 0 1em; }

a { color: var(--tomato); }

a:hover { color: var(--tomato-dark); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; }

.section-cream { background: var(--cream); }

.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}

.section-dark h2, .section-dark h3 { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: .6rem;
}

.section-dark .eyebrow { color: var(--crust); }

.hero .eyebrow { color: var(--crust); }

.lead { font-size: 1.2rem; color: var(--charcoal-soft); }

.section-dark .lead { color: var(--sand); }

.center { text-align: center; }

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

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  background: var(--tomato);
  border: 2px solid var(--tomato);
  border-radius: 999px;
  padding: .8rem 1.9rem;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--tomato-dark);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.btn:hover {
  color: var(--white);
  background: var(--ember);
  border-color: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--tomato-dark);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--tomato-dark);
}

.btn-gold {
  background: var(--crust);
  border-color: var(--crust);
  color: var(--charcoal);
  box-shadow: 0 4px 0 var(--ember);
}

.btn-gold:hover {
  background: var(--crust);
  border-color: var(--crust);
  color: var(--charcoal);
  box-shadow: 0 6px 0 var(--ember);
}

.btn-cream {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--tomato-dark);
  box-shadow: 0 4px 0 var(--sand);
}

.btn-cream:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--tomato-dark);
  box-shadow: 0 6px 0 var(--sand);
}

.btn-outline {
  background: transparent;
  color: var(--tomato);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--tomato-soft);
  color: var(--tomato-dark);
  border-color: var(--tomato);
  box-shadow: none;
}

.btn-small { padding: .55rem 1.3rem; font-size: .95rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--tomato);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--charcoal);
}

.logo-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  background: var(--tomato);
  color: var(--crust);
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-6deg);
}

.logo-mark svg { width: 28px; height: 28px; }

.logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1;
}

.logo-name span {
  display: block;
  font-size: .68rem;
  letter-spacing: .34em;
  color: var(--tomato);
  margin-top: .15rem;
}

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

.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--charcoal);
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: 999px;
}

.main-nav a:hover { background: var(--crust-soft); color: var(--tomato-dark); }

.main-nav a.active { background: var(--tomato); color: var(--white); }

.nav-order {
  position: relative;
  margin-left: .5rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--charcoal);
  background: var(--crust);
  border: 2px solid var(--cream);
  border-radius: 999px;
}

.cart-count:empty { display: none; }

.nav-toggle {
  display: none;
  background: var(--tomato);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: .55rem .9rem;
  cursor: pointer;
}

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

.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, var(--glow), transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 90%, var(--ember-soft), transparent 70%),
    var(--charcoal);
  color: var(--cream);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.3rem);
  font-weight: 700;
  color: var(--cream);
}

.hero h1 .highlight {
  color: var(--crust);
  text-decoration: underline wavy var(--ember);
  text-underline-offset: .18em;
}

.hero .lead { color: var(--sand); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 1.4rem; }

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--sand);
}

.hero-notes span::before {
  content: "";
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-right: .45em;
  background: var(--crust);
  border-radius: 50%;
}

.hero-visual { position: relative; }

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 220px 220px 28px 28px;
  border: 6px solid var(--crust);
  object-fit: contain;
  box-shadow: 0 24px 50px var(--shadow-strong);
}

.hero-sticker {
  position: absolute;
  left: -18px;
  bottom: 34px;
  max-width: 180px;
  padding: .9rem 1.1rem;
  background: var(--crust);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-align: center;
  border-radius: 18px;
  transform: rotate(-8deg);
  box-shadow: 0 10px 24px var(--shadow-strong);
}

.hero-sticker small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--ember);
  color: var(--white);
  overflow: hidden;
  padding: .7rem 0;
  border-top: 3px solid var(--charcoal);
  border-bottom: 3px solid var(--charcoal);
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track span { padding: 0 1.4rem; }

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

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background:
    radial-gradient(ellipse 55% 80% at 90% 10%, var(--glow), transparent 70%),
    var(--charcoal);
  color: var(--cream);
  padding: 3rem 0 2.6rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: .35rem;
}

.page-hero h1 .highlight { color: var(--crust); }

.page-hero .lead { color: var(--sand); margin-bottom: 0; }

/* ---------- Cards & grids ---------- */

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

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

.card {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 22px var(--shadow);
  display: flex;
  flex-direction: column;
}

.card-img { position: relative; }

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

.price-badge {
  position: absolute;
  right: 14px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  background: var(--tomato);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  border: 3px solid var(--white);
  transform: rotate(-6deg);
  box-shadow: 0 6px 14px var(--shadow-strong);
}

.card-body {
  padding: 1.7rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body h3 { font-size: 1.4rem; margin-bottom: .3rem; }

.card-body p { color: var(--charcoal-soft); flex: 1; }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--basil-dark);
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: .25rem .7rem;
}

.tag-hot { color: var(--tomato-dark); background: var(--tomato-soft); border-color: var(--tomato); }

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-top: auto;
}

.size-note { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  border: 4px solid var(--sand);
  box-shadow: 0 16px 34px var(--shadow);
}

.split img.arch { border-radius: 180px 180px 28px 28px; }

.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; }

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.step-num {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--tomato);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
}

.steps strong { font-family: var(--font-head); }

/* ---------- Feature strip ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 20px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto .8rem;
  display: grid;
  place-items: center;
  background: var(--crust-soft);
  color: var(--tomato);
  border-radius: 50%;
}

.feature-icon svg { width: 30px; height: 30px; }

.feature h3 { font-size: 1.15rem; margin-bottom: .25rem; }

.feature p { font-size: .95rem; color: var(--charcoal-soft); margin: 0; }

/* ---------- Menu page ---------- */

.menu-section-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 3rem 0 1.4rem;
}

.menu-section-title:first-of-type { margin-top: 0; }

.menu-section-title h2 { margin: 0; }

.menu-section-title::after {
  content: "";
  flex: 1;
  border-bottom: 3px dotted var(--crust);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2.5rem;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 2px dashed var(--sand);
}

.menu-row-info strong { font-family: var(--font-head); font-size: 1.1rem; }

.menu-row-info p { margin: 0; font-size: .92rem; color: var(--charcoal-soft); }

.menu-row-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--tomato);
  white-space: nowrap;
}

.menu-row .btn { flex: 0 0 auto; }

/* ---------- Deals ---------- */

.deal-card {
  position: relative;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 24px;
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 12px 28px var(--shadow-strong);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.deal-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  background: var(--ember-soft);
  border-radius: 50%;
}

.deal-card h3 { color: var(--crust); font-size: 1.5rem; }

.deal-card p { color: var(--sand); flex: 1; }

.deal-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.1rem;
  color: var(--white);
  margin: .4rem 0 .2rem;
}

.deal-price s {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sand);
  margin-right: .5rem;
}

.deal-ribbon {
  display: inline-block;
  align-self: flex-start;
  background: var(--tomato);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .9rem;
}

/* ---------- Build your own ---------- */

.builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.builder-panel {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 10px 26px var(--shadow);
}

.builder-panel h2 { font-size: 1.6rem; }

.option-group { margin-bottom: 1.6rem; }

.option-group legend,
.option-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: .6rem;
  padding: 0;
}

fieldset.option-group { border: none; padding: 0; }

.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }

.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill span {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 2px solid var(--sand);
  border-radius: 999px;
  padding: .55rem 1.2rem;
  cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}

.pill input:checked + span,
.pill input:focus-visible + span {
  background: var(--tomato);
  border-color: var(--tomato);
  color: var(--white);
}

.pill input:focus-visible + span { outline: 3px solid var(--crust); outline-offset: 2px; }

.chip {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--cream);
  border: 2px solid var(--sand);
  border-radius: 999px;
  padding: .5rem 1.05rem;
  cursor: pointer;
}

.chip[aria-pressed="true"] {
  background: var(--basil);
  border-color: var(--basil);
  color: var(--white);
}

.chip small { font-family: var(--font-body); font-weight: 700; opacity: .8; }

.pizza-stage {
  position: sticky;
  top: 110px;
  background: var(--charcoal);
  border-radius: 24px;
  padding: 2rem 1.5rem 1.6rem;
  text-align: center;
  color: var(--cream);
  box-shadow: 0 14px 30px var(--shadow-strong);
}

.pizza-stage h2 { color: var(--cream); }

.pizza-pie {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 1;
  margin: 1rem auto 1.2rem;
  background: var(--crust);
  border-radius: 50%;
  border: 16px solid var(--ember);
  box-shadow: 0 14px 30px var(--shadow-strong), inset 0 0 0 10px var(--tomato);
}

.topping-dot {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: none;
  box-shadow: inset 0 0 0 3px var(--shadow);
}

.topping-dot.on { display: block; }

.dot-pepperoni { background: var(--tomato-dark); }
.dot-mushroom { background: var(--sand); }
.dot-pepper { background: var(--basil); }
.dot-onion { background: var(--cream); border: 2px solid var(--sand); }
.dot-olive { background: var(--charcoal-soft); }
.dot-chicken { background: var(--ember); }
.dot-pineapple { background: var(--crust); border: 2px solid var(--ember); }
.dot-jalapeno { background: var(--basil-dark); }

.pizza-summary {
  font-size: 1rem;
  color: var(--sand);
  min-height: 3.2em;
  margin-bottom: .6rem;
}

.pizza-total {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--crust);
  margin-bottom: 1rem;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 18px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--crust-soft);
  color: var(--tomato);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .2s ease;
}

.faq-item[open ] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 1.4rem 1.2rem;
  margin: 0;
  color: var(--charcoal-soft);
}

/* ---------- Order / cart ---------- */

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
}

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

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 18px;
  padding: 1rem 1.2rem;
}

.cart-item-info { flex: 1; }

.cart-item-info strong { font-family: var(--font-head); font-size: 1.1rem; }

.cart-item-info p { margin: 0; font-size: .9rem; color: var(--charcoal-soft); }

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

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--sand);
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.qty-btn:hover { background: var(--crust-soft); border-color: var(--crust); }

.qty-num { font-family: var(--font-head); font-weight: 700; min-width: 1.4em; text-align: center; }

.cart-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--tomato);
  white-space: nowrap;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: .3rem;
}

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

.cart-empty {
  background: var(--cream);
  border: 2px dashed var(--crust);
  border-radius: 18px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cart-empty p { color: var(--charcoal-soft); }

.order-summary {
  position: sticky;
  top: 110px;
  background: var(--charcoal);
  color: var(--cream);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 14px 30px var(--shadow-strong);
}

.order-summary h2 { color: var(--cream); }

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--charcoal-soft);
  color: var(--sand);
}

.summary-row.total {
  border-bottom: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  padding-top: .9rem;
}

.summary-row.total span:last-child { color: var(--crust); }

/* ---------- Forms ---------- */

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

.form-field { margin-bottom: 1rem; }

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

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  margin-bottom: .35rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 12px;
  padding: .75rem .9rem;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--crust);
  border-color: var(--tomato);
}

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

.form-note { font-size: .9rem; color: var(--ink-soft); }

.order-summary .form-note { color: var(--sand); }

.confirmation {
  display: none;
  background: var(--cream);
  border: 3px solid var(--basil);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  text-align: center;
  margin-top: 1.5rem;
}

.confirmation.show { display: block; }

.confirmation h3 { color: var(--basil-dark); font-size: 1.6rem; }

.confirmation .ref {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--white);
  border: 2px dashed var(--basil);
  border-radius: 12px;
  padding: .5rem 1.2rem;
  margin: .8rem 0;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-card {
  background: var(--white);
  border: 2px solid var(--sand);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}

.info-card h3 { margin-bottom: .5rem; }

.hours-table { width: 100%; border-collapse: collapse; }

.hours-table td {
  padding: .45rem 0;
  border-bottom: 1px dashed var(--sand);
}

.hours-table td:last-child { text-align: right; font-weight: 700; }

.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }

.area-chip {
  background: var(--tomato-soft);
  color: var(--tomato-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  border-radius: 999px;
  padding: .4rem 1rem;
}

.map-frame {
  border: 4px solid var(--sand);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 28px var(--shadow);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* ---------- CTA band & footer ---------- */

.cta-band {
  background: var(--tomato);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: .4rem;
}

.cta-band p { color: var(--cream); font-size: 1.15rem; }

.cta-band .btn { margin-top: .6rem; }

.site-footer {
  background: var(--charcoal);
  color: var(--sand);
  padding: 2.6rem 0 2rem;
}

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

.site-footer h3 { color: var(--cream); font-size: 1.15rem; }

.footer-nav { list-style: none; margin: 0; padding: 0; }

.footer-nav li { margin-bottom: .4rem; }

.footer-nav a { color: var(--sand); text-decoration: none; }

.footer-nav a:hover { color: var(--crust); }

.footer-credit {
  border-top: 1px solid var(--charcoal-soft);
  padding-top: 1.2rem;
  text-align: center;
  font-size: .95rem;
}

.footer-credit a { color: var(--crust); font-weight: 700; }

.demo-note {
  text-align: center;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: .6rem;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px var(--shadow-strong);
  z-index: 100;
  transition: transform .3s ease;
  max-width: calc(100vw - 2rem);
  text-align: center;
}

.toast.show { transform: translate(-50%, 0); }

.toast a { color: var(--crust); }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .builder { grid-template-columns: 1fr; }
  .pizza-stage { position: static; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .3rem;
    background: var(--cream);
    border-bottom: 3px solid var(--tomato);
    padding: 1rem 1.25rem 1.25rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .7rem 1rem; }
  .nav-order { margin-left: 0; margin-top: .4rem; text-align: center; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 600px) {
  .grid-3, .grid-2, .menu-list { grid-template-columns: 1fr; }
  .section { padding: 2.8rem 0; }
  .hero { padding: 2.4rem 0 3.2rem; }
  .hero-visual img { border-radius: 160px 160px 22px 22px; border-width: 4px; }
  .hero-sticker { left: 6px; bottom: 18px; max-width: 150px; font-size: .95rem; }
  .features { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-price { margin-left: auto; }
}
