/* ============================================================
   Dezzi's Funnel Cakes — Vibrant Carnival v1
   Forked from: Template_Library/quiet-luxury-v1
   Direction confirmed: Funnel It Up structural style + Dezzi's real
   brand colors (sampled directly from client flyer, 8/13/2026)
   Reference build this fork started from: Modern Remodeling (NP-20260716-001)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Baloo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --paper:    #FCF8F9;   /* soft cream, sampled from flyer plaque bg */
  --tint:     #F4E0E8;   /* light pink section tint, for rhythm */
  --ink:      #361311;   /* warm black, sampled from flyer bold text */
  --ink-soft: #6B4442;
  --ink-faint:#9C7D7B;
  --pink:     #DD0B73;   /* PRIMARY ACCENT — sampled from Dezzi's script wordmark */
  --pink-dk:  #A6085A;   /* deeper pink for hovers / gradient end */
  --pink-tint:#FCE4EF;
  --gold:     #AA8379;   /* warm food-tone accent, sparing use only */
  --line:     rgba(54,19,17,0.12);
  --line-dark:rgba(255,255,255,0.20);

  --display: 'Pacifico', cursive;      /* script — echoes logo's cursive "Dezzi's" */
  --heading: 'Baloo 2', sans-serif;    /* rounded display for section headers/prices */
  --body:    'Inter', sans-serif;

  --max: 1180px;
}

@media (prefers-reduced-motion: no-preference){
  .reveal{opacity:0; transform:translateY(18px); transition:opacity 0.7s ease, transform 0.7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;}
:focus-visible{outline:2px solid var(--pink); outline-offset:3px;}
em{font-style:normal; color:var(--pink); font-family:var(--display);}
.hero-media em, .img-banner em, .cta-band em{color:inherit;}

h1,h2,h3{
  font-family:var(--heading);
  font-weight:700;
  margin:0 0 0.4em;
  color:var(--ink);
  letter-spacing:-0.01em;
  line-height:1.15;
}
h1{font-size:clamp(2.6rem,5.6vw,4.2rem); font-weight:800;}
h2{font-size:clamp(1.9rem,3.6vw,2.7rem); font-weight:700;}
h3{font-size:1.2rem; font-weight:600; font-family:var(--body);}
p{margin:0 0 1em;}

/* Signature script accent — use ONLY for the one bold moment per section (hero headline word, section eyebrow-style flourish) */
.script{font-family:var(--display); font-weight:400; color:var(--pink);}

.eyebrow{
  font-family:var(--body);
  font-size:0.76rem;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--pink);
  display:inline-block;
  margin-bottom:0.9em;
}

.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
.section{padding:96px 0;}
.section--tight{padding:56px 0;}
.section--tint{background:var(--tint);}

/* ---------- Wavy/scalloped section divider (carnival motif, replaces hairline rule) ---------- */
.wave-divider{
  display:block; width:100%; height:60px; margin:0;
  background:var(--paper);
}
.wave-divider--pink{background:var(--pink);}
.wave-divider--dark{background:var(--ink);}
.wave-divider svg{display:block; width:100%; height:100%;}

/* ---------- Header / nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(252,248,249,0.94);
  backdrop-filter:blur(10px);
  border-bottom:2px solid var(--pink-tint);
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px;
}
.brand{
  display:flex; align-items:center;
  text-decoration:none; color:var(--ink);
}
.brand-logo{
  height:52px; width:auto; display:block;
}
nav.primary-nav{display:flex; align-items:center; gap:32px;}
nav.primary-nav a{
  text-decoration:none; font-weight:600; font-size:0.96rem; color:var(--ink-soft);
  padding:4px 2px; border-bottom:1.5px solid transparent;
}
nav.primary-nav a:hover, nav.primary-nav a.active{color:var(--pink); border-bottom-color:var(--pink);}
/* .header-cta and .header-cart-btn are fully defined further down (Cart badge section) — kept together with the cart styles since they're logically one system now */

