/*
 * Maman & Moi: shell. Announcement bar, header, menus, phone drawer, search, footer, WhatsApp button, mini cart, welcome-back.
 * Phone first; min-width 600 and 1024 only. Only --mm- tokens (the --sh- values below are local sizes for the header).
 * Loaded on every page after base.css. Elements 3 to 7, 19, 20, 33, 34.
 */

/* ---------- Local sizes ---------- */
:root {
  --sh-h: var(--mm-header-h);                    /* header height: 60, 64, 88 */
  --sh-c: 52px;                                  /* compact height on a phone */
  --sh-d: calc(var(--sh-h) - var(--sh-c));       /* how far the bar slides up when compact */
  --sh-logo: 48px;
}
@media (min-width: 600px)  { :root { --sh-logo: 52px; } }
@media (min-width: 1024px) { :root { --sh-c: 64px; --sh-logo: 64px; } }
html { scrollbar-gutter: stable; }   /* locking scroll under a dialog must not shift the page */

/* Her logo: the square mark as SVG, traced from her flat PNG (design/logo). Never redrawn by hand. */
.logo-img { display: block; flex: none; width: var(--sh-logo); height: auto; }
.logo-img-ft { width: 56px; }

/* A stitched frame inside a position:relative panel (fixed stitch size, unlike .frame) */
.frame-in { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); pointer-events: none; overflow: visible; }
.dd-fill { fill: var(--mm-navy); stroke: none; }
.dd-eye { fill: var(--mm-white); stroke: var(--mm-navy); stroke-width: 1.5; }

/* Full-width list rows (drawer, search): focus ring sits inside so no scroll box clips it */
.sh-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0;
  font: 700 1.0625rem/1.375rem var(--mm-font-text); color: var(--mm-navy); text-decoration: none; text-align: left;
  border-bottom: 1px solid var(--mm-line);
}
.sh-row:hover { color: var(--mm-navy); text-decoration: none; background: var(--mm-mint-50); }
.sh-row:focus-visible, .dr-row:focus-visible, .dr-link:focus-visible, .dr-prod:focus-visible, .dr-small:focus-visible, .sr-opt:focus-visible { outline-offset: -3px; }

/* ================================================================
   3. Announcement bar
   ================================================================ */
.ann { background: var(--mm-mint); color: var(--mm-navy); }
.ann-in { display: flex; align-items: center; gap: 8px; min-height: 40px; padding-left: var(--mm-margin); position: relative; }
.ann-msg { flex: 1; font: 600 .8125rem/1.125rem var(--mm-font-text); padding-block: 4px; }
.ann-msg a { padding: 13px 4px; margin: 0 -4px; }   /* inline link, 44 px tall hit area */
.ann-x { flex: none; }
.ann-more { display: none; }
@media (min-width: 600px) {
  .ann-in { justify-content: center; padding-inline: calc(var(--mm-margin) + 44px); }
  .ann-msg { flex: none; font-size: var(--mm-fs-small); line-height: 1.25rem; text-align: center; }
  .ann-more { display: inline; }
  .ann-x { position: absolute; right: calc(var(--mm-margin) - 8px); top: 50%; margin-top: -22px; }
}

/* ================================================================
   4, 5. Header
   Sticky. Compact after 120 px: the bar slides up and the content row follows by half; transform only.
   ================================================================ */
.site-header { position: sticky; top: 0; z-index: 50; pointer-events: none; }   /* the empty strip under a compact bar must not catch clicks */
.hd-bar {
  position: relative; height: var(--sh-h); background: var(--mm-white); border-bottom: 1px solid var(--mm-line);
  pointer-events: auto; transition: transform var(--mm-t-step) var(--mm-ease-soft);
}
.hd-bar::after {   /* the one shadow, faded in with opacity */
  content: ""; position: absolute; inset: 0; box-shadow: var(--mm-shadow); opacity: 0; pointer-events: none;
  transition: opacity var(--mm-t-step) var(--mm-ease-soft);
}
.hd-in {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: calc(var(--mm-content) + 2 * var(--mm-margin)); margin-inline: auto; padding-inline: 4px;
}
.hd-menu { justify-self: start; }
.hd-tools { justify-self: end; display: flex; align-items: center; }
.hd-logo { justify-self: center; display: inline-flex; align-items: center; justify-content: center; min-width: var(--mm-tap); min-height: var(--mm-tap); text-decoration: none; border-radius: var(--mm-r-xs); }
.hd-logo:hover { text-decoration: none; }
.hd-nav, .hd-account { display: none; }

