/* FOS homepage "The Rack". Ported from docs/fos-homepage-research/mockup (Design Guideline repo).
   Every rule is scoped to .fos-home so the rest of the Flatsome site is untouched. */

/* Display font, self-hosted (latin subset, wdth 50-100, wght 600-900) and preloaded in bootstrap.php.
   The fallback is Arial Bold scaled to Anybody's narrow width, so the swap barely moves the layout. */
@font-face {
  font-family: "Anybody"; font-style: normal; font-weight: 600 900; font-stretch: 50% 100%; font-display: swap;
  src: url("anybody-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Anybody Fallback"; font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Roboto Bold");
  size-adjust: 86%; /* headings at wdth 70-84 */
}
@font-face {
  font-family: "Anybody Narrow Fallback"; font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Roboto Bold");
  size-adjust: 63%; /* the narrowest display lines: holiday headline and offer */
}
@font-face {
  font-family: "Anybody Wide Fallback"; font-weight: 600 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Roboto Bold");
  size-adjust: 108%; /* rack card names at wdth 100 */
}

.fos-home {
  --fos-ink: #121212;
  --fos-black: #1c1c1c;
  --fos-black-2: #262624;
  --fos-white: #f6f6f4;
  --fos-paper: #ffffff;
  --fos-orange: #ff5a1f;
  --fos-orange-hi: #ff7140;
  --fos-orange-lo: #e84a12;
  --fos-meta: #62625f;
  --fos-meta-d: #a3a39f;
  --fos-line: rgba(18, 18, 18, 0.12);
  --fos-line-d: rgba(246, 246, 244, 0.14);
  --fos-steel: linear-gradient(180deg, #8d8d88 0%, #c9c9c4 35%, #6c6c68 70%, #4a4a47 100%);
  --fos-display: "Anybody", "Anybody Fallback", sans-serif;
  --fos-display-narrow: "Anybody", "Anybody Narrow Fallback", sans-serif;
  --fos-display-wide: "Anybody", "Anybody Wide Fallback", sans-serif;
  --fos-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fos-gutter: clamp(16px, 4vw, 64px);
  --fos-section: clamp(64px, 9vw, 128px);
  --fos-radius: 6px;
  --fos-ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* Season-swappable accents (see season.css) */
  --fos-sticker-bg: var(--fos-orange);
  --fos-sticker-ink: var(--fos-ink);
  --fos-cta-bg: var(--fos-orange);
  --fos-cta-ink: var(--fos-ink);
  --fos-cta-hi: var(--fos-orange-hi);
  --fos-cta-lo: var(--fos-orange-lo);
  --fos-star: #e8a200;
  --fos-ok: #1d7a43;

  font: 16px/1.55 var(--fos-body);
  color: var(--fos-ink);
  background: var(--fos-white);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Reset Flatsome defaults inside the homepage ---------- */
.fos-home *, .fos-home *::before, .fos-home *::after { box-sizing: border-box; }
.fos-home h1, .fos-home h2, .fos-home h3, .fos-home p, .fos-home figure, .fos-home fieldset { margin: 0; padding: 0; border: 0; color: inherit; text-transform: none; letter-spacing: normal; }
.fos-home ul, .fos-home ol { list-style: none; margin: 0; padding: 0; }
.fos-home li { margin: 0; }
.fos-home a, .fos-home a:hover { color: inherit; }
.fos-home img { display: block; max-width: 100%; height: auto; }
.fos-home button { margin: 0; text-transform: none; letter-spacing: normal; line-height: 1.2; min-height: 0; font-weight: inherit; }
.fos-home .fos-ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fos-home :focus-visible { outline: 2px solid var(--fos-ink); outline-offset: 3px; border-radius: 3px; }
.fos-home.fos-dark :focus-visible { outline-color: var(--fos-orange); }
.fos-home ::selection { background: var(--fos-orange); color: var(--fos-ink); }
.fos-home-page #content { padding: 0; }
html:has(.fos-home-page) { scroll-padding-top: 120px; }

.fos-home .fos-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--fos-gutter); }
.fos-home.fos-dark { background: var(--fos-black); color: var(--fos-white); }
.fos-home .fos-missing { padding: 16px var(--fos-gutter); background: #fff3cd; color: #6b4e00; }

/* Missing facts: highlighted until the owner fills them in. */
.fos-home .fos-tbd { white-space: nowrap; background: rgba(255, 214, 10, 0.42); box-shadow: inset 0 -1px 0 #a07800; border-radius: 2px; padding: 0 2px; }
.fos-home.fos-dark .fos-tbd { background: rgba(255, 214, 10, 0.26); box-shadow: inset 0 -1px 0 #ffd60a; }

/* ---------- Type ---------- */
.fos-home .fos-display-2 {
  font-family: var(--fos-display); font-weight: 800; font-variation-settings: "wdth" 72;
  font-size: clamp(34px, 5.2vw, 72px); line-height: 0.95; letter-spacing: -0.01em; text-wrap: balance;
}
.fos-home .fos-lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; max-width: 36ch; text-wrap: pretty; }
.fos-gifts .fos-lede { max-width: 46ch; }
.fos-home .fos-text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-color: rgba(18, 18, 18, 0.35); text-underline-offset: 0.2em;
}
.fos-home.fos-dark .fos-text-link { text-decoration-color: rgba(246, 246, 244, 0.4); }
.fos-home .fos-text-link:hover { text-decoration-color: currentColor; }
.fos-home .fos-arr { width: 1.05em; height: 1.05em; flex: none; stroke-width: 2; transition: transform 240ms var(--fos-ease); }
.fos-home .fos-text-link:hover .fos-arr, .fos-home .fos-btn:hover .fos-arr, .fos-home .fos-gift:hover .fos-arr { transform: translateX(4px); }

/* ---------- Opening ---------- */
.fos-hero { overflow: clip; }
.fos-hero .fos-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-inline: 0; }
.fos-hero .fos-hero-copy, .fos-hero .fos-hero-photo { min-width: 0; }
.fos-hero .fos-hero-copy { padding: 28px var(--fos-gutter) 22px; }
.fos-hero .fos-fit {
  font-family: var(--fos-display); font-weight: 820; text-transform: uppercase;
  line-height: 0.86; margin: 0 0 18px; font-size: clamp(44px, 13vw, 128px);
  font-variation-settings: "wdth" 70;
}
.fos-hero .fos-fit-line { display: block; width: max-content; white-space: nowrap; }
.fos-hero .fos-hero-link { margin-top: 10px; display: none; }
.fos-hero .fos-hero-photo { position: relative; --fos-inset: 20px; }
.fos-hero .fos-photo-frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #d9d8d3; }
.fos-hero .fos-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.fos-home .fos-sticker {
  position: absolute; display: grid; place-content: center; text-align: center;
  border-radius: 50%; background: var(--fos-sticker-bg); color: var(--fos-sticker-ink);
  font-family: var(--fos-display); font-variation-settings: "wdth" 68; font-weight: 820; line-height: 0.95;
  transform: rotate(-8deg);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(18, 18, 18, 0.12);
}
.fos-home .fos-sticker b { font-weight: inherit; }
/* The hero price: a sticker on the top-right corner of the hang tag */
.fos-hero .fos-sticker-hero { width: 84px; height: 84px; font-size: 20px; right: 10px; top: -34px; z-index: 1; margin: 0; }

/* Hang tag: the purchase module */
.fos-hero .fos-tag { position: relative; z-index: 2; margin: -72px 16px 0; padding: 30px 20px 18px; }
/* Paper and shadow on their own layer: the sticker slap never repaints a filtered parent */
.fos-hero .fos-tag-paper {
  position: absolute; inset: 0; z-index: -1;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.28)) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}