/* ---------- Hero slideshow (replaces video hero — stills rotate, no video engine needed) ---------- */
.hero-media{
  position:relative;
  min-height:88vh;
  display:flex; align-items:flex-end;
  background:linear-gradient(150deg,#DD0B73 0%,#6B0F52 100%);
  overflow:hidden;
  color:var(--paper);
}
.hero-slide{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:0;
  opacity:0; transition:opacity 1.2s ease;
}
.hero-slide.active{opacity:1;}
.hero-media::before{
  content:"";
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(54,19,17,0.05) 0%, rgba(54,19,17,0.25) 55%, rgba(54,19,17,0.78) 100%);
}
.hero-media .wrap{position:relative; z-index:2; padding-bottom:64px; padding-top:140px; width:100%;}
.hero-media h1{color:var(--paper); max-width:18ch; font-size:clamp(2.8rem,6.4vw,5rem);}
.hero-media .eyebrow{color:#FFD9EC;}
.hero-media .lede{color:#FCEAF2; max-width:46ch; font-size:1.15rem;}
.hero-dots{display:flex; gap:8px; margin-top:22px;}
.hero-dots button{
  width:9px; height:9px; border-radius:50%; border:none; background:rgba(255,255,255,0.4);
  cursor:pointer; padding:0;
}
.hero-dots button.active{background:var(--paper);}

.hero-actions{display:flex; gap:14px; flex-wrap:wrap; margin-top:28px;}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--body); font-weight:700; font-size:0.98rem;
  padding:15px 28px; text-decoration:none; border:1.5px solid transparent;
  cursor:pointer; border-radius:100px;
}
.btn--primary{background:var(--pink); color:var(--paper); border-color:var(--pink);}
.btn--primary:hover{background:var(--pink-dk); border-color:var(--pink-dk);}
.btn--ghost{border-color:var(--paper); color:var(--paper); background:transparent;}
.btn--ghost:hover{background:var(--paper); color:var(--pink);}
.btn--ghost-ink{border-color:var(--ink); color:var(--ink); background:transparent;}
.btn--ghost-ink:hover{background:var(--ink); color:var(--paper);}
.btn--sm{padding:9px 20px; font-size:0.82rem;}

/* Credential strip under hero */
.credential-bar{background:var(--ink); color:#E8C9D6;}
.credential-bar .wrap{
  display:flex; justify-content:center; gap:40px; flex-wrap:wrap;
  padding:20px 32px; font-family:var(--heading); font-weight:600; font-size:1rem;
}
.credential-bar .dot{color:var(--pink); font-style:normal;}

/* ---------- Image banner (interior page hero slideshow, shorter) ---------- */
.img-banner{
  position:relative; min-height:42vh;
  display:flex; align-items:flex-end;
  background:linear-gradient(150deg,#DD0B73 0%,#6B0F52 100%);
  color:var(--paper); overflow:hidden;
}
.img-banner .hero-slide{position:absolute; inset:0;}
.img-banner::before{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(54,19,17,0.10) 0%, rgba(54,19,17,0.80) 100%);
}
.img-banner .wrap{position:relative; z-index:2; padding:110px 32px 44px;}
.img-banner h1{color:var(--paper);}
.img-banner .lede{color:#FCEAF2; font-size:1.08rem;}
.img-banner .eyebrow{color:#FFD9EC;}

/* ---------- Section heading row ---------- */
.head-row{display:grid; grid-template-columns:1.3fr 1fr; gap:48px; align-items:end; margin-bottom:48px;}
.head-row p{color:var(--ink-soft); font-size:1.05rem; margin:0;}

/* ---------- Category component cards (replaces large gallery — 2-3 category blocks only) ---------- */
.tiles{display:grid; grid-template-columns:repeat(3,1fr); gap:28px;}
.tile{
  position:relative; overflow:hidden; border-radius:18px;
  aspect-ratio:4/5; background:var(--tint);
  border:3px solid var(--paper);
  box-shadow:0 8px 24px rgba(54,19,17,0.12);
}
.tile img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.7s ease;}
.tile:hover img{transform:scale(1.05);}
.tile::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(54,19,17,0) 40%, rgba(221,11,115,0.88) 100%);
}
.tile .cap{position:absolute; left:0; right:0; bottom:0; z-index:2; padding:22px 24px 24px;}
.tile .cap h3{color:var(--paper); margin-bottom:0.3em; font-family:var(--heading); font-weight:700; font-size:1.3rem;}
.tile .cap p{color:#FCEAF2; font-size:0.9rem; margin:0;}
.tile .cap .view-menu{
  display:inline-block; margin-top:10px; font-size:0.82rem; font-weight:700;
  color:var(--paper); text-decoration:underline;
}

/* Category component (Menu page — leads into pricing, per flyer's own section structure) */
.category-block{margin-bottom:64px;}
.category-header{
  display:inline-block; background:var(--pink); color:var(--paper);
  font-family:var(--heading); font-weight:700; font-size:1.3rem;
  padding:10px 28px; border-radius:100px; margin-bottom:28px;
  transform:rotate(-1deg);
}
.price-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.price-item{
  display:flex; gap:16px; align-items:center;
  background:var(--paper); border:2px solid var(--tint); border-radius:16px;
  padding:14px; box-shadow:0 4px 14px rgba(54,19,17,0.06);
}
.price-item img{width:76px; height:76px; border-radius:12px; object-fit:cover; flex:none;}
.price-item .info{flex:1;}
.price-item h4{margin:0 0 2px; font-family:var(--heading); font-weight:700; font-size:1.02rem; color:var(--ink);}
.price-item .desc{font-size:0.84rem; color:var(--ink-soft); margin:0;}
.price-item .price{font-family:var(--heading); font-weight:800; color:var(--pink); font-size:1.05rem; white-space:nowrap;}

/* ---------- Two column trust block ---------- */
.trust-grid{display:grid; grid-template-columns:0.95fr 1.05fr; gap:64px; align-items:center;}
.trust-grid .stat-row{display:flex; gap:44px; margin-top:28px;}
.stat .num{font-family:var(--display); font-weight:400; font-size:2.4rem; color:var(--pink); display:block; line-height:1;}
.stat .label{font-size:0.78rem; text-transform:uppercase; letter-spacing:0.08em; color:var(--ink-faint); font-weight:700;}
.trust-portrait{position:relative; aspect-ratio:4/5; overflow:hidden; border-radius:20px; border:4px solid var(--paper); box-shadow:0 10px 30px rgba(54,19,17,0.15);}
.trust-portrait img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}

