/* ============================================================
   Bone Appetreat — mock-up design system
   Artisan dog bakery: warm cream, espresso, caramel, sage.
   Fonts: Fraunces (display) + Nunito Sans (body), Google Fonts.
   ============================================================ */

:root {
  /* palette */
  --cream:        #FBF6EC;
  --cream-2:      #F4EBDB;
  --cream-3:      #EDE1CB;
  --espresso:     #33241A;
  --brown:        #5D4432;
  --brown-soft:   #8A6F5A;
  --caramel:      #C08544;
  --caramel-dark: #9C6830;
  --caramel-deep: #7C5124;
  --sage:         #7C8D6B;
  --sage-dark:    #5F7050;
  --sage-light:   #E8ECDD;
  --blush:        #E0A583;
  --blush-light:  #F6E3D4;
  --white:        #FFFDF8;
  --danger:       #A94436;

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;

  /* layout */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 8px 30px rgba(51, 36, 26, 0.08);
  --shadow-lift: 0 14px 38px rgba(51, 36, 26, 0.14);
  --header-h: 74px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--caramel-dark); text-decoration: none; }
a:hover { color: var(--caramel-deep); }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--caramel);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--espresso); color: var(--cream);
  padding: 10px 18px; z-index: 300; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--espresso);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; }

.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--cream-2); }
.section--sage { background: var(--sage-light); }
.section--dark { background: var(--espresso); color: #EFE5D6; }
.section--dark h2, .section--dark h3 { color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px;
  background: var(--sage); border-radius: 2px;
}
.section-head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--brown); font-size: 1.06rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 800; font-size: 1rem; line-height: 1;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--caramel); color: #FFF9F0;
  box-shadow: 0 6px 18px rgba(156, 104, 48, 0.28);
}
.btn--primary:hover { background: var(--caramel-dark); color: #FFF9F0; transform: translateY(-2px); }
.btn--outline { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn--outline:hover { background: var(--espresso); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--espresso); }
.btn--light:hover { background: var(--white); color: var(--espresso); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- announcement bar ---------- */
.announce {
  background: var(--espresso); color: #EFE3D0;
  font-size: 0.85rem; font-weight: 700;
  text-align: center; padding: 9px 16px;
  letter-spacing: 0.03em;
}
.announce a { color: var(--blush); }
.announce a:hover { color: #F3C7A9; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-3);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--espresso); letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo:hover { color: var(--caramel-deep); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo em { font-style: normal; color: var(--caramel-dark); }
.logo-img { height: 48px; width: auto; }
@media (max-width: 920px) { .logo-img { height: 40px; } }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; color: var(--brown);
}
.main-nav a:hover { background: var(--cream-2); color: var(--espresso); }
.main-nav a[aria-current="page"] { background: var(--espresso); color: var(--cream); }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: transparent; color: var(--espresso);
  position: relative; transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--cream-2); color: var(--caramel-deep); }
.icon-btn svg { width: 23px; height: 23px; }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--caramel); color: #FFF9F0;
  font-size: 0.72rem; font-weight: 800; line-height: 19px; text-align: center;
}
.cart-count[hidden] { display: none; }

.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 920px) {
  .main-nav {
    position: fixed; inset: 0; z-index: 200;
    background: var(--cream);
    padding: 90px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    margin-left: 0;
  }
  .main-nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.2); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { font-size: 1.25rem; padding: 13px 16px; border-radius: var(--radius); }
  .nav-toggle { display: inline-flex; z-index: 210; }
  .nav-toggle.open { position: fixed; top: 14px; right: 22px; background: var(--cream-2); }
}