.fos-hero .fos-tag-paper::before {
  content: ""; position: absolute; inset: 0; background: var(--fos-paper);
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
}
.fos-hero .fos-tag-hole {
  position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--fos-white); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 0 3px #e9e7e0;
}
.fos-hero .fos-tag-string { position: absolute; width: 140px; height: 110px; left: calc(50% - 70px); top: -86px; stroke: #e9e7e0; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45)); }
.fos-hero .fos-tag-name {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  width: auto; /* Flatsome sets h2 { width: 100% }, which pushed the name under the sticker */
  margin: 4px 84px 16px 0; font-family: var(--fos-display); font-weight: 800; font-variation-settings: "wdth" 78;
  font-size: 26px; line-height: 1.02; text-wrap: balance;
}
.fos-hero .fos-styles { margin: 0 0 14px; min-width: 0; }
.fos-hero .fos-styles legend { display: block; width: auto; border: 0; text-transform: none; letter-spacing: normal; font-size: 13px; font-weight: 600; color: var(--fos-meta); margin: 0 0 8px; padding: 0; }
/* Every style chip is the same size: three equal columns at every width */
.fos-hero .fos-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.fos-hero .fos-chips label { min-width: 0; margin: 0; font-weight: inherit; }
.fos-hero .fos-chips input { position: absolute; opacity: 0; pointer-events: none; margin: 0; }
.fos-hero .fos-chips span {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 0 6px;
  border: 1px solid rgba(18, 18, 18, 0.18); border-radius: 999px; background: var(--fos-paper);
  font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background 180ms var(--fos-ease), color 180ms var(--fos-ease), border-color 180ms var(--fos-ease);
}
.fos-hero .fos-chips span:hover { border-color: var(--fos-ink); }
.fos-hero .fos-chips input:checked + span { background: var(--fos-ink); color: var(--fos-white); border-color: var(--fos-ink); }
.fos-hero .fos-chips input:focus-visible + span { outline: 2px solid var(--fos-orange); outline-offset: 2px; }

.fos-home .fos-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--fos-radius);
  background: var(--fos-cta-bg); color: var(--fos-cta-ink); text-decoration: none; cursor: pointer;
  font-family: var(--fos-display); font-weight: 760; font-variation-settings: "wdth" 88; font-size: 19px; line-height: 1;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: background 160ms var(--fos-ease), transform 160ms var(--fos-ease), box-shadow 160ms var(--fos-ease);
}
.fos-home .fos-btn:hover { background: var(--fos-cta-hi); color: var(--fos-cta-ink); transform: translateY(-1px); box-shadow: 0 8px 16px -8px rgba(232, 74, 18, 0.7); }
.fos-home .fos-btn:active { background: var(--fos-cta-lo); transform: none; box-shadow: none; }
.fos-hero .fos-tag-meta { margin: 14px -20px 0; padding: 10px 20px 0; border-top: 1.5px dashed rgba(18, 18, 18, 0.22); text-align: center; font-size: 13px; color: var(--fos-meta); }

