/* =========================================================
   Magilshe Cakery — website styles
   Palette from the logo: cocoa ring + coral "She".
   Type: Playfair Display (headings), DM Sans (everything else).
   Kalam is used only for the hand-piped lettering on the illustrated cake.
   ========================================================= */
:root {
  --cocoa: #72362E;
  --ganache: #3E1A15;
  --coral: #EE6C4D;        /* decorative / large only */
  --coral-deep: #C9472A;   /* coral that passes contrast on light grounds */
  --sugar: #FBEDE8;        /* page ground */
  --blush: #F4D3CA;        /* panels */
  --fondant: #FFFCFA;      /* cards, inputs */
  --muted: #7A5A53;
  --body-ink: #5B3A33;
  --line: #EAD3CC;
  --line-strong: #E3B9AE;
  --veg: #2E8B47;
  --wa: #1F8F4E;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pipe: "Kalam", "Segoe Print", cursive;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --header-h: 84px;
  --utility-h: 38px;
  --shadow: 0 18px 40px -22px rgba(62, 26, 21, .35);

  --frost: #C0394A;
  --frost-dark: #8E2230;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sugar); color: var(--ganache); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.015em; font-variant-numeric: lining-nums; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ganache); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.link { color: var(--cocoa); font-weight: 600; text-underline-offset: 3px; }
.link:hover { color: var(--coral-deep); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--cocoa); color: #fff; }
.btn--primary:hover { background: var(--ganache); }
.btn--ghost { border-color: var(--cocoa); color: var(--cocoa); background: transparent; }
.btn--ghost:hover { background: var(--cocoa); color: #fff; }
.btn--light { background: var(--sugar); color: var(--ganache); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--fondant); cursor: pointer; transition: border-color .15s; }
.icon-btn:hover { border-color: var(--cocoa); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Utility bar + header ---------- */
.utility { background: var(--ganache); color: #F7DCD3; font-size: 14px; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--utility-h); }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 237, 232, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.header__logo img { width: 100px; height: auto; }
.nav { display: flex; align-items: stretch; gap: 30px; margin-left: auto; height: 100%; }
.nav__item { display: flex; align-items: center; }
.nav__link { display: flex; align-items: center; text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; background: linear-gradient(var(--coral), var(--coral)) left calc(50% + 16px) / 0 2px no-repeat; transition: background-size .25s; }
.nav > .nav__link { height: 100%; }
.nav__link:hover, .nav__link[aria-current="page"] { background-size: 100% 2px; }
.header__tools { display: flex; align-items: center; gap: 10px; }

.search-pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; width: 210px; padding: 0 8px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--fondant); color: var(--muted); cursor: pointer; font-size: 15px; transition: border-color .15s; }
.search-pill:hover { border-color: var(--cocoa); color: var(--ganache); }
.search-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.search-pill span { flex: 1; text-align: left; }
kbd { font-family: var(--body); font-size: 12px; font-weight: 600; min-width: 26px; height: 26px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--sugar); border: 1px solid var(--line); color: var(--muted); }
.search-icon { display: none; }

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--fondant); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(62, 26, 21, .25); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega__cats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 20px; }
.mega__cats a { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 14px; text-decoration: none; transition: background-color .15s; }
.mega__cats a:hover { background: var(--sugar); }
.mega__cats img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.mega__cats strong { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mega__cats small { color: var(--muted); font-size: 13px; }
.mega__feature { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; text-decoration: none; min-height: 200px; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(62, 26, 21, .85), rgba(62, 26, 21, .1) 70%); }
.mega__feature-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; display: grid; gap: 4px; font-size: 15px; }
.mega__feature-copy strong { font-family: var(--display); font-size: 22px; font-weight: 600; }

.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--cocoa); color: #fff; border: 0; cursor: pointer; font-weight: 600; text-decoration: none; transition: background-color .15s; }
.cart-btn:hover { background: var(--ganache); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-btn__count { min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--fondant); color: var(--cocoa); font-size: 14px; }
.cart-btn.bump .cart-btn__count { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.3); background: var(--coral); color: var(--ganache); } }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--fondant); cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ganache); transition: transform .2s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px 0 28px; border-top: 1px solid var(--line); background: var(--sugar); }
.mobile-nav .wrap { display: grid; }
.mobile-nav__label { font-size: 14px; font-weight: 600; color: var(--muted); margin: 10px 0 12px; }
.mobile-nav__cats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; margin-bottom: 18px; }
.mobile-nav__cats a { display: grid; justify-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 500; text-decoration: none; line-height: 1.25; }
.mobile-nav__cats img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.mobile-nav .wrap > a { padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-size: 22px; }

