/* Moonlit — chrome. Geometry from the Figma frames (header 35+66+29 desktop / 33+50 mobile; footer
   80/56/36; drawers 460 / 390; mega panel 374 tall under the 130px header). */

/* ---------------------------------------------------------------- header shell */
.ml-head { position: relative; z-index: 60; color: var(--ml-text); }
.ml-head__bar { background: var(--ml-pearl); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.ml-head--over { position: absolute; top: 0; left: 0; right: 0; color: var(--ml-inverse); }
.ml-head--over .ml-head__bar { background: transparent; }
/* while a mega panel is open, the overlay header turns solid like the panel under it (it read as a see-through strip
   over the hero, cut off from its own menu) */
.ml-head--over:has(.ml-nav__item.is-open) { color: var(--ml-text); }
.ml-head--over:has(.ml-nav__item.is-open) .ml-head__bar { background: var(--ml-pearl); }
.ml-head--over:has(.ml-nav__item.is-open) .ml-nav { box-shadow: inset 0 -1px 0 var(--ml-line); }
.ml-head--over:not(.is-stuck):has(.ml-nav__item.is-open) .ml-hsrch { border-color: var(--ml-line); }
.ml-head--over:not(.is-stuck):has(.ml-nav__item.is-open) .ml-hsrch__i::placeholder { color: var(--ml-text-2); }
/* once the hero is scrolled past, the overlay header turns solid and sticks (prototype's Hover/Header states) */
.ml-head.is-stuck { position: fixed; top: 0; left: 0; right: 0; color: var(--ml-text); }
.ml-head.is-stuck .ml-announce { display: none; }
.ml-head.is-stuck .ml-head__bar { background: var(--ml-pearl); box-shadow: 0 1px 0 var(--ml-line); }
.ml-head.is-stuck .ml-nav__item--sale .ml-nav__link { color: var(--ml-sale); }
body.ml-has-fixed-head { padding-top: var(--ml-stick-pad, 0px); }

.ml-announce { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 35px; padding: 10px 16px; background: var(--ml-midnight); color: var(--ml-inverse); }
.ml-announce__i { color: var(--ml-lunar); }
.ml-announce__m { display: none; }
.ml-tick { position: relative; display: grid; }
.ml-tick span { grid-area: 1 / 1; text-align: center; opacity: 0; animation: ml-tick calc(var(--n) * 4s) infinite; animation-delay: calc(var(--i) * 4s); }
@keyframes ml-tick { 0% { opacity: 0; transform: translateY(4px); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ml-tick span { animation: none; } .ml-tick span:first-child { opacity: 1; } }

.ml-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; padding: 20px var(--ml-gutter); }
.ml-top__side { display: flex; align-items: center; gap: 22px; min-width: 0; }
.ml-top__side--end { justify-content: flex-end; }
.ml-top__appt { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }

/* search pill — 260x38, 99px radius; overlay: 1px pearl @40%, solid: border/default */
.ml-hsrch { position: relative; display: flex; align-items: center; gap: 10px; width: 260px; height: 38px; padding: 0 14px; border: 1px solid var(--ml-line); border-radius: 99px; }
.ml-head--over:not(.is-stuck) .ml-hsrch { border-color: rgba(255,255,255,.4); }
.ml-hsrch__i { flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: 0; font-size: 13px; line-height: 1.55; color: inherit; }
.ml-hsrch__i::placeholder { color: var(--ml-text-2); opacity: 1; }
.ml-head--over:not(.is-stuck) .ml-hsrch__i::placeholder { color: var(--ml-inverse); }
.ml-hsrch__out { position: absolute; top: calc(100% + 10px); left: 0; width: 420px; max-height: 70vh; overflow: auto; background: var(--ml-pearl); color: var(--ml-text); box-shadow: 0 30px 50px rgba(10,15,31,.25); z-index: 80; }

/* logo */
.ml-logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; }
.ml-logo__word { font-family: var(--ml-display); font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: 0.06em; white-space: nowrap; }
.ml-logo--m { gap: 8px; }
.ml-logo--m .ml-logo__word { font-size: 21px; letter-spacing: 0.05em; }
.ml-logo--inv { color: var(--ml-inverse); }