/* ---------- Trust strip ---------- */
.fos-trust { padding: 28px 0 32px; }
.fos-trust .fos-trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.fos-trust li { display: flex; gap: 10px; align-items: flex-start; }
.fos-trust .fos-ico { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.fos-trust b { display: block; font-size: 15px; line-height: 1.25; }
.fos-trust small { display: block; color: var(--fos-meta); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.fos-trust small a { text-decoration: underline; text-underline-offset: 0.2em; }
/* Small text links get a 44px-tall hit area without moving the text */
.fos-trust small a, .fos-email .fos-fine a { display: inline-block; padding-block: 13px; margin-block: -13px; }

/* ---------- The rack ---------- */
.fos-rack { padding: var(--fos-section) 0 calc(var(--fos-section) * 0.75); }
.fos-home .fos-section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 36px; }
.fos-home .fos-section-head > .fos-display-2 { flex: 0 1 auto; width: auto; }
/* Round prev/next buttons (rack on dark, reviews on light) */
.fos-home .fos-round-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--fos-line); background: none; color: var(--fos-ink); cursor: pointer;
  transition: background 180ms var(--fos-ease), border-color 180ms var(--fos-ease), opacity 180ms var(--fos-ease);
}
.fos-home.fos-dark .fos-round-btn { border-color: var(--fos-line-d); color: var(--fos-white); }
.fos-home .fos-round-btn .fos-ico { width: 20px; height: 20px; }
.fos-home .fos-round-btn:hover { background: rgba(18, 18, 18, 0.06); border-color: rgba(18, 18, 18, 0.4); }
.fos-home.fos-dark .fos-round-btn:hover { background: rgba(246, 246, 244, 0.08); border-color: rgba(246, 246, 244, 0.4); }
.fos-home .fos-round-btn[aria-disabled="true"] { opacity: 0.3; cursor: default; background: none; }
/* Under a card list: a progress track (there is more to swipe) and prev/next */
.fos-home .fos-scroll-ctrl { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.fos-home .fos-scroll-ctrl[hidden] { display: none; }
.fos-home .fos-progress { position: relative; flex: 1; height: 3px; margin-right: 16px; overflow: hidden; border-radius: 3px; background: var(--fos-line); }
.fos-home.fos-dark .fos-progress { background: var(--fos-line-d); }
.fos-home .fos-progress-thumb { display: block; width: 30%; height: 100%; border-radius: inherit; background: var(--fos-ink); will-change: transform; }
.fos-home.fos-dark .fos-progress-thumb { background: var(--fos-season-hi, var(--fos-white)); }
.fos-rack .fos-rail { height: 5px; background: var(--fos-steel); box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5); position: relative; z-index: 1; }
.fos-rack .fos-rack-list {
  margin: -3px 0 0; padding: 0 var(--fos-gutter) 18px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--fos-gutter);
  scrollbar-width: none;
}
.fos-rack .fos-rack-list::-webkit-scrollbar, .fos-reviews .fos-review-list::-webkit-scrollbar { display: none; }
.fos-rack .fos-rack-list:focus-visible { outline-offset: -2px; }
.fos-rack .fos-rack-item { scroll-snap-align: start; }
.fos-rack .fos-rack-card { position: relative; display: block; text-decoration: none; transform-origin: 50% 0; transition: transform 600ms var(--fos-ease); }
.fos-rack .fos-rack-card:hover { transform: rotate(-1.4deg); }
.fos-rack .fos-hook { display: block; width: 36px; height: 30px; margin: 0 auto -2px; stroke: #b4b4af; stroke-width: 2.2; }
.fos-rack .fos-rack-photo { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--fos-black-2); box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.9); }
.fos-rack .fos-rack-photo img { width: 100%; height: 100%; object-fit: cover; }
.fos-rack .fos-sticker-card { width: 66px; height: 66px; font-size: 16px; right: -6px; top: 40px; }
/* Same title style on every rack card; the full name always shows */
.fos-rack .fos-rack-name {
  display: block; margin-top: 14px; overflow-wrap: anywhere; text-wrap: pretty;
  font-family: var(--fos-display-wide); font-weight: 700; font-variation-settings: "wdth" 100; font-size: 18px; line-height: 1.25; letter-spacing: 0.01em;
}
.fos-rack .fos-rack-meta { display: block; margin-top: 4px; color: var(--fos-meta-d); font-size: 14px; }
.fos-rack .fos-rack-card:hover .fos-rack-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Reviews ---------- */
.fos-reviews { padding: var(--fos-section) 0; }
.fos-reviews .fos-reviews-grid { display: grid; gap: 32px; }
.fos-reviews .fos-reviews-head { display: grid; gap: 14px; align-content: start; }
.fos-reviews .fos-score { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.fos-reviews .fos-score-num { font-family: var(--fos-display); font-weight: 820; font-variation-settings: "wdth" 70; font-size: 64px; line-height: 0.9; }
.fos-reviews .fos-score-txt { display: grid; gap: 6px; color: var(--fos-meta); font-size: 15px; max-width: 24ch; min-width: 0; overflow-wrap: anywhere; } /* a long domain breaks on very narrow phones */
.fos-reviews .fos-score-txt b { color: var(--fos-ink); }
.fos-reviews .fos-reviews-grid > * { min-width: 0; }
.fos-home .fos-stars { display: inline-flex; gap: 2px; color: var(--fos-star); }
.fos-home .fos-star { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.fos-home .fos-star.is-empty { fill: none; stroke: currentColor; stroke-width: 1.6; }
.fos-reviews .fos-review-list {
  margin: 0 calc(var(--fos-gutter) * -1); padding: 4px var(--fos-gutter) 2px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--fos-gutter); scrollbar-width: none;
}
.fos-reviews .fos-review-list:focus-visible { outline-offset: -2px; }
.fos-reviews .fos-review {
  position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px;
  padding: 22px 20px 18px; border-radius: 10px; background: var(--fos-paper); border: 1px solid var(--fos-line);
}
/* A big quiet quote mark in ink, not the accent: the accent turns pink at low opacity */
.fos-reviews .fos-review::before {
  content: "\201C"; position: absolute; top: 10px; right: 18px; pointer-events: none;
  font: 800 76px/0.8 var(--fos-display); color: var(--fos-ink); opacity: 0.1;
}
.fos-reviews .fos-review .fos-stars { justify-self: start; }
.fos-reviews .fos-review-text { flex: 1; font-size: 16px; line-height: 1.5; }
.fos-reviews .fos-review-who {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 12px; padding-top: 14px;
  border-top: 1px dashed var(--fos-line); font-size: 13px; color: var(--fos-meta);
}
.fos-reviews .fos-review-name { color: var(--fos-ink); font-size: 14px; overflow-wrap: anywhere; }
.fos-reviews .fos-review-date { white-space: nowrap; }
.fos-reviews .fos-verified { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--fos-ok); }
.fos-reviews .fos-verified .fos-ico { width: 15px; height: 15px; stroke-width: 2.6; }
/* Stars, text and footer sit on shared rows, so every card in a row has the same text area and footer line */
@supports (grid-template-rows: subgrid) {
  .fos-reviews .fos-review-list { grid-template-rows: repeat(3, auto); }
  .fos-reviews .fos-review { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 14px; }
}