/* ---------- hero ---------- */
.hero { overflow: hidden; position: relative; }
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(48px, 7vw, 92px) 0;
}
.hero-copy .eyebrow { color: var(--caramel-dark); }
.hero-copy .eyebrow::before { background: var(--caramel); }
.hero-copy h1 em {
  font-style: italic; color: var(--caramel-dark); font-weight: 600;
}
.hero-copy .lede {
  font-size: 1.15rem; color: var(--brown); max-width: 33em;
  margin-bottom: 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 700; color: var(--brown-soft);
}
.hero-note svg { width: 18px; height: 18px; color: var(--sage-dark); flex: none; }
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lift);
  transform: rotate(1.2deg);
}
.hero-media .frame img, .hero-media .frame svg { width: 100%; height: auto; }
.hero-media .frame img { aspect-ratio: 1 / 1.05; object-fit: cover; object-position: top; }
.hero-badge {
  position: absolute; bottom: -18px; left: -14px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 13px 18px;
  display: flex; align-items: center; gap: 11px;
  font-weight: 800; font-size: 0.92rem; transform: rotate(-2deg);
}
.hero-badge svg { width: 28px; height: 28px; color: var(--caramel-dark); }
.hero-badge span small { display: block; font-weight: 600; color: var(--brown-soft); }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 480px; }
  .hero-badge { left: 10px; }
}

/* ---------- trust strip ---------- */
.trust { border-block: 1px solid var(--cream-3); background: var(--white); }
.trust .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding: clamp(26px, 4vw, 42px) 0;
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .ico {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--sage-light); color: var(--sage-dark);
  display: grid; place-items: center;
}
.trust-item .ico svg { width: 25px; height: 25px; }
.trust-item h3 { font-size: 1.04rem; margin-bottom: 3px; font-family: var(--font-body); font-weight: 800; }
.trust-item p { font-size: 0.9rem; color: var(--brown-soft); margin: 0; }
@media (max-width: 900px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust .container { grid-template-columns: 1fr; } }

/* ---------- product grid & cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(18px, 2.6vw, 28px);
}
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.product-card .media { position: relative; background: var(--cream-2); }
.product-card .media a { display: block; }
.product-card .media img, .product-card .media svg { width: 100%; height: auto; aspect-ratio: 1 / 0.86; object-fit: cover; }
.product-card .tag {
  position: absolute; top: 13px; left: 13px;
  background: var(--espresso); color: var(--cream);
  border-radius: 999px; padding: 5px 12px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.product-card .tag--seasonal { background: var(--sage-dark); }
.product-card .tag--sale { background: var(--danger); }
.product-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brown-soft); margin-bottom: 5px;
}
.product-card h3 { font-size: 1.22rem; margin-bottom: 5px; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--caramel-deep); }
.product-card .desc { font-size: 0.92rem; color: var(--brown-soft); margin-bottom: 14px; flex: 1; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.price .compare { font-size: 0.9rem; color: var(--brown-soft); text-decoration: line-through; font-weight: 500; margin-left: 6px; }

/* ---------- shop layout ---------- */
.page-hero {
  background: var(--cream-2); padding: clamp(40px, 6vw, 70px) 0;
  border-bottom: 1px solid var(--cream-3);
}
.page-hero p { max-width: 620px; color: var(--brown); margin: 0; font-size: 1.08rem; }

.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 28px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  border: 1.5px solid var(--cream-3); background: var(--white);
  border-radius: 999px; padding: 9px 17px;
  font-weight: 700; font-size: 0.9rem; color: var(--brown);
  transition: all 0.14s ease;
}
.pill:hover { border-color: var(--caramel); color: var(--caramel-deep); }
.pill[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--cream); }
.shop-sort { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.shop-sort label { font-weight: 700; font-size: 0.9rem; color: var(--brown-soft); }
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  font-family: inherit; font-size: 1rem; color: var(--espresso);
  background: var(--white); border: 1.5px solid var(--cream-3);
  border-radius: 10px; padding: 11px 14px;
}
select:focus, input:focus, textarea:focus { border-color: var(--caramel); outline: none; box-shadow: 0 0 0 3px rgba(192,133,68,0.18); }
.shop-count { font-size: 0.92rem; color: var(--brown-soft); font-weight: 700; width: 100%; }
.empty-state {
  text-align: center; padding: 70px 20px; background: var(--white);
  border-radius: var(--radius-lg); color: var(--brown-soft);
}
.empty-state svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--cream-3); }

