/* The store's reviews page (reviews-wall.js). Everything is under .ycw, so nothing here leaks into
   the page around it. Colors are the brand's approved pairs (ink on mate leaf, cream on ink, ink
   on mate, paper on olive deep, ink on mate soft, ink on cream, cream on plum); headings take the
   theme's heading font (--ycw-heading-font, else Horizon's --font-heading--family). */
.ycw { --ycw-ink: #252024; --ycw-soft: #6E6B63; --ycw-line: #E5E2DA; --ycw-paper: #FBFAF7; --ycw-cream: #EDDDC9; --ycw-plum: #7B3B50; --ycw-mate: #7BA05B; --ycw-mate-deep: #5A7E3F; --ycw-leaf: #E8F0DC; --ycw-mate-soft: #B8D29A; --ycw-olive: #3A390A; --ycw-fog: #F2F0EB; --ycw-silver: #DFE1DF;
  --ycw-head: var(--ycw-heading-font, var(--font-heading--family, inherit));
  color: var(--ycw-ink); font: inherit; line-height: 1.45; }
.ycw *, .ycw *::before, .ycw *::after { box-sizing: border-box; }
.ycw p, .ycw h1 { margin: 0; }
.ycw-in { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 20px; }
.ycw-note { color: var(--ycw-soft); padding: 16px 0; }
.ycw-away { font-size: 18px; padding: 24px 0 48px; }
.ycw-away a { color: var(--ycw-mate-deep); font-weight: 600; }

/* Heading band (only when the block gives a title) and the rating. */
/* The band's color runs to both edges of the screen even when the theme's section has side padding:
   painted outward with a shadow and clipped top and bottom, so the layout and page width don't change. */
.ycw-band { background: var(--ycw-leaf); margin-bottom: 28px; box-shadow: 0 0 0 100vmax var(--ycw-leaf); clip-path: inset(0 -100vmax); }
.ycw-band-in { max-width: 1200px; margin: 0 auto; padding: 48px 16px; display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: flex-end; justify-content: space-between; }
.ycw-band-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.ycw-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ycw-plum); }
.ycw h1 { font-family: var(--ycw-head); font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.05; letter-spacing: -.02em; }
.ycw-intro { max-width: 520px; font-size: 18px; }
.ycw-top { max-width: 1200px; margin: 0 auto; padding: 32px 16px 24px; }
.ycw-rating { display: flex; gap: 18px; align-items: center; }
.ycw-avg { font-family: var(--ycw-head); font-weight: 900; font-size: clamp(56px, 9vw, 84px); line-height: 1; letter-spacing: -.02em; }
.ycw-based { font-size: 14px; margin-top: 6px; }

.ycw-stars { display: inline-flex; gap: 3px; color: var(--ycw-plum); }
.ycw-stars svg { width: 16px; height: 16px; fill: currentColor; }
.ycw-stars svg.ycw-off { opacity: .25; }
.ycw-stars-lg svg { width: 24px; height: 24px; }