/* ---------- Themes ---------- */
.fos-themes { padding: var(--fos-section) 0; }
.fos-themes .fos-theme-list { margin: 32px 0 24px; border-bottom: 1px solid var(--fos-line-d); }
.fos-themes .fos-theme-row {
  display: grid; grid-template-columns: 56px 1fr auto 24px; align-items: center; gap: 16px;
  padding: 14px 0; border-top: 1px solid var(--fos-line-d); text-decoration: none; min-height: 84px;
}
.fos-themes .fos-theme-row img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; }
.fos-themes .fos-theme-name { font-family: var(--fos-display); font-weight: 800; font-variation-settings: "wdth" 74; font-size: clamp(26px, 5vw, 60px); line-height: 1; transition: transform 400ms var(--fos-ease); }
.fos-themes .fos-theme-count { display: grid; justify-items: end; gap: 2px; color: var(--fos-meta-d); font-size: 13px; line-height: 1; white-space: nowrap; }
.fos-themes .fos-theme-count b {
  font-family: var(--fos-display); font-weight: 820; font-variation-settings: "wdth" 76; font-size: 28px; line-height: 0.9;
  color: var(--fos-season-hi, var(--fos-orange));
}
.fos-themes .fos-theme-arrow { width: 22px; height: 22px; color: var(--fos-meta-d); transition: color 200ms var(--fos-ease), transform 400ms var(--fos-ease); }
.fos-themes .fos-theme-row:hover .fos-theme-name { transform: translateX(8px); }
.fos-themes .fos-theme-row:hover .fos-theme-arrow { color: var(--fos-orange); transform: translateX(4px); }