.ml-ib { position: relative; display: inline-flex; align-items: center; gap: 4px; min-width: 24px; min-height: 24px; justify-content: center; color: inherit; transition: color .3s ease; }
.ml-ib:hover { color: var(--ml-lunar); }
.ml-ib__n { font-weight: 600; font-size: 13px; line-height: 1.55; }

/* ---------------------------------------------------------------- primary nav (gap 40, pb 16) */
.ml-nav { padding: 0 var(--ml-gutter) 16px; }
.ml-head:not(.ml-head--over) .ml-nav, .ml-head.is-stuck .ml-nav { box-shadow: inset 0 -1px 0 var(--ml-line); }
.ml-nav__list { display: flex; align-items: center; justify-content: center; gap: 40px; }
.ml-nav__item { display: flex; align-items: center; }
.ml-nav__link { position: relative; display: inline-flex; align-items: center; gap: 5px; padding-block: 1px; }
.ml-nav__item--sale .ml-nav__link { color: var(--ml-sale); }
.ml-head--over:not(.is-stuck) .ml-nav__item--sale .ml-nav__link { color: var(--ml-lunar); }
.ml-nav__ul { position: absolute; left: 0; top: 18px; height: 1.5px; width: 100%; background: var(--ml-lunar); transform: scaleX(0); transform-origin: left; transition: transform .3s ease-out; }
.ml-nav__item:hover .ml-nav__ul, .ml-nav__item.is-open .ml-nav__ul { transform: scaleX(1); }

/* ---------------------------------------------------------------- mega panel (Figma Panel: 40/56/44, gap 36) */
.ml-panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 70;
  background: var(--ml-pearl); color: var(--ml-text); box-shadow: 0 30px 50px rgba(10,15,31,.25);
  opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.ml-panel { overflow-x: clip; }