/* ---------- Shared form controls ---------- */
.field { display: grid; position: relative; align-content: start; }
.field__label, .legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.field__label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { min-height: 54px; padding: 0 18px; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; font-size: 16px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { padding: 14px 18px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input[type="file"] { padding: 14px 18px; font-size: 15px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2372362E' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px; padding-right: 44px; cursor: pointer; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #D8B4AA; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cocoa); outline: none; box-shadow: 0 0 0 3px rgba(114, 54, 46, .15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral-deep); }
.field__hint { font-size: 14px; color: var(--muted); margin-top: 8px; }
.field__error { font-size: 14px; color: var(--coral-deep); margin-top: 8px; font-weight: 500; }
.field__error:empty { display: none; }
.field--pipe input { padding-right: 76px; }
.field__count { position: absolute; right: 16px; top: 50px; font-size: 13px; color: var(--muted); pointer-events: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form-grid .span-2 { grid-column: span 2; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; font-size: 15px; transition: background-color .15s, border-color .15s, color .15s; }
.chip span:hover { border-color: var(--cocoa); }
.chip input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--coral-deep); outline-offset: 2px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; font-weight: 500; }
.chip-btn svg { width: 15px; height: 15px; fill: none; stroke: var(--muted); stroke-width: 2; }
.chip-btn:hover { border-color: var(--cocoa); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 46px; height: 50px; border: 0; background: transparent; cursor: pointer; font-size: 20px; border-radius: 50%; }
.qty button:hover { color: var(--coral-deep); }
.qty span, .qty output { min-width: 28px; text-align: center; font-weight: 600; }
.qty--sm button { width: 34px; height: 34px; font-size: 18px; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: grid; gap: 2px; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-s); cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.3; background: #fff; }
.segmented small { font-weight: 400; color: var(--muted); font-size: 14px; }
.segmented input:checked + span { border-color: var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); background: #FFF4F0; }
.segmented input:focus-visible + span { outline: 3px solid var(--coral-deep); outline-offset: 2px; }
.builder__actions, .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page header + breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cocoa); text-decoration: underline; }
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(40px, 5.4vw, 72px); color: var(--cocoa); margin-top: 16px; }
.page-head__lede { margin-top: 14px; max-width: 40em; color: var(--body-ink); font-size: 18px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--white { background: var(--fondant); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 4.2vw, 54px); color: var(--cocoa); }
.section-head__lede { margin-top: 12px; max-width: 38em; color: var(--muted); }