/* ---------- Process ---------- */
.process-list{display:flex; flex-direction:column;}
.process-item{
  display:grid; grid-template-columns:110px 1fr; gap:28px;
  padding:32px 0; border-top:2px dashed var(--line);
}
.process-item:last-child{border-bottom:2px dashed var(--line);}
.process-item .step-tag{font-family:var(--display); color:var(--pink); font-size:1.6rem; padding-top:2px;}
.process-item h3{margin-bottom:0.3em;}
.process-item p{color:var(--ink-soft); margin:0; max-width:60ch;}

/* ---------- FAQ ---------- */
.faq{border-top:2px solid var(--line);}
.faq-item{border-bottom:2px solid var(--line);}
.faq-item summary{
  cursor:pointer; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  padding:24px 0; font-weight:700; font-size:1.08rem; font-family:var(--heading);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+"; font-family:var(--body); font-weight:400; color:var(--pink); font-size:1.5rem; flex:none;}
.faq-item[open] summary::after{content:"–";}
.faq-item p{color:var(--ink-soft); padding-bottom:24px; margin:0; max-width:66ch;}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--pink); color:var(--paper);
  padding:80px 0; text-align:center;
}
.cta-band h2{color:var(--paper); max-width:22ch; margin:0 auto 0.4em;}
.cta-band .eyebrow{color:#FFD9EC;}
.cta-band .btn--primary{background:var(--paper); color:var(--pink); border-color:var(--paper);}
.cta-band .btn--primary:hover{background:var(--pink-tint);}
.cta-band .btn--ghost{border-color:var(--paper); color:var(--paper);}
.cta-actions{display:flex; gap:14px; justify-content:center; margin-top:28px; flex-wrap:wrap;}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--ink); color:#E3C3CE;
  padding:56px 0 30px;
}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:32px;}
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:10px;}
.footer-brand h3{margin:0; font-family:var(--display); font-weight:400; color:var(--paper);}
.footer-logo{height:40px; width:auto; display:block;}
.footer-grid h3{color:var(--paper); font-size:0.8rem; font-family:var(--body); font-weight:700; text-transform:uppercase; letter-spacing:0.1em;}
.footer-grid a{display:block; color:#D3A9BA; text-decoration:none; font-size:0.94rem; margin-bottom:9px;}
.footer-grid a:hover{color:var(--paper);}
.footer-bottom{
  margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,0.14);
  font-size:0.8rem; color:#A97A8C;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
}

