/* ═══════════════════════════════════════════════════════════════════════════
   Jo Lifestyle — "Blush Boutique" (design canvas, Option 3)
   ═══════════════════════════════════════════════════════════════════════════
   Loaded LAST on every storefront page. The engine's stylesheets (global.css,
   components.css, home.css, product.css …) stay as Cloco ships them, so a fix there
   can be copied over unchanged; everything that makes Jo Lifestyle look like itself
   lives in this one file: the colours, the two typefaces, soft rounded cards, rose
   pill buttons, a blush footer and a floating bar on a phone.

   Typefaces: Gloock (display: logo, titles) and Outfit (everything else), self-hosted
   in /assets/fonts like Cloco's Montserrat (latin subset from Google Fonts, SIL Open Font
   License — assets/fonts/OFL-*.txt). Outfit is preloaded on the main pages.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Outfit';
  src: url('/assets/fonts/Outfit-VariableFont.woff2') format('woff2-variations'),
       url('/assets/fonts/Outfit-VariableFont.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gloock';
  src: url('/assets/fonts/Gloock-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --jo-rose: #B23A5B;         /* buttons, badges, the dot after the name */
  --jo-rose-dark: #8E2747;    /* hover */
  --jo-blush: #F9E4E1;        /* soft panels, footer */
  --jo-blush-soft: #FBEFEC;   /* image wells behind products */
  --jo-paper: #FFF8F6;        /* the page */
  --jo-ink: #2A1E22;          /* text, dark bar */
  --jo-muted: #5A4950;        /* secondary text (5.9:1 on the page) */
  --jo-radius: 22px;          /* cards */
  --jo-radius-sm: 14px;       /* images inside cards, inputs */

  /* The engine's tokens, pointed at the brand */
  --font-primary: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Gloock', Georgia, 'Times New Roman', serif;
  --bg-color: #FFF8F6;
  --surface: #FFFFFF;
  --text-color: #2A1E22;
  --color-ink: #2A1E22;
  --color-ink-soft: #3A2B30;
  --text-strong: #3A2B30;
  --text-muted: #5A4950;
  --text-subtle: #7A6A70;
  --price-strike: #7A6A70;
  --surface-muted: #F7ECE9;
  --surface-alt: #F3E4E0;
  --surface-subtle: #FDF5F3;
  --border-color: #EFDCD8;
  --border-light: #F3E6E3;
  --glass-light: rgba(255, 248, 246, 0.92);
  --glass-strong: rgba(255, 248, 246, 0.97);
  --shadow-card: 0 4px 24px rgba(178, 58, 91, 0.08);
}

body { background: var(--jo-paper); color: var(--jo-ink); }

