/* =========================================================
   Daniels Sweet Treats
   Main shared stylesheet
   ========================================================= */

:root{
  --radius: 28px;
  --navH: 58px;
  --shadow2: 0 18px 45px rgba(36, 44, 33, .18);
  --edge: rgba(255,255,255,.28);

  --bg-cream: #F6F1E8;
  --bg-glass: rgba(255,255,255,.14);

  --text-main: #2A1F1A;
  --text-soft: #4A382F;

  --sage: #6F8F72;
  --sage-deep: #58745C;
  --sage-dark: #47604A;
  --sage-light: #A8B99D;

  --accent-warm: #D9B98B;
  --border-warm: rgba(80, 61, 46, .38);
}

/* =========================================================
   Global page setup
   ========================================================= */

html,body{
  margin: 0;
  min-height: 100%;
}

body{
  min-height: 100vh;
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  background: #f6f1e8;
}

body::before{
  content: "";
  position: fixed;
  top: -6svh;
  left: 50%;
  width: 100vw;
  height: 130svh;
  transform: translateX(-50%) translateZ(0);
  will-change: transform;
  z-index: -1;
  pointer-events: none;

  background-image: url("images/background.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: auto 100%;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* DARK overlay */
  background: rgba(0, 0, 0, 0.35);
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 28px;
  box-sizing: border-box;
}

.pageWrap{
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 28px;
  box-sizing: border-box;
}

.heroInner{
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 16px 28px;
  box-sizing: border-box;
}

.heroTitle{
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
}

/* =========================================================
   Shared nav
   ========================================================= */

.nav{
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 2px solid rgba(0,0,0,.8);
  background: rgba(0,176,135,.5);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 8px 18px rgba(57, 76, 59, .22);
  margin-bottom: 16px;
}

.navLeft{
  font-weight: 900;
  font-size: 1.1rem;
  color: #FFFDF8;
  letter-spacing: .4px;
}

.navCenter,
.navRight{
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================================
   Shared buttons
   ========================================================= */

.btn{
  text-decoration: none;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFDF8;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  transition: all .18s ease;
  cursor: pointer;
}

.btn:hover{
  background: rgba(255,255,255,.16);
  box-shadow: 0 6px 16px rgba(30,40,29,.18);
  transform: translateY(-2px);
}

.btn-primary{
      background: linear-gradient(
        rgba(32,114,38,0.991),
        rgba(15,172,102,0.824)
      );
  border: 3px solid rgba(0,0,0,.8);
  color: rgba(197,255,254,0.9);
  box-shadow: 0 8px 18px rgba(57, 76, 59, .22);
  border-radius: 14;
}

.btn-primary:hover{
      background: linear-gradient(
        rgba(32,114,38,0.991),
        rgba(15,172,102,0.824)
      );
  border: 3px solid rgba(0,0,0,.8);
  color: rgba(197,255,254,0.9);
  box-shadow: 0 8px 18px rgba(57, 76, 59, .22);
  border-radius: 14;
}

.btn-secondary{
  background: linear-gradient(
    rgba(246,241,232,.92),
    rgba(238,226,206,.82)
  );
  color: #3E2F27;
  border: 1px solid rgba(80, 61, 46, .22);
  box-shadow:
    0 8px 16px rgba(43,27,20,.08),
    inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-secondary:hover{
  background: linear-gradient(
    rgba(255,255,255,.95),
    rgba(238,226,206,.94)
  );
  color: #3E2F27;
}

.btn-small{
  padding: 7px 12px;
  font-size: .85rem;
}

/* =========================================================
   Shared Java tap / glow / shine effects
   ========================================================= */

.btn,
.btn-primary,
.btn-primary2,
.btn-primary3,
.btn-primary4,
.edgeBtn{
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.btn:active,
.btn-primary:active,
.btn-primary2:active,
.btn-primary3:active,
.btn-primary4:active{
  transform: scale(.94);
  filter: brightness(.97);
}

.edgeBtn:active{
  filter: brightness(.97);
}

.btn.tapFX,
.btn-primary.tapFX,
.btn-primary2.tapFX,
.btn-primary3.tapFX,
.btn-primary4.tapFX,
.edgeBtn.tapFX{
  animation: tapBounce .35s ease !important;
  box-shadow:
    0 10px 22px rgba(57, 76, 59, .24),
    0 0 18px rgba(120,255,220,.18) !important;
}

@keyframes tapBounce{
  0%   { transform: scale(1); }
  40%  { transform: scale(.90); }
  70%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Text styling */
.disclaimerText{
  font-size: 11px;
  font-weight: 700;
  color: #212121;
  text-align: center;
  line-height: 1.4;
}

/* =========================================================
   Shared cart badge
   ========================================================= */

#cartBadge{
  display: none;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  font-weight: 1000;
  line-height: 1.2;
}

footer{
  margin-top: 10px;
  padding: 18px 18px 14px;

  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "links links"
    "brand pickup";

  align-items: center;
  gap: 10px;

  color: #121212;
  font-weight: 900;
  font-size: 14px;

  background: linear-gradient(
    rgba(0, 186, 113,.4),
    rgba(0, 102, 62,.4)
  );
  border: 2px solid rgba(0,0,0,.8);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(57, 76, 59, .22);
  backdrop-filter: blur(10px);
}

footer .footerLinks a{
  border-bottom: 0 !important;
  color: #121212;
  font-weight: 900;
  font-size: 14px;
}

footer .footerLinks{
  grid-area: links;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

footer .footerLinks p{
  margin: 0;
  max-width: 720px; /* keeps line readable on desktop */
}

.footerNav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

footer .footerLinks a,
footer .footerLinks a:link,
footer .footerLinks a:visited,
footer .footerLinks a:hover,
footer .footerLinks a:focus,
footer .footerLinks a:active{
  text-decoration: none !important;
}

footer .footerLinks a{
  border-bottom: 0 !important;
  color: #121212;
  font-weight: 900;
  font-size: 14px;
}

footer > div:nth-of-type(2){
  grid-area: brand;
  white-space: nowrap;
}

footer > div:nth-of-type(3){
  grid-area: pickup;
  justify-self: end;
  white-space: nowrap;
}

/* =========================================================
   Generic section helpers
   ========================================================= */

section{
  margin-top: 18px;
}

.sectionTitle{
  display: grid;
  justify-content: center;
  align-items: center;
  margin: 8px 0 18px;
  text-align: center;
}

.sectionTitle h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 1000;
  color: #F6F1E8;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.sectionTitle p{
  margin: 0;
  color: var(--bg-cream);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .03em;
  text-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.actions,
.actionsRow,
.policyActions{
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.actions .btn,
.actionsRow .btn,
.policyActions .btn{
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   Home page
   ========================================================= */

.homeCenter{
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.homeBadgeBox{
  width: min(560px, 100%);
  margin: 0 auto 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  overflow: hidden;
  position: relative;
}

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

/* shared homepage hero shine */
.homeBadgeBox::after{
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 32%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.18) 35%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.18) 65%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}

.homeBadgeBox.shineActive::after{
  animation: shinePass 1s ease;
}

@keyframes shinePass{
  0%{
    left: -40%;
    opacity: 0;
  }
  10%{
    opacity: 1;
  }
  100%{
    left: 120%;
    opacity: 0;
  }
}

.homeCenter > h1{
  margin: 8px auto 14px;
  max-width: 11ch;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 900;
  color: #2A1F1A;
  text-shadow: 0 2px 12px rgba(255,255,255,.18);
}

.lede{
  max-width: 680px;
  margin: 0 auto 60px;
  font-size: clamp(1.05rem, 2.4vw, 1.42rem);
  line-height: 1.45;
  font-weight: 800;
  color: #BEBDBB;
  background: linear-gradient(
    rgba(0, 186, 113,.4),
    rgba(152, 0, 186,.4)
  );
  border: 3px solid rgba(4, 59, 34,.8);
  border-radius: 14px;
  padding: 10px 2px;
  box-shadow: 0 8px 18px rgba(57, 76, 59, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.homeLinks{
  margin-top: 8px;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.homeLinks::after{
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 8px auto 0;
  background: linear-gradient(to right, transparent, #D9B98B, transparent);
  opacity: .6;
}

.homeLinks .btn{
  width: 70% !important;
  min-width: 160px;
  max-width: 95vw;
  display: inline-flex !important;
  margin: 0 auto 11px auto;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   Menu / flavors page
   ========================================================= */

.catGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

.catGrid > .catCard{
  grid-column: auto !important;
  width: 100%;
  max-width: none;
  min-width: 0;
}

.catCard{
  width: 100%;
  height: 140px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.12);
  box-shadow: var(--shadow2);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  display: block;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition: transform .18s ease, box-shadow .18s ease;
}

.catCard:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(36, 44, 33, .24);
}

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

/* =========================================================
   Product cards (fudge / cookies / cobblers / ice cream)
   ========================================================= */

.flavorCard{
  display: grid;
  grid-template-columns: 140px 1fr;
  border-radius: calc(var(--radius) - 2px);
  border: 4px solid rgba(0,0,0,.8);
  background: linear-gradient(
    rgba(246,241,232,.16),
    rgba(255,255,255,.08)
  );
  box-shadow: 0 10px 24px rgba(36, 44, 33, .14);
  overflow: hidden;
  margin-bottom: 12px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.flavorMedia{
  position: relative;
  border-right: 1px solid rgba(255,255,255,.22);
  min-height: 120px;
  background:
    radial-gradient(120px 90px at 20% 35%, rgba(217,185,139,.16), transparent 62%),
    radial-gradient(130px 100px at 85% 65%, rgba(111,143,114,.16), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}

.flavorMedia img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  opacity: .95;
}

.flavorBody{
  padding: 12px 13px;
  background: linear-gradient(
    rgba(0, 166, 155, .7),
    rgba(188, 209, 189, .6)
  );
}

.flavorTop{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.flavorName{
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 1000;
  color: #2A1F1A;
}

.flavorPrice{
  font-weight: 1000;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  color: #4A382F;
  background: rgba(255,255,255,.34);
  border: 1px solid rgba(80, 61, 46, .16);
  padding: 6px 9px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
}

.flavorDesc{
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
  color: #4A382F;
  font-weight: 700;
}

.cartRow{
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.qty{
  display: inline-flex; /* 👈 key change */
  align-items: center;
  gap: 8px; /* slightly tighter */
  padding: 4px 6px; /* less horizontal padding */
  border-radius: 999px;
  border: 1px solid rgba(80, 61, 46, .24);
  background: linear-gradient(
    rgba(0, 102, 62,.5),
    rgba(0, 102, 62,.5)
  );
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    0 10px 22px rgba(43,27,20,.10),
    inset 0 1px 0 rgba(255,255,255,.55);
	width: fit-content;
}

  .qtyBtn{
    width: 36px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(80, 61, 46, .24);
    background: linear-gradient(
      rgba(255,255,255,.2),
      rgba(246,241,232,.2)
    );
    font-weight: 1000;
    font-size: 18px;
    color: #3E2F27;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(43,27,20,.08);
  }

  .qtyBtn:hover{
    background: linear-gradient(
      rgba(255,255,255,.4),
      rgba(238,226,206,.4)
    );
  }

  .qtyInput{
    width: 42px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(80, 61, 46, .24);
    background: rgba(255,255,255,.2);
    padding: 8px 8px;
    font-weight: 1000;
    color: #3E2F27;
    box-shadow: inset 0 1px 2px rgba(43,27,20,.06);
  }

/* =========================================================
   Generic info card pages
   ========================================================= */

.cardLike,
.pageBanner,
.orderBanner,
.policyCard,
.thankBanner{
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255,255,255,.34);
  background: linear-gradient(
    rgba(246,241,232,.18),
    rgba(255,255,255,.10)
  );
  box-shadow: var(--shadow2);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

.innerPad,
.policyInner{
  padding: 22px;
  background: linear-gradient(
    rgba(214, 229, 214, .94),
    rgba(192, 212, 193, .86)
  );
}

.pageTitle{
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 38px);
  color: #2A1F1A;
}

.muted{
  margin: 0 0 14px;
  color: #4A382F;
  font-weight: 800;
  line-height: 1.5;
}

.cardLike h2{
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  color: #2A1F1A;
}

.cardLike p{
  margin: 0 0 14px;
  line-height: 1.7;
  font-weight: 750;
  color: #4A382F;
  opacity: .95;
}

details{
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid rgba(80, 61, 46, .18);
  background: linear-gradient(
    rgba(246,241,232,.72),
    rgba(238,226,206,.60)
  );
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

summary{
  cursor: pointer;
  padding: 14px;
  font-weight: 900;
  list-style: none;
  color: #2A1F1A;
}

summary::-webkit-details-marker{
  display: none;
}

details .ans{
  padding: 0 14px 14px;
  line-height: 1.55;
  color: #4A382F;
  opacity: .95;
  font-weight: 700;
}

details .ans a{
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: none;
}

details .ans a:hover{
  text-decoration: underline;
}

/* =========================================================
   How it works page
   ========================================================= */

.howSection{
  background: linear-gradient(
    rgba(214, 229, 214, .94),
    rgba(192, 212, 193, .86)
  );
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,.19);
  max-width: 680px;
  margin: 24px auto;
  padding: 26px 20px 18px 20px;
}

.howSection > h2{
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 2rem;
  letter-spacing: .02em;
  text-align: center;
  color: #2A1F1A;
}

.howSteps{
  counter-reset: stepNum;
  margin: 0;
  padding: 0;
  list-style: none;
}

.howSteps li{
  counter-increment: stepNum;
  margin-bottom: 28px;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.howSteps .stepNum{
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(
    rgba(246,241,232,.92),
    rgba(238,226,206,.80)
  );
  color: #5A4333;
  font-weight: 1000;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 3px 8px rgba(43,27,20,.08),
    inset 0 1px 0 rgba(255,255,255,.5);
  margin-top: 2px;
  border: 1px solid rgba(80, 61, 46, .18);
}

.howSteps .stepContent{
  flex: 1 1 auto;
}

.howSteps .stepContent h3{
  margin: 0 0 6px;
  font-size: 1.18em;
  color: #2A1F1A;
  font-weight: 900;
}

.howSteps .stepContent p{
  margin: 0 0 2px;
  color: #4A382F;
  font-weight: 800;
  opacity: .96;
  line-height: 1.55;
  font-size: 1.05em;
}

.howTip{
  background: linear-gradient(
    rgba(246,241,232,.78),
    rgba(238,226,206,.64)
  );
  border-radius: 14px;
  border: 1px solid rgba(80, 61, 46, .18);
  margin: 18px 0 0;
  padding: 15px 16px 14px;
  font-size: 1.05em;
  color: #563f1f;
  font-weight: 900;
  box-shadow:
    0 1px 8px rgba(223,201,166,.07),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.howTip a{
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 1000;
}

.howTip a:hover{
  text-decoration: underline;
}

/* =========================================================
   Safety / policy page
   ========================================================= */

.policyWrap{
  width: min(980px, 100%);
  margin: 22px auto 0;
}

.policyHeader h1{
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: .3px;
  color: #2A1F1A;
}

.policyHeader .sub{
  margin: 0;
  color: #4A382F;
  opacity: .92;
  font-weight: 700;
}

.policySection{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(80, 61, 46, .14);
}

.policySection h2{
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: .2px;
  color: #2A1F1A;
}

.policySection p{
  margin: 0 0 10px;
  line-height: 1.55;
  color: #4A382F;
  font-weight: 700;
}

.policySection ul{
  margin: 0;
  padding-left: 18px;
}

.policySection li{
  margin: 8px 0;
  line-height: 1.5;
  color: #4A382F;
  font-weight: 700;
}

.notice{
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(
    rgba(246,241,232,.78),
    rgba(238,226,206,.64)
  );
  border: 1px solid rgba(80, 61, 46, .18);
  box-shadow:
    0 1px 8px rgba(223,201,166,.07),
    inset 0 1px 0 rgba(255,255,255,.45);
  color: #4A382F;
  line-height: 1.5;
}

/* =========================================================
   Thank you page
   ========================================================= */

.thankBanner{
  margin-top: 26px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

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

.thankCard{
  max-width: 540px;
  margin: 22px auto;
  background: linear-gradient(
    rgba(214, 229, 214, .94),
    rgba(192, 212, 193, .86)
  );
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow2);
  border: 1px solid rgba(255,255,255,.18);
  padding: 32px 18px 18px;
  text-align: center;
}

.thankTitle{
  font-size: 2rem;
  margin: 0 0 12px;
  font-weight: 1000;
  letter-spacing: -0.01em;
  color: #2A1F1A;
}

.thankLead{
  margin: 0 0 12px;
  font-size: 1.19em;
  color: #4A382F;
  font-weight: 800;
  line-height: 1.45;
}

.thankNext{
  background: linear-gradient(
    rgba(246,241,232,.78),
    rgba(238,226,206,.64)
  );
  border-radius: 18px;
  border: 1px solid rgba(80, 61, 46, .13);
  margin: 22px 0 0;
  padding: 19px 13px 12px;
  text-align: left;
  box-shadow:
    0 1px 8px rgba(223,201,166,.07),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.thankNext h2{
  font-size: 1.17em;
  margin: 0 0 11px;
  color: #2A1F1A;
}

.thankNext ol{
  margin: 0 0 0 18px;
  padding-left: 0;
  font-size: 0.99em;
  color: #4A382F;
  font-weight: 700;
  line-height: 1.55;
}

.thankNext li{
  margin-bottom: 10px;
}

.seeHowBtn{
  display: inline-block;
  background: linear-gradient(135deg, #7F9F82, #5E7A61);
  color: #FFFDF8;
  font-weight: 900;
  border-radius: 999px;
  padding: 13px 36px;
  margin: 22px 0 0;
  font-size: 1.08em;
  box-shadow:
    0 16px 34px rgba(57, 76, 59, .22),
    0 4px 0 rgba(80,61,46,.15);
  text-decoration: none;
  transition: background .14s, color .14s, transform .14s;
  border: 2px solid rgba(80, 61, 46,.45);
}

.seeHowBtn:hover{
  background: linear-gradient(135deg, #8EAF91, #567058);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* =========================================================
   Cart page
   ========================================================= */

.cartWrap{
  max-width: 760px;
  margin: 0 auto;
}

.card{
  margin-top: 18px;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255,255,255,.34);
  background: linear-gradient(
    rgba(246,241,232,.18),
    rgba(255,255,255,.10)
  );
  box-shadow: var(--shadow2);
  overflow: hidden;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}

.inner{
  padding: 18px;
  background: linear-gradient(
    rgba(214, 229, 214, .94),
    rgba(192, 212, 193, .86)
  );
}

.sectionHead{
  margin-bottom: 14px;
}

.sectionHead h2{
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 32px);
  color: #2A1F1A;
}

.sectionHead p{
  margin: 0;
  color: #4A382F;
  font-weight: 800;
  line-height: 1.5;
}

.emptyState{
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(
    rgba(246,241,232,.78),
    rgba(238,226,206,.64)
  );
  border: 1px solid rgba(80, 61, 46, .18);
  color: #4A382F;
  font-weight: 800;
}

.cartRowItem{
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(80, 61, 46, .10);
}

.cartRowItem:last-child{
  border-bottom: 0;
}

.cartThumb{
  width: 84px;
  height: 84px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 8px 16px rgba(36, 44, 33, .10);
}

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

.cartInfo{
  min-width: 0;
}

.cartName{
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 1000;
  color: #2A1F1A;
}

.cartMeta{
  margin: 0;
  color: #4A382F;
  font-weight: 700;
  line-height: 1.45;
}

.cartControls{
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.qtyMini{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  border-radius: 999px;
  border: 1px solid rgba(80, 61, 46, .24);
  background: linear-gradient(
    rgba(246,241,232,.92),
    rgba(238,226,206,.80)
  );
}

.qtyMini button{
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(80, 61, 46, .24);
  background: linear-gradient(
    rgba(255,255,255,.78),
    rgba(246,241,232,.92)
  );
  font-weight: 1000;
  font-size: 16px;
  color: #3E2F27;
  cursor: pointer;
}

.qtyMini input{
  width: 38px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(80, 61, 46, .24);
  background: rgba(255,255,255,.70);
  padding: 6px 4px;
  font-weight: 1000;
  color: #3E2F27;
}

.removeMini{
  background: transparent;
  border: 0;
  color: #6D5145;
  font-weight: 900;
  cursor: pointer;
  text-decoration: underline;
}

.totalsRow{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(80, 61, 46, .12);
  color: #2A1F1A;
  font-weight: 1000;
}

/* =========================================================
   Checkout page
   ========================================================= */

#checkoutCartReview ol{
  margin: 0;
  padding-left: 18px;
}

.field{
  margin-top: 14px;
}

.field label{
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
  color: #2A1F1A;
}

input[type="text"],
input[type="tel"],
textarea{
  width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(80, 61, 46, .22);
  background: rgba(255,255,255,.70);
  color: #2A1F1A;
  padding: 13px 14px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(43,27,20,.05);
}

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

.hint{
  margin-top: 6px;
  color: #5A473E;
  font-size: .95rem;
  font-weight: 700;
}

.checkRow{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}

.checkRow input[type="checkbox"]{
  margin-top: 3px;
  accent-color: #5E7A61;
}

.checkRow p{
  margin: 0;
  line-height: 1.5;
  color: #4A382F;
  font-weight: 700;
}

.edgeBtn{
  position:relative;
  z-index:2;
  width:100%;
  max-width:100%;
  min-width:0;
  min-height:34px;
  padding:6px 8px;
  font-size:.85rem;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:3px solid rgb(0,0,0);
  background:linear-gradient(rgba(0,185,161,0.831), rgba(0,137,207,0.804));
  color:#121212;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  white-space:nowrap;
  -webkit-tap-highlight-color:transparent;
  transition:filter .18s ease, box-shadow .18s ease, transform .18s ease;
  box-sizing:border-box;
}

.edgeBtnLeft,
.edgeBtnCenter,
.edgeBtnRight{
  justify-self:stretch;
  padding:26px 20px;
}

.edgeBtn:hover{
  filter:brightness(1.08);
  box-shadow:0 6px 14px rgba(0,0,0,.22), 0 0 10px rgba(120,255,220,.14);
}

.edgeBtn:active{
  transform:scale(.96);
  filter:brightness(.98);
}

.edgeBtn #cartBadge{
  display:none;
  min-width:17px;
  min-height:17px;
  align-items:center;
  justify-content:center;
  padding:1px 5px;
  margin-left:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(0,0,0,.66);
  color:#fff;
  font-size:.68rem;
  line-height:1;
  font-weight:1000;
  flex:0 0 auto;
}

@media (max-width:520px){
  .edgeNav{
    height:54px;
    padding:0 8px;
    gap:7px;
  }

  .heroInner{
    padding-top:66px;
  }

  .edgeBtn{
    min-height:32px;
    padding:10px 16px;
    font-size:.95rem;
  }
}

@media (prefers-reduced-motion:reduce){
  .edgeBtn{
    transition:none;
  }
}

@media (hover:none), (pointer:coarse){
  .edgeBtn:hover,
  .btn-primary2:hover,
  .btn-primary3:hover,
  .catCard:hover{
    transform:none;
    filter:none;
    box-shadow:none;
  }
}

/* Clean top navbar */
.heroInner{
  padding-top:68px;
}

.edgeNav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:65px;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  gap:8px;
  padding:0 10px;
  z-index:1000;
}

.edgeNavBar{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,163,86,.54), rgba(76,179,255,.60));
  border-bottom:4px solid rgba(0,0,0,.78);
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  backdrop-filter:blur(10px) saturate(155%);
  -webkit-backdrop-filter:blur(10px) saturate(155%);
}


/* Shared nav tap bounce override */
.edgeBtn.tapFX{
  animation: tapBounce .35s ease !important;
  transform-origin:center center;
}

/* =========================================================
   Shared banner images
   ========================================================= */

.pageBanner{
  margin-top: 18px;
  position: relative;
}

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

.orderBanner{
  margin-top: 18px;
}

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

/* =========================================================
   Responsive tweaks
   ========================================================= */

@media (max-width: 860px){
  .catCard img{
    height: 140px;
  }
}

@media (max-width: 760px){
  .pageBanner img{
    height: 190px;
  }

  .orderBanner img{
    height: 130px;
  }
}

@media (max-width: 700px){
  .flavorCard{
    grid-template-columns: 110px 1fr;
    margin-bottom: 10px;
    border-radius: 16px;
  }

  .flavorMedia{
    min-height: 100px;
  }

  .flavorBody{
    padding: 10px 11px;
  }

  .flavorTop{
    gap: 6px;
    margin-bottom: 5px;
  }

  .flavorName{
    font-size: 15px;
  }

  .flavorPrice{
    font-size: 12px;
    padding: 5px 8px;
  }

  .flavorDesc{
    font-size: 13px;
    line-height: 1.35;
  }
}

@media (max-width: 640px){
  .homeCenter > h1{
    max-width: 12ch;
  }

  .homeLinks .btn{
    width: 86% !important;
  }

  .lede{
    font-size: 1rem;
    padding: 13px 14px;
  }
}

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

  .flavorMedia{
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.28);
  }

  .cartRow{
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .cartRow .btn{
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px){
  .thankBanner img{
    height: 96px;
  }

  .thankTitle{
    font-size: 1.27rem;
  }

  .thankCard{
    padding: 18px 5vw 13px;
  }

  .thankLead{
    font-size: 1.05em;
  }

  .thankNext h2{
    font-size: 1em;
  }

  .cartWrap{
    max-width: 100%;
    padding: 0 7px;
  }

  .actionsRow{
    flex-direction: column;
    align-items: stretch;
  }

  .actionsRow .btn{
    width: 100%;
    justify-content: center;
  }

  textarea{
    min-height: 110px;
  }

  .orderBanner img{
    height: 110px;
  }
}

@media (max-width: 560px){
  .cartRowItem{
    grid-template-columns: 64px 1fr;
    gap: 10px;
  }

  .cartThumb{
    width: 64px;
    height: 64px;
  }

  .cartControls{
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  .qtyMini{
    margin-top: 4px;
  }

  .removeMini{
    padding-left: 2px;
  }
}

@media (max-width: 480px){
  .flavorCard{
    grid-template-columns: 92px 1fr;
  }

  .flavorMedia{
    min-height: 88px;
  }

  .flavorBody{
    padding: 9px 10px;
  }

  .flavorName{
    font-size: 14px;
  }

  .flavorPrice{
    font-size: 11px;
    padding: 5px 7px;
  }

  .flavorDesc{
    font-size: 12.5px;
  }
}

/* =========================================================
   Desktop / PC monitor upgrades
   Keeps mobile design the same
   ========================================================= */

@media (min-width: 900px){

  body::before{
    background-size: cover;
    background-position: center top;
  }

  .wrap,
  .pageWrap{
    max-width: 1180px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .heroInner{
    max-width: 980px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .homeCenter{
    max-width: 980px;
  }

  .homeBadgeBox{
    width: min(760px, 100%);
  }

  .homeBadgeBox img{
    height: 260px;
  }

  .homeCenter > h1{
    max-width: 14ch;
    font-size: clamp(3.4rem, 4vw, 5.2rem);
  }

  .lede{
    max-width: 760px;
    font-size: 1.25rem;
    padding: 16px 24px;
    margin-bottom: 38px;
  }

  .homeLinks{
    width: min(620px, 100%);
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .homeLinks .btn{
    width: auto !important;
    min-width: 180px;
  }

  .catGrid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .catCard{
    height: 210px;
  }

  .flavorCard{
    grid-template-columns: 220px 1fr;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 18px;
  }

  .flavorMedia{
    min-height: 190px;
  }

  .flavorBody{
    padding: 20px 22px;
  }

  .flavorName{
    font-size: 1.35rem;
  }

  .flavorDesc{
    font-size: 1rem;
    line-height: 1.55;
  }

  .pageBanner img{
    height: 330px;
  }

  .orderBanner img{
    height: 260px;
  }

  .thankBanner{
    max-width: 620px;
  }

  .thankBanner img{
    height: 220px;
  }

  .thankCard,
  .cartWrap,
  .howSection{
    max-width: 820px;
  }

  footer{
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1250px){

  .wrap,
  .pageWrap{
    max-width: 1320px;
  }

  .catGrid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catCard{
    height: 230px;
  }

  .homeBadgeBox{
    width: min(860px, 100%);
  }

  .homeBadgeBox img{
    height: 300px;
  }
}

@media (min-width: 900px){

  footer{
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "pickup"
      "links";
    text-align: center;
  }

  footer .footerLinks{
    margin-top: 8px;
    justify-content: center;
  }

  footer > div:nth-of-type(2){ /* brand */
    justify-self: center;
  }

  footer > div:nth-of-type(3){ /* pickup */
    justify-self: center;
  }
}