/** Shopify CDN: Minification failed

Line 595:63 Unexpected "/"
Line 800:119 Unexpected "/"

**/
/* Per-store palette (boat) for the card + drawer. Only this block changes between
   stores; every rule below is identical on all four. Values derived from
   each store's own existing card, not invented. */
:root{
  --mcf-ink:      #123f49;  /* headline, spec titles, card ink */
  --mcf-question: #E8482A;  /* the problem-first question line */
  --mcf-model:    #3d6168;  /* the model name above the question */
  --mcf-accent:   #1d8da0;  /* brand accent */
  --mcf-panel:    #f2f8f8;  /* tinted panels, the shape bar */
}

/* ======================================================================
   mattress-card-face.css
   Shared styling for the single-source mattress card face (.mcf-*),
   used by Step 1 (mattress-landing) and Step 3 (newlayout / Browser V5).
   Self-contained literal colours so it renders identically in either
   section regardless of that section's own CSS variables.
   ====================================================================== */

/* Product name — the mattress's identity; clear but subordinate to the headline. */
.mcf-model{
  font-size:14px; font-weight:600; letter-spacing:.07em; text-transform:uppercase;
  color:var(--mcf-model); margin:0 0 10px;
}

/* Question line — problem-first hook. */
.mcf-question{
  font-size:17px; font-weight:600; color:var(--mcf-question); margin:0 0 7px;
}

/* Headline — largest element on the card face. */
.mcf-headline{
  font-size:30px; line-height:1.2; font-weight:800; letter-spacing:-.01em;
  color:var(--mcf-ink); margin:0 0 20px;
}