/* ---------- product detail ---------- */
.breadcrumbs { font-size: 0.88rem; color: var(--brown-soft); padding: 20px 0 0; }
.breadcrumbs a { color: var(--brown-soft); font-weight: 700; }
.breadcrumbs a:hover { color: var(--caramel-deep); }
.pdp { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(30px, 5vw, 70px); padding: clamp(28px, 4vw, 56px) 0 clamp(50px, 6vw, 80px); }
.pdp-media .main {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); background: var(--cream-2);
}
.pdp-media .main img, .pdp-media .main svg { width: 100%; height: auto; }
.pdp-info .cat { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 10px; }
.pdp-info .price { font-size: 1.7rem; margin-bottom: 18px; display: block; }
.pdp-info .desc { color: var(--brown); font-size: 1.05rem; margin-bottom: 22px; }
.pdp-opts { margin-bottom: 20px; }
.pdp-opts label { display: block; font-weight: 800; font-size: 0.92rem; margin-bottom: 8px; }
.size-btns { display: flex; flex-wrap: wrap; gap: 9px; }
.size-btn {
  border: 1.5px solid var(--cream-3); background: var(--white);
  border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 0.92rem;
}
.size-btn[aria-pressed="true"] { border-color: var(--espresso); background: var(--espresso); color: var(--cream); }
.qty-row { display: flex; gap: 13px; align-items: stretch; margin: 22px 0 14px; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--cream-3); border-radius: 999px; background: var(--white);
}
.qty button {
  width: 44px; height: 48px; border: none; background: none;
  font-size: 1.25rem; font-weight: 800; color: var(--brown);
  border-radius: 999px;
}
.qty button:hover { color: var(--caramel-deep); }
.qty input {
  width: 46px; text-align: center; border: none; background: none;
  font-weight: 800; font-size: 1.05rem; padding: 0;
}
.qty input:focus { box-shadow: none; }
.stock-note { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; color: var(--sage-dark); margin-bottom: 18px; }
.stock-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sage-dark); }
.stock-note.out { color: var(--danger); } .stock-note.out .dot { background: var(--danger); }
.pdp-meta {
  border-top: 1px solid var(--cream-3); margin-top: 26px; padding-top: 8px;
}
.pdp-meta details { border-bottom: 1px solid var(--cream-3); }
.pdp-meta summary {
  padding: 15px 0; font-weight: 800; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.pdp-meta summary::after { content: "+"; font-size: 1.3rem; color: var(--caramel-dark); transition: transform 0.18s ease; }
.pdp-meta details[open] summary::after { transform: rotate(45deg); }
.pdp-meta .meta-body { padding: 0 0 16px; color: var(--brown); font-size: 0.97rem; }
.pdp-meta .meta-body ul { margin: 0; padding-left: 20px; }
.disclaimer {
  background: var(--blush-light); border-radius: var(--radius);
  padding: 14px 18px; font-size: 0.88rem; color: var(--brown);
  margin-top: 20px;
}
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } }

/* ---------- editorial split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.split .media img, .split .media svg { width: 100%; height: auto; }
.split .media--tilt { transform: rotate(-1.4deg); }
.split ul.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.split ul.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--brown); }
.split ul.checks svg { flex: none; width: 22px; height: 22px; color: var(--sage-dark); margin-top: 2px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split .media { max-width: 520px; }
}

/* ---------- instagram ---------- */
.ig-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.ig-tile {
  border-radius: var(--radius); overflow: hidden; position: relative;
  aspect-ratio: 1; background: var(--cream-2); display: block;
}
.ig-tile svg, .ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.ig-tile:hover svg, .ig-tile:hover img { transform: scale(1.06); }
.ig-tile .ig-hover {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(51, 36, 26, 0.45); color: #fff; opacity: 0;
  transition: opacity 0.2s ease;
}
.ig-tile:hover .ig-hover, .ig-tile:focus-visible .ig-hover { opacity: 1; }
.ig-hover svg { width: 30px; height: 30px; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
}
.quote-card .stars { color: var(--caramel); display: flex; gap: 3px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--brown); flex: 1; }
.quote-card cite { font-style: normal; font-weight: 800; font-size: 0.92rem; }
.quote-card cite small { display: block; font-weight: 600; color: var(--brown-soft); }
.placeholder-flag {
  display: inline-block; background: var(--cream-2); border: 1px dashed var(--caramel);
  color: var(--caramel-deep); border-radius: 8px; padding: 3px 10px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); margin-bottom: 13px; overflow: hidden;
}
.faq-item summary {
  padding: 19px 24px; font-weight: 800; font-size: 1.04rem;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-display); font-size: 1.5rem;
  color: var(--caramel-dark); flex: none; transition: transform 0.18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--brown); }