/* ---------- Cart badge (header CTA) ---------- */
.header-actions{display:flex; align-items:center; gap:10px;}
.header-cta{position:relative; font-family:var(--body); font-weight:700; font-size:0.82rem;
  color:var(--paper); text-decoration:none;
  background:var(--pink); padding:9px 18px; border-radius:100px;
  white-space:nowrap; border:1.5px solid var(--pink);}
.header-cta:hover{background:var(--pink-dk); border-color:var(--pink-dk);}

.header-cart-btn{
  position:relative; display:inline-flex; align-items:center; gap:7px;
  font-family:var(--body); font-weight:700; font-size:0.86rem;
  color:var(--ink); text-decoration:none;
  background:var(--paper); padding:10px 18px 10px 14px; border-radius:100px;
  white-space:nowrap; border:1.5px solid var(--tint);
  transition:border-color 0.15s ease, color 0.15s ease;
}
.header-cart-btn:hover{border-color:var(--pink); color:var(--pink);}
.header-cart-btn svg{width:17px; height:17px; flex:none;}

.cart-badge{
  display:none; align-items:center; justify-content:center;
  position:absolute; top:-8px; right:-8px;
  min-width:20px; height:20px; padding:0 5px;
  background:var(--ink); color:var(--paper);
  font-size:0.7rem; font-weight:800; font-family:var(--body);
  border-radius:100px; border:2px solid var(--paper);
  line-height:1;
}

/* ---------- Clickable menu items (Menu page → jumps into Order Online) ---------- */
.price-item[data-name]{
  cursor:pointer; transition:transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.price-item[data-name]:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(221,11,115,0.18);
  border-color:var(--pink);
}
.price-item[data-name]:active{transform:translateY(0);}
.price-item .tap-hint{
  font-size:0.72rem; font-weight:700; color:var(--pink); text-transform:uppercase;
  letter-spacing:0.06em; margin-top:4px; display:block;
}

/* ---------- Order page item cards: tap-to-add (no navigation, stays on page) ---------- */
.price-item--add[data-name]:active, .price-item--add.added-flash{
  background:var(--pink-tint); border-color:var(--pink);
}
.price-item--add .tap-hint{color:var(--pink);}

/* ---------- Order summary (multi-item cart) ---------- */
.order-summary-card{
  background:var(--paper); border:3px solid var(--tint); border-radius:20px;
  padding:28px; box-shadow:0 10px 30px rgba(54,19,17,0.1);
}
.order-summary-card h3{margin-top:0;}
.order-summary-header{display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:10px;}
.order-summary-header h2{margin:0;}
#orderEmptyMsg{
  color:var(--ink-faint); font-size:0.94rem; text-align:center;
  padding:24px 12px; border:2px dashed var(--line); border-radius:14px;
}
.order-line-item{
  display:grid; grid-template-columns:1fr auto auto auto; gap:14px; align-items:center;
  padding:14px 0; border-bottom:1px dashed var(--line);
}
.order-line-item .oli-info h4{margin:0 0 2px; font-family:var(--heading); font-size:0.98rem;}
.order-line-item .oli-price{font-size:0.8rem; color:var(--ink-faint);}
.oli-qty{display:flex; align-items:center; gap:8px;}
.qty-btn{
  width:26px; height:26px; border-radius:50%; border:1.5px solid var(--tint);
  background:var(--paper); color:var(--pink); font-size:1rem; font-weight:800;
  cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0; line-height:1;
}
.qty-btn:hover{background:var(--pink-tint); border-color:var(--pink);}
.qty-num{min-width:18px; text-align:center; font-weight:700; font-family:var(--heading);}
.oli-subtotal{font-family:var(--heading); font-weight:800; color:var(--pink); white-space:nowrap;}
.oli-remove{
  background:none; border:none; color:var(--ink-faint); font-size:1.3rem; line-height:1;
  cursor:pointer; padding:0 4px;
}
.oli-remove:hover{color:var(--pink);}
.order-summary-total{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:18px; margin-top:6px;
  font-family:var(--heading); font-weight:800; font-size:1.2rem; color:var(--ink);
}
.order-summary-total span:last-child{color:var(--pink);}

#yourOrderSection{scroll-margin-top:110px;}