.hd-menu, .hd-logo, .hd-tools, .hd-item { transition: transform var(--mm-t-step) var(--mm-ease-soft); }
.hd-logo .logo-img { transition: transform var(--mm-t-step) var(--mm-ease-soft); }
.site-header.is-compact .hd-bar { transform: translateY(calc(var(--sh-d) * -1)); }
.site-header.is-compact .hd-bar::after { opacity: 1; }
.site-header.is-compact .hd-menu, .site-header.is-compact .hd-logo, .site-header.is-compact .hd-tools, .site-header.is-compact .hd-item { transform: translateY(calc(var(--sh-d) / 2)); }
.site-header.is-compact .hd-logo .logo-img { transform: scale(.8); }
.site-header.is-still *, .site-header.is-still .hd-bar, .site-header.is-still .hd-bar::after { transition: none !important; }   /* no motion on first paint */

/* Cart count: 20 px navy circle with a white ring. The number rolls up on add. */
.cnt {
  position: absolute; top: 4px; right: 1px; min-width: 20px; height: 20px; border-radius: 10px; overflow: hidden;
  background: var(--mm-navy); color: var(--mm-white); font: 700 .75rem/1.25rem var(--mm-font-text); font-variant-numeric: tabular-nums;
  text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--mm-white);
}
.cnt-n, .cnt-roll > span { display: block; height: 20px; }
.cnt-roll { display: flex; flex-direction: column; transition: transform var(--mm-t-step) var(--mm-ease-soft); }
.cnt-roll.is-go { transform: translateY(-20px); }

@media (min-width: 1024px) {
  .hd-in { grid-template-columns: auto 1fr auto; column-gap: 0; padding-inline: var(--mm-margin); }
  .hd-menu { display: none; }
  .hd-nav { display: block; align-self: stretch; margin: 0 16px 0 48px; }   /* 48 px after the logo */
  .hd-account { display: inline-flex; }
  .hd-logo { justify-self: start; }
}

/* Desktop nav. Each li is as tall as the bar, so the pointer never leaves it on the way to its panel. */
.hd-list { display: flex; align-items: stretch; gap: 2px; height: 100%; list-style: none; margin: 0; padding: 0; }
.hd-li { display: flex; align-items: center; height: 100%; }
.hd-item {
  position: relative; display: inline-flex; align-items: center; gap: 4px; min-height: var(--mm-tap); padding: 0 clamp(8px, calc(8px + (100vw - 1024px) / 32), 14px);
  font: 600 1rem/1.25rem var(--mm-font-text); color: var(--mm-navy); text-decoration: none; border-radius: var(--mm-r-sm); cursor: pointer;
}
.hd-item:hover { color: var(--mm-navy); text-decoration: none; }
.hd-t { position: relative; }
.hd-t::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; }
.hd-item:hover .hd-t::after { background: repeating-linear-gradient(90deg, var(--mm-mint) 0 5px, transparent 5px 12px); }
.hd-item[aria-current] .hd-t::after { background: repeating-linear-gradient(90deg, var(--mm-navy) 0 5px, transparent 5px 12px); }
.hd-ch { width: 18px; height: 18px; transition: transform var(--mm-t-quick) var(--mm-ease-soft); }
.hd-item[aria-expanded="true"] { background: var(--mm-mint-50); }
.hd-item[aria-expanded="true"] .hd-ch { transform: rotate(180deg); }

/* ---------- Mega menus (plain hidden markup; shell.js toggles hidden) ---------- */
.mega {
  position: absolute; z-index: 1; left: 0; right: 0; top: 100%; background: var(--mm-white); box-shadow: var(--mm-shadow);
  animation: mm-rise4 var(--mm-t-step) var(--mm-ease-soft) both;
}
.mega-in {
  max-width: calc(var(--mm-content) + 2 * var(--mm-margin)); margin-inline: auto; padding: 36px var(--mm-margin) 44px;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--mm-gutter);
}
.mg-list { list-style: none; margin: 0; padding: 0; }
.mg-h { font-size: var(--mm-fs-h3); line-height: 1.28; }