/* Plain-benefit row — refined slim green tick, no disc. */
.mcf-benefits{
  list-style:none; margin:0 0 22px; padding:0;
  display:flex; flex-direction:column; gap:12px;
}
.mcf-benefits li{
  position:relative; padding-left:25px;
  font-size:14.5px; line-height:1.6; font-weight:400; color:#555555;
}
.mcf-benefits li::before{
  content:''; position:absolute; left:0; top:4px;
  width:14px; height:14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237fa87f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Quiet phone line — closes each card. Plain text, never a tel: link. */
.mcf-phone{
  margin:0; padding-top:0;
  font-size:14px; line-height:1.45; color:#555555;
}
.mcf-phone strong{ color:var(--mcf-ink); font-weight:700; }

/* Step-3 (newlayout): phone is a full-width footer strip between the pricing bar and
   the dark "Read Full Details" bar. Pad it to the card; base border-top is its divider. */

@media (max-width: 1023px){
  .mcf-headline{ font-size:27px; }
}
@media (max-width: 767px){
  .mcf-headline{ font-size:24px; }
  .mcf-question{ font-size:16px; }
  }

/* ===== Key spec strip - the four that decide it, read at a glance ===== */

@media (max-width: 767px){
}

/* =======================================================================
   BUILD BADGE — the top-left tag now states the construction and opens the
   exploded diagram. Same footprint as the manual tag it replaces; the thin
   accent ring and the plus mark are what say "this does something".
   ======================================================================= */
.ml-img-tag.ml-build-tag,
.nl-img-tag.ml-build-tag{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--mcf-ink); color:#ffffff;
  border:none; box-shadow:none; font-family:inherit;
  padding:6px 11px; border-radius:4px;
  font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  line-height:1.1; white-space:nowrap;
}
.ml-build-ico{ color:var(--mcf-accent); flex:0 0 auto; }
.ml-build-bars{ display:flex; flex-direction:column; gap:2px; flex:0 0 auto; }
.ml-build-bars i{ display:block; width:14px; height:3px; border-radius:1px; background:#F5A623; }
.ml-build-bars i:first-child{ background:var(--mcf-accent); }
.ml-build-bars i:last-child{ background:#E5E5E5; }
.ml-build-bars i:only-child{ height:6px; background:#E5E5E5; }

@media (max-width: 767px){
  .ml-img-tag.ml-build-tag,
.nl-img-tag.ml-build-tag{ font-size:10px; padding:5px 9px; gap:6px; letter-spacing:.06em; }
  .ml-build-bars i{ width:12px; }
}

/* The action, bottom-left of the photo. No block behind it - the photos are
   light (bottom-left averages 232-255 brightness across all eight), so dark
   text reads cleanly. The soft white halo is insurance: two photos have
   shadows down to 136 there, where unhaloed dark text would fall to 2.9:1. */

.ml-build-link{
  position:absolute; z-index:4; bottom:16px; left:16px;
  display:inline-flex; align-items:center; gap:6px;
  padding:0; border:none; background:none;
  font-family:inherit; font-size:13px; font-weight:600; line-height:1.2;
  color:var(--mcf-ink); cursor:pointer; white-space:nowrap;
  text-shadow:0 0 3px rgba(255,255,255,.95), 0 0 8px rgba(255,255,255,.75);
}
.ml-build-link:hover .ml-build-link-text{ color:#1d7f91; }
.ml-build-link:focus-visible{ outline:2px solid var(--mcf-accent); outline-offset:3px; border-radius:2px; }
.ml-build-link-text{ text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
.ml-build-link-arrow{ color:var(--mcf-accent); font-weight:700; }

@media (max-width: 767px){
  .ml-build-link{ bottom:12px; left:12px; font-size:12.5px; }
}

/* Touch screens never fire :hover, so the zoom affordance is shown outright
   there. This lives in its own query on purpose - hoisted to top level it
   overrides the base opacity:0 and the icon is stuck on at every width. */


/* =======================================================================
   "See how it's made" modal copy — SHARED by Step 1 and Step 3.
   Lives here, not in mattress-landing.css, because Step 3 loads
   newlayout.css + mattress-card-face.css and never loads mattress-landing.
   That is why the Step 3 modal showed a bare image with no write-up.
   ======================================================================= */
.mcf-lb-eyebrow{ font-size:11px; font-weight:400; letter-spacing:.1em;
  text-transform:uppercase; color:#7C8494; margin:0 0 5px; }
.mcf-lb-title{ font-size:22px; font-weight:800; color:var(--mcf-ink);
  margin:0 0 10px; line-height:1.2; }
.mcf-lb-rule{ display:block; width:38px; height:3px; background:var(--mcf-question); margin:0 0 16px; }
.mcf-lb-sub{ font-size:15px; font-weight:600; color:var(--mcf-ink); margin:0 0 6px; line-height:1.35; }
.mcf-lb-body{ font-size:14.5px; font-weight:400; line-height:1.65; color:#123f49; margin:0 0 18px; }
.mcf-lb-body:last-of-type{ margin-bottom:0; }
.mcf-lb-phone{ font-size:13.5px; color:#7C8494; margin:20px 0 0;
  padding-top:14px; border-top:1px solid #F0F0F0; }
.mcf-lb-phone strong{ color:var(--mcf-ink); font-weight:600; }
@media (max-width: 1023px){
  .mcf-lb-title{ font-size:20px; }
  .mcf-lb-body{ font-size:14px; }
}

/* The link was a 119x15 target sitting on top of the photo's own click
   area, so a near-miss opened the corner shot instead of the diagram.
   Padding grows the hit box; the equal negative margin keeps the text
   exactly where it was. */
.ml-build-link{ padding:10px 12px; margin:-10px -12px; }

/* ---- Vita thermal comparison (Revo panels) --------------------------
   Lives HERE, not in mattress-landing.css, because these panels render on
   BOTH funnel steps and Step 3 never loads mattress-landing.css. Without
   this the four heat pictures fell back to the browser default
   <figure> margin of 1em 40px - stacked and shoved 40px to the right.
   -------------------------------------------------------------------- */
.ml-det-thermal{margin:20px 0 4px;padding:20px;background:#fff;border:1px solid #E5E5E5;border-radius:12px;}
.ml-det-acc-body .ml-det-thermal-lede{margin:0 0 18px;font-size:16px;line-height:1.55;}
.ml-det-thermal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px;align-items:start;}
.ml-det-thermal-grid figure{margin:0;}
.ml-det-thermal-grid img{display:block;width:100%;max-width:222px;height:auto;margin:0 auto;border-radius:8px;}
.ml-det-thermal-grid figcaption{margin-top:10px;font-size:14.5px;line-height:1.4;text-align:center;}
.ml-det-acc-body .ml-det-thermal-note{margin:26px 0 0;padding-top:18px;border-top:1px solid #F0F0F0;font-size:14.5px;line-height:1.55;color:#555555;}
@media (max-width: 767px){.ml-det-thermal{padding:14px;}.ml-det-thermal-grid{gap:18px 10px;}.ml-det-thermal-grid figcaption{font-size:13.5px;}.ml-det-acc-body .ml-det-thermal-note{margin-top:22px;padding-top:16px;}}


/* ================================================================
   MATTRESS CARD + DRAWER - consolidated 2026-09-26
   Rebuilt in one piece. Do NOT truncate this file at a marker; edit in
   place or append at the end, or later rules get silently dropped.
   ================================================================ */

/* ---------- 1. THE CARD ROW ---------- */
.ml-mattress-item{
  display:flex !important; align-items:stretch;
  grid-template-columns:none !important;
  border-radius:12px 12px 0 0; overflow:hidden;
}
.ml-mattress-item .ml-image-col{
  align-self:stretch; padding:0; border-right:1px solid #E5E5E5; background:var(--mcf-panel);
}
.ml-mattress-item .ml-lifestyle-wrap{
  flex:1; padding:0; min-height:0; display:block; position:relative; height:100%;
}
.ml-mattress-item .ml-lifestyle-img{
  display:block; width:100%; height:100%; max-width:none; max-height:none;
  object-fit:cover; object-position:50% 45%; border-radius:0;
}
.mcf-label{
  position:absolute; top:10px; left:10px; z-index:3;
  display:inline-block; padding:4px 9px; border-radius:3px;
  background:#F5F5F5; border:1px solid #E5E5E5; color:var(--mcf-ink);
  font-size:11px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  line-height:1.1; white-space:nowrap; box-shadow:0 1px 4px rgba(18,63,73,.14);
}
.mcf-model   { margin:0 0 10px; font-size:14px; font-weight:600; letter-spacing:.04em;
               text-transform:uppercase; color:var(--mcf-model); }
.mcf-question{ margin:0 0 7px;  font-size:16px; font-weight:600; color:var(--mcf-question); }
.mcf-headline{ margin:0 0 20px; font-size:24px; font-weight:800; line-height:1.2; color:var(--mcf-ink); }

.mcf-benefits--card{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px; }
.mcf-benefits--card li{
  display:flex; align-items:flex-start; gap:9px;
  font-size:14.5px; line-height:1.6; color:#555555;
  padding-left:0 !important; text-indent:0 !important; border-left:0 !important;
}
.mcf-benefits--card li::before, .mcf-rolled li::before{ content:none !important; display:none !important; }
.mcf-tick{ flex:0 0 auto; margin-top:4px; color:#6E8A3C; }

.mcf-gtee{
  display:block; margin-top:10px; padding-top:8px; border-top:1px solid #E5E5E5;
  font-size:12.5px; font-weight:600; color:var(--mcf-model);
}
.ml-moreinfo{
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  font-family:inherit; font-weight:700; color:var(--mcf-ink);
  background:#fff; border:1.5px solid #D1D5DB; border-radius:6px; cursor:pointer;
}
.ml-moreinfo:hover{ border-color:var(--mcf-ink); }
.ml-moreinfo:focus-visible{ outline:2px solid var(--mcf-accent); outline-offset:2px; }
.ml-moreinfo svg{ display:block !important; flex:0 0 auto; width:13px; height:13px; }

@media (min-width: 1024px){
  .ml-mattress-item{ min-height:240px !important; }
  .ml-mattress-item .ml-content-col{ flex:0 1 auto !important; min-width:0; flex-direction:row; padding:0; gap:0; }
  .mcf-pitch{ padding:18px 26px; display:flex; flex-direction:column; justify-content:center; }

  .ml-mattress-item .ml-cta-bar{
    flex:0 0 clamp(280px, 22vw, 310px) !important;
    width:clamp(280px, 22vw, 310px); min-width:280px; max-width:310px;
    flex-direction:column !important; flex-wrap:nowrap !important;
    justify-content:center; align-items:flex-end; gap:0;
    margin-top:0; border-top:none; border-left:1px solid #E5E5E5;
    padding:18px 20px !important;
  }
  .ml-mattress-item .ml-price-block{ flex:0 0 auto; width:100%; text-align:right; }
  .ml-mattress-item .ml-price-wasline{
    display:flex !important; align-items:center; justify-content:flex-end; gap:8px; min-height:20px;
  }
  .ml-mattress-item .ml-price-was{ display:inline-block !important; }

  .ml-mattress-item .ml-cta-col{
    display:flex; flex-direction:column; align-items:stretch; gap:8px;
    width:100%; margin-top:12px;
  }
  .ml-mattress-item .ml-cta-col > *{ margin:0; }
  .ml-mattress-item .ml-cta-button{
    width:100%; justify-content:center; text-align:center;
    font-size:15px; padding:9px 12px;
  }
  .ml-moreinfo{ width:100%; font-size:15px; padding:0 18px; min-height:42px; line-height:1.2; }
}
@media (min-width: 1280px){
  .mcf-pitch{ flex:0 0 542px !important; min-width:542px; }
  .ml-mattress-item .ml-image-col{ flex:1 1 200px !important; min-width:200px; }
}
@media (min-width: 1024px) and (max-width: 1279px){
  .mcf-pitch{ flex:1 1 auto !important; min-width:0; }
  .ml-mattress-item .ml-image-col{ flex:0 0 200px !important; }
}

/* ---------- 2. LIST SPACING ---------- */
.ml-category-section{ margin:0 !important; padding:0 !important; }
.ml-category-section .ml-mattress-list{ gap:0 !important; row-gap:0 !important; }
.ml-mattress-wrap{ margin:0 0 20px !important; }
.ml-category-section .ml-category-header{ margin:20px 0 20px !important; }
.ml-category-section:last-of-type .ml-mattress-wrap:last-child{ margin-bottom:0 !important; }/* ---------- 3. THE DRAWER ---------- */
.ml-detail-panel, /* ---------- 3. THE DRAWER ---------- */
.nl-detail-panel{
  display:grid; grid-template-columns:repeat(2, minmax(0,1fr));
  column-gap:24px; align-content:start;
  padding:26px 26px 28px; border-top:1px solid #E5E5E5; background:#fff;
}.ml-detail-panel > *, .nl-detail-panel > *{ order:6; grid-column:1 / -1; }.ml-detail-panel > .ml-det-hero, .nl-detail-panel > .ml-det-hero{ order:1; }.ml-detail-panel > .mcf-rolled, .nl-detail-panel > .mcf-rolled{ order:2; }.ml-detail-panel > .ml-det, .nl-detail-panel > .ml-det{ order:3; margin:0 !important; padding:0 !important; }.ml-detail-panel > .ml-det-guarantee, .nl-detail-panel > .ml-det-guarantee{ order:4; grid-column:1; align-self:center; }.ml-detail-panel > .ml-det-phone, .nl-detail-panel > .ml-det-phone{ order:5; grid-column:2; align-self:center; }

.ml-det-hero{ margin:0; }
.ml-det-hero .ml-det-img-wrap{
  position:relative; border:1px solid #E5E5E5; border-radius:10px;
  overflow:hidden; background:var(--mcf-panel); margin:0 0 22px;
}
.ml-det-hero .ml-det-img{ display:block; width:100%; height:320px; object-fit:cover; }
.ml-det-hero .ml-det-img-label{
  position:absolute; bottom:12px; left:12px; top:auto;
  font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:#fff; background:rgba(18,63,73,.75); border-radius:3px; padding:5px 10px;
}
.ml-det-hero .ml-det-tagline{
  margin:0 0 18px !important; font-size:17px; font-weight:400;
  line-height:1.6; color:#555; max-width:900px;
}.ml-detail-panel > .mcf-rolled, .nl-detail-panel > .mcf-rolled{
  margin:0 0 26px !important; padding:15px 20px !important;
  background:var(--mcf-panel); border:1px solid #E5E5E5; border-radius:10px;
  list-style:none; display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr)) !important; gap:10px 26px !important;
}.ml-detail-panel > .mcf-rolled li, .nl-detail-panel > .mcf-rolled li{
  display:flex; align-items:flex-start; gap:9px;
  font-size:15px; font-weight:500; line-height:1.45; color:var(--mcf-ink);
  padding-left:0 !important; border-left:0 !important;
}.ml-detail-panel > .mcf-rolled li .mcf-tick, .nl-detail-panel > .mcf-rolled li .mcf-tick{ margin-top:3px; }

.ml-det-build{ margin:0; }
.ml-det-build-title{ margin:0 0 16px; font-size:17px; font-weight:700; line-height:1.3; color:var(--mcf-ink); }
.ml-det-build .ml-det-layers-list{ counter-reset:mllayer; margin:0; padding:0; list-style:none; }
.ml-det-build .ml-det-layers-list li{
  counter-increment:mllayer; position:relative; display:block;
  margin:0 0 16px !important; padding-left:34px !important; border-left:0 !important;
}
.ml-det-build .ml-det-layers-list li:last-child{ margin-bottom:0 !important; }
.ml-det-build .ml-det-layers-list li::before{
  content:counter(mllayer); position:absolute; left:0; top:3px;
  width:22px; height:22px; border-radius:50%;
  background:#F5F5F5; border:1px solid #E5E5E5; color:var(--mcf-model);
  font-size:12px; font-weight:700; line-height:1;
  display:flex; align-items:center; justify-content:center;
}
.ml-det-build .ml-det-layers-list li strong{
  display:block; margin-bottom:4px !important; font-size:16px; font-weight:700;
  line-height:1.6; color:var(--mcf-ink);
}
.ml-det-build .ml-det-layers-list li p{ margin:0; font-size:15px; line-height:1.7; color:#555; }

.ml-det-speccol .mcf-spec{ background:var(--mcf-panel); border:1px solid #E5E5E5; border-radius:10px; padding:18px 20px; }
.ml-det-speccol .ml-det-note{
  text-align:left !important; background:none !important; border:0 !important;
  padding:0 !important; border-radius:0 !important;
  font-size:15px !important; line-height:1.7 !important; color:#555 !important;
}
.ml-det-speccol .ml-det-note strong{ color:var(--mcf-ink); }
.ml-det-speccol .ml-card-reviews{ display:flex; align-items:center; gap:10px; }

@media (min-width: 1024px){
  .ml-det-build, .ml-det-build-grid{ display:block !important; }
  .ml-det-build .ml-det-layers{
    display:grid !important; grid-template-columns:300px minmax(0,1fr) !important;
    gap:34px !important; align-items:center !important;
  }
  .ml-det-build .ml-det-layers-img{ flex:none; width:100%; margin-top:0; background:none; padding:0; align-self:center; }
  .ml-det-build .ml-det-layers-img img{ width:100%; height:auto; border-radius:8px; display:block; }
  .ml-det-speccol{
    display:grid !important; grid-template-columns:292px minmax(0,1fr);
    column-gap:32px; row-gap:14px; align-items:start;
    margin-top:26px; padding-top:22px; border-top:1px solid #E5E5E5;
  }
  .ml-det-speccol .mcf-spec{ grid-column:1; grid-row:1 / span 2; }
  .ml-det-speccol .ml-det-note{ grid-column:2; grid-row:1; margin:0 !important; }
  .ml-det-speccol .ml-card-reviews{ grid-column:2; grid-row:2; margin:0 !important; }
}

.ml-det-build .ml-det-thermal{
  margin-top:26px; background:var(--mcf-panel) !important; border:1px solid #E5E5E5 !important;
  border-radius:10px; padding:20px 22px;
}
.ml-det-build .ml-det-thermal-lede{ margin:0 0 16px; font-size:16px; line-height:1.7; color:#555; }
.ml-det-build .ml-det-thermal-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.ml-det-build .ml-det-thermal-grid figure{ margin:0; }
.ml-det-build .ml-det-thermal-grid img{ display:block; width:100%; height:auto; border-radius:8px; }
.ml-det-build .ml-det-thermal-grid figcaption{ margin-top:10px; font-size:14px; line-height:1.45; text-align:center; color:#555; }
.ml-det-build .ml-det-thermal-note{
  margin:18px 0 0 !important; padding-top:16px; border-top:1px solid #F0F0F0;
  font-size:15px; line-height:1.7; color:#555; text-align:left !important;
}

.ml-det-accordions{ margin-top:26px; border:1px solid #E5E5E5; border-radius:10px; overflow:hidden; background:#fff; }
.ml-det-accordions .ml-det-acc{ border:0; border-radius:0; margin:0; }
.ml-det-accordions .ml-det-acc-header{
  background:#fff; border:0; border-bottom:1px solid #F0F0F0;
  padding:15px 20px !important; display:flex; align-items:center; justify-content:space-between;
}
.ml-det-accordions .ml-det-acc:last-child .ml-det-acc-header{ border-bottom:0; }
.ml-det-accordions .ml-det-acc-title{ font-size:17px; font-weight:700; color:var(--mcf-ink); margin:0; }
.ml-det-accordions .ml-det-acc-body{ padding:18px 20px 20px !important; }
.ml-det-accordions .ml-det-acc-body > *:first-child{ margin-top:0 !important; }
.ml-det .ml-det-note{ text-align:left !important; }.ml-detail-panel > .ml-det-guarantee, .nl-detail-panel > .ml-det-guarantee{
  margin-top:26px !important;
  background:var(--mcf-ink); border:0; border-radius:10px; padding:16px 20px !important;
  display:flex; align-items:center; gap:15px; color:#fff;
}.ml-detail-panel > .ml-det-guarantee strong, .nl-detail-panel > .ml-det-guarantee strong{ display:block; font-size:17px; font-weight:700; color:#fff; line-height:1.35; }.ml-detail-panel > .ml-det-guarantee span, .nl-detail-panel > .ml-det-guarantee span{ font-size:15px; color:#E5E5E5; line-height:1.4; }.ml-detail-panel > .ml-det-phone, .nl-detail-panel > .ml-det-phone{
  margin:26px 0 0 !important; font-size:16px !important; line-height:1.7 !important;
  color:#555 !important; background:none !important; border:0 !important;
  padding:0 !important; text-align:left !important;
}.ml-detail-panel > .ml-det-phone strong, .nl-detail-panel > .ml-det-phone strong{ color:var(--mcf-ink); }

/* ---------- 4. MOBILE ---------- */
@media (max-width: 1023px){
  .ml-mattress-item{ flex-direction:column; min-height:0 !important; }
  .ml-mattress-item .ml-image-col{ flex:0 0 auto; border-right:none; border-bottom:1px solid #E5E5E5; }
  .ml-mattress-item .ml-lifestyle-img{ height:220px; }
  .ml-mattress-item .ml-content-col{ flex-direction:column; }
  .mcf-pitch{ padding:20px 18px; }
  .mcf-headline{ font-size:21px; margin-bottom:16px; }
  .ml-mattress-item .ml-cta-bar{
    flex:0 0 auto; border-left:none; border-top:1px solid #E5E5E5;
    align-items:stretch; padding:18px;
  }
  .ml-mattress-item .ml-cta-col{ flex-direction:column; gap:10px; }
  .ml-moreinfo{ width:100%; min-height:46px; }.ml-detail-panel, .nl-detail-panel{ grid-template-columns:1fr; padding:18px 16px 20px; }.ml-detail-panel > .ml-det-guarantee, .ml-detail-panel > .ml-det-phone, .nl-detail-panel > .ml-det-guarantee, .nl-detail-panel > .ml-det-phone{ grid-column:1; }.ml-detail-panel > .ml-det-phone, .nl-detail-panel > .ml-det-phone{ margin-top:16px !important; }.ml-detail-panel > .mcf-rolled, .nl-detail-panel > .mcf-rolled{ grid-template-columns:1fr !important; }
  .ml-det-hero .ml-det-img{ height:200px; }
  .ml-det-build .ml-det-layers{ display:block !important; }
  .ml-det-build .ml-det-layers-img{ width:100%; margin-bottom:18px; }
  .ml-det-build .ml-det-thermal-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}/* ---------- 5. MUST STAY LAST ----------
   A display:* on .ml-detail-panel outranks the [hidden] attribute, which is
   the only thing keeping every drawer shut on page load. */

/* the tagline now opens the build section, under its heading */
.ml-det-build .ml-det-tagline, /* ---------- 5. MUST STAY LAST ----------
   A display:* on .nl-detail-panel outranks the [hidden] attribute{
  margin:0 0 20px !important; max-width:900px;
  font-size:16px; line-height:1.7; color:#555;
}
.ml-det-build-title{ margin:0 0 10px !important; }


/* ---------- FULL SPEC list (omitted in the rebuild) ---------- */
.mcf-spec-title{
  margin:0 0 14px !important; font-size:11.5px; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#7C8494;
}
.mcf-spec-list{ margin:0; display:flex; flex-direction:column; gap:11px; }
.mcf-spec-list > div{ display:flex; gap:12px; align-items:baseline; margin:0; }
.mcf-spec-list dt{ flex:0 0 76px; margin:0; font-size:13px; font-weight:700; color:#7C8494; }
.mcf-spec-list dd{ flex:1 1 0; margin:0 !important; font-size:15px; line-height:1.45; color:var(--mcf-ink); }

/* the note and reviews sit tight under one another, not spread down the column */
@media (min-width: 1024px){
  .ml-det-speccol{ grid-template-rows:auto 1fr; align-items:start; }
  .ml-det-speccol .ml-det-note{ align-self:start; }
  .ml-det-speccol .ml-card-reviews{ align-self:start; margin-top:16px !important; }
}


/* ---------- MID BAND: spec strip + footnote line ---------- */
@media (min-width: 1024px){
  .ml-det-speccol{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    column-gap:28px; row-gap:16px; align-items:center !important;
    margin-top:26px; padding-top:22px; border-top:1px solid #E5E5E5;
  }
  .ml-det-speccol .mcf-spec{ grid-column:1 / -1 !important; grid-row:1 !important; width:100%; }
  .ml-det-speccol .ml-det-note{ grid-column:1 !important; grid-row:2 !important; align-self:center !important; }
  .ml-det-speccol .ml-card-reviews{
    grid-column:2 !important; grid-row:2 !important;
    align-self:center !important; margin:0 !important; white-space:nowrap;
  }

  /* the table reads across, not down */
  .ml-det-speccol .mcf-spec-list{
    display:grid !important; grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:0 28px !important;
  }
  .ml-det-speccol .mcf-spec-list > div{
    display:block !important; border-left:1px solid #E5E5E5; padding-left:18px;
  }
  .ml-det-speccol .mcf-spec-list > div:first-child{ border-left:0; padding-left:0; }
  .ml-det-speccol .mcf-spec-list dt{
    display:block; flex:none !important; margin:0 0 5px;
    font-size:11.5px; font-weight:700; letter-spacing:.08em;
    text-transform:uppercase; color:#7C8494;
  }
  .ml-det-speccol .mcf-spec-list dd{ font-size:15px; line-height:1.45; color:var(--mcf-ink); }
}
.ml-det-speccol .ml-det-note{ font-size:14px !important; }


/* ---------- MID BAND v2: one panel, not three orphans ---------- */
@media (min-width: 1024px){
  .ml-det-speccol{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    column-gap:32px !important; row-gap:0 !important; align-items:start !important;
    margin-top:26px !important; padding:20px 24px 18px !important;
    background:var(--mcf-panel); border:1px solid #E5E5E5; border-radius:10px;
  }
  /* the inner box loses its own frame - the panel is the frame now */
  .ml-det-speccol .mcf-spec{
    grid-column:1 !important; grid-row:1 !important;
    background:none !important; border:0 !important; padding:0 !important; border-radius:0 !important;
  }
  .ml-det-speccol .ml-card-reviews{
    grid-column:2 !important; grid-row:1 !important;
    align-self:start !important; margin:2px 0 0 !important; white-space:nowrap;
  }
  .ml-det-speccol .ml-det-note{
    grid-column:1 / -1 !important; grid-row:2 !important;
    margin:16px 0 0 !important; padding-top:14px !important;
    border-top:1px solid #F0F0F0 !important;
    font-size:14px !important; line-height:1.6 !important; color:var(--mcf-model) !important;
  }

  /* four cells reading across, split by hairlines */
  .ml-det-speccol .mcf-spec-title{ margin:0 0 14px !important; }
  .ml-det-speccol .mcf-spec-list{
    display:grid !important; grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:0 !important;
  }
  .ml-det-speccol .mcf-spec-list > div{
    display:block !important; padding:0 20px;
    border-left:1px solid #F0F0F0;
  }
  .ml-det-speccol .mcf-spec-list > div:first-child{ border-left:0; padding-left:0; }
  .ml-det-speccol .mcf-spec-list dt{
    display:block; flex:none !important; margin:0 0 6px !important;
    font-size:11px; font-weight:700; letter-spacing:.09em;
    text-transform:uppercase; color:#7C8494;
  }
  .ml-det-speccol .mcf-spec-list dd{
    font-size:15.5px; line-height:1.4; color:var(--mcf-ink); font-weight:500;
  }
}


/* ---------- MID BAND: option C ---------- */
@media (min-width: 1024px){
  .ml-det-speccol{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 300px !important;
    grid-template-rows:auto auto !important;
    column-gap:28px !important; row-gap:0 !important; align-items:stretch !important;
    margin-top:26px !important; padding:22px 0 0 !important;
    background:none !important; border:0 !important; border-top:1px solid #E5E5E5 !important;
    border-radius:0 !important;
  }
  .ml-det-speccol .mcf-spec{
    grid-column:1 !important; grid-row:1 !important;
    background:none !important; border:0 !important; padding:0 !important; border-radius:0 !important;
  }
  .ml-det-speccol .mcf-spec-list{
    display:grid !important; grid-template-columns:repeat(3, minmax(0,1fr)) !important; gap:0 !important;
  }
  .ml-det-speccol .mcf-spec-list > div{ display:block !important; padding:0 24px; border-left:1px solid #E5E5E5; }
  .ml-det-speccol .mcf-spec-list > div:first-child{ border-left:0; padding-left:0; }
  .ml-det-speccol .mcf-spec-list dt{
    display:block; flex:none !important; margin:0 0 7px !important;
    font-size:11px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#7C8494;
  }
  .ml-det-speccol .mcf-spec-list dd{ font-size:16px; font-weight:500; line-height:1.45; color:var(--mcf-ink); }

  /* the guarantee chip, now the only statement of it in the drawer */
  .ml-det-speccol .ml-det-guarantee{
    grid-column:2 !important; grid-row:1 !important; align-self:center !important;
    margin:0 !important; display:flex; align-items:center; gap:13px;
    padding:16px 18px !important; background:var(--mcf-ink); border:0; border-radius:10px; color:#fff;
  }
  .ml-det-speccol .ml-det-guarantee strong{ display:block; font-size:16px; font-weight:700; color:#fff; line-height:1.3; }
  .ml-det-speccol .ml-det-guarantee span{ font-size:13.5px; color:#E5E5E5; line-height:1.4; }
  .ml-det-speccol .ml-det-guarantee svg{ flex:0 0 auto; width:30px; height:30px; stroke:#F5A623; }

  /* closing line: quality note left, reviews right */
  .ml-det-speccol .ml-det-note{
    grid-column:1 !important; grid-row:2 !important; align-self:center !important;
    margin:20px 0 0 !important; padding-top:16px !important;
    border-top:1px solid #E5E5E5 !important;
    font-size:14px !important; line-height:1.6 !important; color:var(--mcf-model) !important;
  }
  .ml-det-speccol .ml-card-reviews{
    grid-column:2 !important; grid-row:2 !important; align-self:center !important;
    margin:20px 0 0 !important; padding-top:16px;
    border-top:1px solid #E5E5E5; justify-content:flex-start; white-space:nowrap;
  }/* the drawer now closes on the phone line alone */
  .ml-detail-panel > .ml-det-phone, /* the drawer now closes on the phone line alone */
  .nl-detail-panel > .ml-det-phone{ grid-column:1 / -1 !important; }
}
/* the tagline runs the full width like everything else */
.ml-det-build .ml-det-tagline{ max-width:none !important; }


/* ---------- MID BAND: option C, no chip ---------- */
@media (min-width: 1024px){
  .ml-det-speccol{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    grid-template-rows:auto auto !important;
    column-gap:32px !important; row-gap:0 !important; align-items:center !important;
    margin-top:26px !important; padding:22px 0 0 !important;
    background:none !important; border:0 !important; border-top:1px solid #E5E5E5 !important;
    border-radius:0 !important;
  }
  .ml-det-speccol .mcf-spec{ grid-column:1 / -1 !important; grid-row:1 !important; }
  .ml-det-speccol .ml-det-note{ grid-column:1 !important; grid-row:2 !important; }
  .ml-det-speccol .ml-card-reviews{ grid-column:2 !important; grid-row:2 !important; }/* the guarantee badge is back at the foot, beside the phone line */
  .ml-detail-panel > .ml-det-guarantee, beside the phone line */
  .nl-detail-panel > .ml-det-guarantee{ grid-column:1 !important; }.ml-detail-panel > .ml-det-phone, .nl-detail-panel > .ml-det-phone{ grid-column:2 !important; }
}


/* ---------- closing rule: one continuous line ---------- */
@media (min-width: 1024px){
  .ml-det-speccol{ position:relative; }
  .ml-det-speccol::after{
    content:""; grid-column:1 / -1; grid-row:2;
    align-self:start; height:0; margin-top:20px;
    border-top:1px solid #E5E5E5;
  }
  .ml-det-speccol .ml-det-note,
  .ml-det-speccol .ml-card-reviews{
    border-top:0 !important; align-self:start !important;
    margin-top:20px !important; padding-top:17px !important;
  }
  .ml-det-speccol .ml-card-reviews{ justify-content:flex-end; }
}


/* ---------- drawer hero: no upscaling, gentler crop ---------- */
@media (min-width: 1024px){
  .ml-det-hero .ml-det-img-wrap{
    width:min(1000px, 100%); margin-left:auto; margin-right:auto;
  }
  .ml-det-hero .ml-det-img{ height:400px !important; }
}


/* ---------- card rhythm + CTA colour ---------- */
.ml-mattress-wrap{ margin:0 0 40px !important; }
.ml-category-section:last-of-type .ml-mattress-wrap:last-child{ margin-bottom:0 !important; }

.ml-mattress-item .ml-cta-button{
  background:var(--mcf-ink) !important; color:#ffffff !important; border-color:var(--mcf-ink) !important;
}
.ml-mattress-item .ml-cta-button:hover{ background:#123f49 !important; }
.ml-mattress-item .ml-cta-button .ml-cta-arrow{ color:#ffffff; }



/* ---------- hero lines up with the ticks bar ---------- */
@media (min-width: 1024px){
  .ml-det-hero .ml-det-img-wrap{ width:100% !important; margin-left:0 !important; margin-right:0 !important; }
}


/* ---------- More info chevron turns with the drawer ---------- */
.ml-moreinfo svg{ transition:transform .22s ease; transform-origin:50% 50%; }
.ml-moreinfo.ml-detail-toggle--open svg,
.ml-moreinfo[aria-expanded="true"] svg{ transform:rotate(180deg); }


/* ---------- customer photos link, on the hero ---------- */
.ml-det-hero .ml-card-reviews{
  position:absolute; right:12px; bottom:12px; z-index:3;
  display:flex; align-items:center; gap:9px; margin:0;
  padding:7px 12px; border-radius:4px;
  background:rgba(18,63,73,.78); backdrop-filter:none;
  border-top:0 !important; padding-top:7px !important;
}
.ml-det-hero .ml-card-reviews .ml-card-stars{ color:#F5A623; font-size:14px; letter-spacing:.05em; }
.ml-det-hero .ml-card-reviews .ml-reviews-link{
  background:none; border:0; padding:0; cursor:pointer;
  display:flex; align-items:center; gap:7px;
}
.ml-det-hero .ml-card-reviews .ml-reviews-link-text{
  color:#ffffff; font-size:14px; font-weight:600; text-decoration:underline;
  text-underline-offset:3px;
}
.ml-det-hero .ml-card-reviews .ml-reviews-link-arrow{ color:#F5A623; }
.ml-det-hero .ml-card-reviews:hover .ml-reviews-link-text{ color:#f2f8f8; }

/* the spec band closes on the note alone now */
@media (min-width: 1024px){
  .ml-det-speccol{ grid-template-columns:minmax(0,1fr) !important; }
  .ml-det-speccol .mcf-spec{ grid-column:1 !important; }
  .ml-det-speccol .ml-det-note{ grid-column:1 !important; }
}


/* ---------- customer photos link: double size ---------- */
.ml-det-hero .ml-card-reviews{
  right:16px !important; bottom:16px !important;
  gap:12px !important; padding:14px 22px !important; border-radius:6px !important;
  background:rgba(18,63,73,.85) !important;
  box-shadow:0 2px 10px rgba(0,0,0,.25);
}
.ml-det-hero .ml-card-reviews .ml-card-stars{ font-size:19px !important; letter-spacing:.06em; }
.ml-det-hero .ml-card-reviews .ml-reviews-link{ gap:10px !important; }
.ml-det-hero .ml-card-reviews .ml-reviews-link-text{
  font-size:19px !important; font-weight:700 !important; text-underline-offset:4px;
}
.ml-det-hero .ml-card-reviews .ml-reviews-link-arrow{ font-size:19px !important; }

@media (max-width: 1023px){
  .ml-det-hero .ml-card-reviews{
    right:10px !important; bottom:10px !important; padding:10px 14px !important; gap:8px !important;
  }
  .ml-det-hero .ml-card-reviews .ml-card-stars,
  .ml-det-hero .ml-card-reviews .ml-reviews-link-text,
  .ml-det-hero .ml-card-reviews .ml-reviews-link-arrow{ font-size:15px !important; }
}


/* ---------- customer photos link: back by a third ---------- */
.ml-det-hero .ml-card-reviews{
  gap:10px !important; padding:8px 16px !important;
}
.ml-det-hero .ml-card-reviews .ml-card-stars,
.ml-det-hero .ml-card-reviews .ml-reviews-link-text,
.ml-det-hero .ml-card-reviews .ml-reviews-link-arrow{ font-size:16px !important; }
.ml-det-hero .ml-card-reviews .ml-reviews-link{ gap:8px !important; }




/* ---------- foam quality: a claim, not a footnote ---------- */
.ml-det > .ml-det-foam-standard{
  margin:0 0 26px !important; padding:16px 0 18px !important;
  border-top:1px solid #E5E5E5; border-bottom:1px solid #E5E5E5;
  background:none !important; border-radius:0 !important;
  font-size:17px !important; line-height:1.6 !important;
  color:#555555 !important; text-align:left !important;
}
.ml-det > .ml-det-foam-standard strong{
  display:block; margin-bottom:3px;
  font-size:18px; font-weight:700; color:var(--mcf-ink);
}
@media (max-width: 1023px){
  .ml-det > .ml-det-foam-standard{ font-size:15.5px !important; margin-bottom:20px !important; }
  .ml-det > .ml-det-foam-standard strong{ font-size:16.5px; }
}


/* Never transform the modal: translate(-50%,-50%) on an odd-sized box is a
   half-pixel offset and paints the whole layer off-grid, which is the fuzz.
   JS centres it on whole pixels instead. */
.ml-modal, .ml-modal.ml-visible, .ml-gallery-modal, .ml-gallery-modal.ml-visible{
  transform:none !important;
  top:60px !important; right:0 !important; bottom:auto !important; left:0 !important;
  margin:0 auto !important; height:fit-content !important;
  max-height:calc(100vh - 120px) !important;
}


/* Question colour: out of pure red, into the brown family */
.mcf-question{ color:var(--mcf-question) !important; }


/* consistent gap between the build section and the FAQ stack */
.ml-det-build{ margin-bottom:26px !important; padding-bottom:0 !important; }
.ml-det-accordions{ margin-top:0 !important; }




/* ---------- one containment rule: everything is a rounded panel ---------- */
.ml-det-accordions{
  border:1px solid #E5E5E5 !important; border-radius:10px !important;
  overflow:hidden !important; background:#fff !important; margin-top:0 !important;
}
.ml-det-accordions .ml-det-acc-header{ padding:15px 20px !important; background:#fff !important; }
.ml-det-accordions .ml-det-acc-body{ padding:18px 20px 20px !important; }
.ml-det-accordions .ml-det-acc:last-child .ml-det-acc-header{ border-bottom:0 !important; }

/* FULL SPEC becomes a panel in the same language */
@media (min-width: 1024px){
  .ml-det-speccol{
    border:1px solid #E5E5E5 !important; border-radius:10px !important;
    background:#fff !important; padding:20px 24px !important;
    margin-top:26px !important;
  }
  .ml-det-speccol::after{ display:none !important; }
  .ml-det-speccol .ml-det-note,
  .ml-det-speccol .ml-card-reviews{ border-top:0 !important; }
}


/* foam-quality claim: same rounded container as the other panels */
.ml-det > .ml-det-foam-standard{
  border:1px solid #E5E5E5 !important; border-radius:10px !important;
  background:#fff !important; padding:18px 22px !important;
  margin:0 0 26px !important;
}


/* construction layers: the last open region, now a container like the rest */
@media (min-width: 1024px){
  .ml-det-build .ml-det-layers{
    border:1px solid #E5E5E5 !important; border-radius:10px !important;
    background:#fff !important; padding:24px 26px !important;
    margin:0 0 26px !important;
  }
  .ml-det-build .ml-det-layers-img{ border-radius:8px !important; }
  .ml-det-speccol{ margin-top:0 !important; }
}
@media (max-width: 1023px){
  .ml-det-build .ml-det-layers{
    border:1px solid #E5E5E5; border-radius:10px; background:#fff;
    padding:18px; margin:0 0 20px;
  }
}/* prose reads left, everywhere in the drawer */
.ml-detail-panel p, .ml-detail-panel li, .ml-detail-panel dd, .ml-detail-panel .ml-det-note, everywhere in the drawer */
.nl-detail-panel p, .nl-detail-panel li, .nl-detail-panel dd, .nl-detail-panel .ml-det-note{ text-align:left !important; }
/* except image captions, which label the picture above them */
.ml-det-thermal-grid figcaption{ text-align:center !important; }


/* one box per section: the heading and intro live INSIDE their container */
.ml-det-build{
  border:1px solid #E5E5E5 !important; border-radius:10px !important;
  background:#fff !important; padding:22px 26px 26px !important;
  margin:0 0 26px !important;
}
.ml-det-build .ml-det-layers{
  border:0 !important; border-radius:0 !important; background:none !important;
  padding:0 !important; margin:0 !important;
}
.ml-det-build .ml-det-build-title{ margin:0 0 10px !important; }
.ml-det-build .ml-det-tagline{ margin:0 0 22px !important; }
.ml-det-speccol{ margin:0 0 26px !important; }
.ml-det-thermal{ margin:0 0 26px !important; }


/* box labels all read the same as FULL SPEC */
.ml-det-build .ml-det-build-title{
  font-size:11.5px !important; font-weight:700 !important;
  letter-spacing:.1em !important; text-transform:uppercase !important;
  color:#7C8494 !important; line-height:1.3 !important;
  margin:0 0 14px !important;
}


/* box headers all read at the same size and weight as the section titles */
.ml-det-speccol .mcf-spec-title,
.ml-det-build .ml-det-build-title{
  font-size:17px !important; font-weight:700 !important;
  letter-spacing:0 !important; text-transform:none !important;
  color:var(--mcf-ink) !important; line-height:1.3 !important; margin:0 0 14px !important;
}
/* the quality claim opens the spec box */
.ml-det-speccol .ml-det-foam-standard{
  margin:0 0 18px !important; padding:0 0 18px !important;
  border:0 !important; border-bottom:1px solid #E5E5E5 !important;
  border-radius:0 !important; background:none !important;
  font-size:15px !important; line-height:1.6 !important; color:#555555 !important;
}
.ml-det-speccol .ml-det-foam-standard strong{
  display:block; margin-bottom:3px; font-size:17px; font-weight:700; color:var(--mcf-ink);
}


/* FULL SPEC: two columns now Firmness has gone */
@media (min-width: 1024px){
  .ml-det-speccol .mcf-spec-list{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}
/* the quality claim: clear gap above, no rule under it */
.ml-det-speccol .ml-det-foam-standard{
  margin:26px 0 0 !important; padding:0 !important;
  border:0 !important; border-top:0 !important; border-bottom:0 !important;
}
.ml-det-speccol::after{ display:none !important; content:none !important; }/* ticks band first - it continues the two ticks from the card face */
.ml-detail-panel > .mcf-rolled, /* ticks band first - it continues the two ticks from the card face */
.nl-detail-panel > .mcf-rolled{ order:1 !important; margin:0 0 22px !important; }.ml-detail-panel > .ml-det-hero, .nl-detail-panel > .ml-det-hero{ order:2 !important; }
.ml-det-hero .ml-det-img-wrap{ margin:0 0 26px !important; }


/* ---------- STEP 3 (newlayout): same row card as Step 1 ---------- */
.nl-detail-panel[hidden]{ display:none !important; }

@media (min-width: 1024px){
  .nl-card{ border-radius:12px 12px 0 0; overflow:hidden; }
  .nl-card-main{
    display:flex !important; align-items:stretch !important;
    grid-template-columns:none !important; gap:0 !important; padding:0 !important;
  }
  .nl-card-image-wrapper{
    position:relative; flex:1 1 200px; min-width:200px; align-self:stretch;
    padding:0 !important; margin:0 !important;
    background:var(--mcf-panel); border-right:1px solid #E5E5E5;
  }
  .nl-card-image{ height:100% !important; margin:0 !important; }
  .nl-card-image img{ width:100%; height:100%; object-fit:cover; display:block; }
  .nl-card-content{
    flex:0 0 542px; min-width:542px; box-sizing:border-box;
    padding:18px 26px !important; display:flex; flex-direction:column; justify-content:center;
  }
  /* the pricing bar is now the third column: shape, price, actions */
  .nl-card-main > .nl-pricing-bar{
    flex:0 0 310px; width:310px; box-sizing:border-box; align-self:stretch;
    border-left:1px solid #E5E5E5; border-top:0 !important;
    padding:18px 20px !important; margin:0 !important;
    display:flex; flex-direction:column; justify-content:center; gap:0;
    background:none !important;
  }
  .nl-pricing-bar .nl-shape-strip{ margin:0 0 14px !important; padding:0 !important; border:0 !important; }
  .nl-pricing-bar .nl-shape-selection{
    display:flex; align-items:center; gap:12px;
    padding:10px 12px; background:var(--mcf-panel); border:1px solid #E5E5E5; border-radius:8px;
  }
  .nl-pricing-bar .nl-shape-thumb,
  .nl-pricing-bar .nl-shape-placeholder{
    flex:0 0 auto; width:44px; height:44px; object-fit:contain;
    background:#fff; border:1px solid #E5E5E5; border-radius:4px;
  }
  .nl-pricing-bar .nl-shape-placeholder{
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    border-style:dashed; font-size:9.5px; font-weight:700; color:#7C8494; line-height:1.15; text-transform:uppercase;
  }
  .nl-pricing-bar .nl-shape-info{ flex:1 1 auto; min-width:0; }
  .nl-pricing-bar .nl-shape-name{
    display:block; font-size:14px; font-weight:700; color:var(--mcf-ink); line-height:1.3;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  }
  .nl-pricing-bar .nl-change-shape{
    background:none; border:0; padding:0; cursor:pointer;
    font-family:inherit; font-size:12.5px; font-weight:600; color:#1d7f91;
    text-decoration:underline; text-underline-offset:3px;
  }
  .nl-pricing-bar .nl-price-cta-row{
    display:flex !important; flex-direction:column !important; align-items:stretch !important;
    gap:0 !important; margin:0 !important; padding:0 !important;
  }
  .nl-pricing-bar .nl-price-section{ text-align:right; }
  .nl-pricing-bar .nl-price{ margin:0; font-size:26px; font-weight:700; line-height:1; color:var(--mcf-ink); }
  .nl-pricing-bar .nl-price-note{ margin:5px 0 0; font-size:12px; color:#7C8494; }
  .nl-pricing-bar .mcf-gtee{ text-align:right; }
  .nl-pricing-bar .nl-cta-button{
    width:100%; margin-top:12px; justify-content:center; text-align:center;
    font-size:15px; font-weight:700; padding:9px 12px;
    background:var(--mcf-ink) !important; color:#fff !important; border:0; border-radius:6px; cursor:pointer;
  }
  .nl-pricing-bar .ml-moreinfo{ width:100%; margin-top:8px; }
}

@media (max-width: 1023px){
  .nl-card-main{ display:block; }
  .nl-card-main > .nl-pricing-bar{ border-top:1px solid #E5E5E5; padding:18px; }
  .nl-pricing-bar .nl-cta-button, .nl-pricing-bar .ml-moreinfo{ width:100%; }
}/* ---------- STEP 3 matches STEP 1 ---------- */
/* tier headings: the benefit label ranks the card, so Core/Better/Best go.
   The toppers heading stays - it separates products, not quality. */
.nl-category-section .nl-category-header{ display:none !important; }
.nl-category-section#nl-section-toppers .nl-category-header,
.nl-category-section[id*="topper"] .nl-category-header{ display:block !important; margin:20px 0 !important; }
.nl-category-section{ margin:0 !important; padding:0 !important; }

@media (min-width: 1024px){
  .nl-category-cards{
    display:block !important; gap:0 !important;
  }
  .nl-card{ margin:0 0 40px !important; min-height:240px; }
  .nl-category-section:last-of-type .nl-card:last-child{ margin-bottom:0 !important; }

  .nl-card-main{ min-height:0 !important; }
  .nl-card-image-wrapper{ flex:1 1 200px !important; min-width:200px !important; }
  .nl-card-content{ flex:0 0 542px !important; min-width:542px !important; }
  .nl-card-main > .nl-pricing-bar{
    flex:0 0 clamp(280px, 22vw, 310px) !important;
    width:clamp(280px, 22vw, 310px) !important; min-width:280px; max-width:310px;
  }
  .nl-pricing-bar .nl-shape-selection{ max-width:100%; overflow:hidden; }
  .nl-pricing-bar .nl-shape-info{ min-width:0; overflow:hidden; }
  .nl-pricing-bar .nl-shape-name{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
}

/* Step 3 drawer: prose reads left, captions stay centred */
.nl-detail-panel p, .nl-detail-panel li, .nl-detail-panel dd,
.nl-detail-panel .ml-det-note{ text-align:left !important; }
.nl-detail-panel .ml-det-thermal-grid figcaption{ text-align:center !important; }

/* the construction intro is body copy, not an eyebrow */
.ml-det-build .ml-det-tagline,
.ml-detail-panel .ml-det-build .ml-det-tagline,
.nl-detail-panel .ml-det-build .ml-det-tagline{
  font-size:16px !important; font-weight:400 !important;
  line-height:1.7 !important; color:#555555 !important;
  text-transform:none !important; letter-spacing:normal !important;
  margin:0 0 22px !important; max-width:none !important;
}

/* the placeholder tile shows ONLY while nothing is chosen */
.nl-card.nl-no-selection .nl-shape-placeholder{ display:flex !important; }
.nl-card:not(.nl-no-selection) .nl-shape-placeholder{ display:none !important; }
.nl-card:not(.nl-no-selection) .nl-shape-thumb{ display:block !important; }
.nl-card.nl-no-selection .nl-shape-thumb{ display:none !important; }

/* the chosen shape: a full-width bar across the foot of the card (option B) */
.nl-card .nl-shape-strip{
  display:block !important; margin:0 !important; padding:14px 20px !important;
  background:var(--mcf-panel) !important; border:0 !important; border-top:1px solid #E5E5E5 !important;
}
.nl-card .nl-shape-selection{
  display:flex !important; align-items:center !important; gap:16px !important;
  padding:0 !important; background:none !important; border:0 !important;
  border-radius:0 !important; max-width:none !important; overflow:visible !important;
  justify-content:flex-start !important;
}
.nl-card .nl-shape-thumb,
.nl-card .nl-shape-placeholder{
  flex:0 0 auto !important; width:46px !important; height:46px !important;
  object-fit:contain !important; background:#ffffff !important;
  border:1px solid #E5E5E5 !important; border-radius:4px !important;
}
.nl-card .nl-shape-placeholder{
  flex-direction:column !important; align-items:center !important;
  justify-content:center !important; border-style:dashed !important;
  font-size:9.5px !important; font-weight:700 !important; color:#7C8494 !important;
  line-height:1.15 !important; text-transform:uppercase !important; letter-spacing:.04em !important;
}
.nl-card .nl-shape-info{
  flex:0 1 auto !important; min-width:0 !important; display:flex !important;
  flex-direction:column !important; gap:1px !important; overflow:visible !important;
  text-align:left !important;
}
.nl-card .nl-shape-eyebrow{
  display:block; font-size:10.5px; font-weight:700; letter-spacing:.09em;
  text-transform:uppercase; color:#7C8494; line-height:1.2;
}
.nl-card .nl-shape-name{
  display:block !important; font-size:15px !important; font-weight:700 !important;
  color:var(--mcf-ink) !important; line-height:1.35 !important;
  overflow:visible !important; text-overflow:clip !important; white-space:normal !important;
}
.nl-card .nl-shape-spacer{ flex:1 1 auto !important; }
/* the Change button is the same button as the two above it: 269x42, 15px/700 */
.nl-card .nl-change-shape{
  flex:0 0 auto !important; box-sizing:border-box !important;
  width:269px !important; min-height:42px !important; height:auto !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  font-family:inherit !important; font-size:15px !important; font-weight:700 !important;
  color:var(--mcf-ink) !important; background:#ffffff !important;
  border:1px solid #D1D5DB !important; border-radius:6px !important;
  padding:0 18px !important; cursor:pointer !important; text-decoration:none !important;
  margin:0 !important; line-height:1.2 !important;
}
.nl-card .nl-change-shape:hover{ background:#F5F5F5 !important; border-color:#999999 !important; }

/* Step 1's price/CTA stack is a fixed 269px on every card. Step 3's shrank to
   fit the CTA label, so the price, the guarantee rule and the buttons ended on
   a different line on toppers than on mattresses. Match Step 1. */
.nl-card .nl-price-cta-row{
  width:100% !important; align-self:stretch !important; box-sizing:border-box !important;
}

/* the struck price and the % OFF badge right-align with the rest of the column */
.nl-card .nl-price-wasline{
  justify-content:flex-end !important; align-items:baseline !important;
  text-align:right !important;
}

/* ---- Step 3 card on phones: stacked, one aligned column (matches Step 1) ---- */
@media (max-width: 1023px){
  .nl-card .nl-pricing-bar{ padding:18px !important; align-items:stretch !important; }
  .nl-card .nl-price-cta-row{
    width:100% !important; max-width:none !important; padding:0 !important;
    display:flex !important; flex-direction:column !important;
    align-items:stretch !important; gap:10px !important;
  }

  /* everything left-aligns on one edge, as Step 1 does */
  .nl-card .nl-price-section,
  .nl-card .nl-price,
  .nl-card .nl-price-note,
  .nl-card .mcf-gtee{ text-align:left !important; }
  .nl-card .nl-price-wasline{ justify-content:flex-start !important; }

  /* the CTA keeps its dark face on phones - the theme's orange was showing
     through because the desktop rule is scoped to min-width:861px */
  .nl-card .nl-cta-button{
    width:100% !important; box-sizing:border-box !important; min-height:46px !important;
    display:flex !important; align-items:center !important; justify-content:center !important;
    background:var(--mcf-ink) !important; color:#ffffff !important; border:0 !important;
    border-radius:6px !important; font-size:15px !important; font-weight:700 !important;
  }
  .nl-card .ml-moreinfo{
    width:100% !important; box-sizing:border-box !important; min-height:46px !important;
  }

  /* shape bar: thumbnail + name on one row, the button full width beneath.
     Without this the desktop 269px button runs off the side of the card. */
  .nl-card .nl-shape-strip{ padding:16px 18px !important; }
  .nl-card .nl-shape-selection{ flex-wrap:wrap !important; gap:12px !important; }
  .nl-card .nl-shape-info{ flex:1 1 0 !important; min-width:0 !important; }
  .nl-card .nl-shape-spacer{ display:none !important; }
  .nl-card .nl-change-shape{
    flex:1 0 100% !important; width:100% !important; max-width:none !important;
    min-height:46px !important; font-size:15px !important; padding:0 16px !important;
  }
}

/* the fixed 266+542+310 row needs ~1200px of viewport; below that the copy
   column must be allowed to shrink or the price column is pushed out of the
   card entirely. Step 1's copy column is flexible at these widths. */
@media (min-width: 1024px) and (max-width: 1279px){
  .nl-card .nl-card-content{ flex:1 1 auto !important; min-width:0 !important; }
}

/* the Change button tracks the price column's inner width so it stays the
   same size as More info at every desktop width, not just the widest */
@media (min-width: 1024px){
  .nl-card .nl-change-shape{
    width:calc(clamp(280px, 22vw, 310px) - 41px) !important;
  }
}

/* even spacing between every card on phones. The hidden tier-heading sections
   break a flex gap, so the spacing lives on the card, as it does on desktop. */
@media (max-width: 1023px){
  .nl-category-cards{ gap:0 !important; }
  .nl-card{ margin:0 0 24px !important; }
  .nl-category-section:last-of-type .nl-card:last-child{ margin-bottom:0 !important; }
}

/* ---- the panel used standalone on a product page ---- */
/* in a card the drawer grid collapses to one column; at full page width it
   split in two, so the guarantee and phone sat half-width beside each other
   while the hero ran the full 1425px. One column, one width, like Step 1. */
.ml-detail-standalone{
  display:block !important;
  max-width:1100px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding:26px 0 28px !important;
  /* no outer frame: under a card this border is the drawer's edge, but on a
     product page it drew a thin grey box around the whole panel */
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
.ml-detail-standalone > .ml-det-hero,
.ml-detail-standalone > .ml-det,
.ml-detail-standalone > .ml-det-guarantee,
.ml-detail-standalone > .ml-det-note{
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* the image tag is a solid chip, not a tint: #F5F5F5 on a pale mattress
   photo was invisible. Same ink as the Choose button. */
.mcf-label{
  background:var(--mcf-ink) !important;
  border:0 !important;
  color:#FFFFFF !important;
  border-radius:4px !important;
  padding:5px 10px !important;
  box-shadow:0 1px 4px rgba(18,63,73,.22) !important;
}

/* Full spec gained Firmness, Depths and Guarantee on 2026-09-29, so the
   list can hold an odd number of rows. A lone last row stretches across
   both columns rather than leaving a ragged half-row. */
.mcf-spec-list > div:last-child:nth-child(odd){grid-column:1/-1;}
/* 2026-09-29: the Full spec grid runs to three rows now that Firmness,
   Depths and Guarantee are back. The cell divider and the 24px inset were
   written when there was a single row, so :first-child was the only cell
   in column one. In a two-column grid every ODD cell starts a row, so the
   flush treatment follows the column, not the document order - otherwise
   each row below the first is pushed in and carries a stray hairline down
   the left edge of the panel. Rows also need vertical air; the original
   gap:0 assumed there would never be a second row. */
.ml-det-speccol .mcf-spec-list{ row-gap:20px !important; }
.ml-det-speccol .mcf-spec-list > div:nth-child(odd){ border-left:0; padding-left:0; }
/* ---------------------------------------------------------------------------
   Card presence, 2026-09-30. The old card ended in a solid dark bar, which
   grounded it. Removing that bar left the card as text floating on white:
   no edges, no base, one accent line. This does the same job with 3px
   instead of sixty - a brand-coloured foot, a hairline so the card reads as
   an object, and a little lift on hover. No colour slabs.
   --------------------------------------------------------------------------- */
.ml-mattress-item{
  border:1px solid #E5E5E5;
  border-bottom:3px solid var(--mcf-accent);
  box-shadow:0 1px 2px rgba(0,0,0,.05);
  transition:box-shadow .18s ease, transform .18s ease;
}
.ml-mattress-item:hover{
  box-shadow:0 6px 18px rgba(0,0,0,.09);
}
.nl-card{
  border-bottom:3px solid var(--mcf-accent);
}
/* the chip carries the accent instead of the ink, so the eye lands on it */
.mcf-label{
  /* Campervan: the teal accent on navy text was too low-contrast to read as a
     badge. Navy ground with white text instead - same shape, far stronger. */
  background:var(--mcf-ink) !important;
  color:#ffffff !important;
}
/* ---------------------------------------------------------------------------
   A bit of life, 2026-09-30. Small, purposeful movement only - the chevron
   nudges to say "there is more below", flips when the drawer is open, and
   the CTA arrow leans into the click. Everything is disabled for anyone who
   has asked their system to reduce motion.
   --------------------------------------------------------------------------- */
@keyframes mcf-nudge{
  0%,55%,100%{ transform:translateY(0); }
  67%        { transform:translateY(4px); }
  79%        { transform:translateY(0); }
  90%        { transform:translateY(2px); }
}
.ml-moreinfo svg,
.nl-moreinfo svg{
  transition:transform .22s cubic-bezier(.34,1.56,.64,1);
  animation:mcf-nudge 1.5s ease-in-out infinite;
}
.ml-moreinfo:hover svg,
.nl-moreinfo:hover svg{
  animation:none;
  transform:translateY(3px);
}
/* open: the chevron points back up, and stops inviting */
.ml-moreinfo.ml-detail-toggle--open svg,
.ml-moreinfo[aria-expanded="true"] svg,
.nl-moreinfo[aria-expanded="true"] svg{
  animation:none;
  transform:rotate(180deg);
}
/* the CTA arrow leans into the click */
.ml-cta-button .ml-cta-arrow,
.nl-cta-button svg{
  transition:transform .2s cubic-bezier(.34,1.56,.64,1);
}
.ml-cta-button:hover .ml-cta-arrow,
.nl-cta-button:hover svg{
  transform:translateX(4px);
}
/* the card lifts a touch on hover, the image with it */
.ml-mattress-item:hover{ transform:translateY(-2px); }
.ml-mattress-item .ml-lifestyle-img{ transition:transform .35s ease; }
.ml-mattress-item:hover .ml-lifestyle-img{ transform:scale(1.03); }
.ml-mattress-item .ml-image-col{ overflow:hidden; }

@media (prefers-reduced-motion: reduce){
  .ml-moreinfo svg,.nl-moreinfo svg{ animation:none !important; transition:none !important; }
  .ml-mattress-item,.ml-mattress-item:hover{ transform:none !important; }
  .ml-mattress-item .ml-lifestyle-img,.ml-mattress-item:hover .ml-lifestyle-img{ transform:none !important; transition:none !important; }
  .ml-cta-button .ml-cta-arrow,.nl-cta-button svg{ transition:none !important; }
}

.ml-detail-panel[hidden], .nl-detail-panel[hidden]{ display:none !important; }

/* ---- card face: the QUESTION leads, the answer supports.
   Scanning eight cards, people look for the one that is about them.
   The question is what differs between cards; the answer is what they
   have in common. So the question takes the size and weight the answer
   used to have, and the colour is this store's own ink token - never a
   literal, never the accent, which at this size would shout.
   Angelo, 2026-10-05. ---- */
.mcf-question{
  font-size:21px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.01em;
  color:var(--mcf-ink) !important;
  margin:0 0 6px;
}
.mcf-headline{
  font-size:16px;
  font-weight:600;
  line-height:1.45;
  letter-spacing:0;
  color:var(--mcf-model) !important;
  margin:0 0 12px;
}
@media (max-width:767px){
  .mcf-question{ font-size:19px; }
  .mcf-headline{ font-size:15px; }
}

/* ---- price column: reassurance box, named button, help line, quiet More link.
   The guarantee and free delivery sit as ticks under the price, in one
   tinted box, beside the button. More info is demoted to a text link so
   the dark button is the only strong action. Angelo, 2026-10-23. ---- */
.mcf-assure{
  display:flex; flex-direction:column; gap:2px; box-sizing:border-box; width:100%;
  margin:0; padding:9px 12px; border-radius:6px; background:var(--mcf-panel);
  font-size:13.5px; line-height:1.55; color:var(--mcf-ink); text-align:left;
}
.mcf-assure span{ display:flex; align-items:flex-start; gap:7px; }
.mcf-assure .mcf-tick{ margin-top:4px; width:13px; height:13px; }
.mcf-help{ margin:0; font-size:13px; line-height:1.4; color:var(--mcf-model); text-align:center; }
.nl-card .ml-moreinfo, .ml-mattress-item .ml-moreinfo{
  min-height:0 !important; padding:0 !important; margin:0 auto !important; width:auto !important;
  background:none !important; border:0 !important; border-radius:0 !important;
  font-size:13px !important; font-weight:400 !important; color:var(--mcf-model) !important;
  text-decoration:underline; text-underline-offset:3px; align-self:center;
}
.nl-card .ml-moreinfo:hover, .ml-mattress-item .ml-moreinfo:hover{ color:var(--mcf-ink) !important; }
.nl-card .ml-moreinfo svg, .ml-mattress-item .ml-moreinfo svg{ width:11px; height:11px; }
.nl-card .nl-price-cta-row{ gap:10px !important; }
.ml-mattress-item .ml-cta-col{ gap:10px !important; }
/* "Everything included" ties the price to the two ticks beneath it */
.mcf-incl{ margin:-4px 0 0 !important; font-size:12.5px; line-height:1.3; color:var(--mcf-model); text-align:right; }
/* every gap in the column is 10px, and "Everything included" hugs the price */
.nl-card .nl-price-cta-row .nl-cta-button{ margin-top:0 !important; }
.ml-mattress-item .mcf-incl{ margin-top:-9px !important; }
@media (max-width:1023px){
  .nl-card .mcf-incl{ text-align:left; }
  .ml-mattress-item .mcf-incl{ text-align:left; margin-top:-12px !important; }
}

/* ---- card face, middle column: bigger and easier to read (draft
   signed off 2026-10-23). The ticks are the reasons to buy, so they
   move up to body size in the store's ink; a short accent rule
   separates the hook from the reasons; the shape tick - the one that
   removes effort - is a touch heavier. ---- */
.mcf-model{ font-size:13px; letter-spacing:.08em; margin:0 0 10px; }
.mcf-question{ font-size:26px; line-height:1.15; margin:0 0 6px; }
.mcf-headline{ font-size:17px; margin:0; }
.mcf-benefits--card{ gap:10px; }
.mcf-benefits--card::before{
  content:""; display:block; width:36px; height:2px; border-radius:0;
  background:var(--mcf-accent); margin:16px 0 6px;
}
.mcf-benefits--card li{ font-size:16px; line-height:1.5; color:var(--mcf-ink); gap:10px; }
.mcf-benefits--card li .mcf-tick{ margin-top:4px; }
.mcf-benefits--card li.mcf-li-shape{ font-weight:600; }
@media (max-width:767px){
  .mcf-question{ font-size:23px; }
  .mcf-headline{ font-size:16px; }
  .mcf-benefits--card li{ font-size:15.5px; }
}

/* ---- the Choose button: ONE size on both funnel steps (2026-10-24).
   Step 1 was 42px / 10px corners / spaced letters, Step 3 36px / 6px.
   Both now 42px tall (the height of 'Change Shape and Size' beside it),
   6px corners like every other card button, 46px on phones. ---- */
.ml-mattress-item .ml-cta-button, .nl-card .nl-cta-button{
  display:flex !important; align-items:center !important; justify-content:center !important; gap:8px !important;
  box-sizing:border-box !important; min-height:42px !important; height:auto !important;
  padding:9px 12px !important; border-radius:6px !important;
  font-size:15px !important; font-weight:700 !important; letter-spacing:normal !important; line-height:1.2 !important;
}
@media (max-width:1023px){
  .ml-mattress-item .ml-cta-button, .nl-card .nl-cta-button{ min-height:46px !important; font-size:15px !important; }
}

/* thermal-gap-2026-10-31: the later ".ml-det-thermal{margin:0 0 26px !important}" zeroed the gap above the heat pictures, so the panel sat against the last layer's text. Inside the build section it needs air above, none below. */
.ml-det-build .ml-det-thermal{ margin:30px 0 0 !important; }

/* layers-top-2026-10-31 (approved by Angelo after the motorhome trial): the numbered layers
   picture sits LEFT of layer 1 only; layers 2 onward run the full width below.
   display:contents lets the list items join the layers grid directly. The
   counter is reset on the grid too so the 1-4 numbering survives either way.
   Desktop only - below 1024 the picture already sits above the list. */
@media (min-width:1024px){
  .ml-det-build .ml-det-layers{ grid-template-columns:300px minmax(0,1fr) !important; align-items:start !important; row-gap:22px !important; counter-reset:mllayer; }
  .ml-det-build .ml-det-layers-list{ display:contents !important; }
  .ml-det-build .ml-det-layers-img{ grid-column:1; grid-row:1; align-self:center; }
  .ml-det-build .ml-det-layers-list > li:first-child{ grid-column:2; grid-row:1; align-self:center; }
  .ml-det-build .ml-det-layers-list > li:not(:first-child){ grid-column:1 / -1; margin-top:0; }
}

/* tablet-card-2026-10-31: tablet portrait (768-1023) only. Angelo: the
   picture was a thin 220px strip and "More about this mattress" was 13px
   grey and easy to miss. Taller picture + a readable link. Phone and
   desktop untouched. */
@media (min-width:768px) and (max-width:1023px){
  .ml-mattress-item .ml-lifestyle-img{ height:auto !important; aspect-ratio:16 / 9; }
  body .nl-card .nl-card-image-wrapper{ height:auto !important; aspect-ratio:16 / 9 !important; }
  .nl-card .ml-moreinfo, .ml-mattress-item .ml-moreinfo{ font-size:16px !important; font-weight:600 !important; color:var(--mcf-ink) !important; padding:10px 0 !important; text-underline-offset:4px; }
  .nl-card .ml-moreinfo svg, .ml-mattress-item .ml-moreinfo svg{ width:14px; height:14px; }
}