/* ---------- big CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .inner {
  background: var(--espresso); color: #EFE5D6;
  border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(40px, 6vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--cream); max-width: 17em; margin-inline: auto; }
.cta-band p { max-width: 36em; margin: 0 auto 28px; color: #D8C9B4; }
.cta-band .paws {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
}

/* ---------- cart drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(40, 28, 19, 0.5);
  z-index: 240; opacity: 0; pointer-events: none; transition: opacity 0.22s ease;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 250;
  width: min(430px, 94vw); background: var(--cream);
  transform: translateX(102%); transition: transform 0.28s ease;
  display: flex; flex-direction: column;
  box-shadow: -18px 0 60px rgba(0,0,0,0.24);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--cream-3);
}
.cart-drawer header h2 { font-size: 1.35rem; margin: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--cream-3);
  align-items: center;
}
.cart-line .thumb { border-radius: 10px; overflow: hidden; background: var(--cream-2); }
.cart-line .thumb img, .cart-line .thumb svg { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.cart-line h4 { font-size: 0.99rem; margin: 0 0 2px; font-family: var(--font-body); font-weight: 800; }
.cart-line .variant { font-size: 0.82rem; color: var(--brown-soft); }
.cart-line .line-qty { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.cart-line .line-qty .qty button { width: 32px; height: 34px; font-size: 1.05rem; }
.cart-line .line-qty .qty input { width: 34px; font-size: 0.95rem; }
.cart-line .remove {
  border: none; background: none; color: var(--brown-soft);
  font-size: 0.8rem; font-weight: 700; text-decoration: underline; padding: 4px;
}
.cart-line .remove:hover { color: var(--danger); }
.cart-line .line-price { font-weight: 800; }
.cart-empty { text-align: center; color: var(--brown-soft); padding: 46px 10px; }
.cart-empty svg { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--cream-3); }
.cart-footer { border-top: 1px solid var(--cream-3); padding: 20px 24px 26px; background: var(--white); }
.cart-footer .subtotal {
  display: flex; justify-content: space-between; font-weight: 800;
  font-size: 1.1rem; margin-bottom: 6px;
}
.cart-footer .note { font-size: 0.82rem; color: var(--brown-soft); margin-bottom: 15px; }
.cart-footer .btn { margin-bottom: 9px; }

/* ---------- cart page & checkout ---------- */
.cart-page { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.cart-table { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 10px 26px; }
.cart-table .cart-line { grid-template-columns: 86px 1fr auto; }
.summary-card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 26px; position: sticky; top: calc(var(--header-h) + 20px);
}
.summary-card h3 { margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; color: var(--brown); }
.summary-row.total { border-top: 1.5px solid var(--cream-3); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.15rem; color: var(--espresso); }
.summary-card .fine { font-size: 0.82rem; color: var(--brown-soft); margin: 12px 0 16px; }
@media (max-width: 860px) { .cart-page { grid-template-columns: 1fr; } .summary-card { position: static; } }