/* Sleep Sacks: a stitched Lighter to Warmer scale, four knots, four columns */
.mg-main { grid-column: span 9; display: flex; flex-direction: column; gap: 10px; }
.mg-ends { display: flex; justify-content: space-between; font: 600 .8125rem/1.125rem var(--mm-font-text); color: var(--mm-grey-700); }
ul.mg-prods { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mm-s5); list-style: none; margin: 0; padding: 22px 0 0; }
.mg-prods::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--mm-mint) 0 5px, transparent 5px 12px); }
.mg-prods > li { position: relative; min-width: 0; }
.mg-prods > li::before { content: ""; position: absolute; left: 50%; top: -18px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--mm-navy); box-shadow: 0 0 0 3px var(--mm-white); }
.mg-prod { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--mm-navy); text-decoration: none; border-radius: var(--mm-r-md); }
.mg-prod:hover { color: var(--mm-navy); text-decoration: none; }
.mg-prod .photo { max-width: 176px; }
.mg-nm { font: 700 1.0625rem/1.375rem var(--mm-font-text); }
.mg-pr { font: 600 .9375rem/1.25rem var(--mm-font-text); font-variant-numeric: tabular-nums; }
.mg-prod:hover .mg-nm { text-decoration: underline dashed 2px; text-underline-offset: 4px; }

.mg-help { grid-column: span 3; position: relative; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px; background: var(--mm-mint-100); border-radius: var(--mm-r-md); }
.mg-link { display: flex; align-items: center; gap: 10px; min-height: var(--mm-tap); font: 700 1rem/1.375rem var(--mm-font-text); text-decoration: none; }
.mg-sizes { font-size: var(--mm-fs-small); line-height: 1.25rem; color: var(--mm-grey-700); }
.mg-help .btn { margin-top: 10px; }

/* Baby Essentials: five groups and one promotion */
.mg-groups { grid-column: span 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--mm-gutter); }
.mg-groups > .mg-grp { display: grid; grid-template-rows: subgrid; grid-row: span 2; align-content: start; padding-bottom: 24px; }   /* labels and lists line up across a row */
.mg-gh { margin-bottom: 4px; }
.mg-grp a, .mg-all-link { display: flex; align-items: center; min-height: var(--mm-tap); font: 500 1rem/1.375rem var(--mm-font-text); text-decoration: none; }
.mg-grp a:hover { text-decoration: underline dashed 2px; text-underline-offset: 4px; }
.mg-groups > .mg-all { grid-template-rows: none; align-content: end; padding-bottom: 0; }
.mg-all-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.mg-promo { grid-column: span 4; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--mm-navy); text-decoration: none; border-radius: var(--mm-r-md); }
.mg-promo:hover { color: var(--mm-navy); text-decoration: none; }
.mg-promo:hover .btn-acc { background: var(--mm-accent-hover); }
.mg-promo-t { font: 700 1.125rem/1.5rem var(--mm-font-text); }
.mg-promo-s { font-size: .9375rem; line-height: 1.375rem; color: var(--mm-grey-700); }

/* Gifts */
.mg-gifts .mg-grp { grid-column: span 3; }

/* ================================================================
   5. Phone drawer
   ================================================================ */
.drawer { overflow: hidden; }
.dr-lvl { display: flex; flex-direction: column; flex: 1; min-height: 0; background: var(--mm-white); }
.dr-sub { position: absolute; inset: 0; z-index: 1; transform: translateX(100%); transition: transform var(--mm-t-out) var(--mm-ease-soft); }
.dr-sub.is-in { transform: none; transition-duration: var(--mm-t-step); }
.dr-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--mm-header-h); padding: 0 4px; border-bottom: 1px solid var(--mm-line); }   /* the close button sits where the menu button was */
.dr-head .logo-img { width: 48px; }
.dr-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-bottom: var(--mm-s5); }

.dr-search { position: relative; padding: var(--mm-s4); }
.dr-search .ic { position: absolute; left: 30px; top: 28px; color: var(--mm-grey-700); pointer-events: none; }
.dr-search .in { padding-left: 44px; }
.dr-search .in:focus { padding-left: 43.5px; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }

ul.dr-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mm-gutter); list-style: none; margin: 0; padding: 0 var(--mm-s4) 8px; }
.dr-tile { display: flex; flex-direction: column; gap: 8px; color: var(--mm-navy); text-decoration: none; border-radius: var(--mm-r-md); }
.dr-tile:hover { color: var(--mm-navy); text-decoration: none; }
.dr-tile .photo { padding: 6px; }
.dr-tile-t { font: 700 .9375rem/1.25rem var(--mm-font-text); }

.dr-nav { margin-top: 8px; border-top: 1px solid var(--mm-line); }
.dr-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 var(--mm-s4);
  font: 700 1.0625rem/1.375rem var(--mm-font-text); color: var(--mm-navy); text-decoration: none; text-align: left; border-bottom: 1px solid var(--mm-line);
}
.dr-row:hover { color: var(--mm-navy); text-decoration: none; background: var(--mm-mint-50); }
.dr-row[aria-current] { box-shadow: inset 4px 0 0 var(--mm-navy); }
.dr-more { padding: 8px 0; }
.dr-small { display: flex; align-items: center; gap: 12px; min-height: var(--mm-tap); padding: 0 var(--mm-s4); font: 500 .9375rem/1.25rem var(--mm-font-text); color: var(--mm-navy); text-decoration: none; }
.dr-small:hover { color: var(--mm-navy); text-decoration: none; background: var(--mm-mint-50); }

.dr-back { display: inline-flex; align-items: center; gap: 2px; min-height: var(--mm-tap); padding: 0 8px 0 4px; font: 600 .9375rem/1.25rem var(--mm-font-text); color: var(--mm-navy); border-radius: var(--mm-r-sm); }
.dr-back:hover { background: var(--mm-mint-100); }
.dr-title { padding: 20px var(--mm-s4) 8px; display: flex; flex-direction: column; gap: 6px; }
.dr-title h2 { font-size: var(--mm-fs-h2); }
.dr-title .cap { margin-top: 4px; }
ul.dr-prods { list-style: none; margin: 0; padding: 0 var(--mm-s4); }
.dr-prod { display: flex; align-items: center; gap: 12px; min-height: 84px; color: var(--mm-navy); text-decoration: none; border-bottom: 1px solid var(--mm-line); }
.dr-prod:hover { color: var(--mm-navy); text-decoration: none; }
.dr-prod .photo { flex: none; width: 52px; padding: 2px; font-size: .5625rem; letter-spacing: 0; border-radius: var(--mm-r-sm); }
.dr-prod-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dr-prod-n { font: 700 1rem/1.375rem var(--mm-font-text); }
.dr-links { padding: 12px var(--mm-s4) 4px; display: flex; flex-direction: column; }
.dr-cta { padding: 8px var(--mm-s4); }
.dr-grp { padding-top: 12px; }
.dr-grp > .lbl { padding: 8px var(--mm-s4) 0; }
.dr-list { list-style: none; margin: 0; padding: 0; }
.dr-link { display: flex; align-items: center; gap: 12px; min-height: var(--mm-tap); padding: 0 var(--mm-s4); font: 500 1rem/1.375rem var(--mm-font-text); color: var(--mm-navy); text-decoration: none; }
.dr-link:hover { color: var(--mm-navy); text-decoration: none; background: var(--mm-mint-50); }
.dr-link-b { font-weight: 600; }
.dr-links .dr-link { padding: 0; }

/* ================================================================
   6. Search
   Phone: full-height sheet. Computer: a panel under the header; the header rises above the dim.
   ================================================================ */