/* ---------- Product cards ---------- */
.pgrid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--blush); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge { position: absolute; left: 12px; top: 12px; background: var(--fondant); color: var(--cocoa); font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pcard__body { padding-top: 14px; display: grid; gap: 2px; flex: 1; align-content: start; }
.pcard__name { font-family: var(--body); font-weight: 600; font-size: 17px; line-height: 1.3; letter-spacing: 0; }
.pcard__name a { text-decoration: none; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; }
.pcard__name a:hover { color: var(--cocoa); }
.pcard__code { font-size: 14px; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.pcard__price { font-weight: 700; font-size: 18px; }
.pcard__add { position: relative; z-index: 1; height: 40px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--cocoa); background: transparent; color: var(--cocoa); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .15s, color .15s; }
.pcard__add:hover, .pcard__add.is-added { background: var(--cocoa); color: #fff; }

/* =========================================================
   HOME
   ========================================================= */
/* hero fills the first screen */
.hero { min-height: calc(100svh - var(--header-h) - var(--utility-h)); display: flex; align-items: center; padding: 24px 0 32px; overflow: hidden; }
.hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(56px, 7.4vw, 112px); color: var(--cocoa); font-weight: 600; line-height: .96; letter-spacing: -0.03em; }
.hero__lede { margin-top: 24px; max-width: 30em; font-size: 19px; color: var(--body-ink); }
.hero__actions { margin-top: 32px; }
.hero__note { margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero__note strong { color: var(--coral-deep); }

.hero__stage { position: relative; display: grid; justify-items: center; }
.hero__stage::before { content: ""; position: absolute; inset: 2% -16% 12% 6%; background: var(--blush); border-radius: 50%; transform: rotate(-8deg); }
.stage { position: relative; width: min(100%, 540px, calc((100svh - var(--header-h) - var(--utility-h) - 120px) * .88)); transform: rotate(4deg); }
.stage__box { width: 100%; height: auto; overflow: visible; display: block; }
.cake-side { fill: var(--frost); transition: fill .6s ease; }
.cake-pipe { stroke: var(--frost-dark); transition: stroke .6s ease; }
.heart { fill: var(--coral); }
.stage__message { position: absolute; left: 50%; top: 60%; width: 46%; transform: translate(-50%, -50%) rotate(-6deg); font-family: var(--pipe); font-weight: 700; color: var(--ganache); text-align: center; line-height: 1.05; font-size: clamp(22px, 3.2vw, 42px); overflow-wrap: anywhere; }
.stage__message.is-long { font-size: clamp(18px, 2.5vw, 32px); }
.stage__message.is-xlong { font-size: clamp(16px, 2.1vw, 27px); }
.stage__message .ink { display: inline-block; animation: pipe .35s ease both; }
@keyframes pipe { from { opacity: 0; transform: translateY(4px) scale(.85); } }
.stage__caption { position: relative; margin-top: 16px; font-size: 14px; color: var(--muted); background: var(--fondant); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; }
.stage__caption span { color: var(--ganache); font-weight: 600; }

/* trust bar */
.trust { background: var(--ganache); color: #E7C8BF; }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-left: 1px solid rgba(247, 220, 211, .14); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list strong { display: block; color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3; }
.trust__list span span { font-size: 14px; }
.trust__icon { width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(238, 108, 77, .55); background: rgba(238, 108, 77, .08); }
.trust__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust__icon--veg svg { stroke: #49B266; }
.trust__icon--veg .fill { fill: #49B266; stroke: none; }

/* categories: arched cards */
.cats { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 22px; }
.cat { display: grid; gap: 6px; text-decoration: none; }
.cat__img { display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-m) var(--r-m); overflow: hidden; background: var(--blush); margin-bottom: 10px; box-shadow: 0 0 0 0 var(--coral); transition: box-shadow .25s; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat:hover .cat__img { box-shadow: 0 0 0 3px var(--fondant), 0 0 0 5px var(--coral); }
.cat__name { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.15; color: var(--ganache); }
.cat__meta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.cat__meta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s; }
.cat:hover .cat__meta { color: var(--coral-deep); }
.cat:hover .cat__meta svg { transform: translateX(4px); }

/* tabs */
.tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--sugar); }
.tab { border: 0; background: transparent; min-height: 42px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-weight: 500; font-size: 15px; color: var(--muted); white-space: nowrap; }
.tab:hover { color: var(--ganache); }
.tab[aria-selected="true"] { background: var(--cocoa); color: #fff; }

/* occasions */
.occasions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.occ { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; text-decoration: none; background: var(--blush); }
.occ:first-child { grid-row: span 2; }
.occ:last-child { grid-column: span 2; }
.occ img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.occ:hover img { transform: scale(1.04); }
.occ::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(62, 26, 21, .78), transparent); }
.occ__copy { position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1; color: #fff; display: grid; gap: 4px; }
.occ__copy strong { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.occ__copy span { font-size: 15px; opacity: .9; }

/* fusion */
.fusion { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fusion h2 { font-size: clamp(34px, 3.8vw, 52px); color: var(--cocoa); }
.fusion__copy > p { margin-top: 20px; max-width: 32em; color: var(--body-ink); }
.fusion__list { list-style: none; margin: 28px 0 32px; display: grid; }
.fusion__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.fusion__list li:last-child a { border-bottom: 1px solid var(--line); }
.fusion__list a:hover { color: var(--coral-deep); }
.fusion__list span { font-weight: 700; font-size: 16px; color: var(--cocoa); }
.fusion__images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fusion__images img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-m); }
.fusion__images img:first-child { border-radius: 200px 200px var(--r-m) var(--r-m); margin-top: 48px; }

/* custom band */
.custom { background: var(--cocoa); color: #F7DCD3; padding: clamp(64px, 8vw, 112px) 0; overflow: hidden; }
.custom__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.custom__offer { font-family: var(--display); color: var(--coral); font-size: 22px; line-height: 1; margin-bottom: 18px; }
.custom__offer span { font-size: clamp(72px, 9vw, 120px); font-weight: 600; letter-spacing: -0.03em; margin-right: 8px; }
.custom h2 { color: #fff; font-size: clamp(38px, 5vw, 64px); margin-bottom: 20px; }
.custom__copy > p:not(.custom__offer) { max-width: 34em; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 36px; display: grid; max-width: 34em; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(247, 220, 211, .22); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 22px; color: var(--coral); line-height: 1.3; }
.steps strong { color: #fff; font-weight: 600; }
.custom__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.link-light { color: #fff; font-weight: 600; }
.custom__img { margin: 0; }
.custom__img img { width: 100%; border-radius: 240px 240px var(--r-m) var(--r-m); aspect-ratio: 490 / 640; object-fit: cover; }

/* reviews */
.reviews__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.review { margin: 0; background: var(--fondant); border-radius: var(--r-m); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.review p { font-size: 17px; line-height: 1.6; }
.review footer { font-weight: 600; color: var(--cocoa); font-size: 15px; }
.review--lead { grid-row: span 2; background: var(--blush); padding: 40px; }
.review--lead p { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; }
.reviews__grid .review:nth-child(4) { grid-column: span 2; }

/* visit + FAQ preview */
.visit { background: var(--blush); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.visit h2 { font-size: clamp(36px, 4.4vw, 56px); color: var(--cocoa); }
.visit__lede { margin-top: 18px; max-width: 26em; color: var(--body-ink); }
.visit .btn { margin-top: 28px; }
.acc__more { margin-top: 18px; }
.details { margin: 0; display: grid; }
.details > div { padding: 20px 0; border-top: 1px solid var(--line-strong); }
.details > div:last-child { border-bottom: 1px solid var(--line-strong); }
.details dt { font-weight: 600; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.details dd { margin: 0; font-size: 19px; }
.details a { color: var(--cocoa); font-weight: 600; text-underline-offset: 3px; }

/* accordion */
.acc { border-top: 1px solid var(--line-strong); }
.acc details { border-bottom: 1px solid var(--line-strong); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa); stroke-width: 1.8; transition: transform .25s; }
.acc details[open] summary svg { transform: rotate(180deg); }
.acc details[open] summary { color: var(--cocoa); }
.acc summary:hover { color: var(--cocoa); }
.acc__body { padding: 0 0 22px; color: var(--body-ink); max-width: 44em; }
.acc__body p + p { margin-top: 10px; }

/* =========================================================
   SHOP
   ========================================================= */
.shop { padding-bottom: clamp(64px, 8vw, 112px); }
.shop__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 44px; align-items: start; }

.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--fondant); border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 18px; display: grid; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; }
.filters__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; }
.filters__head h2 { font-size: 24px; color: var(--cocoa); margin-right: auto; }
.filters__clear { border: 0; background: none; padding: 4px 0; color: var(--coral-deep); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.filters__x, .filters__done { display: none !important; }
.fgroup { border-top: 1px solid var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 16px 0 12px; cursor: pointer; font-weight: 700; font-size: 15px; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; transition: transform .2s; }
.fgroup[open] summary svg { transform: rotate(180deg); }
.fcats { list-style: none; display: grid; gap: 2px; padding-bottom: 14px; }
.fcats a { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 6px 8px; margin: 0 -8px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .15s; }
.fcats a:hover { background: var(--sugar); }
.fcats__img { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: var(--blush); }
.fcats__img img { width: 100%; height: 100%; object-fit: cover; }
.fcats__n { min-width: 30px; height: 22px; padding: 0 8px; display: grid; place-items: center; border-radius: 999px; background: var(--sugar); color: var(--muted); font-size: 12px; font-weight: 600; }
.fcats a[aria-current="page"] { background: var(--cocoa); color: #fff; }
.fcats a[aria-current="page"] .fcats__n { background: rgba(255, 255, 255, .18); color: #fff; }
.fchips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; pointer-events: none; }
.fchip span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.fchip span:hover { border-color: var(--cocoa); }
.fchip input:checked + span { background: var(--cocoa); border-color: var(--cocoa); color: #fff; }
.fchip input:checked + span::before { content: ""; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.fchip input:focus-visible + span { outline: 3px solid var(--coral-deep); outline-offset: 2px; }
.filters__help { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; margin-top: 8px; padding: 12px; border-radius: 16px; background: var(--sugar); text-decoration: none; transition: background-color .15s; }
.filters__help:hover { background: var(--blush); }
.filters__help img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.filters__help strong { display: block; font-size: 15px; }
.filters__help span span { font-size: 13px; color: var(--muted); line-height: 1.4; }

.shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop__count { color: var(--muted); }
.shop__count strong { color: var(--ganache); }
.shop__sort { display: flex; align-items: center; gap: 12px; }
.shop__sort label { font-size: 15px; color: var(--muted); }
.shop__sort select { min-height: 46px; padding: 0 40px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--fondant) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2372362E' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center / 11px; appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 500; }
.filter-toggle { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.active-filters:empty { display: none; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid var(--cocoa); background: #FFF4F0; color: var(--cocoa); font-size: 14px; font-weight: 600; cursor: pointer; }
.active-filters svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.shop__empty { padding: 64px 0; display: grid; gap: 18px; justify-items: start; max-width: 32em; }
.shop__empty h2 { font-size: 32px; color: var(--cocoa); }
.shop__more { display: flex; justify-content: center; margin-top: 48px; }

/* =========================================================
   PRODUCT
   ========================================================= */
.pdp { padding-bottom: clamp(48px, 6vw, 80px); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 24px; }
.pdp__media { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__img { border-radius: var(--r-l); overflow: hidden; background: var(--blush); aspect-ratio: 4 / 5; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.pdp__badges li { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--fondant); border: 1px solid var(--line); }
.pdp__info h1 { font-size: clamp(36px, 4.2vw, 54px); color: var(--cocoa); line-height: 1.05; }
.pdp__code { margin-top: 10px; color: var(--muted); font-size: 15px; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.pdp__price strong { font-family: var(--display); font-size: 44px; font-weight: 600; line-height: 1; color: var(--ganache); font-variant-numeric: lining-nums; }
.pdp__price span { color: var(--muted); font-size: 15px; }
.pdp__desc { margin-top: 18px; color: var(--body-ink); max-width: 34em; font-size: 18px; }
.pdp__form { margin-top: 32px; display: grid; gap: 26px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.pdp__note { font-size: 15px; color: var(--muted); }
.pdp__note a { color: var(--cocoa); font-weight: 600; }
.pdp__acc { margin-top: 36px; }

/* =========================================================
   CUSTOM CAKES
   ========================================================= */
.x-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.x-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 28px; }
.x-hero h1 { font-size: clamp(42px, 5.2vw, 76px); color: var(--cocoa); line-height: 1; letter-spacing: -0.025em; }
.x-hero__copy > p { margin-top: 22px; font-size: 18px; color: var(--body-ink); max-width: 32em; }
.x-hero__copy .hero__actions { margin-top: 30px; }
.x-hero__media { position: relative; max-width: 500px; justify-self: end; width: 100%; }
.x-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 260px 260px var(--r-l) var(--r-l); }
.x-hero__offer { position: absolute; left: -28px; bottom: 44px; background: var(--cocoa); color: #F7DCD3; padding: 18px 24px; border-radius: 20px; display: grid; box-shadow: var(--shadow); max-width: 220px; }
.x-hero__offer strong { font-family: var(--display); font-size: 38px; font-weight: 600; line-height: 1; color: var(--coral); }
.x-hero__offer span { font-size: 14px; margin-top: 6px; }

.kinds { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.kind img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-m); margin-bottom: 16px; }
.kind h3 { font-size: 22px; color: var(--ganache); }
.kind p { margin-top: 6px; font-size: 15px; color: var(--muted); }

.timeline { list-style: none; counter-reset: t; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline li { counter-increment: t; position: relative; padding-top: 72px; display: grid; gap: 8px; align-content: start; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--cocoa); color: #fff; font-family: var(--display); font-size: 22px; font-weight: 600; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 68px; right: -8px; height: 1px; background: var(--line-strong); }
.timeline strong { font-size: 18px; }
.timeline p { color: var(--muted); font-size: 16px; }

.x-request { background: var(--blush); padding: clamp(64px, 8vw, 112px) 0; }
.x-request__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.x-request__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.x-request__aside h2 { font-size: clamp(34px, 4vw, 52px); color: var(--cocoa); }
.x-request__aside > p { margin-top: 16px; color: var(--body-ink); max-width: 28em; }
.x-tips { list-style: none; margin: 28px 0; display: grid; gap: 12px; }
.x-tips li { position: relative; padding-left: 30px; color: var(--body-ink); }
.x-tips li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--coral-deep); border-bottom: 2px solid var(--coral-deep); transform: rotate(-45deg); }
.x-request__call a { color: var(--cocoa); font-weight: 600; }
.x-form { background: var(--fondant); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 34px; box-shadow: var(--shadow); }
.x-form__step { display: grid; gap: 20px; }
.x-form__step + .x-form__step { padding-top: 8px; }
.x-form__step legend { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--cocoa); margin-bottom: 20px; padding: 0; }
.x-form__step legend span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sugar); font-family: var(--body); font-size: 15px; font-weight: 700; color: var(--cocoa); }
.x-upload input[type="file"] { border-style: dashed; background: var(--sugar); cursor: pointer; }
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: var(--r-m); overflow: hidden; }
.gallery img { width: 100%; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--fondant); color: var(--ganache); font-size: 14px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }

/* =========================================================
   OUR STORY
   ========================================================= */
.s-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.s-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 28px; }
.s-hero h1 { font-size: clamp(42px, 5vw, 72px); color: var(--cocoa); line-height: 1.02; letter-spacing: -0.025em; }
.s-hero__copy > p { margin-top: 22px; font-size: 19px; color: var(--body-ink); max-width: 30em; }
.s-hero__copy .hero__actions { margin-top: 30px; }
.s-hero__media { position: relative; padding-bottom: 40px; }
.s-hero__main { width: 80%; margin-left: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 260px 260px var(--r-l) var(--r-l); }
.s-hero__inset { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-m); border: 8px solid var(--sugar); box-shadow: var(--shadow); }
.s-facts { background: var(--fondant); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.s-facts__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.s-facts__list li { padding: 32px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.s-facts__list li:first-child { border-left: 0; padding-left: 0; }
.s-facts strong { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1; color: var(--cocoa); font-variant-numeric: lining-nums; }
.s-facts span { color: var(--muted); font-size: 15px; }
.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.chapter + .chapter { margin-top: clamp(56px, 7vw, 104px); }
.chapter--flip .chapter__img { order: 2; }
.chapter__img { margin: 0; }
.chapter__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-l); }
.chapter__copy h3 { font-size: clamp(30px, 3.4vw, 46px); color: var(--cocoa); }
.chapter__copy p { margin: 18px 0; font-size: 18px; color: var(--body-ink); max-width: 32em; }
.promise { background: var(--cocoa); color: #F7DCD3; padding: clamp(64px, 8vw, 112px) 0; }
.promise h2 { color: #fff; font-size: clamp(34px, 4.2vw, 54px); }
.promise__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; }
.promise__list li { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 1px solid rgba(247, 220, 211, .22); }
.promise__list h3 { color: #fff; font-size: 26px; }

/* =========================================================
   CONTACT
   ========================================================= */
.k-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 80px); }
.k-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-top: 28px; }
.k-hero h1 { font-size: clamp(44px, 6vw, 88px); color: var(--cocoa); line-height: .98; letter-spacing: -0.03em; }
.k-hero__lede { font-size: 18px; color: var(--body-ink); max-width: 30em; }
.k-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.k-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: 22px; background: var(--fondant); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.k-card:hover { border-color: var(--cocoa); transform: translateY(-2px); box-shadow: var(--shadow); }
.k-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--sugar); margin-bottom: 10px; }
.k-card__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa); stroke-width: 1.8; stroke-linejoin: round; }
.k-card h2 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: 0; }
.k-card p { font-size: 15px; color: var(--muted); flex: 1; }
.k-card__link { margin-top: 10px; color: var(--cocoa); font-weight: 600; font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.k-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.k-card:hover .k-card__link { text-decoration: underline; text-underline-offset: 3px; }
.k-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.k-form { background: var(--fondant); border-radius: var(--r-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 24px; align-content: start; }
.k-form h2 { font-size: clamp(30px, 3vw, 40px); color: var(--cocoa); }
.k-form__lede { margin-top: -14px; color: var(--muted); }
.k-form .btn { justify-self: start; }
.k-map { position: relative; min-height: 560px; border-radius: var(--r-l); overflow: hidden; background: var(--blush); border: 1px solid var(--line); }
.k-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-map__card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 20px; background: var(--fondant); box-shadow: var(--shadow); }
.k-map__card img { width: 72px; height: auto; }
.k-map__card strong { font-family: var(--display); font-size: 20px; font-weight: 600; }
.k-map__card address { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 2px 0 6px; }
.k-map__card .link { font-size: 14px; }
.faq-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside h2 { font-size: clamp(34px, 4vw, 52px); color: var(--cocoa); }
.faq-aside > p { margin-top: 16px; color: var(--body-ink); }
.faq-aside__card { margin-top: 28px; padding: 24px; border-radius: 20px; background: var(--sugar); display: grid; gap: 8px; justify-items: start; }
.faq-aside__card strong { font-family: var(--display); font-size: 22px; font-weight: 600; }
.faq-aside__card p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }

/* =========================================================
   CART PAGE
   ========================================================= */
.cartpage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: clamp(64px, 8vw, 112px); }
.cartpage__lines { background: var(--fondant); border-radius: var(--r-l); padding: 8px clamp(20px, 3vw, 36px); }
.cartpage__lines .line { grid-template-columns: 96px 1fr auto; }
.cartpage__lines .line img { width: 96px; height: 116px; }
.cartpage__lines .line__swatch { width: 96px; height: 96px; }
.cartpage__lines .lines li:last-child { border-bottom: 0; }
.cartpage h2 { font-size: 28px; color: var(--cocoa); }
.checkout { margin-top: 32px; background: var(--fondant); border-radius: var(--r-l); padding: clamp(20px, 3vw, 36px); display: grid; gap: 24px; }
.summary { position: sticky; top: calc(var(--header-h) + 24px); background: var(--fondant); border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.summary__total { padding-top: 16px; border-top: 1px solid var(--line); align-items: baseline; }
.summary__total dt { color: var(--ganache); font-weight: 600; font-size: 17px; }
.summary__total dd { font-family: var(--display); font-size: 32px; color: var(--cocoa); font-variant-numeric: lining-nums; }
.summary__note { font-size: 14px; color: var(--muted); }
.summary__trust { list-style: none; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body-ink); }
.cart-empty { padding: 48px 0 96px; display: grid; gap: 18px; justify-items: start; }
.cart-empty h2 { font-size: 36px; color: var(--cocoa); }