/* ── Display type ───────────────────────────────────────────────────────── */
.section-title,
.product-page-title,
.collection-title,
#collection-title,
.footer-col:first-child h3,
.sidemenu-logo {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Announcement bar ───────────────────────────────────────────────────── */
.announcement-bar { background: var(--jo-rose); color: #fff; border-bottom: 0; }
.announcement-bar a, .announcement-bar .announce-nav { color: #fff; }

/* ── Top bar: "jo lifestyle." in Gloock ─────────────────────────────────── */
.topbar { background: var(--glass-light); border-bottom: 1px solid var(--border-light); }
.topbar .logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  letter-spacing: 0;
  text-transform: lowercase;
}
.topbar .logo::after { content: '.'; color: var(--jo-rose); }

.jo-topnav { display: none; }

/* ── Desktop top bar ─────────────────────────────────────────────────────────
   One 64px row: menu, the name, the shop's collections as links, then search and
   the account icons. The engine's bar is 50px and every page clears 50px, so the extra
   14px is added to the body offset here (with the announcement bar's), and the two
   sticky columns that sit under the bar move down by the same 14px. */
@media (min-width: 1024px) {
  body { padding-top: calc(var(--announce-h, 0px) + 14px); }
  .collection-sidebar { top: calc(var(--announce-h, 0px) + 72px); }
  .product-info { top: 86px; }

  .topbar {
    height: 64px; padding: 0 32px; gap: 22px; justify-content: flex-start;
    background: rgba(255, 248, 246, 0.92);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 1px solid rgba(42, 30, 34, 0.07);
  }
  .topbar-left { width: auto; flex: none; }
  .topbar .menu-btn { width: 40px; height: 40px; border-radius: 50%; margin-left: -8px; }
  .topbar .menu-btn:hover { background: var(--jo-blush); }
  .topbar .logo { position: static; transform: none; flex: none; font-size: 1.7rem; line-height: 1; }

  .jo-topnav {
    display: flex; align-items: stretch; gap: 26px; flex: 1; min-width: 0; height: 100%;
    margin-left: 14px; overflow: hidden;
  }
  .jo-topnav a {
    position: relative; display: flex; align-items: center; white-space: nowrap;
    color: var(--jo-ink); font-size: 0.92rem; font-weight: 500; text-decoration: none;
  }
  .jo-topnav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 1.5px;
    background: var(--jo-rose); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease;
  }
  .jo-topnav a:hover { color: var(--jo-rose); }
  .jo-topnav a:hover::after, .jo-topnav a.is-on::after { transform: scaleX(1); }
  .jo-topnav a.is-on { color: var(--jo-rose); }

  /* The engine keeps .topbar-right 64px wide (two icons on Cloco); here it sizes to the
     search field and three icons, and nothing in it shrinks. */
  .topbar-right { gap: 4px; width: auto; flex: none; }
  .topbar-right > button {
    flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
    background: transparent; color: var(--jo-ink); transition: background 0.15s ease, color 0.15s ease;
  }
  .topbar-right > button:hover { background: var(--jo-blush); color: var(--jo-rose); }
  .topbar-right > .nav-search {
    flex: 0 0 auto; width: auto; min-width: 250px; height: 42px; margin-right: 10px;
    justify-content: flex-start; gap: 10px; white-space: nowrap; padding: 0 16px;
    border-radius: 999px; border: 1px solid rgba(42, 30, 34, 0.12); background: #fff; color: var(--jo-muted);
  }
  .topbar-right > .nav-search:hover { border-color: var(--jo-rose); background: #fff; color: var(--jo-muted); }
  .topbar-right > .nav-search::after { content: 'Search bags, colours…'; font-size: 0.88rem; }
  .topbar-right > .nav-order { background: var(--jo-ink); color: #fff; margin-left: 4px; }
  .topbar-right > .nav-order:hover { background: var(--jo-rose); color: #fff; }
}
/* Smaller laptops: tighter links, a shorter search field; links that do not fit are cut
   at the edge rather than wrapping. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .topbar { padding: 0 22px; gap: 16px; }
  .jo-topnav { gap: 18px; margin-left: 6px; }
  .jo-topnav a { font-size: 0.86rem; }
  .topbar-right > .nav-search { min-width: 190px; }
}

/* Every product row on the home page sits in the same 1320px column as the Jo sections,
   instead of Cloco's edge-to-edge New Arrivals. */
.product-section { max-width: 1320px; margin-left: auto; margin-right: auto; padding: 0 16px; }
@media (min-width: 769px) { .product-section { padding: 0 40px; } }

/* ── Product cards: white, rounded, the bag on a blush well ─────────────── */
/* Each colour of a bag is its own product, so the engine's "N In Colors" line would
   always say 1; the design's card is name and price only. */
.product-colors { display: none; }
.product-grid { gap: 12px; background: transparent; }
@media (min-width: 769px) { .product-grid { gap: 22px; } }
.product-card {
  background: #fff;
  border-radius: var(--jo-radius);
  padding: 8px;
  box-shadow: 0 2px 14px rgba(42, 30, 34, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
@media (hover: hover) { .product-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); } }
.product-image-wrapper { border-radius: var(--jo-radius-sm); background-color: var(--jo-blush-soft); }
.product-card-info { padding: 12px 6px 8px; }
.product-title { font-weight: 500; font-size: 0.92rem; }
.product-price { margin-bottom: 4px; }

.add-icon {
  width: 38px; height: 38px;
  background: var(--jo-rose); color: #fff;
  box-shadow: 0 4px 12px rgba(178, 58, 91, 0.3);
}
.love-icon { width: 36px; height: 36px; color: var(--jo-rose); }

.badge-discount { background: var(--jo-rose); border-radius: 999px; padding: 3px 9px; font-size: 0.66rem; }
.badge-promo { border-radius: 999px; }
.badge-soldout, .badge-flash { border-radius: 999px; }
.badge-flash { background: var(--jo-rose); color: #fff; }

/* ── Product page ───────────────────────────────────────────────────────── */
.product-page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.12; }
.btn-add-to-cart, .btn-buy-now { border-radius: 999px; letter-spacing: 0.3px; font-weight: 600; }
.btn-add-to-cart { background: #fff; color: var(--jo-rose); border: 1.5px solid var(--jo-rose); }
.btn-add-to-cart:hover { background: var(--jo-blush); }
.btn-buy-now { background: var(--jo-rose); border-color: var(--jo-rose); color: #fff; }
.btn-buy-now:hover { background: var(--jo-rose-dark); opacity: 1; }
.qty-btn, .qty-input { border-radius: 999px; }
.product-spec-tags span { background: var(--jo-blush); color: var(--jo-ink); }
.bg-sizes button.is-on { background: var(--jo-rose); border-color: var(--jo-rose); }
.product-accordion summary { font-weight: 600; }

/* ── Footer: blush ──────────────────────────────────────────────────────── */
.footer { background: var(--jo-blush); border-top: 0; }
.footer-col:first-child h3 { font-size: 1.6rem; text-transform: lowercase; }
.footer-col:first-child h3::after { content: '.'; color: var(--jo-rose); }
.footer-bottom { background: var(--jo-blush); color: var(--jo-muted); }

/* ── Phone: the bottom bar is a quiet, light strip ──────────────────────── */
/* Thin icons in the muted ink; the page you are on turns rose with a short rose line
   above it. No filled pill: the bar should be found, not looked at. */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    left: 0; right: 0; bottom: 0; width: 100%;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 0 8px env(safe-area-inset-bottom, 0px);
    border-radius: 0; border: 0; border-top: 1px solid rgba(42, 30, 34, 0.07);
    background: rgba(255, 248, 246, 0.94);
    backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
    box-shadow: 0 -4px 18px rgba(42, 30, 34, 0.04);
  }
  .mobile-bottom-bar.nav-hidden { transform: translateY(100%); }
  .bottom-bar-item { position: relative; color: var(--jo-muted); gap: 4px; }
  .bottom-bar-item i, .bottom-bar-item.active i { font-size: 1.18rem; -webkit-text-stroke: 0; }
  .bottom-bar-item.active { color: var(--jo-rose); background: none; }
  .bottom-bar-item.active::before {
    content: ''; position: absolute; top: 0; left: 50%; width: 22px; height: 2px;
    margin-left: -11px; border-radius: 0 0 2px 2px; background: var(--jo-rose);
  }
  .bottom-bar-label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1px; text-transform: none; }
  .bottom-bar-item.active .bottom-bar-label { font-weight: 600; }
}

/* ── New Arrivals and its button ────────────────────────────────────────── */
.jo-new { margin-top: 40px; }
.jo-new .jo-sec-head { margin-bottom: 16px; }
.discover-btn-wrapper { margin-top: 22px; }
.btn-discover {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--jo-rose);
  background: #fff; color: var(--jo-rose); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1px; text-transform: none;
}
.btn-discover:hover { background: var(--jo-rose); border-color: var(--jo-rose); color: #fff; }

/* ── Small things that should match ─────────────────────────────────────── */
::selection { background: var(--jo-blush); color: var(--jo-ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--jo-rose); }

/* ═══ Home: Jo Lifestyle sections (js/home-sections.js) ═══════════════════ */
.jo-highlights, .jo-deals, .jo-favourites, .jo-occasions, .jo-spot-sec { padding: 0 16px; max-width: 1320px; margin: 0 auto; }
@media (min-width: 769px) { .jo-highlights, .jo-deals, .jo-favourites, .jo-occasions, .jo-spot-sec { padding: 0 40px; } }
.jo-sec-title { text-align: left; margin: 0; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.jo-sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.jo-sec-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.jo-sec-link { color: var(--jo-rose); font-weight: 600; font-size: 0.92rem; }
.jo-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: var(--jo-muted); }

/* Highlights: round links that scroll sideways on a phone */
.jo-highlights { padding-top: 14px; padding-bottom: 6px; }
.jo-hl-track { display: flex; gap: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.jo-hl-track::-webkit-scrollbar { display: none; }
.jo-hl { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--jo-ink); text-decoration: none; }
.jo-hl-ring { width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(#B23A5B, #F2A7B5, #E9C46A, #B23A5B); display: block; }
.jo-hl-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--jo-paper); display: block; background: var(--jo-blush-soft); }
.jo-hl-name { font-size: 0.78rem; font-weight: 500; text-align: center; line-height: 1.2; }
@media (min-width: 769px) { .jo-hl { width: 96px; } .jo-hl-ring { width: 88px; height: 88px; } .jo-hl-name { font-size: 0.85rem; } }

/* Today's deals: a white box with the clock */
.jo-deals { margin-top: 22px; }
.jo-deals-box { background: #fff; border-radius: 26px; padding: 18px 14px; box-shadow: 0 4px 24px rgba(178, 58, 91, 0.06); }
@media (min-width: 769px) { .jo-deals-box { padding: 26px; } }
.jo-deals-box .product-card { box-shadow: none; background: var(--jo-paper); }
/* The deals are one row that scrolls sideways, as in the design: four across on a laptop,
   two and a bit on a phone (the cut-off card says "there is more"). */
.jo-deals-box .jo-deals-grid {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: 44%; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 2px;
}
.jo-deals-box .jo-deals-grid::-webkit-scrollbar { display: none; }
.jo-deals-box .jo-deals-grid > * { scroll-snap-align: start; min-width: 0; }
@media (min-width: 769px) { .jo-deals-box .jo-deals-grid { grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; } }
.jo-countdown { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.jo-countdown span { min-width: 38px; height: 36px; padding: 0 6px; border-radius: 10px; background: var(--jo-ink); color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.jo-countdown b { color: var(--jo-ink); }

/* Favourites: chips */
.jo-favourites { margin-top: 36px; }
.jo-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.jo-chips::-webkit-scrollbar { display: none; }
.jo-chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #fff; color: var(--jo-ink); font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; }
.jo-chip.is-on { background: var(--jo-ink); color: #fff; }
.jo-chip:focus-visible { outline: 2px solid var(--jo-rose); outline-offset: 2px; }
#home-fav-grid.is-loading { opacity: 0.45; transition: opacity 0.2s; }

/* Shop by occasion: picture tiles */
.jo-occasions { margin-top: 40px; }
.jo-occ-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 769px) { .jo-occ-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.jo-occ { position: relative; min-height: 160px; border-radius: 22px; overflow: hidden; background: var(--jo-blush); padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: var(--jo-ink); text-decoration: none; }
@media (min-width: 769px) { .jo-occ { min-height: 230px; padding: 22px; } }
.jo-occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A tile with a picture has white text, so until the picture arrives it sits on ink. */
.jo-occ:has(img) { background: var(--jo-ink); }
.jo-occ img + .jo-occ-name, .jo-occ img ~ .jo-occ-go { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.jo-occ-name { position: relative; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.1; }
.jo-occ-go { position: relative; font-size: 0.85rem; font-weight: 600; }

/* Trust row */
/* Bag of the week: one bag, large — photo on the left, its facts on the right */
.jo-spot-sec { margin-top: 44px; margin-bottom: 40px; }
.jo-spot {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 28px; background: #fff; box-shadow: 0 6px 30px rgba(178, 58, 91, 0.07);
}
@media (min-width: 900px) { .jo-spot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.jo-spot-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--jo-blush-soft); overflow: hidden; }
@media (min-width: 900px) { .jo-spot-media { aspect-ratio: auto; min-height: 520px; } }
.jo-spot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
@media (hover: hover) { .jo-spot:hover .jo-spot-media img { transform: scale(1.03); } }
.jo-spot-kicker {
  position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 248, 246, 0.92); color: var(--jo-rose); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.jo-spot-body { display: flex; flex-direction: column; gap: 14px; padding: 24px 20px 26px; }
@media (min-width: 900px) { .jo-spot-body { justify-content: center; padding: 44px 48px; } }
.jo-spot-name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; }
.jo-spot-name a { color: var(--jo-ink); text-decoration: none; }
.jo-spot-price { font-size: 1.15rem; }
.jo-spot-price .product-price { margin: 0; }
.jo-spot-desc { margin: 0; color: var(--jo-muted); font-size: 0.98rem; line-height: 1.55; max-width: 46ch; }
.jo-spot-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jo-spot-tags span { padding: 6px 12px; border-radius: 999px; background: var(--jo-blush); color: var(--jo-ink); font-size: 0.82rem; font-weight: 500; }
.jo-spot-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 4px 0 0; padding: 14px 0; border-top: 1px solid rgba(42, 30, 34, 0.08); border-bottom: 1px solid rgba(42, 30, 34, 0.08); }
.jo-spot-facts div { display: flex; flex-direction: column; gap: 2px; }
.jo-spot-facts dt, .jo-spot-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--jo-muted); }
.jo-spot-facts dd { margin: 0; font-size: 0.98rem; font-weight: 500; }
.jo-spot-fits { display: flex; flex-direction: column; gap: 10px; }
.jo-spot-fits ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jo-spot-fits li {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 10px; border-radius: 12px;
  border: 1px solid rgba(42, 30, 34, 0.1); font-size: 0.84rem; color: var(--jo-ink);
}
.jo-spot-fits li i { color: var(--jo-rose); font-size: 1rem; }
.jo-spot-cta {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--jo-rose); color: #fff;
  font-weight: 600; text-decoration: none; transition: background 0.15s ease;
}
.jo-spot-cta:hover { background: var(--jo-rose-dark); color: #fff; }
@media (max-width: 899px) { .jo-spot-cta { align-self: stretch; justify-content: center; } }

/* The engine sets overflow-x: hidden on html and body to stop sideways scrolling. On both
   at once that turns body into its own scroll box that never scrolls, and nothing on any
   page can be sticky. clip stops sideways scrolling the same way without that; a browser
   too old for clip ignores this line and keeps hidden. */
html, body { overflow-x: clip; }

/* ── Product page: the photos stay in view while the details scroll ─────────
   Two columns start at 993px (css/product.css). The gallery, not the details, is the
   sticky column: it rests just under the header and travels with the page only once the
   details column — which ends with Shipping & Returns — has run out, because sticky
   never leaves its own grid (the page's <main>, which "You may also like" follows).
   The engine made the details sticky instead; that did nothing for long details and left
   the photos behind. The main photo is capped to what fits under the header, so the
   whole gallery is always on screen. */
@media (min-width: 993px) {
  .product-page-container { align-items: start; }
  .product-gallery {
    position: sticky; align-self: start;
    top: calc(var(--announce-h, 0px) + 50px);
    padding-top: 24px;
  }
  .product-gallery .main-image {
    max-width: min(540px, calc((100vh - var(--announce-h, 0px) - 50px - 48px) * 0.75));
  }
  .product-info { position: static; top: auto; }
}
@media (min-width: 1024px) {
  .product-gallery { top: calc(var(--announce-h, 0px) + 64px); }
  .product-gallery .main-image {
    max-width: min(540px, calc((100vh - var(--announce-h, 0px) - 64px - 48px) * 0.75));
  }
}

/* ═══ Product page (and order success): "You may also like" in the home page's style ═══ */
.recommendations-section {
  max-width: 1320px; margin: 0 auto; padding: 36px 16px 44px;
  background: transparent; border-top: 0;
}
@media (min-width: 769px) { .recommendations-section { padding: 56px 40px 64px; } }
.recommendations-title {
  margin: 0 0 22px; text-align: left; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: 0; text-transform: none; color: var(--jo-ink);
}
.ymal-section { margin-bottom: 34px; }
.ymal-section:last-child { margin-bottom: 0; }
.ymal-section-header {
  flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px;
  margin: 0 0 14px; padding: 0;
}
.ymal-section-title {
  display: block; margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: 0; text-transform: none; text-align: left; color: var(--jo-ink);
}
.ymal-head-link { flex: none; color: var(--jo-rose); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.ymal-head-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.recommendations-grid { gap: 12px; background: transparent; }
@media (min-width: 769px) {
  .recommendations-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}
/* The button under the cards: the home page's rose outline pill. Phones only on the product
   page (laptops have the link in the heading); always on the order page's "+ More". */
.ymal-mobile-btn { margin-top: 18px; }
.ymal-more-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--jo-rose);
  background: #fff; color: var(--jo-rose); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.1px; text-transform: none; cursor: pointer;
}
.ymal-more-btn:hover { background: var(--jo-rose); border-color: var(--jo-rose); color: #fff; }
@media (max-width: 768px) {
  .ymal-head-link { display: none; }
  .ymal-mobile-btn .ymal-more-btn { width: 100%; }
}
@media (min-width: 769px) {
  .ymal-section-header:has(.ymal-head-link) ~ .ymal-mobile-btn { display: none; }
}

/* ═══ Price list pages (/price, functions/_shared/price-page.js) and the collection link ═══ */
.price-container h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.price-container h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.price-table-wrap { background: #fff; border-color: var(--border-light); border-radius: 18px; }
.price-container a:not(.btn-discover) { color: var(--jo-rose); }
.collection-price-link a { color: var(--jo-rose); font-weight: 600; }
.collection-desc-more { color: var(--jo-rose); font-weight: 600; }