/* playbook Step 18: reduced motion = a short fade, no slide */
@media (prefers-reduced-motion: reduce) { .ml-panel { transform: none !important; transition-duration: .15s !important; } }
.ml-dw__srch { padding: 0 24px 12px; }
.ml-dw__srch .ml-input { width: 100%; min-height: 44px; }
.ml-nav__item.is-open .ml-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s ease, transform .3s ease; }
.ml-panel__in { display: flex; gap: 36px; max-width: var(--ml-max); margin-inline: auto; padding: 40px var(--ml-gutter) 44px; }
.ml-panel__col { flex: 0 0 auto; min-width: 0; }
.ml-panel__h { margin-bottom: 13px; }
.ml-panel__links { display: flex; flex-direction: column; gap: 13px; }
.ml-panel__links a { display: inline-flex; align-items: center; gap: 8px; color: var(--ml-text); transition: color .3s ease; }
.ml-panel__links a:hover, .ml-panel__links a.is-accent { color: var(--ml-accent); }
.ml-panel__col--two .ml-panel__links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 28px; row-gap: 13px; }
/* below 1280 a panel with two long lists and the feature card has no room for four columns of links */
@media (max-width: 1279px) { .ml-panel__col--two .ml-panel__links { grid-template-columns: max-content; } }
.ml-panel__col--shapes .ml-panel__links { display: grid; grid-template-columns: 120px 120px; column-gap: 6px; row-gap: 6px; }
.ml-panel__col--shapes .ml-panel__links a { min-height: 28px; }
.ml-panel__sp { flex: 1 1 auto; }
.ml-panel__feat { display: flex; gap: 12px; flex: 0 1 auto; min-width: 0; }
/* 210 x 290 at 1440; the tiles narrow with the viewport so the panel never runs past it (it did by 50px at 1280) */
.ml-feat { position: relative; display: block; width: clamp(150px, 14.583vw, 210px); height: clamp(220px, 20.14vw, 290px); overflow: hidden; background: var(--ml-midnight); }
.ml-feat img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease-out; }
.ml-feat::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(180deg, rgba(14,22,38,0) 0%, rgba(14,22,38,.85) 100%); }
.ml-feat:hover img { transform: scale(1.04); }
.ml-feat__t { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.ml-feat__t strong { font-family: var(--ml-display); font-weight: 300; font-style: italic; font-size: 22px; line-height: 1.1; color: var(--ml-inverse); }
.ml-feat__t em { font-style: normal; color: var(--ml-lunar); }
/* .ml-scrim.ml-scrim--mega: the element also carries .ml-scrim, whose later z-index 80 used to win and laid the 50% veil
   OVER the panel (z 70) — the whole menu looked dull grey. Inside the header both share one stacking context. */
.ml-scrim.ml-scrim--mega { position: fixed; inset: 0; top: auto; z-index: 55; background: rgba(10,15,31,.5); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.ml-scrim--mega.is-on { opacity: 1; }

/* ---------------------------------------------------------------- mobile bar (33 + 50) */
.ml-mbar { display: none; align-items: center; justify-content: space-between; height: 50px; padding: 0 var(--ml-gutter); }
.ml-head:not(.ml-head--over) .ml-mbar, .ml-head.is-stuck .ml-mbar { box-shadow: inset 0 -1px 0 var(--ml-line); }
/* each icon is a 44px tap box, so the sides grow with them (76px fixed squeezed the search icon
   over to the logo); the bar's own padding is the gutter minus the box's inner margin */
.ml-mbar { padding: 0 max(4px, calc(var(--ml-gutter) - 11px)); }
.ml-mbar__side { display: flex; align-items: center; gap: 0; flex: 1 1 0; min-width: 0; }
.ml-mbar__side--end { justify-content: flex-end; }
@media (max-width: 1023px) {
  .ml-hsrch { width: 200px; }
  /* 31 Oct responsive pass: at 768 "Engagement rings" and "Wedding bands" broke onto two lines while the rest stayed on one — a touch smaller and never wrapped, all six fit */
  .ml-nav__list { gap: 20px; }
  .ml-nav__link { white-space: nowrap; font-size: 11px; letter-spacing: .1em; }
  .ml-top__appt span { display: none; }
  .ml-panel__feat .ml-feat:nth-child(2) { display: none; }
  /* tablet: the columns wrap inside the viewport (they ran 316px past it at 768 — a page-wide h-scroll) */
  .ml-panel__in { flex-wrap: wrap; gap: 28px; }
  .ml-panel__sp { display: none; }
}
@media (max-width: 767px) {
  .ml-announce { min-height: 33px; padding: 9px 16px; }
  .ml-announce__d { display: none; }
  .ml-announce__m { display: block; }
  .ml-top, .ml-nav { display: none; }
  .ml-mbar { display: flex; }
}

/* ---------------------------------------------------------------- scrim + drawers */
.ml-scrim { position: fixed; inset: 0; background: rgba(10,15,31,.5); z-index: 80; opacity: 0; transition: opacity .3s ease; }
.ml-scrim.is-on { opacity: 1; }
.ml-dw {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--ml-pearl); color: var(--ml-text); transform: translateX(100%); transition: transform .35s ease-out;
}
.ml-dw.is-on { transform: none; }
.ml-dw--menu, .ml-dw--search { right: auto; left: 0; transform: translateX(-100%); }
.ml-dw--menu { width: 100vw; max-width: 430px; }
.ml-dw--search { width: min(560px, 100vw); }
.ml-dw--menu.is-on, .ml-dw--search.is-on { transform: none; }
.ml-dw__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 22px 24px; border-bottom: 1px solid var(--ml-line); }
.ml-dw__t { font-family: var(--ml-display); font-weight: 300; font-size: 28px; line-height: 1.1; display: flex; align-items: baseline; gap: 8px; }
.ml-dw__inner { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.ml-dw__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.ml-dw__foot { border-top: 1px solid var(--ml-line); padding: 20px 24px 28px; background: var(--ml-white); }

/* bag drawer body (snippet mlt-bag-body) */
.ml-bag__strip { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 24px; background: var(--ml-indigo); color: var(--ml-inverse); }
.ml-bag__lines { padding: 0 24px; }
.ml-bag__set { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.ml-bag__pair { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--ml-white); border: 1px solid var(--ml-line); }
.ml-bag__pair .ml-media { width: 52px; height: 52px; flex: 0 0 52px; }
.ml-bag__pt { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ml-bag__pt .ml-small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-bag__add { flex: 0 0 auto; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border: 1px solid var(--ml-line-strong); transition: background .3s ease, color .3s ease; }
.ml-bag__add:hover { background: var(--ml-midnight); color: var(--ml-inverse); }
.ml-bag__note { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.ml-bag__note[aria-pressed='true'] { color: var(--ml-accent); }
.ml-bag__foot { margin-top: auto; padding: 20px 24px 28px; background: var(--ml-white); border-top: 1px solid var(--ml-line); display: flex; flex-direction: column; gap: 12px; }
.ml-bag__sub { display: flex; align-items: flex-end; justify-content: space-between; }
.ml-bag__sub .ml-label { padding-bottom: 4px; }

/* ---------------------------------------------------------------- mobile menu (Figma 19:13504) */
.ml-mm__head { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 16px; border-bottom: 1px solid var(--ml-line); }
.ml-mm__body { padding: 8px 16px 24px; }
.ml-mm__rows { display: flex; flex-direction: column; }
.ml-mm__row { display: flex; align-items: center; justify-content: space-between; min-height: 59px; border-bottom: 1px solid var(--ml-line); font-family: var(--ml-display); font-weight: 300; font-size: 24px; line-height: 1.1; color: var(--ml-text); text-align: left; width: 100%; }
.ml-mm__row.is-sale { color: var(--ml-sale); }
.ml-mm__row svg { color: var(--ml-text-2); }
.ml-mm__back { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: var(--ml-text-2); }
.ml-mm__back svg { transform: rotate(180deg); }
.ml-mm__sub h3 { margin: 18px 0 12px; }
.ml-mm__sub ul { display: flex; flex-direction: column; }
.ml-mm__sub li a { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--ml-line); font-size: 15px; }
.ml-mm__sub .ml-mm__shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ml-mm__sub .ml-mm__shapes a { flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; border: 1px solid var(--ml-line); background: var(--ml-white); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.ml-mm__feat { position: relative; display: block; height: 150px; margin-top: 20px; overflow: hidden; background: var(--ml-midnight); }
.ml-mm__feat img { width: 100%; height: 100%; object-fit: cover; }
.ml-mm__feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,22,38,.75) 0%, rgba(14,22,38,.1) 100%); }
.ml-mm__feat span { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.ml-mm__feat strong { font-family: var(--ml-display); font-weight: 300; font-style: italic; font-size: 24px; color: var(--ml-inverse); }
.ml-mm__feat em { font-style: normal; color: var(--ml-lunar); }
.ml-mm__util { list-style: none; margin: 0; padding: 4px 16px; border-top: 1px solid var(--ml-line); }
.ml-mm__u { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0; border: 0; background: none; color: var(--ml-text); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.ml-mm__util li + li .ml-mm__u { border-top: 1px solid var(--ml-line); }
.ml-mm__n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--ml-mist); font-size: 11px; line-height: 20px; text-align: center; }
.ml-mm__foot { display: flex; gap: 10px; padding: 16px; background: var(--ml-midnight); }
.ml-mm__act { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid rgba(244,242,236,.35); color: var(--ml-inverse); font-size: 11px; letter-spacing: .12em; }