/* ---------- Order lines (drawer + cart page) ---------- */
.lines { list-style: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 10px; background: var(--blush); }
.line__swatch { width: 72px; height: 72px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 8px var(--sw, var(--frost)); }
.line__name { font-weight: 600; line-height: 1.3; }
.line__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 14px; color: var(--muted); }
.line__msg { font-style: italic; color: var(--cocoa); }
.line .qty { margin-top: 10px; }
.line__end { text-align: right; }
.line__price { font-weight: 700; }
.line__remove { display: inline-block; margin-top: 8px; border: 0; background: none; padding: 0; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; }
.line__remove:hover { color: var(--coral-deep); }

/* ---------- Drawer ---------- */
.drawer, .search { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__scrim, .search__scrim { position: absolute; inset: 0; background: rgba(62, 26, 21, .45); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--fondant); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); outline: none; }
.drawer.is-open, .search.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim, .search.is-open .search__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 28px; color: var(--cocoa); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 24px 24px; }
.empty { padding: 48px 0; display: grid; gap: 20px; justify-items: start; }
.empty p { color: var(--muted); }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.drawer__total strong { font-family: var(--display); font-size: 28px; color: var(--cocoa); font-variant-numeric: lining-nums; }
.drawer__note { font-size: 14px; color: var(--muted); }