.sheet.is-search { top: 0; bottom: 0; max-height: none; border-radius: 0; }
.sr-in { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.sr-form { flex: none; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px var(--mm-s4); border-bottom: 1px solid var(--mm-line); }
.sr-field { flex: 1; min-width: 0; }
.sr-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-box { position: relative; }
.sr-box .ic { position: absolute; left: 14px; top: 12px; color: var(--mm-navy); pointer-events: none; }
.sr-box .in { padding-left: 44px; }
.sr-box .in:focus { padding-left: 43.5px; }
.sr-close { display: none; }
.sr-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--mm-s4); }
.sr-start { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sr-try { margin: 0; }
.sr-try-l { font: 600 .9375rem/1.25rem var(--mm-font-text); color: var(--mm-grey-700); padding-right: 4px; }
.sr-chips { display: contents; }
.sr-hint { margin-top: var(--mm-s4); }

.sr-list { display: flex; flex-direction: column; }
.sr-grid { display: flex; flex-direction: column; gap: 20px; }
.sr-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sr-grp { display: flex; flex-direction: column; gap: 4px; }
.sr-opt {
  display: flex; align-items: center; gap: 12px; min-height: var(--mm-tap); padding: 0 8px; margin-inline: -8px;
  border-radius: var(--mm-r-sm); color: var(--mm-navy); text-decoration: none; font: 500 .9375rem/1.25rem var(--mm-font-text);
}
.sr-opt:hover, .sr-opt[aria-selected="true"], .sr-all[aria-selected="true"] { background: var(--mm-mint-50); color: var(--mm-navy); text-decoration: none; }
.sr-opt[aria-selected="true"], .sr-all[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--mm-navy); }   /* mint-50 alone is too pale to find */
.sr-col:empty { display: none; }
.sr-nm { font-weight: 600; }
.sr-guide, .sr-cat { padding-block: 6px; }
.sr-guide .ic, .sr-cat .ic { flex: none; }
.sr-prod { min-height: 76px; }
.sr-prod .photo { flex: none; width: 52px; padding: 2px; font-size: .5625rem; letter-spacing: 0; border-radius: var(--mm-r-sm); }
.sr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sr-pr { flex: none; white-space: nowrap; font: 600 .875rem/1.25rem var(--mm-font-text); font-variant-numeric: tabular-nums; }
.sr-opt mark { background: none; color: var(--mm-navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--mm-mint); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.sr-all { display: inline-flex; align-items: center; align-self: flex-start; min-height: var(--mm-tap); margin: 12px 0 0 -8px; padding: 0 8px; border-radius: var(--mm-r-sm); font: 700 .9375rem/1.25rem var(--mm-font-text); }
.sr-none { display: flex; flex-direction: column; gap: 20px; padding-block: var(--mm-s4); }
.sr-rows { border-top: 1px solid var(--mm-line); }
.sr-wa { display: flex; align-items: center; gap: 12px; padding: var(--mm-s4); background: var(--mm-mint-100); border-radius: var(--mm-r-md); }
.sr-wa p { font-size: .9375rem; line-height: 1.375rem; }

@media (min-width: 1024px) {
  .sheet.is-search {
    top: var(--sr-top, 88px); bottom: auto; max-height: calc(100vh - var(--sr-top, 88px)); border-radius: 0 0 var(--mm-r-lg) var(--mm-r-lg);
    transform: translateY(-16px); opacity: 0;
    transition: transform var(--mm-t-out) var(--mm-ease-soft), opacity var(--mm-t-out) var(--mm-ease-soft);
  }
  .sheet.is-search.is-open { transform: none; opacity: 1; transition-duration: var(--mm-t-step); }
  html.is-search-open .site-header { z-index: 62; }
  .sr-in { width: 100%; max-width: calc(880px + 2 * var(--mm-margin)); margin-inline: auto; padding: 28px var(--mm-margin) 0; }
  .sr-form { align-items: flex-end; gap: 16px; padding: 0; border-bottom: 0; }
  .sr-label { position: static; width: auto; height: auto; margin: 0 0 6px; overflow: visible; clip: auto; white-space: normal; font: 600 .875rem/1.25rem var(--mm-font-text); }
  .sr-box .ic { left: 18px; top: 18px; }
  .sr-box .in, .sr-box .in:focus { min-height: 60px; padding-left: 54px; font-size: 1.25rem; line-height: 1.625rem; border: 2px solid var(--mm-navy); box-shadow: 0 0 0 4px var(--mm-mint-200); }
  .sr-box .in:focus { padding-left: 53.5px; }
  .sr-cancel { display: none; }
  .sr-close { display: inline-flex; margin-bottom: 8px; }
  .sr-body { padding: 28px 0 40px; }
  .sr-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
  .sr-opt { font-size: 1rem; line-height: 1.375rem; }
  .sr-prod { min-height: 84px; }
}

/* ================================================================
   7, 33. Footer
   ================================================================ */
.site-footer { background: var(--mm-navy); color: var(--mm-white); padding: 40px 0 96px; }   /* room under the last line for the WhatsApp button */
.ft-in { max-width: calc(var(--mm-content) + 2 * var(--mm-margin)); margin-inline: auto; padding-inline: var(--mm-margin); display: flex; flex-direction: column; gap: 28px; }
.ft-top { display: flex; flex-direction: column; gap: 28px; }
.ft-brand { order: 0; display: flex; align-items: center; gap: 18px; }
.ft-news { order: 1; }
.ft-links { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--mm-gutter); }
.ft-talk { order: 3; }
.ft-logo { position: relative; flex: none; width: 96px; height: 96px; display: flex; align-items: center; justify-content: center; background: var(--mm-white); border-radius: var(--mm-r-md); }
.ft-line { font-size: var(--mm-fs-small); line-height: 1.375rem; color: var(--mm-mint-100); max-width: 280px; }
.site-footer .ph-text { color: inherit; }
.ft-lbl { font: 700 var(--mm-fs-label)/1rem var(--mm-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--mm-mint-200); margin-bottom: 4px; }
.ft-list { list-style: none; margin: 0; padding: 0; }
.ft-list a { display: flex; align-items: center; gap: 10px; min-height: var(--mm-tap); font: 500 var(--mm-fs-body)/1.375rem var(--mm-font-text); color: var(--mm-white); text-decoration: none; }
.ft-list a:hover { color: var(--mm-white); text-decoration: underline dashed 2px; text-underline-offset: 4px; }
.ft-contact a { color: var(--mm-mint); font-weight: 600; }
.ft-contact a:hover { color: var(--mm-mint); }
.ft-addr { font-size: var(--mm-fs-small); line-height: 1.25rem; color: var(--mm-mint-100); margin-top: 6px; }
.ft-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ft-soc { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--mm-mint); display: inline-flex; align-items: center; justify-content: center; color: var(--mm-white); font: 700 .6875rem/1 var(--mm-font-text); text-decoration: none; }
.ft-soc:hover { color: var(--mm-white); background: var(--mm-hover-on-navy); text-decoration: none; }
.site-footer .ft-note { font-size: .8125rem; line-height: 1.125rem; color: var(--mm-mint-200); }