/* ---------------------------------------------------------------- search drawer */
.ml-srch { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; border: 1px solid var(--ml-line); border-radius: 99px; padding: 0 14px; height: 42px; background: var(--ml-white); }
.ml-srch__i { flex: 1 1 auto; min-width: 0; border: 0; background: none; outline: 0; font-size: 16px; }
.ml-srch__i::placeholder { color: var(--ml-text-2); }
.ml-srch__sug { padding: 24px; }
.ml-srch__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ml-srch__res { padding: 8px 0; }
.ml-srch__res a { display: flex; gap: 14px; align-items: center; padding: 10px 24px; }
.ml-srch__res a:hover { background: var(--ml-mist); }
.ml-srch__res .ml-media { width: 56px; height: 62px; flex: 0 0 56px; }
.ml-srch__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ml-srch__t strong { font-family: var(--ml-display); font-weight: 400; font-size: 18px; line-height: 1.15; }
/* CARD-TITLE (4 Nov): product names in the predictive list and the wishlist drawer also stop at 2 lines + "…" (rows, so no
   reserved height); the full name stays in the HTML and in the link's title */
.ml-srch__t strong, .ml-wlist__t strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
.ml-srch__t em { font-style: normal; font-weight: 600; font-size: 13px; }
.ml-srch__all, .ml-srch__none { display: block; padding: 14px 24px; }