/* Filters. */
.ycw-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.ycw-chip { font: inherit; font-size: 14px; font-weight: 500; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ycw-ink); background: transparent; color: var(--ycw-ink); cursor: pointer; }
.ycw-chip[aria-pressed="true"] { background: var(--ycw-ink); color: #fff; font-weight: 600; }

/* Featured review: photo beside the words, soft silver on ink (see .ycw-ink below). */
.ycw-feature { display: flex; flex-wrap: wrap; border-radius: 14px; overflow: hidden; background: var(--ycw-ink); color: var(--ycw-silver); }
.ycw-feature-photo { flex: 1 1 340px; min-width: 0; display: block; }
.ycw-feature-photo img { display: block; width: 100%; height: 100%; min-height: 260px; max-height: 420px; object-fit: cover; }
.ycw-feature-text { flex: 1 1 400px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.ycw-feature .ycw-big { font-size: clamp(20px, 2.6vw, 30px); }
.ycw-feature .ycw-stars, .ycw-feature .ycw-tag, .ycw-feature .ycw-verified { color: var(--ycw-mate); }
.ycw-feature .ycw-date { color: #BDBAB2; }

/* The wall: columns, so tiles keep their own heights. */
.ycw-wall { columns: 4 260px; column-gap: 20px; }
.ycw-tile { position: relative; break-inside: avoid; margin: 0 0 20px; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 1px 1px rgba(17,17,17,.03); }
.ycw-card { background: #fff; }
.ycw-pad { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.ycw-quote .ycw-pad { padding: 28px 24px; }
.ycw-photo { display: block; position: relative; }
.ycw-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ycw-more-photos { position: absolute; right: 10px; bottom: 10px; background: rgba(17,17,17,.7); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 9px; }
.ycw-title { font-weight: 600; }
.ycw-body { white-space: pre-line; overflow-wrap: anywhere; }
.ycw-big { font-family: var(--ycw-head); font-weight: 800; font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.ycw-fold { align-self: flex-start; font: inherit; font-size: 14px; font-weight: 600; color: var(--ycw-mate-deep); background: none; border: 0; padding: 6px 0; min-height: 32px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ycw-who { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; font-size: 14px; }
.ycw-name { font-weight: 600; }
.ycw-verified { color: var(--ycw-mate-deep); }
.ycw-date { color: var(--ycw-soft); }
.ycw-tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--ycw-mate-deep); }
a.ycw-tag:hover { text-decoration: underline; }
.ycw-card span.ycw-tag { color: var(--ycw-plum); }
.ycw-reply { background: var(--ycw-fog); border-radius: 8px; padding: 12px; font-size: 14px; }
.ycw-reply b { display: block; }

/* Large quotes on the approved color pairs. */
/* Soft silver on ink, not the cream of the approved "Cream on Ink" pair: Jason does not want cream text on
   ink here, and found pure white too stark (Nov 15, 2026). Plum keeps its cream text. */
.ycw-ink { background: var(--ycw-ink); color: var(--ycw-silver); }
.ycw-ink .ycw-stars, .ycw-ink .ycw-tag, .ycw-ink .ycw-verified { color: var(--ycw-mate); }
.ycw-ink .ycw-date { color: #BDBAB2; }
.ycw-leaf { background: var(--ycw-leaf); }
.ycw-leaf .ycw-tag { color: var(--ycw-olive); }
.ycw-leaf .ycw-date { color: #3A3A3A; }
.ycw-mate { background: var(--ycw-mate); }
.ycw-soft { background: var(--ycw-mate-soft); }
.ycw-mate .ycw-stars, .ycw-mate .ycw-tag, .ycw-mate .ycw-date, .ycw-mate .ycw-verified,
.ycw-soft .ycw-stars, .ycw-soft .ycw-tag, .ycw-soft .ycw-date, .ycw-soft .ycw-verified { color: var(--ycw-ink); }
.ycw-olive { background: var(--ycw-olive); color: var(--ycw-paper); }
.ycw-olive .ycw-stars, .ycw-olive .ycw-tag, .ycw-olive .ycw-date, .ycw-olive .ycw-verified { color: var(--ycw-cream); }
.ycw-cream { background: var(--ycw-cream); }
.ycw-cream .ycw-tag { color: var(--ycw-olive); }
.ycw-cream .ycw-date { color: #3A3A3A; }
.ycw-plum { background: var(--ycw-plum); color: var(--ycw-cream); }
.ycw-plum .ycw-stars { color: var(--ycw-mate); }
.ycw-plum .ycw-tag, .ycw-plum .ycw-date, .ycw-plum .ycw-verified { color: var(--ycw-cream); }

.ycw-foot { display: flex; justify-content: center; padding: 8px 0 0; }
.ycw-more { font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--ycw-ink); color: #fff; cursor: pointer; }
.ycw-more:disabled { opacity: .55; cursor: default; }
.ycw :focus-visible { outline: 2px solid var(--ycw-mate-deep); outline-offset: 3px; }

/* A product review's product: a small photo beside its name, and the tile's other side. The turn is
   a fade, not a 3D flip: the brand's motion is fades and small moves only. */
.ycw-prod { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; }
.ycw-thumb { width: 40px; height: 40px; border-radius: 999px; object-fit: cover; background: var(--ycw-fog); flex: none; }
.ycw-back { position: absolute; inset: 0; display: flex; flex-direction: column; background: #fff; color: #fff; text-decoration: none; opacity: 0; pointer-events: none; transition: opacity 200ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.ycw-turned .ycw-back { opacity: 1; pointer-events: auto; }
.ycw-back img { display: block; width: 100%; flex: 1 1 0; min-height: 0; object-fit: cover; }
/* The product's name sits on a solid strip under the photo, so the photo shows at full color (Jason, Nov 14, 2026). */
.ycw-back-text { flex: none; background: var(--ycw-ink); color: #fff; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.ycw-back-name { font-family: var(--ycw-head); font-weight: 800; font-size: 15px; line-height: 1.2; }
.ycw-back-go { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .ycw-back { transition: none; } }

/* A photo opened over the page (outside .ycw, so it names its own colors). */
.ycw-box { position: fixed; inset: 0; z-index: 2147483000; background: rgba(17,17,17,.88); display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.ycw-box img, .ycw-box video { max-width: min(100%, 1100px); max-height: 100%; border-radius: 8px; display: block; }
.ycw-box button { font: inherit; color: #fff; background: rgba(17,17,17,.6); border: 1px solid rgba(255,255,255,.5); cursor: pointer; }
.ycw-box-x { position: absolute; top: 10px; right: 12px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.ycw-box-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; font-size: 26px; line-height: 1; }
.ycw-box-prev { left: 10px; } .ycw-box-next { right: 10px; }
.ycw-box button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Loading. The block holds a screen's height from the first paint, before the script has run, so the
   footer never shows above the fold and then jumps; the script then draws grey shapes until the
   reviews arrive. */
[data-yc-wall] { min-height: 100vh; }
[data-yc-wall][data-yc-loaded] { min-height: 0; }
.ycw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ycw-wait { display: flex; flex-direction: column; gap: 20px; }
.ycw-wait-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ycw-wait-chips i { display: block; width: 120px; height: 44px; border-radius: 999px; background: var(--ycw-fog); }
.ycw-wait-feature { height: clamp(260px, 30vw, 380px); border-radius: 14px; background: var(--ycw-fog); }
.ycw-wait-tile { background: var(--ycw-fog); box-shadow: none; }
.ycw-wait-chips i, .ycw-wait-feature, .ycw-wait-tile { animation: ycw-wait 1.4s ease-in-out infinite alternate; }
@keyframes ycw-wait { from { opacity: 1; } to { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .ycw-wait-chips i, .ycw-wait-feature, .ycw-wait-tile { animation: none; } }