.ft-h2 { font-size: var(--mm-fs-h3); line-height: 1.28; color: var(--mm-white); }
.ft-intro { font-size: var(--mm-fs-small); line-height: 1.25rem; color: var(--mm-mint-100); margin-top: 6px; }
.ft-fld { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.ft-fld > label { font: 600 .875rem/1.25rem var(--mm-font-text); color: var(--mm-mint-100); }
.ft-nl-row { display: flex; gap: 8px; }
.ft-nl-row .in { flex: 1; min-width: 0; }
.ft-nl-row .in[aria-invalid="true"] { box-shadow: 0 0 0 3px var(--mm-coral-100); }
.ft-nl-row .btn { padding: 0 18px; }
.ft-err { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: var(--mm-r-sm); background: var(--mm-coral-100); color: var(--mm-error); font: 600 .8125rem/1.125rem var(--mm-font-text); }
.ft-err .ic { margin-top: -1px; }
.ft-done:empty { display: none; }
.ft-done:focus { outline: none; }
.ft-done:focus-visible { outline: 2px solid var(--mm-mint); outline-offset: 3px; border-radius: var(--mm-r-md); }
.nl-ok { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px 24px 24px; background: var(--mm-mint-100); color: var(--mm-navy); border-radius: var(--mm-r-md); }
.nl-ok-t { font: 600 var(--mm-fs-h3)/1.28 var(--mm-font-head); font-stretch: 92%; letter-spacing: -.015em; padding-right: 28px; }
.nl-knot { position: absolute; right: 24px; top: 26px; overflow: visible; }
.nl-knot circle { fill: var(--mm-coral); }
.nl-knot path { fill: none; stroke: var(--mm-coral); stroke-width: 1.75; stroke-linecap: round; }
.nl-ok .mock-note { align-self: flex-start; }

.ft-bottom { display: flex; flex-direction: column; gap: 20px; }
.ft-pay { order: 1; display: flex; flex-direction: column; gap: 10px; }
.ft-copy { order: 2; font-size: .8125rem; line-height: 1.125rem; color: var(--mm-mint-200); padding-top: 16px; border-top: 1px solid var(--mm-navy-hover); }
.ft-pay-l { font: 700 var(--mm-fs-label)/1rem var(--mm-font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--mm-mint-200); }
.ft-pay-b { display: none; }
.ft-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.ft-tiles li { height: 36px; padding: 0 4px; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: var(--mm-r-sm); background: var(--mm-white); color: var(--mm-grey-700); font: 700 .625rem/.75rem var(--mm-font-text); }

@media (min-width: 600px) {
  .ft-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--mm-gutter); }
  .ft-tiles { grid-template-columns: repeat(4, 96px); }
}
@media (min-width: 1024px) {
  .site-footer { padding: 64px 0 96px; }
  .ft-in { gap: 40px; }
  .ft-top { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .ft-brand, .ft-news, .ft-links, .ft-talk { order: 0; }
  .ft-brand { grid-column: span 3; flex-direction: column; align-items: flex-start; gap: 20px; }
  .ft-links { display: contents; }
  .ft-links > nav { grid-column: span 2; }
  .ft-talk { grid-column: span 2; }
  .ft-news { grid-column: span 3; }
  .ft-bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .ft-copy { order: 0; padding-top: 0; border-top: 0; }
  .ft-pay { order: 0; flex-direction: row; align-items: center; gap: 16px; }
  .ft-pay-l { font: 400 .8125rem/1.125rem var(--mm-font-text); letter-spacing: 0; text-transform: none; color: var(--mm-mint-200); }
  .ft-pay-s { display: none; }
  .ft-pay-b { display: inline; }
  .ft-tiles { grid-template-columns: repeat(3, 84px) 104px; }
}

/* ---------- 34. WhatsApp button ---------- */
.wa-btn {
  position: fixed; z-index: 45; right: var(--mm-s4); bottom: var(--mm-s4); width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: var(--mm-navy); color: var(--mm-mint);
  box-shadow: 0 0 0 2px var(--mm-white), var(--mm-shadow); text-decoration: none;   /* the white ring keeps it visible over the navy footer */
}
.wa-btn:hover { background: var(--mm-navy-hover); color: var(--mm-mint); text-decoration: none; }
.wa-btn:focus-visible { outline: 2px solid var(--mm-mint); outline-offset: 3px; box-shadow: 0 0 0 7px var(--mm-navy); }   /* mint ring inside a navy halo reads on white and on navy */
body.has-sticky-bar .wa-btn { bottom: calc(var(--mm-sticky-h) + var(--mm-s4)); }
@media (min-width: 1024px) { .wa-btn { right: var(--mm-s5); } }

/* ================================================================
   19, 20. Mini cart and the free-delivery thread
   ================================================================ */
.mc-head h2 .mc-n { font: 600 1rem/1 var(--mm-font-text); color: var(--mm-grey-700); letter-spacing: 0; }
.mc-head h2:focus { outline: none; }
.mc-head h2:focus-visible { outline: 2px solid var(--mm-navy); outline-offset: 4px; border-radius: var(--mm-r-xs); }

.mc-thread { flex: none; padding: 14px var(--mm-s4) 12px; background: var(--mm-mint-50); overflow: hidden; }
.th-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.th-txt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; min-height: 22px; font: 600 .9375rem/1.25rem var(--mm-font-text); }
.th-add { flex: none; }
.th-track { position: relative; height: 24px; margin: 6px 12px 0 0; }
.th-guide, .th-line { position: absolute; left: 0; top: 0; width: 100%; height: 24px; overflow: visible; }
.th-win {   /* the clipping window: moves by transform, the stitches inside never stretch */
  position: absolute; inset: 0; overflow: hidden;
  transform: translateX(calc((var(--f) - 1) * 100%)); transition: transform var(--mm-t-thread) var(--mm-ease-sew);
}
.th-line { transform: translateX(calc((1 - var(--f)) * 100%)); transition: transform var(--mm-t-thread) var(--mm-ease-sew); }
.th-head { position: absolute; left: 0; top: 0; width: 100%; height: 24px; pointer-events: none; transform: translateX(calc(var(--f) * 100%)); transition: transform var(--mm-t-thread) var(--mm-ease-sew); }
.th-needle { position: absolute; left: 0; top: 0; overflow: visible; transition: opacity var(--mm-t-step) var(--mm-ease-soft); }
.th-n-body { fill: none; stroke: var(--mm-navy); stroke-width: 2.25; stroke-linecap: round; }
.th-n-eye { fill: var(--mm-white); stroke: var(--mm-navy); stroke-width: 1; }
.th-knot { position: absolute; left: calc(100% - 8px); top: 0; overflow: visible; opacity: 0; transition: opacity var(--mm-t-step) var(--mm-ease-soft); }
.th-knot circle { fill: var(--mm-coral); }
.th-knot path { fill: none; stroke: var(--mm-coral); stroke-width: 1.75; stroke-linecap: round; }
.mc-thread.is-empty .th-needle, .mc-thread.is-reached .th-needle { opacity: 0; }
.mc-thread.is-reached .th-knot { opacity: 1; }

