:root{
  /* Palette pulled from the Dad & I's Pies logo: cyan lettering + scarlet motorcycle */
  --cream:#f0fafc;
  --paper:#ffffff;
  --ink:#1a1a1a;
  --brown:#6e1f27;       /* deep scarlet-maroon — dark bars/sections */
  --terracotta:#b2333c;  /* scarlet — primary buttons, prices, CTAs */
  --olive:#1c8fa6;       /* deep cyan — icon circles, step numbers */
  --mustard:#3cc5db;     /* bright cyan — tags, highlights */
  --line:#cdeef3;        /* light cyan border */
  --green-ok:#1c8fa6;    /* cyan — available */
  --red-full:#b2333c;    /* scarlet — full */
}
*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}
body{
  font-family: Georgia, 'Times New Roman', serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.5;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
a{color:inherit;text-decoration:none;}
.wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
button, input, select, textarea{font-family:inherit;}

/* Top bar */
.topbar{background:var(--brown);color:var(--paper);font-size:13px;letter-spacing:.03em;}
.topbar .wrap{display:flex;justify-content:space-between;padding:8px 24px;flex-wrap:wrap;gap:4px;}

/* Header */
header{background:var(--paper);border-bottom:3px solid var(--ink);position:sticky;top:0;z-index:50;}
.nav{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;gap:28px;}
.logo{font-size:26px;font-weight:bold;display:flex;align-items:center;gap:10px;}
.logo span.mark{
  width:40px;height:40px;border-radius:50%;
  background:var(--olive);color:var(--paper);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  flex-shrink:0;
}
.mark-img{
  width:46px;height:46px;border-radius:50%;object-fit:cover;object-position:50% 40%;
  flex-shrink:0;border:2px solid var(--ink);background:#fff;
}
header .logo .mark-img{width:64px;height:64px;}
.hero-logo{
  width:150px;height:150px;object-fit:contain;display:block;margin:0 auto 22px;
  border-radius:50%;background:#fff;border:3px solid var(--ink);padding:6px;
}
.logo-frame{
  padding:22px;display:flex;align-items:center;justify-content:center;
}
.logo-frame img{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;}
.navlinks{display:flex;gap:28px;font-size:15px;margin-left:auto;}
.navlinks a{position:relative;padding-bottom:4px;}
.navlinks a:hover, .navlinks a.active{color:var(--terracotta);}
.navcta{display:flex;gap:14px;align-items:center;}
.btn{
  background:var(--terracotta);color:var(--paper);
  padding:11px 22px;border-radius:3px;font-size:14px;
  border:1px solid var(--ink);display:inline-block;cursor:pointer;
  font-family:Georgia,serif;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px -6px rgba(0,0,0,.35);}
.btn:active{transform:translateY(0);box-shadow:none;}
.btn.outline{background:transparent;color:var(--ink);}
.btn.big{padding:15px 30px;font-size:16px;}
.btn:disabled{opacity:.45;cursor:not-allowed;}
.btn:disabled:hover{transform:none;box-shadow:none;}
.btn.full{width:100%;text-align:center;}

/* Cart icon with badge */
.cart-icon{
  position:relative;display:flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:50%;background:var(--ink);flex-shrink:0;
}
.cart-icon svg{width:20px;height:20px;stroke:var(--paper);}
.cart-badge{
  position:absolute;top:-4px;right:-4px;background:var(--terracotta);color:#fff;
  font-size:11px;font-weight:bold;width:18px;height:18px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;border:2px solid var(--paper);
}

/* Hero */
.hero{
  background:
    radial-gradient(circle at 15% 20%, rgba(60,197,219,.30), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(178,51,60,.18), transparent 45%),
    var(--paper);
  border-bottom:1px solid var(--line);
  padding:70px 24px 60px;
  text-align:center;
}
.hero .tag{
  display:inline-block;background:var(--mustard);color:var(--ink);
  padding:6px 16px;border-radius:20px;font-size:13px;letter-spacing:.08em;
  text-transform:uppercase;margin-bottom:20px;font-family:Georgia,serif;
}
.hero h1{
  font-size:50px;max-width:780px;margin:0 auto 18px;font-weight:normal;
}
.hero h1 em{font-style:italic;color:var(--terracotta);}
.hero p{max-width:600px;margin:0 auto 30px;font-size:18px;color:#3f5457;}
.hero-actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;}

/* Hero v2 — split layout with badge-style logo art */
.hero-v2{text-align:left;padding:64px 24px;}
.hero-grid{
  max-width:1120px;margin:0 auto;display:grid;
  grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;
}
.hero-copy .tag{margin-bottom:22px;}
.hero-copy h1{text-align:left;margin:0 0 18px;font-size:50px;max-width:none;}
.hero-copy p{text-align:left;margin:0 0 28px;max-width:480px;}
.hero-v2 .hero-actions{justify-content:flex-start;margin-bottom:26px;}
.hero-badges{display:flex;flex-wrap:wrap;gap:10px;}
.hero-badges span{
  font-size:12.5px;background:var(--paper);border:1px solid var(--line);
  padding:7px 13px;border-radius:20px;color:var(--ink);white-space:nowrap;
}

.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:340px;}
.hero-blob{
  position:absolute;width:380px;height:380px;border-radius:50%;
  background:radial-gradient(circle, rgba(60,197,219,.38), rgba(178,51,60,.16) 60%, transparent 75%);
  filter:blur(4px);
}
.hero-logo-lg{
  position:relative;width:300px;height:300px;object-fit:contain;border-radius:50%;
  background:#fff;border:4px solid var(--ink);padding:10px;
  box-shadow:0 20px 44px -14px rgba(26,26,26,.4);
  transform:rotate(-4deg);
}