.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.checkout-form fieldset {
  border: none; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 26px; margin: 0 0 22px;
}
.checkout-form legend {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  padding: 0 4px; float: left; margin-bottom: 16px; width: 100%;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; clear: both; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 800; font-size: 0.88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; }
.field .err { display: none; color: var(--danger); font-size: 0.82rem; font-weight: 700; margin-top: 4px; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field.invalid .err { display: block; }
.radio-cards { display: grid; gap: 11px; clear: both; }
.radio-card {
  display: flex; gap: 13px; align-items: flex-start;
  border: 1.5px solid var(--cream-3); border-radius: var(--radius);
  padding: 15px 17px; cursor: pointer; transition: border 0.14s ease, background 0.14s ease;
}
.radio-card:has(input:checked) { border-color: var(--caramel); background: var(--blush-light); }
.radio-card input { margin-top: 4px; accent-color: var(--caramel-dark); }
.radio-card strong { display: block; }
.radio-card small { color: var(--brown-soft); }
.demo-note {
  background: var(--sage-light); border: 1px dashed var(--sage-dark);
  color: var(--sage-dark); border-radius: var(--radius);
  padding: 15px 18px; font-size: 0.9rem; font-weight: 700; margin-bottom: 20px;
}
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.contact-aside .card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 26px; margin-bottom: 18px;
}
.contact-aside h3 { font-size: 1.2rem; }
.contact-aside p { color: var(--brown); font-size: 0.98rem; margin-bottom: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 20px);
  background: var(--espresso); color: var(--cream);
  border-radius: 999px; padding: 13px 26px; font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--shadow-lift); z-index: 300; opacity: 0;
  pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- footer ---------- */
.site-footer { background: var(--espresso); color: #CBB99F; margin-top: 0; }
.site-footer a { color: #E4D5BC; }
.site-footer a:hover { color: var(--blush); }
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 4vw, 56px); padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-brand .logo { color: var(--cream); font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand .logo em { color: var(--blush); }
.footer-brand p { font-size: 0.95rem; max-width: 30em; }
.footer-col h4 {
  color: var(--cream); font-family: var(--font-body); font-weight: 800;
  font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.96rem; }
.footer-ig {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 800;
  background: rgba(255,255,255,0.07); border-radius: 999px; padding: 11px 20px;
  margin-top: 6px;
}
.footer-ig svg { width: 20px; height: 20px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0 30px; font-size: 0.84rem;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
}
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- policies ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; font-size: 1.6rem; }
.prose .placeholder-flag { margin-bottom: 10px; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   Special Events — cake builder + catering quote
   ============================================================ */
.price:has(.from) { display: inline-flex; align-items: baseline; gap: 5px; }
.price .from { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown-soft); }

/* intro cards */
.events-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card {
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.event-card .ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blush-light); color: var(--caramel-deep); font-size: 1.5rem;
}
.event-card h3 { margin: 6px 0 0; }
.event-card p { margin: 0; color: var(--brown); flex: 1; }
.event-card .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) { .events-cards { grid-template-columns: 1fr; } }

/* builder layout */
.builder { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(26px, 4vw, 56px); align-items: start; }
.builder-form fieldset { position: relative; }
.builder-form legend .step {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--caramel); color: var(--white); font-family: var(--font-body);
  font-size: 0.86rem; font-weight: 800; margin-right: 10px; vertical-align: middle;
}
.builder-form .hint { clear: both; color: var(--brown-soft); font-size: 0.9rem; margin: -6px 0 14px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; clear: both; }
.opt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.opt-grid--5 { grid-template-columns: repeat(5, 1fr); }
.opt-card {
  position: relative; display: flex; gap: 10px; align-items: flex-start;
  border: 1.5px solid var(--cream-3); border-radius: var(--radius); background: var(--white);
  padding: 13px 14px; cursor: pointer; transition: border 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}