/* ---------- Search ---------- */
.search__panel { position: absolute; left: 50%; top: 6vh; width: min(940px, calc(100% - 32px)); max-height: 86vh; overflow-y: auto; background: var(--fondant); border-radius: var(--r-l); padding: 20px 24px 28px; box-shadow: 0 40px 80px -30px rgba(62, 26, 21, .5); transform: translate(-50%, -16px); opacity: 0; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s; outline: none; }
.search.is-open .search__panel { transform: translate(-50%, 0); opacity: 1; }
.search__head { display: flex; align-items: center; gap: 12px; }
.search__field { flex: 1; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 12px 0 22px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.search__field:focus-within { border-color: var(--cocoa); box-shadow: 0 0 0 4px rgba(114, 54, 46, .12); }
.search__field > svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa); stroke-width: 1.8; }
.search__field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: 19px; outline: none; }
.search__field input::-webkit-search-cancel-button { display: none; }
.search__field input::placeholder { color: #B79A92; }
.search__body { padding-top: 26px; }
.search__intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; }
.search__title { font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search__cats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.search__cats a { display: grid; justify-items: center; gap: 8px; text-align: center; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.25; }
.search__cats img { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; transition: box-shadow .2s; }
.search__cats a:hover img { box-shadow: 0 0 0 3px var(--fondant), 0 0 0 5px var(--coral); }
.search__bar-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.search__count { color: var(--muted); }
.search__count strong { color: var(--ganache); }
.search__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 16px; }
.search__grid a { display: grid; gap: 4px; text-decoration: none; }
.search__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--blush); margin-bottom: 6px; }
.search__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.search__grid a:hover img { transform: scale(1.05); }
.search__grid strong { font-weight: 600; font-size: 15px; line-height: 1.3; }
.search__grid a > span:last-child { color: var(--muted); font-size: 14px; }
.search__none { display: grid; gap: 8px; justify-items: start; padding: 8px 0; color: var(--body-ink); }
.search__none .btn { margin-top: 10px; }