/* ---------- Order Online page ---------- */
.order-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:56px; align-items:start;}
.order-form-card{
  background:var(--paper); border:3px solid var(--tint); border-radius:20px;
  padding:36px; box-shadow:0 10px 30px rgba(54,19,17,0.1);
}
.order-form-card h3{font-family:var(--heading);}
.field{margin-bottom:20px;}
.field label{
  display:block; font-size:0.78rem; font-weight:700;
  text-transform:uppercase; letter-spacing:0.06em; color:var(--ink-faint); margin-bottom:7px;
}
.field input, .field select, .field textarea{
  width:100%; font-family:var(--body); font-size:0.98rem;
  padding:12px 14px; border:2px solid var(--tint); background:var(--paper); color:var(--ink);
  border-radius:10px;
}
.field textarea{resize:vertical; min-height:110px;}
.order-summary{background:var(--tint); border-radius:20px; padding:28px;}
.order-summary .line{display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed var(--line); font-size:0.94rem;}
.order-summary .line.total{font-weight:800; color:var(--pink); border-bottom:none; font-size:1.1rem; padding-top:16px;}
.order-note{
  border:2px dashed var(--pink); background:var(--pink-tint); border-radius:14px;
  padding:16px 20px; font-size:0.88rem; color:var(--ink-soft); margin-top:24px;
}

/* ---------- Contact ---------- */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start;}
.contact-card{background:var(--tint); border:1px solid var(--line); padding:36px; border-radius:20px;}
.contact-info .row{display:flex; gap:16px; padding:18px 0; border-top:2px dashed var(--line);}
.contact-info .row:first-child{border-top:none;}
.contact-info .k{font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--pink); width:120px; flex:none; padding-top:2px;}
.map-box{
  margin-top:28px; height:220px; border:2px solid var(--tint); border-radius:16px; overflow:hidden;
  background:var(--tint);
  display:flex; align-items:center; justify-content:center;
  font-size:0.82rem; color:var(--ink-faint); text-align:center; padding:20px;
}

/* ---------- Mobile nav ---------- */
.mobile-menu-toggle{
  display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px;
  width:40px; height:40px; border:none; background:none; cursor:pointer; padding:0; flex:none;
}
.mobile-menu-toggle .bar{
  display:block; width:22px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform 0.25s ease, opacity 0.25s ease;
}
body.nav-open .mobile-menu-toggle .bar:nth-child(1){transform:translateY(7px) rotate(45deg);}
body.nav-open .mobile-menu-toggle .bar:nth-child(2){opacity:0;}
body.nav-open .mobile-menu-toggle .bar:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

body.nav-open{overflow:hidden;}
.mobile-nav-panel{
  position:fixed; inset:0; z-index:100;
  background:var(--paper);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:30px;
  transform:translateY(-8px); opacity:0; visibility:hidden;
  transition:transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
body.nav-open .mobile-nav-panel{
  transform:translateY(0); opacity:1; visibility:visible;
}
.mobile-nav-panel nav{display:flex; flex-direction:column; align-items:center; gap:24px;}
.mobile-nav-panel nav a{
  font-family:var(--heading); font-weight:600; font-size:1.7rem; text-decoration:none; color:var(--ink);
}
.mobile-nav-panel nav a.active{color:var(--pink);}

/* CASCADE-ORDER WARNING (carried forward from quiet-luxury-v1, learned on the
   Haus of Solace build): base .mobile-menu-toggle/.mobile-nav-panel rules
   MUST stay physically before the @media override below. Equal-specificity
   CSS rules resolve by source order, not media-query relevance — reversing
   this order silently breaks the mobile hamburger on every real phone with
   no console error and no visual clue while inspecting the media query itself. */
/* ---------- Responsive ---------- */
@media (max-width:880px){
  .trust-grid, .contact-grid, .head-row, .order-grid{grid-template-columns:1fr;}
  .tiles{grid-template-columns:repeat(2,1fr);}
  .price-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr; gap:24px;}
  .credential-bar .wrap{gap:20px; font-size:0.88rem;}
  nav.primary-nav{display:none;}
  .header-actions{display:none;}
  .mobile-menu-toggle{display:flex;}
}
@media (min-width:881px){
  .mobile-nav-panel{display:none;}
}
@media (max-width:520px){
  .tiles{grid-template-columns:1fr;}
  .process-item{grid-template-columns:1fr;}
}