@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr;text-align:center;gap:36px;}
  .hero-copy h1, .hero-copy p{text-align:center;margin-left:auto;margin-right:auto;}
  .hero-v2 .hero-actions, .hero-badges{justify-content:center;}
  .hero-art{order:-1;min-height:260px;}
  .hero-logo-lg{width:220px;height:220px;}
  .hero-blob{width:280px;height:280px;}
}

/* Hero v4 — Diner Ticket: bakery-box card with a stamped logo on a striped ground */
.hero-v4{
  background:repeating-linear-gradient(135deg, var(--olive) 0 26px, #1a7f93 26px 52px);
  padding:70px 24px;display:flex;justify-content:center;text-align:center;
  border-bottom:none;
}
.v4-card{
  background:var(--cream);max-width:780px;width:100%;border-radius:14px;
  padding:46px;position:relative;
  border:3px solid var(--terracotta);
  box-shadow:0 24px 50px -18px rgba(0,0,0,.35), 0 0 0 6px rgba(196,108,74,.12);
  animation:fadeInUp .7s ease both;
}
.v4-est{
  font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--olive);
  margin:24px 0 14px;font-weight:bold;
}
.v4-card h1{font-size:42px;font-weight:normal;margin-bottom:16px;}
.v4-card h1 em{font-style:italic;color:var(--terracotta);}
.v4-card p{font-size:16px;color:#3f5457;max-width:540px;margin:0 auto 22px;}
.v4-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:20px;}
.v4-badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;}
.v4-badges span{
  font-size:12px;background:var(--paper);border:1px solid var(--line);
  padding:7px 13px;border-radius:20px;color:var(--ink);white-space:nowrap;
}
@media(max-width:600px){
  .v4-card{padding:36px 24px;}
  .v4-card h1{font-size:32px;}
}