/* ---------- Footer (Ayami structure) ---------- */
.footer { background: linear-gradient(160deg, #FFF8F5 0%, #FBEEE9 55%, #F7E3DB 100%); color: #5B4540; border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 0; font-size: 16px; }
.footer__top { display: grid; grid-template-columns: 1.35fr 1fr .8fr 1.35fr; gap: 48px; }
.footer__logo { width: 150px; height: auto; }
.footer__brand p { margin-top: 22px; max-width: 22em; font-size: 17px; line-height: 1.75; }
.footer__heading { position: relative; font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ganache); padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.footer__heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--cocoa); }
.footer__list { list-style: none; display: grid; gap: 16px; }
.footer__list a { text-decoration: none; transition: color .15s; }
.footer__list a:hover { color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { list-style: none; display: grid; gap: 20px; }
.footer__contact li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; }
.footer__contact a { text-decoration: none; line-height: 1.6; }
.footer__contact a:hover { color: var(--cocoa); text-decoration: underline; text-underline-offset: 3px; }
.footer__tile { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px -10px rgba(62, 26, 21, .35); }
.footer__tile svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa); stroke-width: 1.7; stroke-linejoin: round; }
.footer__phone { font-weight: 700; font-size: 18px; color: var(--ganache); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding: 26px 0 32px; border-top: 1px solid var(--line); color: #7C6660; font-size: 15px; }
@media (min-width: 961px) { .footer__bottom { padding-left: 64px; padding-right: 64px; } }
.footer__bottom a { color: var(--ganache); text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--cocoa); }