/* ---------- Gifts ---------- */
.fos-gifts { padding: var(--fos-section) 0; }
.fos-gifts .fos-gift-head { display: grid; gap: 14px; margin-bottom: 32px; }
.fos-gifts .fos-gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; }
.fos-gifts .fos-gift { display: grid; gap: 10px; text-decoration: none; }
.fos-gifts .fos-gift img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; border-radius: 4px; transition: transform 600ms var(--fos-ease); }
.fos-gifts .fos-gift:hover img { transform: translateY(-4px); }
.fos-gifts .fos-gift-name { font-family: var(--fos-display); font-weight: 760; font-variation-settings: "wdth" 82; font-size: 18px; line-height: 1.15; }
.fos-gifts .fos-gift-name .fos-arr { display: inline-block; vertical-align: -0.15em; }
.fos-gifts .fos-gift:hover .fos-gift-name { text-decoration: underline; text-underline-offset: 4px; }
.fos-gifts .fos-gift-grid li:last-child { grid-column: 1 / -1; }
.fos-gifts .fos-gift-personal { background: var(--fos-black); color: var(--fos-white); border-radius: 4px; padding: 24px 22px; align-content: end; min-height: 220px; }
.fos-gifts .fos-gift-personal:hover { color: var(--fos-white); }
.fos-gifts .fos-gift-big { font-family: var(--fos-display); font-weight: 820; font-variation-settings: "wdth" 66; font-size: 44px; line-height: 0.92; }
.fos-gifts .fos-gift-sub { color: var(--fos-meta-d); font-size: 15px; max-width: 30ch; }
.fos-gifts .fos-gift-personal .fos-gift-name { color: var(--fos-orange); }