/* ---------------------------------------------------------------- Night List popup (920x560, midnight) */
.ml-pop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(10,15,31,.65); padding: 20px; }
.ml-pop__panel { position: relative; display: grid; grid-template-columns: 420px minmax(0, 500px); width: min(920px, 100%); min-height: 560px; background: var(--ml-midnight); color: var(--ml-inverse); box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.ml-pop__img { overflow: hidden; }
.ml-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.ml-pop__body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 56px 52px; }
.ml-pop__h { font-family: var(--ml-display); font-weight: 300; font-size: clamp(40px, 3.9vw, 56px); line-height: 1; letter-spacing: -0.015em; }
.ml-pop__h i { color: var(--ml-moon); }
.ml-pop__t { opacity: .75; }
.ml-pop form { display: flex; flex-direction: column; gap: 18px; }
.ml-pop__i { height: 52px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); background: none; color: var(--ml-inverse); font-size: 13px; }
.ml-pop__i::placeholder { color: var(--ml-inverse); opacity: .6; }
.ml-pop__b { height: 46px; background: var(--ml-moon); color: var(--ml-text); transition: background .3s ease; }
.ml-pop__b:hover { background: var(--ml-lunar); }
.ml-pop__no { align-self: flex-start; color: var(--ml-muted-dark); text-decoration: underline; text-underline-offset: 3px; }
.ml-pop__x { position: absolute; top: 18px; right: 18px; color: var(--ml-inverse); }
@media (max-width: 767px) {
  .ml-pop { align-items: end; padding: 0; }
  .ml-pop__panel { grid-template-columns: 1fr; min-height: 0; }
  .ml-pop__img { height: 198px; }
  .ml-pop__body { padding: 24px 18px 28px; gap: 14px; }
  .ml-pop__t { display: none; }   /* Figma 19:13432: the sheet carries no body line */
  .ml-pop__panel { width: 100%; }
  .ml-pop__x { width: 32px; height: 32px; border-radius: 99px; background: rgba(14,22,38,.6); }
}