/* Page header (used on inner pages) */
.pagehead{padding:56px 24px 20px;text-align:center;}
.pagehead .tag{
  display:inline-block;background:var(--mustard);color:var(--ink);
  padding:6px 16px;border-radius:20px;font-size:13px;letter-spacing:.08em;
  text-transform:uppercase;margin-bottom:16px;
}
.pagehead h1{font-size:40px;font-weight:normal;margin-bottom:10px;}
.pagehead p{color:#3f5457;font-size:16px;max-width:600px;margin:0 auto;}

/* Sections */
.section{padding:60px 24px;}
.section h2{font-size:30px;text-align:center;margin-bottom:8px;}
.section .sub{text-align:center;color:#52686b;margin-bottom:36px;font-size:15px;}

/* Feature cards (home) */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;}
.feature{
  background:var(--paper);border:1px solid var(--line);border-radius:8px;
  padding:28px 22px;text-align:center;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover{transform:translateY(-6px);box-shadow:0 16px 30px -18px rgba(26,26,26,.35);border-color:var(--mustard);}
.feature .ico{font-size:36px;margin-bottom:12px;transition:transform .22s ease;}
.feature:hover .ico{transform:scale(1.12) rotate(-4deg);}
.feature h3{font-size:18px;margin-bottom:8px;}
.feature p{font-size:14px;color:#52686b;}

/* Banner (delivery-area notice) */
.banner{
  background:var(--ink);color:var(--cream);border-radius:8px;
  padding:30px 28px;display:flex;align-items:center;gap:22px;flex-wrap:wrap;
  justify-content:space-between;
}
.banner .btext h3{color:var(--mustard);font-size:19px;margin-bottom:6px;}
.banner .btext p{font-size:14px;color:#c9dde0;max-width:520px;}

/* Banner as a spotlight column — plain block, formatted exactly like the text column beside it */
.banner-col{
  display:block;padding:0;background:transparent;color:var(--ink);border-radius:0;
}
.banner-col .btext h3{color:var(--ink);font-size:32px;font-weight:bold;text-align:left;margin-bottom:14px;}
.banner-col .btext p{max-width:none;color:#3f5457;margin-bottom:20px;}

/* Mission text block */
.mission{max-width:760px;margin:0 auto;}
.mission p{margin-bottom:16px;color:#33474a;font-size:16px;}

/* About page story — alternating editorial layout: large photo + text, zig-zagging left/right */
.story-section{max-width:900px;margin:0 auto;}
.story-lead{display:flex;align-items:center;gap:20px;margin-bottom:52px;}
.story-logo.logo-frame{
  width:86px;height:86px;flex-shrink:0;padding:10px;border-radius:50%;
  background:var(--paper);border:2px solid var(--line);
}
.story-lead h2{text-align:left;margin-bottom:4px;}
.story-lead .sub{text-align:left;margin-bottom:0;}
.story-blocks{display:flex;flex-direction:column;gap:60px;}
.story-block{
  display:flex;gap:44px;align-items:center;
}
.story-block-reverse{flex-direction:row-reverse;}
.story-block-photo{
  flex:1 1 320px;max-width:340px;aspect-ratio:3/4;border-radius:10px;overflow:hidden;flex-shrink:0;
  box-shadow:0 26px 50px -24px rgba(26,26,26,.4);
}
.story-block-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.story-block-text{flex:1 1 320px;min-width:0;}
.story-label{
  font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--olive);
  font-weight:bold;margin-bottom:14px;position:relative;padding-bottom:12px;
}
.story-label::after{
  content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;background:var(--terracotta);
}
.story-block p{color:#33474a;font-size:16px;line-height:1.8;}
.story-quote{
  position:relative;max-width:640px;margin:6px auto;padding:0 20px 0 46px;
  font-family:Georgia,serif;font-style:italic;font-size:22px;line-height:1.5;
  color:var(--terracotta);text-align:left;
}
.story-quote .qmark{
  position:absolute;left:0;top:-14px;font-size:56px;line-height:1;color:var(--terracotta);
  opacity:.35;font-family:Georgia,serif;font-style:normal;
}
@media(max-width:680px){
  .story-lead{gap:14px;}
  .story-logo.logo-frame{width:64px;height:64px;}
  .story-block, .story-block-reverse{flex-direction:column;gap:22px;}
  .story-block-photo{width:100%;flex:none;max-width:280px;margin:0 auto;}
  .story-quote{font-size:18px;padding-left:36px;}
  .story-quote .qmark{font-size:44px;}
}

/* ============ ORDER PAGE ============ */
.order-shell{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:start;padding:32px 24px 80px;max-width:1200px;margin:0 auto;width:100%;}
/* Grid items default to a content-based minimum width, which would stop the
   scrollable .tabs strip below from ever shrinking (and silently widen the
   whole page). min-width:0 lets this column shrink to the grid track and
   makes the tabs scroll internally instead. */
.order-shell > div:first-child{min-width:0;}

/* Tabs — pill row on desktop; wraps into a full 2x2 grid on mobile so every
   category stays fully visible with nothing scrolled off-screen. */
.tabs{
  display:flex;gap:10px;margin-bottom:28px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;
  padding-bottom:4px;
}
.tabs::-webkit-scrollbar{display:none;}
.tab-btn{
  flex:0 0 auto;scroll-snap-align:start;white-space:nowrap;
  background:var(--paper);border:1.5px solid var(--line);border-radius:22px;
  padding:10px 18px;font-size:14.5px;color:#52686b;
  cursor:pointer;font-family:Georgia,serif;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.tab-btn:hover{border-color:var(--mustard);}
.tab-btn.active{
  background:var(--terracotta);border-color:var(--terracotta);color:#fff;font-weight:bold;
}
@media(max-width:680px){
  .tabs{
    flex-wrap:wrap;overflow-x:visible;gap:8px;
  }
  .tab-btn{
    flex:1 1 calc(50% - 4px);white-space:nowrap;text-align:center;
    font-size:12.5px;padding:10px 6px;
  }
}
.tab-panels{position:relative;overflow:hidden;transition:height .32s ease;}
.tab-panel{
  display:none;opacity:0;transform:translateY(10px);
  transition:opacity .22s ease, transform .22s ease;
}
.tab-panel.active{opacity:1;transform:translateY(0);}
.tab-intro{font-size:13.5px;color:#52686b;max-width:760px;margin:0 0 22px;line-height:1.55;}

/* Product grid (specialty pizzas / sweet & savory pies / soup / drinks) */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;}
.card{
  background:var(--paper);border:1px solid var(--line);border-radius:8px;overflow:hidden;
  display:flex;flex-direction:column;
}
.card .img{
  aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;font-size:44px;
  background:linear-gradient(135deg,#d9f4f8,#eefcfd);overflow:hidden;position:relative;
}
.card .img img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.card .img.photo-carousel{cursor:pointer;}
.card .img.photo-carousel .carousel-photo{
  position:absolute;inset:0;opacity:0;transition:opacity .35s ease;
}
.card .img.photo-carousel .carousel-photo.active{opacity:1;}
.card .img.crust-photos .crust-photo{
  position:absolute;inset:0;opacity:0;transition:opacity .35s ease;
}
.card .img.crust-photos .crust-photo.active{opacity:1;}
.carousel-dots{
  position:absolute;bottom:9px;left:50%;transform:translateX(-50%);
  display:flex;gap:7px;z-index:2;
}
.carousel-dot{
  width:7px;height:7px;padding:0;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.55);border:1px solid rgba(0,0,0,.18);
  transition:background .2s ease,transform .2s ease;
}
.carousel-dot.active{background:#fff;transform:scale(1.2);}
.card .body{padding:16px;display:flex;flex-direction:column;flex:1;}
.card h3{font-size:17px;margin-bottom:4px;}
.card .desc{font-size:13px;color:#52686b;margin-bottom:10px;flex:1;}
.card .row-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.card .price{font-size:17px;color:var(--terracotta);font-weight:bold;}
.card select.mini{
  font-size:12px;padding:5px 6px;border:1px solid var(--line);border-radius:4px;background:var(--cream);
}
.style-toggle{display:flex;gap:6px;margin-bottom:10px;}
.style-btn{
  flex:1;padding:7px 8px;font-size:12px;border:1.5px solid var(--line);border-radius:4px;
  background:var(--cream);color:var(--ink);cursor:pointer;font-family:Georgia,serif;
  transition:background .22s ease, border-color .22s ease, color .22s ease;
}
.style-btn:hover{border-color:var(--mustard);}
.style-btn.selected{background:var(--terracotta);color:#fff;border-color:var(--terracotta);font-weight:bold;}
.addbtn{
  padding:9px 14px;background:var(--ink);color:var(--paper);border:none;border-radius:3px;
  font-family:Georgia,serif;font-size:13px;cursor:pointer;white-space:nowrap;
  transition:background .22s ease;
}
.addbtn:hover{background:var(--terracotta);}
.addbtn:disabled{background:#c7d2d3;color:#7c8a8c;cursor:not-allowed;}

/* Build-your-own step builder */
.builder{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px 0;}
.step{border-bottom:1px solid var(--line);padding:22px 24px;}
.step:last-child{border-bottom:none;}
.step-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.step-num{
  width:28px;height:28px;border-radius:50%;background:var(--olive);color:var(--paper);
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:bold;flex-shrink:0;
}
.step-head h3{font-size:17px;}
.step-head .opt{font-size:12px;color:#6f8285;margin-left:auto;}
.opt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px;}
.opt-card{
  position:relative;
  border:1.5px solid var(--line);border-radius:6px;padding:10px 12px;cursor:pointer;
  font-size:14px;display:flex;align-items:center;justify-content:center;text-align:center;
  background:var(--cream);color:var(--ink);
  transition:border-color .15s, background .15s, color .15s;
}
.opt-card:hover{border-color:var(--mustard);}
.opt-card.selected{border-color:var(--terracotta);background:var(--terracotta);color:#fff;font-weight:bold;}
.opt-card:has(input:focus-visible){outline:2px solid var(--olive);outline-offset:2px;}
.opt-card input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}
.opt-mark{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  width:17px;height:17px;margin-right:8px;border-radius:50%;font-size:10.5px;font-weight:bold;
  background:var(--paper);border:1.5px solid var(--line);color:#9aa8ab;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.opt-card.selected .opt-mark{background:#fff;border-color:#fff;color:var(--terracotta);}

.builder-total{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:20px 24px;background:var(--cream);border-top:2px solid var(--ink);
}
.builder-total .amt{font-size:22px;font-weight:bold;color:var(--terracotta);}
.builder-total .tiernote{font-size:12px;color:#52686b;}

/* Cart sidebar */
.cart-box{
  position:sticky;top:100px;background:var(--paper);border:1px solid var(--line);
  border-radius:8px;padding:22px;
}
.cart-box h3{font-size:18px;margin-bottom:4px;}
.cart-box .cart-sub{font-size:12px;color:#6f8285;margin-bottom:16px;}
.cart-empty{font-size:14px;color:#6f8285;padding:20px 0;text-align:center;}
.cart-items{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;max-height:340px;overflow-y:auto;}
.cart-item{border-bottom:1px dashed var(--line);padding-bottom:10px;}
.cart-item .ci-top{display:flex;justify-content:space-between;gap:8px;}
.cart-item .ci-name{font-size:14px;font-weight:bold;}
.cart-item .ci-price{font-size:14px;color:var(--terracotta);font-weight:bold;white-space:nowrap;}
.cart-item .ci-detail{font-size:11.5px;color:#6f8285;margin:3px 0 6px;line-height:1.4;}
.cart-item .ci-remove{font-size:11px;color:var(--red-full);cursor:pointer;background:none;border:none;padding:0;font-family:Georgia,serif;text-decoration:underline;}
.cart-totals{border-top:1px solid var(--line);padding-top:14px;font-size:14px;}
.cart-totals .tr{display:flex;justify-content:space-between;margin-bottom:6px;color:#3f5457;}
.cart-totals .tr.grand{font-weight:bold;font-size:17px;color:var(--ink);border-top:1px solid var(--line);padding-top:10px;margin-top:6px;}
.cart-note{font-size:11.5px;color:#6f8285;margin-top:10px;text-align:center;}
.place-order-hint{font-size:12px;color:#8a5a12;background:#fff3e2;border:1px solid #f0cf9a;border-radius:5px;padding:8px 10px;margin-top:10px;text-align:center;line-height:1.45;}

/* Cart body: smooth height morph + fade whenever items/totals change */
.cart-body{overflow:hidden;transition:height .3s ease;}
#cartItems{transition:opacity .25s ease;}
#sumSubtotal, #sumTotal{transition:color .4s ease;}
#sumSubtotal.flash, #sumTotal.flash{color:var(--terracotta);}

/* ============ CHECKOUT ============ */
.checkout-shell{display:grid;grid-template-columns:1fr 340px;gap:32px;align-items:start;padding:32px 24px 80px;max-width:1200px;margin:0 auto;width:100%;}
.panel{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:26px;margin-bottom:24px;}
.panel h2{font-size:19px;margin-bottom:4px;}
.panel .phint{font-size:13px;color:#52686b;margin-bottom:18px;}
.field{margin-bottom:16px;}
.field label{display:block;font-size:13px;font-weight:bold;margin-bottom:6px;}
.req{color:var(--red-full);font-weight:bold;}
.field input, .field textarea{
  width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:4px;
  background:var(--cream);font-size:14px;color:var(--ink);
}
.field textarea{resize:vertical;min-height:70px;}
.zip-note{font-size:12.5px;padding:9px 12px;border-radius:5px;margin:-6px 0 16px;line-height:1.45;}
.zip-note.warn{background:#fff3e2;color:#8a5a12;border:1px solid #f0cf9a;}
.zip-note.ok{background:#eaf6ee;color:#2e6b42;border:1px solid #bfe4cb;}
.zip-note.unknown{background:var(--cream);color:#6f8285;border:1px solid var(--line);}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;}

.day-pick{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:6px;}
.day-card{
  border:1.5px solid var(--line);border-radius:6px;padding:12px 20px;cursor:pointer;
  background:var(--cream);font-size:14px;text-align:center;flex:1;min-width:140px;
}
.day-card.selected{border-color:var(--terracotta);background:#fbe1e3;font-weight:bold;}
.day-card input{accent-color:var(--terracotta);margin-right:6px;}
.day-county{display:block;font-size:11.5px;font-weight:normal;color:#6f8285;margin-top:3px;}

.slot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:14px;}
.slot{
  border:1.5px solid var(--line);border-radius:6px;padding:11px 12px;cursor:pointer;
  background:var(--cream);font-size:13.5px;display:flex;flex-direction:column;gap:2px;
}
.slot .stime{font-weight:bold;}
.slot .sspots{font-size:11.5px;}
.slot .sspots.ok{color:var(--green-ok);}
.slot .sspots.low{color:var(--mustard);}
.slot.selected{border-color:var(--terracotta);background:#fbe1e3;}
.slot.full{opacity:.5;cursor:not-allowed;background:#f0dfe0;}
.slot.full .sspots{color:var(--red-full);}

.paybox{border:1px dashed var(--line);border-radius:6px;padding:16px;background:var(--cream);font-size:13px;color:#52686b;}
.paybox strong{color:var(--ink);}

/* Payment card field — Square's Web Payments SDK mounts its own field into #sq-card-container */
.card-field{min-height:44px;}
.card-field-loading{
  font-size:13px;color:#9aa8ab;padding:12px;border:1px solid var(--line);border-radius:4px;background:var(--cream);
}
.sq-card-error{margin-top:8px;font-size:12.5px;color:var(--red-full);}
.card-brands{display:flex;gap:5px;flex-shrink:0;}
.card-brand-icon{display:block;width:32px;height:auto;border-radius:3px;}
.paylock{display:flex;align-items:center;gap:8px;font-size:12px;color:#6f8285;margin-top:12px;}
.paylock svg{width:14px;height:14px;flex-shrink:0;color:var(--olive);}

/* Frozen / bake instructions callout */
.bake-note{
  display:flex;gap:18px;align-items:flex-start;
  background:var(--paper);border:1px solid var(--line);border-left:5px solid var(--olive);
  border-radius:8px;padding:20px 22px;margin-bottom:28px;
}
.bake-note .bico{font-size:30px;flex-shrink:0;line-height:1;}
.bake-note h3{font-size:16px;margin-bottom:6px;}
.bake-note p{font-size:13.5px;color:#52686b;margin-bottom:6px;line-height:1.5;}
.bake-note p:last-child{margin-bottom:0;}
.bake-note strong{color:var(--ink);}
.bake-note.compact{padding:16px 18px;gap:14px;margin:0 0 24px;}
.bake-note.compact .bico{font-size:24px;}
.bake-note.compact p{font-size:13px;}

.summary-box{position:sticky;top:100px;background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px;}
.summary-box h3{font-size:18px;margin-bottom:16px;}
.sum-item{display:flex;justify-content:space-between;font-size:13.5px;margin-bottom:10px;gap:8px;}
.sum-item .si-name{color:var(--ink);}
.sum-item .si-detail{display:block;font-size:11px;color:#6f8285;}
.sum-item .si-price{white-space:nowrap;font-weight:bold;color:var(--terracotta);}

/* Confirmation page */
.confirm-wrap{max-width:640px;margin:60px auto;padding:0 24px;text-align:center;flex:1;}
.confirm-check{
  width:78px;height:78px;border-radius:50%;background:var(--olive);color:var(--paper);
  font-size:38px;display:flex;align-items:center;justify-content:center;margin:0 auto 22px;
}
.confirm-wrap h1{font-size:32px;font-weight:normal;margin-bottom:10px;}
.confirm-wrap p{color:#3f5457;margin-bottom:20px;}
.confirm-card{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:24px;text-align:left;margin:26px 0;}
.confirm-card .row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14px;}
.confirm-card .row:last-child{border-bottom:none;}

/* About / spotlight */
.spotlight{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;max-width:1320px;margin:0 auto;}
.spotlight .img{
  height:320px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;font-size:70px;
}
.spotlight h2{text-align:left;font-size:32px;font-weight:bold;margin-bottom:14px;}
.spotlight p{color:#3f5457;margin-bottom:20px;}
.spotlight p + p{margin-top:-10px;}

.vision-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:10px;}
.vision-card{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:22px;transition:transform .2s ease, box-shadow .2s ease;}
.vision-card:hover{transform:translateY(-5px);box-shadow:0 16px 28px -18px rgba(26,26,26,.3);}
.vision-card .num{font-size:13px;color:var(--olive);font-weight:bold;letter-spacing:.06em;margin-bottom:8px;}
.vision-card h3{font-size:17px;margin-bottom:8px;}
.vision-card p{font-size:13.5px;color:#52686b;}

.soon-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
.soon-card{
  background:var(--paper);border:1px dashed var(--line);border-radius:8px;
  padding:26px 20px;text-align:center;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.soon-card:hover{transform:translateY(-5px);box-shadow:0 16px 28px -18px rgba(26,26,26,.25);border-color:var(--mustard);}
.soon-card .ico{font-size:30px;margin-bottom:10px;}
.soon-card h3{font-size:16px;margin-bottom:6px;}
.soon-card p{font-size:13px;color:#6f8285;}

/* Behind-the-scenes photo gallery */
.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;
}
.gallery-grid button{
  padding:0;border:none;background:none;cursor:zoom-in;border-radius:6px;overflow:hidden;
  aspect-ratio:3/4;display:block;line-height:0;
}
.gallery-grid img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .3s ease;
}
.gallery-grid button:hover img{transform:scale(1.06);}
.gallery-grid button.gallery-showall{
  background:linear-gradient(135deg,var(--olive),#1a7f93);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.gallery-showall .showall-inner{
  display:flex;flex-direction:column;align-items:center;gap:6px;color:#fff;text-align:center;padding:12px;
  line-height:normal;
}
.gallery-showall .showall-icon{font-size:24px;font-weight:bold;line-height:1.2;}
.gallery-showall .showall-label{font-size:12px;letter-spacing:.05em;text-transform:uppercase;line-height:1.3;}
.gallery-showall:hover{filter:brightness(1.08);}
.lightbox{
  position:fixed;inset:0;background:rgba(20,22,18,.92);display:flex;align-items:center;justify-content:center;
  z-index:200;padding:40px 20px;cursor:zoom-out;
}
.lightbox[hidden]{display:none;}
.lightbox img{
  max-width:100%;max-height:100%;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5);
  transition:opacity .22s ease, transform .22s ease;
}
.lightbox img.lb-out-left{opacity:0;transform:translateX(-36px) scale(.97);}
.lightbox img.lb-out-right{opacity:0;transform:translateX(36px) scale(.97);}
.lightbox img.lb-in-right{opacity:0;transform:translateX(46px) scale(.97);transition:none;}
.lightbox img.lb-in-left{opacity:0;transform:translateX(-46px) scale(.97);transition:none;}
.lightbox img.lb-in-fade{opacity:0;transform:scale(.96);transition:none;}
@media(prefers-reduced-motion: reduce){
  .lightbox img{transition:none !important;}
}
.lightbox-close{
  position:absolute;top:18px;right:22px;width:40px;height:40px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.3);color:#fff;
  font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;
}
.lightbox-close:hover{background:rgba(255,255,255,.22);}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.3);color:#fff;
  font-size:26px;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;
}
.lightbox-nav:hover{background:rgba(255,255,255,.22);}
.lightbox-prev{left:18px;}
.lightbox-next{right:18px;}
.lightbox-counter{
  position:absolute;bottom:18px;left:50%;transform:translateX(-50%);
  color:#fff;font-size:13px;letter-spacing:.04em;background:rgba(0,0,0,.35);
  padding:5px 12px;border-radius:14px;
}
@media(max-width:600px){
  .lightbox-nav{width:38px;height:38px;font-size:20px;}
  .lightbox-prev{left:8px;}
  .lightbox-next{right:8px;}
}

/* Baking process slideshow */
.bake-slideshow{
  background:var(--paper);border:1px solid var(--line);border-radius:8px;
  padding:18px 18px 20px;margin-bottom:22px;
}
.bake-slideshow h3{font-size:16px;margin-bottom:2px;}
.bake-slideshow .sub{font-size:12.5px;color:#6f8285;margin-bottom:14px;}
.bake-tabs{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:16px;}
.bake-tab-btn{
  background:var(--cream);border:1.5px solid var(--line);border-radius:16px;
  padding:6px 14px;font-size:12.5px;color:#52686b;cursor:pointer;
  font-family:Georgia,serif;white-space:nowrap;
  transition:background .2s ease, border-color .2s ease, color .2s ease;
}
.bake-tab-btn:hover{border-color:var(--mustard);}
.bake-tab-btn.active{background:var(--olive);border-color:var(--olive);color:#fff;font-weight:bold;}
@media(max-width:680px){
  .bake-tabs{gap:6px;}
  .bake-tab-btn{flex:1 1 calc(33.333% - 4px);text-align:center;font-size:11.5px;padding:7px 4px;}
}
.bake-slide-stage{
  position:relative;border-radius:8px;overflow:hidden;background:#eef4f4;
  aspect-ratio:3/4;max-width:340px;margin:0 auto;
  transition:opacity .22s ease;
}
.bake-slide-stage img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;
  transition:opacity .35s ease;
}
.bake-slide-stage img.active{opacity:1;}
/* Tab switch: stage, dots and caption fade out together, swap content
   while invisible, then fade back in — see selectTab() in order.html. */
.bake-slide-stage.tab-fading, .bake-slide-dots.tab-fading, .bake-slide-caption.tab-fading{opacity:0;}
.bake-slide-nav{
  display:flex;align-items:center;justify-content:center;gap:14px;margin-top:12px;max-width:340px;margin-left:auto;margin-right:auto;
}
.bake-slide-nav button{
  width:34px;height:34px;border-radius:50%;border:1.5px solid var(--line);background:var(--cream);
  color:var(--ink);cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center;
  transition:background .2s ease,border-color .2s ease;
}
.bake-slide-nav button:hover{border-color:var(--mustard);}
.bake-slide-dots{display:flex;gap:6px;transition:opacity .22s ease;}
.bake-slide-dots span{width:7px;height:7px;border-radius:50%;background:var(--line);transition:background .2s ease;}
.bake-slide-dots span.active{background:var(--terracotta);}
.bake-slide-caption{
  text-align:center;font-size:13px;color:#52686b;margin-top:10px;max-width:340px;margin-left:auto;margin-right:auto;
  min-height:34px;transition:opacity .22s ease;
}

.contact-card{background:var(--ink);color:var(--cream);border-radius:8px;padding:30px;display:grid;grid-template-columns:auto 1fr;gap:24px;align-items:center;}
.contact-card .avatar{
  width:70px;height:70px;border-radius:50%;background:var(--mustard);color:var(--ink);
  display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:bold;flex-shrink:0;
}
.contact-card h3{color:var(--mustard);font-size:18px;margin-bottom:4px;}
.contact-card p{font-size:14px;color:#c9dde0;margin-bottom:2px;}

/* Footer */
footer{background:var(--ink);color:var(--cream);padding:50px 24px 24px;margin-top:auto;}
.fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;margin-bottom:40px;}
footer h4{margin-bottom:14px;font-size:15px;color:var(--mustard);}
footer ul{list-style:none;font-size:14px;}
footer li{margin-bottom:8px;color:#c9dde0;}
.fbrand{display:flex;align-items:center;gap:28px;}
.fsocial{display:flex;gap:10px;margin-top:16px;}
.fsocial.vertical{flex-direction:column;margin-top:2px;}
.fsocial a{
  width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.08);border:1.5px solid #3a4d50;color:var(--cream);
  transition:background .15s, border-color .15s, transform .15s;
}
.fsocial a:hover{background:var(--terracotta);border-color:var(--terracotta);transform:translateY(-2px);}
.fsocial svg{width:17px;height:17px;fill:currentColor;}
.fbottom{border-top:1px solid #3a4d50;padding-top:20px;font-size:13px;color:#9bb0b3;text-align:center;}

@media(max-width:960px){
  .order-shell, .checkout-shell{grid-template-columns:1fr;}
  .cart-box, .summary-box{position:static;}
  .features{grid-template-columns:1fr;}
  .grid{grid-template-columns:1fr;}
  .vision-grid{grid-template-columns:1fr;}
  .soon-grid{grid-template-columns:1fr;}
  .spotlight{grid-template-columns:1fr;}
  .fgrid{grid-template-columns:1fr 1fr;}
  .fbrand{grid-column:1/-1;}
  .contact-card{grid-template-columns:1fr;text-align:center;}
  .navlinks{display:none;}
  .field-row{grid-template-columns:1fr;}
  .slot-grid{grid-template-columns:1fr;}
}

/* ---------- Animations ---------- */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(24px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes bump{
  0%{transform:scale(1);}
  35%{transform:scale(1.35);}
  60%{transform:scale(.92);}
  100%{transform:scale(1);}
}
@keyframes checkPop{
  from{opacity:0;transform:scale(.4);}
  60%{opacity:1;transform:scale(1.08);}
  to{opacity:1;transform:scale(1);}
}

/* Scroll-reveal: elements fade + rise into place as they enter the viewport */
.reveal{
  opacity:0;transform:translateY(22px);
  transition:opacity .6s ease-out, transform .6s ease-out;
}
.reveal.visible{opacity:1;transform:translateY(0);}
/* Staggered children within a revealed group */
.reveal-group.visible > *{opacity:1;transform:translateY(0);}
.reveal-group > *{
  opacity:0;transform:translateY(18px);
  transition:opacity .5s ease-out, transform .5s ease-out;
}
.reveal-group.visible > *:nth-child(1){transition-delay:.02s;}
.reveal-group.visible > *:nth-child(2){transition-delay:.10s;}
.reveal-group.visible > *:nth-child(3){transition-delay:.18s;}
.reveal-group.visible > *:nth-child(4){transition-delay:.26s;}

.cart-badge.bump{animation:bump .35s ease;}
.confirm-check{animation:checkPop .55s cubic-bezier(.34,1.56,.64,1) .15s both;}

@media(prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
  .reveal, .reveal-group > *{opacity:1;transform:none;}
}