/* ---------- How it's made ---------- */
.fos-made { padding: var(--fos-section) 0 calc(var(--fos-section) * 0.7); }
.fos-made .fos-steps { margin-top: 40px; display: grid; gap: 34px; }
.fos-made .fos-steps li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; column-gap: 18px; align-items: start; }
.fos-made .fos-step-num { grid-row: span 2; font-family: var(--fos-display); font-weight: 860; font-variation-settings: "wdth" 52; font-size: 96px; line-height: 0.78; }
.fos-made h3 { margin: 4px 0 6px; font-family: var(--fos-display); font-weight: 780; font-variation-settings: "wdth" 84; font-size: 24px; line-height: 1.1; }
.fos-made .fos-steps p { color: var(--fos-meta-d); max-width: 42ch; }
.fos-made .fos-company { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--fos-line-d); color: var(--fos-meta-d); font-size: 14px; }

/* ---------- Email ---------- */
/* Last band before the footer: dark, so the FAQ list and the footer links never run into each other */
.fos-email { padding: calc(var(--fos-section) * 0.7) 0; }
.fos-email .fos-email-grid { display: grid; gap: 22px; }
.fos-email .fos-mail-form > p:first-child { font-size: 18px; max-width: 40ch; }
.fos-email .fos-fine { margin-top: 10px; font-size: 13px; color: var(--fos-meta); }
.fos-email.fos-dark .fos-fine { color: var(--fos-meta-d); }
.fos-email .fos-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Fluent Forms embed, re-skinned: one row of email + button, our tokens instead of the plugin blue. */
.fos-email .fos-ff { margin-top: 16px; }
.fos-email .fos-ff .ff-t-container { display: flex; gap: 8px; margin: 0; }
.fos-email .fos-ff .ff-t-cell { flex: 1 1 auto !important; flex-basis: auto !important; min-width: 0; padding: 0 !important; width: auto !important; }
.fos-email .fos-ff .ff-el-form-hide_label > .ff-el-input--label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fos-email .fos-ff .ff-t-cell:last-child { flex: none !important; }
.fos-email .fos-ff .ff-el-group { margin: 0; }
.fos-email .fos-ff .ff-el-form-control {
  width: 100%; height: auto; min-height: 52px; margin: 0; padding: 0 16px; font: inherit; font-size: 16px;
  border: 1.5px solid var(--fos-ink); border-radius: var(--fos-radius); background: var(--fos-paper); color: var(--fos-ink); box-shadow: none;
}
.fos-email.fos-dark .fos-ff .ff-el-form-control { border-color: var(--fos-paper); }
.fos-email .fos-ff .ff-el-form-control:focus { outline: none; border-color: var(--fos-ink); box-shadow: 0 0 0 3px var(--fos-season-hi, rgba(255, 90, 31, 0.6)); }
.fos-email .fos-ff .ff-el-is-error .ff-el-form-control { border-color: #b3261e; }
.fos-email .fos-ff .error.text-danger { margin-top: 6px; font-size: 13px; color: #ffb4ab; }
.fos-email .fos-ff .ff-btn-submit {
  min-height: 52px; min-width: 0 !important; width: auto; margin: 0; padding: 0 24px; border: 0 !important; border-radius: var(--fos-radius) !important;
  background: var(--fos-cta-bg) !important; color: var(--fos-cta-ink) !important;
  font: 700 16px/1 var(--fos-body); text-transform: none; letter-spacing: 0; box-shadow: none;
  transition: background-color 0.2s var(--fos-ease), transform 0.2s var(--fos-ease);
}
.fos-email .fos-ff .ff-btn-submit:hover { background: var(--fos-cta-hi) !important; transform: translateY(-1px); }
.fos-email .fos-ff .ff-btn-submit:focus-visible { outline: 3px solid var(--fos-season-hi, var(--fos-white)); outline-offset: 2px; }
.fos-email .fos-ff .ff-message-success { margin: 0; padding: 14px 16px; border: 1.5px solid var(--fos-ink); border-radius: var(--fos-radius); background: var(--fos-paper); box-shadow: none; font-weight: 600; }

/* ---------- FAQ: native Flatsome accordion inside [section class="fos-home fos-faq"] ---------- */
/* Same vertical rhythm as the bands around it (the shortcode's own padding is overridden) */
.fos-faq.section { background: var(--fos-white); padding: calc(var(--fos-section) * 0.75) 0 !important; }
.fos-faq .fos-faq-row, .fos-faq .fos-faq-row.row-full-width { max-width: 1440px !important; margin-inline: auto; padding-inline: calc(var(--fos-gutter) - 15px); }
.fos-faq .fos-faq-row > .col { padding-bottom: 0; }
/* Heading uses the same scale as every other section heading */
.fos-faq .fos-display-3 {
  font-family: var(--fos-display); font-weight: 800; font-variation-settings: "wdth" 72;
  font-size: clamp(34px, 5.2vw, 64px); line-height: 0.95; letter-spacing: -0.01em; text-wrap: balance; margin-bottom: 28px;
}
/* The list starts with a rule, so its top lines up with the heading and it reads as one block */
.fos-faq .accordion { border-top: 1px solid var(--fos-line); }
.fos-faq .accordion-item { border-bottom: 1px solid var(--fos-line); }
.fos-faq .accordion-title {
  display: flex; align-items: center; min-height: 64px; padding: 16px 44px 16px 0; border-top: 0;
  font-weight: 650; font-size: 17px; line-height: 1.35; color: var(--fos-ink); position: relative;
}
.fos-faq .accordion-title.active { color: var(--fos-ink); border-color: transparent; background: none; }
/* Chevron centred on the question, on the right (child theme style.css forces "left: 0 !important" site-wide) */
.fos-faq .accordion-title .toggle {
  left: auto !important; right: 0; top: 50%; width: 28px; height: 28px; margin: -14px 0 0;
  display: grid; place-items: center;
}
.fos-faq .accordion-title .toggle i { top: -2px; } /* the chevron glyph sits low in its box */
/* The answer fills the same width as its question; the 5/7 column split keeps that width readable */
.fos-faq .accordion-inner { padding: 0 0 22px; }
.fos-faq .accordion-inner p { margin: 0; font-size: 16px; line-height: 1.6; }
.fos-faq .accordion-inner a { font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
@media (min-width: 850px) {
  .fos-faq .fos-display-3 { margin-bottom: 0; }
}

/* ---------- Phone ---------- */
@media (max-width: 719px) {
  .fos-hero { padding-bottom: 24px; }
  .fos-hero .fos-hero-copy { padding: 20px var(--fos-gutter) 18px; }
  .fos-hero .fos-fit { margin-bottom: 10px; --fos-fit-max: 76; }
  .fos-hero .fos-hero-copy .fos-lede { font-size: 16px; }
  .fos-hero .fos-hero-photo { --fos-inset: 16px; }
  .fos-hero .fos-tag { padding: 28px 16px 14px; }
  .fos-hero .fos-tag-meta { margin-inline: -16px; padding-inline: 16px; }
  .fos-hero .fos-tag-name { font-size: 24px; margin: 4px 72px 14px 0; }
  .fos-hero .fos-sticker-hero { width: 78px; height: 78px; font-size: 18px; right: 8px; top: -40px; }
  .fos-hero .fos-styles legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 359px) {
  .fos-hero .fos-chips span { font-size: 13px; padding: 0 2px; } /* "Long sleeve" stays on one line */
}

/* ---------- Phone + tablet: the photo is printed on the hang tag, so photo and tag read as one object ---------- */
@media (max-width: 1023px) {
  .fos-hero .fos-hero-photo { isolation: isolate; width: calc(100% - 32px); max-width: 620px; margin: 0 auto; }
  .fos-hero .fos-photo-frame { margin: 34px var(--fos-inset) 0; }
  .fos-hero .fos-tag { z-index: auto; margin: 0; }
  /* Paper and hole reach up behind the photo. A margin % is of the tag's width, and the square photo follows that width. */
  .fos-hero .fos-tag-paper,
  .fos-hero .fos-tag-hole { margin-top: calc(-100% + 2 * var(--fos-inset) - 34px); }
  .fos-hero .fos-tag-string { display: none; }
}

/* ---------- Phone + tablet: trust strip as a tidy 2 x 2 table under the tag ---------- */
@media (max-width: 1023px) {
  .fos-trust { padding: 0 0 8px; }
  .fos-trust .fos-trust-list { gap: 0; }
  .fos-trust li { flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--fos-line); }
  .fos-trust li:nth-child(odd) { padding-right: 12px; }
  .fos-trust li:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--fos-line); }
  .fos-trust .fos-ico { width: 22px; height: 22px; }
  .fos-trust b { font-size: 14px; }
  .fos-trust small { font-size: 12.5px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 720px) and (max-width: 1023px) {
  .fos-hero .fos-fit { --fos-fit-max: 104; }
  .fos-hero { padding-bottom: 28px; }
}
@media (min-width: 720px) {
  .fos-rack .fos-rack-list { grid-auto-columns: 38%; }
  .fos-reviews .fos-review-list { grid-auto-columns: 44%; }
  .fos-gifts .fos-gift-grid { grid-template-columns: repeat(3, 1fr); }
  .fos-gifts .fos-gift-grid li:last-child { grid-column: auto; }
  .fos-made .fos-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .fos-email .fos-email-grid { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  /* Copy and hang tag stacked on the left, so the tag never covers the shirt; the photo runs to the window edge */
  .fos-hero .fos-hero-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto auto 1fr; column-gap: 24px;
    max-width: none; padding-inline: max(var(--fos-gutter), calc((100% - 1440px) / 2 + var(--fos-gutter))) 0;
    min-height: min(calc(100svh - 150px), 860px);
  }
  .fos-hero .fos-hero-copy { grid-column: 1 / 7; grid-row: 2; padding: 48px 72px 0 0; }
  .fos-hero .fos-hero-link { display: inline-flex; }
  .fos-hero .fos-fit { margin-bottom: 22px; --fos-fit-max: 104; }
  .fos-hero .fos-hero-photo { display: contents; }
  /* At least square (the photo is 1:1), taller only when the copy needs it */
  .fos-hero .fos-photo-frame { grid-column: 7 / 13; grid-row: 1 / -1; width: 100%; aspect-ratio: 1 / 1; height: auto; align-self: stretch; }
  .fos-hero .fos-sticker-hero { width: 92px; height: 92px; font-size: 22px; right: -22px; top: -38px; }
  .fos-hero .fos-tag { grid-column: 1 / 7; grid-row: 3; align-self: start; width: auto; max-width: 600px; margin: 40px 72px 56px 0; }
  .fos-hero .fos-tag-string { display: none; }

  .fos-trust { padding: 26px 0; border-top: 1px solid var(--fos-line); }
  .fos-trust .fos-trust-list { grid-template-columns: repeat(4, 1fr); }
  .fos-rack .fos-rack-list { grid-auto-columns: calc((100% - var(--fos-gutter) * 2 - 24px * 3.4) / 4.4); gap: 24px; }
  .fos-rack .fos-sticker-card { width: 72px; height: 72px; font-size: 17px; }
  .fos-reviews .fos-reviews-head { grid-template-columns: auto 1fr; align-items: end; column-gap: 48px; }
  .fos-reviews .fos-review-list { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; scroll-snap-type: none; gap: 20px; }
  .fos-themes .fos-theme-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-bottom: 0; }
  .fos-themes .fos-theme-list li { border-bottom: 1px solid var(--fos-line-d); }
  .fos-themes .fos-theme-row { grid-template-columns: 72px 1fr auto 24px; min-height: 104px; }
  .fos-themes .fos-theme-row img { width: 72px; height: 72px; }
  .fos-themes .fos-theme-name { font-size: clamp(30px, 3vw, 46px); }
  .fos-themes .fos-theme-count b { font-size: 34px; }
  .fos-gifts .fos-gift-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .fos-gifts .fos-gift-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .fos-gifts .fos-gift-personal { min-height: 100%; }
}

@media (min-width: 1280px) {
  /* Wider screens: the photo takes 7 of 12 columns, so it stays close to its square shape */
  .fos-hero .fos-hero-copy, .fos-hero .fos-tag { grid-column: 1 / 6; }
  .fos-hero .fos-hero-copy { padding-right: 40px; }
  .fos-hero .fos-tag { margin-right: 40px; }
  .fos-hero .fos-photo-frame { grid-column: 6 / 13; }
  /* The crop here is small: take it from the right, so the brand box in the photo's bottom-left stays whole */
  .fos-hero .fos-photo-frame img { object-position: 0% 30%; }
  .fos-reviews .fos-reviews-grid { grid-template-columns: 4fr 8fr; gap: 56px; }
  .fos-reviews .fos-reviews-head { grid-template-columns: none; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .fos-home *, .fos-home *::before, .fos-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