/* ---------------------------------------------------------------- footer (Footer/Desktop 6:3) */
.ml-foot { background: var(--ml-midnight); color: var(--ml-inverse); }
.ml-foot__in { max-width: var(--ml-max); margin-inline: auto; padding: 80px var(--ml-gutter) 36px; display: flex; flex-direction: column; gap: 56px; }
.ml-foot__top { display: flex; gap: 72px; align-items: flex-start; }
.ml-foot__brand { display: flex; flex-direction: column; gap: 16px; width: 400px; flex: 0 0 400px; }
.ml-foot__h { font-family: var(--ml-display); font-weight: 300; font-size: clamp(28px, 2.5vw, 36px); line-height: 1.05; letter-spacing: -0.005em; }
.ml-foot__sub { opacity: .72; }
.ml-sub { display: flex; align-items: stretch; }   /* 30 Oct (user): the button sat 10px short at the top — now it is the input's full height, one joined box */
.ml-sub__i { flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--ml-inverse); font-size: 13px; }
.ml-sub__i::placeholder { color: var(--ml-inverse); opacity: .6; }
.ml-sub__b { flex: 0 0 126px; height: 52px; background: var(--ml-moon); color: var(--ml-text); transition: background .3s ease; }
.ml-sub__b:hover { background: var(--ml-lunar); }
.ml-foot__ok { color: var(--ml-lunar); }
.ml-foot__err { color: #f1c7cc; }
.ml-social { display: flex; gap: 16px; color: var(--ml-moon); }
.ml-social a { display: inline-flex; transition: color .3s ease; }
.ml-social a:hover { color: var(--ml-lunar); }
.ml-foot__cols { display: flex; flex: 1 1 auto; gap: 24px; min-width: 0; }
.ml-foot__col { flex: 1 1 0; min-width: 0; }
/* the Contact column carries the e-mail address: a little wider, and the address may break rather than run into Shop */
.ml-foot__col:first-child { flex-grow: 1.5; }
.ml-foot__col a[href^="mailto:"] { overflow-wrap: anywhere; }
.ml-foot__ch { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--ml-lunar); margin-bottom: 12px; text-align: left; pointer-events: none; }
.ml-foot__plus { display: none; color: var(--ml-inverse); }
.ml-foot__ul { display: flex !important; flex-direction: column; gap: 12px; }
.ml-foot__ul a { opacity: .78; transition: opacity .3s ease, color .3s ease; }
.ml-foot__ul a:hover { opacity: 1; color: var(--ml-lunar); }
.ml-foot__bot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.ml-foot__cp { opacity: .6; }
.ml-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.ml-pay li { padding: 5px 8px; border: 1px solid rgba(255,255,255,.3); border-radius: 3px; }
/* 3 Nov (RESPONSIVE): at 1024-1279 the 400px brand column left the four link columns ~120px each (the email broke
   mid-word, "Useful links" and "Engagement Rings" wrapped). Up to 1279 the brand now sits above the columns, as on
   a tablet; from 1024 the four columns stay in one row. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .ml-foot__top { flex-direction: column; gap: 40px; }
  .ml-foot__brand { width: 100%; flex: 1 1 auto; max-width: 520px; }
  .ml-foot__cols { width: 100%; }
}
@media (max-width: 1023px) {
  .ml-foot__top { flex-direction: column; gap: 40px; }
  .ml-foot__brand { width: 100%; flex: 1 1 auto; max-width: 520px; }
  .ml-foot__cols { flex-wrap: wrap; gap: 32px 24px; width: 100%; }
  .ml-foot__col { flex: 1 1 28%; }
}
@media (max-width: 767px) {
  .ml-foot__in { padding: 48px var(--ml-gutter) 28px; gap: 32px; }
  .ml-foot__top { gap: 32px; }
  .ml-foot__h { font-size: 28px; }
  .ml-sub__i { height: 52px; }
  .ml-foot__cols { flex-direction: column; gap: 0; }
  .ml-foot__col { border-bottom: 1px solid rgba(255,255,255,.15); }
  .ml-foot__ch { min-height: 45px; margin: 0; pointer-events: auto; }
  .ml-foot__plus { display: block; }
  .ml-foot__ul { display: none !important; padding-bottom: 16px; }
  .ml-foot__ch[aria-expanded='true'] + .ml-foot__ul { display: flex !important; }
  .ml-foot__bot { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* 31 Oct (user, phone screenshot: the "Build your ring" card was cut and Account / Wishlist / Find our store never moved):
   only the link list scrolled, inside the space left over by the fixed bottom rows, so on a short phone the card showed
   67 of its 150 px (430×720) or 15 (375×667). The whole menu now scrolls as one: links, the card, the utility rows and
   Contact us follow each other; the head (close, logo, search, account) stays pinned at the top. On a tall phone with
   room to spare, Contact us still sits at the bottom (margin-top: auto). */
.ml-dw--menu { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ml-dw--menu > * { flex-shrink: 0; }
.ml-dw--menu .ml-mm__head { position: sticky; top: 0; z-index: 2; background: var(--ml-pearl); }
.ml-dw--menu .ml-mm__body { flex: 0 0 auto; overflow: visible; }
.ml-dw--menu .ml-mm__foot { margin-top: auto; }

/* 31 Oct (user's newsletter-popup pack): the left panel shows assets/demo/art/mlt-32-newsletter-popup.webp in full colour
   (no tone filter), centred; demo/necklace.webp is left as it is for its other uses. The 3:4 photo fills the 420x560
   desktop panel uncropped; the phone strip is 198px tall, so its focus moves up to keep the face and the necklace. */
.ml-pop__img img { object-position: center center; filter: none; }
@media (max-width: 767px) { .ml-pop__img img { object-position: 50% 35%; } }

/* 31 Oct (user, iPhone): the third-party chat launcher (#relay-widget-host, fixed bottom-right inside its shadow root) sat over
   the filter drawer's Clear all / Show results and the bag drawer's footer. While any drawer is open (mlt.js adds this class
   on <html>) the widget's host is hidden; it is back the moment the drawer closes. */
.ml-dw-open #relay-widget-host { display: none !important; }