.mc-body { padding-block: 0; }
.mc-lines { list-style: none; margin: 0; padding: 0; }
.mc-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--mm-line); }
.mc-thumb { flex: none; width: 64px; border-radius: var(--mm-r-sm); }
.mc-thumb .photo { width: 64px; height: 80px; aspect-ratio: auto; padding: 2px; font-size: .5625rem; letter-spacing: 0; border-radius: var(--mm-r-sm); }
.mc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mc-name { display: inline-block; padding-block: 12px; margin-block: -12px; font: 600 .9375rem/1.25rem var(--mm-font-text); color: var(--mm-navy); }
.mc-price { font: 700 .9375rem/1.25rem var(--mm-font-text); white-space: nowrap; }
.mc-ctl { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.mc-remove { font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.mc-max { margin-top: 2px; }

.mc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 100%; padding: var(--mm-s6) var(--mm-s5); text-align: center; }
.mc-empty-t { font-size: var(--mm-fs-h3); line-height: 1.28; }
.mc-empty-s { font-size: .9375rem; line-height: 1.375rem; color: var(--mm-grey-700); }
.mc-empty .btn:first-of-type { margin-top: 6px; }

.mc-foot { flex-direction: column; align-items: stretch; gap: 6px; padding: 14px var(--mm-s4) var(--mm-s4); }
.mc-row { display: flex; justify-content: space-between; align-items: baseline; font-size: .9375rem; line-height: 1.375rem; }
.mc-v { font-weight: 700; }
.mc-total { font-size: 1.0625rem; margin-top: 2px; }
.mc-checkout { margin-top: 8px; }
.mc-sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.mc-sub .btn-txt { font-size: .875rem; }

/* A toast must not sit on the cart's Checkout button */
body.mc-open .toasts { bottom: calc(var(--mc-foot-h, 220px) + 12px); }
@media (min-width: 1024px) {
  body.mc-open .toasts { bottom: auto; top: calc(var(--sh-h) + 12px); right: calc(var(--mm-drawer-w) + var(--mm-s4)); }
}

/* ================================================================
   Welcome back (new feature 2). No motion on purpose: it can sit on the first screen.
   ================================================================ */
.wb { margin-top: var(--mm-s4); }
.wb-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wb-text { display: flex; flex-direction: column; gap: 2px; }
.wb-act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 8px; }
@media (min-width: 1024px) {
  .wb-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px 32px; }
  .wb-act { margin-top: 0; flex: none; }
}

/* ================================================================
   Reduced motion: instant, or a 150 ms fade
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .hd-bar, .hd-bar::after, .hd-menu, .hd-logo, .hd-tools, .hd-item, .hd-logo .logo-img, .hd-ch, .cnt-roll { transition: none; }
  .mega { animation: mm-fade 150ms linear both; }
  .dr-sub, .dr-sub.is-in { transform: none; transition: opacity 150ms linear; }
  .dr-sub { opacity: 0; }
  .dr-sub.is-in { opacity: 1; }
  .th-win, .th-line, .th-head { transition: none; }
  .th-needle, .th-knot { transition: opacity 150ms linear; }
}