.opt-card:hover { border-color: var(--caramel); }
.opt-card:has(input:checked) { border-color: var(--caramel); background: var(--blush-light); box-shadow: 0 0 0 3px rgba(192, 133, 68, 0.15); }
.opt-card input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-card input:focus-visible + .opt-body { outline: 3px solid var(--caramel); outline-offset: 10px; border-radius: 4px; }
.opt-card .opt-body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-card strong { font-size: 0.95rem; line-height: 1.25; }
.opt-card small { color: var(--brown-soft); font-size: 0.8rem; line-height: 1.35; }
.opt-card .opt-price { font-weight: 800; font-size: 0.88rem; color: var(--caramel-deep); white-space: nowrap; }
.opt-card--swatch { flex-direction: column; align-items: center; text-align: center; padding: 12px 8px; }
.opt-card--swatch .opt-body { align-items: center; }
.opt-card--swatch .swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--cream-3); margin-bottom: 6px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.06); }
.opt-card--swatch .opt-price { display: none; }
@media (max-width: 640px) {
  .opt-grid, .opt-grid--3 { grid-template-columns: 1fr; }
  .opt-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

/* sticky summary + live preview */
.builder-summary { position: sticky; top: calc(var(--header-h) + 18px); }
.builder-summary .summary-card { margin: 0; }
.builder-summary .summary-row small { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown-soft); font-weight: 800; }
.builder-summary .summary-row span:first-child { padding-right: 12px; }
.builder-summary #cake-summary-name { font-family: var(--font-display); font-style: italic; color: var(--brown); font-size: 1.02rem; margin: 6px 0 14px; }
.builder-summary .lead-note { font-size: 0.85rem; color: var(--sage-dark); font-weight: 700; margin: 12px 0 0; }
@media (max-width: 900px) {
  .builder { grid-template-columns: 1fr; }
  .builder-summary { position: static; order: -1; }
}

.cake-stage {
  background: var(--cream-2); border-radius: var(--radius-lg); padding: 10px 14px 0;
  margin-bottom: 18px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--cream-3);
}
.cake-preview { --frost: #FFFDF8; width: 100%; max-width: 420px; height: auto; transition: transform 0.25s ease; }
.cake-preview .frost { fill: var(--frost); transition: fill 0.25s ease; }
.cake-preview .topping, .cake-preview .hat { opacity: 0; transition: opacity 0.2s ease; }
.cake-preview.top-bones .topping--bones, .cake-preview.top-carob .topping--carob, .cake-preview.top-drops .topping--drops,
.cake-preview.top-banana .topping--banana, .cake-preview.top-coconut .topping--coconut, .cake-preview.has-hat .hat { opacity: 1; }
.cake-preview .tier-top, .cake-preview .tier-top-frost { transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: 400px 460px; }
.cake-preview.is-mini { transform: scale(0.86); }
.cake-preview.is-mini .tier-top, .cake-preview.is-mini .tier-top-frost { opacity: 0; transform: translateY(40px); }
.cake-preview.is-party { transform: scale(1.06); }
.cake-preview text { font-family: var(--font-display); font-weight: 700; }
.cake-preview .caption { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; }

/* catering */
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.quote-aside .card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 26px; margin-bottom: 18px; }
.quote-aside h3 { margin: 0 0 8px; font-size: 1.15rem; }
.quote-aside p { margin: 0 0 8px; color: var(--brown); font-size: 0.95rem; }
.steps { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--brown); }
.steps li::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-light); color: var(--sage-dark); font-weight: 800; font-size: 0.85rem;
}
.check-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--brown); }
.check-list li::before { content: "✔"; color: var(--sage-dark); font-weight: 800; flex: none; }
.quote-success { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 30px; }
.quote-success .ref { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; background: var(--sage-light); color: var(--sage-dark); border-radius: 10px; padding: 6px 14px; margin: 6px 0 16px; }
.quote-success .summary-row small { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brown-soft); font-weight: 800; }
.quote-success .summary-row span:last-child { text-align: right; max-width: 62%; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* cart line details for custom cakes */
.line-details { list-style: none; padding: 0; margin: 4px 0 8px; font-size: 0.82rem; color: var(--brown-soft); line-height: 1.45; }
.line-details li::before { content: "· "; }

/* homepage teaser */
.events-teaser .inner {
  background: var(--sage-light); border-radius: calc(var(--radius-lg) + 6px);
  padding: clamp(30px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.events-teaser h2 { margin-top: 0; }
.events-teaser p { color: var(--brown); }
.events-teaser .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); transform: rotate(1.4deg); }
.events-teaser .media img { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .events-teaser .inner { grid-template-columns: 1fr; } .events-teaser .media { max-width: 420px; } }