/* floating call + WhatsApp */
.float-btn { position: fixed; bottom: 24px; z-index: 60; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; color: #fff; box-shadow: 0 14px 30px -10px rgba(62, 26, 21, .5); transition: transform .2s, box-shadow .2s; }
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.float-btn--call { left: 24px; background: var(--cocoa); }
.float-btn--wa { right: 24px; background: var(--wa); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px); background: var(--ganache); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 500; font-size: 15px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90; max-width: calc(100% - 180px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .search-pill { display: none; }
  .search-icon { display: grid; }
}
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .utility__mid { display: none; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega__cats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 48px 40px; }
  .k-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; --utility-h: 34px; }
  .nav, .cart-btn__label, .utility__right { display: none; }
  .menu-btn { display: block; }
  .header__tools { margin-left: auto; }
  .cart-btn { padding: 0 8px 0 12px; }
  .header__inner { gap: 12px; }
  .header__logo img { width: 82px; }
  .utility__inner { justify-content: center; text-align: center; }

  /* hero still fits one screen */
  .hero { align-items: stretch; padding: 20px 0 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 14px; align-content: space-between; }
  .hero h1 { font-size: clamp(46px, 12vw, 72px); }
  .hero__lede { margin-top: 14px; font-size: 16.5px; }
  .hero__actions { margin-top: 20px; }
  .hero__actions .btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
  .hero__note { margin-top: 12px; font-size: 14px; }
  .hero__stage::before { inset: 4% 4% 14% 4%; }
  .stage { width: max(200px, min(78vw, 360px, calc((100svh - var(--header-h) - var(--utility-h) - 470px) * .88))); }
  .stage__message { font-size: clamp(18px, 5.4vw, 30px); }
  .stage__message.is-long { font-size: clamp(15px, 4.4vw, 24px); }
  .stage__message.is-xlong { font-size: clamp(13px, 3.8vw, 20px); }
  .stage__caption { margin-top: 10px; font-size: 13px; }

  .trust__list { grid-template-columns: 1fr 1fr; }
  .trust__list li { padding: 20px 14px; border-left: 0; border-top: 1px solid rgba(247, 220, 211, .14); gap: 12px; }
  .trust__list li:nth-child(-n+2) { border-top: 0; }
  .trust__list li:nth-child(odd) { padding-left: 0; }
  .trust__list li:nth-child(even) { border-left: 1px solid rgba(247, 220, 211, .14); }
  .trust__icon { width: 44px; height: 44px; }
  .trust__icon svg { width: 22px; height: 22px; }

  .cats { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 8px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cats li { scroll-snap-align: start; }
  .cat__name { font-size: 20px; }

  .occasions { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .occ:first-child { grid-row: auto; grid-column: span 2; }
  .occ:last-child { grid-column: span 2; }
  .fusion, .custom__grid, .visit__grid, .x-hero__grid, .x-request__grid, .s-hero__grid, .chapter, .k-hero__grid, .k-split, .faq-wrap, .cartpage { grid-template-columns: 1fr; }
  .fusion__images { order: -1; }
  .custom__img { max-width: 360px; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .review--lead { grid-row: auto; grid-column: span 2; }
  .reviews__grid .review:nth-child(4) { grid-column: auto; }
  .x-hero__media { justify-self: center; max-width: 420px; }
  .x-hero__offer { left: -8px; }
  .x-request__aside, .faq-aside { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .timeline li:nth-child(2)::after { display: none; }
  .chapter--flip .chapter__img { order: 0; }
  .s-facts__list { grid-template-columns: 1fr 1fr; }
  .s-facts__list li { border-left: 0; border-top: 1px solid var(--line); padding: 22px 16px; }
  .s-facts__list li:nth-child(-n+2) { border-top: 0; }
  .s-facts__list li:nth-child(odd) { padding-left: 0; }
  .s-facts__list li:nth-child(even) { border-left: 1px solid var(--line); }
  .promise__list { grid-template-columns: 1fr; }
  .k-map { min-height: 440px; }

  /* shop */
  .shop__layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; z-index: 85; max-height: 88vh; border-radius: 24px 24px 0 0; padding: 22px var(--gutter) 24px; box-shadow: 0 -20px 40px rgba(62, 26, 21, .2); transform: translateY(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
  .filters.is-open { transform: none; box-shadow: 0 -20px 40px rgba(62, 26, 21, .2), 0 0 0 100vmax rgba(62, 26, 21, .45); }
  .filters__x { display: grid !important; }
  .filters__done { display: inline-flex !important; margin-top: 16px; position: sticky; bottom: 0; }
  .pgrid, .pgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }

  /* product */
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__media { position: static; }
  .pdp__img { aspect-ratio: 1; }
  .summary { position: static; }

  /* search full screen on small screens */
  .search__panel { top: 0; left: 0; width: 100%; max-height: none; height: 100%; border-radius: 0; transform: translateY(-12px); padding: 16px; }
  .search.is-open .search__panel { transform: none; }
  .search__intro { grid-template-columns: 1fr; gap: 28px; }
  .search__field kbd { display: none; }
  .search__field { height: 54px; }
  .search__field input { font-size: 17px; }

  .float-btn { width: 54px; height: 54px; bottom: 16px; }
  .float-btn--call { left: 16px; }
  .float-btn--wa { right: 16px; }
  .float-btn svg { width: 23px; height: 23px; }
  .footer__bottom { padding-bottom: 88px; }
  .toast { bottom: 84px; max-width: calc(100% - 32px); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .utility { font-size: 13px; }
  .pgrid, .pgrid--3 { gap: 28px 12px; }
  .pcard__name { font-size: 15.5px; }
  .pcard__foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .pcard__add { width: 100%; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab { flex: 1; padding: 0 12px; font-size: 14px; }
  .occasions { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .occ:first-child, .occ:last-child { grid-column: auto; }
  .reviews__grid { grid-template-columns: 1fr; }
  .review--lead { grid-column: auto; padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .segmented { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .k-cards { grid-template-columns: 1fr; }
  .k-card { padding: 20px; }
  .kinds { grid-template-columns: 1fr 1fr; gap: 16px; }
  .kind h3 { font-size: 18px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 0 72px; min-height: 52px; }
  .timeline li::after { display: none; }
  .search__cats { grid-template-columns: repeat(4, 1fr); }
  .search__cats img { width: 56px; height: 56px; }
  .search__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartpage__lines .line { grid-template-columns: 72px 1fr; }
  .cartpage__lines .line img { width: 72px; height: 88px; }
  .cartpage__lines .line__swatch { width: 72px; height: 72px; }
  .cartpage__lines .line__end { grid-column: 2; text-align: left; display: flex; gap: 16px; align-items: baseline; }
  .shop__sort label { display: none; }
  .x-form .btn, .k-form .btn { justify-self: stretch; }
  .x-hero__offer { position: static; margin-top: -40px; margin-left: 16px; position: relative; }
  .k-map__card { grid-template-columns: 1fr; }
  .k-map__card img { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
