/* ==========================================================================
   Gay Agenda — "Shinjuku pop print" theme layer
   --------------------------------------------------------------------------
   Loaded by layouts/application.html.erb AFTER the Bootstrap theme
   (fe-theme/css/theme.min.css) and application.css. It restyles the existing
   markup and classes in place; it does not replace them.

   Everything is scoped to body.ga-pop, so the Tsurumi Brats storefront, the
   account area and the admin (which use other layouts) are untouched.
   The theme stylesheet uses !important on a few rules (page background,
   header padding, footer scene), which is why some rules here do too.

   Milestone 1: tokens, typography, buttons, header, announcement bar, footer.
   ========================================================================== */

:root {
  --pop-paper: #FBF9FF;
  --pop-ink: #241538;
  --pop-muted: #655973;
  --pop-line: rgba(36, 21, 56, .12);
  --pop-ctl: #857A96;               /* borders of interactive controls: 3:1+ on white and paper */
  --pop-violet: #5B2BD6;            /* actions only */
  --pop-violet-dark: #4520AC;
  --pop-violet-soft: #E9E0FF;
  --pop-sun: #FFCB2E;
  --pop-pink: #FF6FA8;
  --pop-mint: #55D9A6;
  --pop-sky: #8FD6FF;
  --pop-sky-deep: #4FA9EA;
  --pop-sky-soft: #C3E8FF;
  --pop-night: #1E1B4B;
  --pop-soft: 0 1px 2px rgba(36, 21, 56, .06), 0 6px 18px rgba(36, 21, 56, .07);
  --pop-lift: 0 2px 4px rgba(36, 21, 56, .06), 0 14px 30px rgba(36, 21, 56, .13);
  --pop-display: "Bricolage Grotesque", system-ui, sans-serif;
  --pop-skyline-w: clamp(520px, 62vw, 900px);
}

/* Display face per script: Latin words and prices keep Bricolage; each script gets a rounded, friendly companion. */
html:lang(ja)    { --pop-display: "Bricolage Grotesque", "Zen Maru Gothic", "Noto Sans JP", sans-serif; }
html:lang(ko)    { --pop-display: "Bricolage Grotesque", "Jua", "Noto Sans KR", sans-serif; }
html:lang(th)    { --pop-display: "Bricolage Grotesque", "Kanit", "Noto Sans Thai", sans-serif; }
html:lang(zh-TW) { --pop-display: "Bricolage Grotesque", "Noto Sans TC", sans-serif; }

/* Body face: Figtree replaces Inter at the front of the existing per-language stacks (see --ga-font in application.css). */
:root            { --ga-font: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; --ga-font-latin: Figtree, ui-sans-serif, system-ui, sans-serif; }
html:lang(th)    { --ga-font: Figtree, "Noto Sans Thai", "Sukhumvit Set", Tahoma, sans-serif; }
html:lang(ja)    { --ga-font: Figtree, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
html:lang(ko)    { --ga-font: Figtree, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
html:lang(zh-TW) { --ga-font: Figtree, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }

/* ---------- Page ---------- */
body.ga-pop {
  --ar-primary: #5B2BD6;
  --ar-primary-rgb: 91, 43, 214;
  --ar-link-color: var(--pop-ink);
  --ar-link-hover-color: var(--pop-violet);
  --ar-body-color: var(--pop-ink);
  --ar-heading-color: var(--pop-ink);
  --ar-body-font-family: var(--ga-font);
  background-color: var(--pop-paper) !important;
  background-image: none !important;      /* the cloud field moves into the hero and footer scenes */
  color: var(--pop-ink);
  font-family: var(--ga-font);
}
body.ga-pop :is(h1, h2, h3, .h1, .h2, .h3) {
  font-family: var(--pop-display);
  color: var(--pop-ink);
  letter-spacing: var(--ga-title-ls, -.02em);
}
html:lang(ko) body.ga-pop :is(h1, h2, h3, .h1, .h2, .h3) { font-synthesis-weight: none; }   /* Jua ships one weight */
body.ga-pop :focus-visible { outline: 3px solid var(--pop-violet); outline-offset: 3px; }

/* ---------- Buttons: violet means "tap me"; no heavy outlines or offset shadows ---------- */
body.ga-pop .btn-primary {
  --ar-btn-bg: var(--pop-violet); --ar-btn-border-color: var(--pop-violet);
  --ar-btn-hover-bg: var(--pop-violet-dark); --ar-btn-hover-border-color: var(--pop-violet-dark);
  --ar-btn-active-bg: var(--pop-violet-dark); --ar-btn-active-border-color: var(--pop-violet-dark);
  --ar-btn-disabled-bg: #CFC6D8; --ar-btn-disabled-border-color: #CFC6D8;
}
body.ga-pop .btn-outline-secondary {
  --ar-btn-color: var(--pop-ink); --ar-btn-border-color: var(--pop-ctl);
  --ar-btn-hover-color: var(--pop-ink); --ar-btn-hover-bg: var(--pop-violet-soft); --ar-btn-hover-border-color: var(--pop-violet);
  --ar-btn-active-color: var(--pop-ink); --ar-btn-active-bg: var(--pop-violet-soft); --ar-btn-active-border-color: var(--pop-violet);
}
body.ga-pop .btn { font-family: var(--pop-display); font-weight: 700; border-radius: 999px; }
body.ga-pop .home-btn { font-family: var(--pop-display); }
body.ga-pop .home-btn--primary { background: var(--pop-violet); color: #fff; box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .home-btn--primary:hover { background: var(--pop-violet-dark); color: #fff; }
body.ga-pop .home-btn--secondary { background: #fff; border: 1.5px solid var(--pop-ctl); color: var(--pop-ink); }
body.ga-pop .home-btn--secondary:hover { border-color: var(--pop-violet); color: var(--pop-ink); }
body.ga-pop .home-btn--dark { background: var(--pop-ink); }
body.ga-pop .home-btn:focus-visible { outline-color: var(--pop-violet); }

/* ---------- Announcement bar ---------- */
.ga-announce { background: var(--pop-night); color: #fff; font-size: .8125rem; font-weight: 600; line-height: 1.35; text-align: center; }
.ga-announce a { display: block; padding: .5625rem 1rem; color: inherit; text-decoration: none; }
.ga-announce a:hover { color: #fff; text-decoration: underline; }
.ga-announce b { color: var(--pop-sun); font-weight: 700; }
.ga-announce :focus-visible { outline-color: var(--pop-sun); outline-offset: -3px; }

/* ---------- Header: pinned, flat, hairline ---------- */
body.ga-pop header.navbar {
  position: sticky; top: 0; z-index: 1030;
  background-color: #fff !important;
  border-bottom: 1px solid var(--pop-line);
  box-shadow: none !important;
  padding-top: .5rem !important; padding-bottom: .5rem !important;
}
body.ga-pop header.navbar .nav-link { font-family: var(--pop-display); font-weight: 600; color: var(--pop-ink); border-radius: 999px; }
body.ga-pop header.navbar .navbar-nav .nav-link { padding-inline: .875rem; }
body.ga-pop header.navbar .navbar-nav .nav-link:hover,
body.ga-pop header.navbar .navbar-nav .nav-link.active { background: rgba(36, 21, 56, .07); color: var(--pop-ink); }
body.ga-pop header.navbar .badge.bg-primary { background-color: var(--pop-violet) !important; font-family: var(--pop-display); }
body.ga-pop header.navbar .navbar-brand img { width: 150px !important; }
.ga-nav-langs { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 0 1rem; }
.ga-nav-langs__label { flex-basis: 100%; margin: 0; font: 700 .75rem/1 var(--pop-display); letter-spacing: .08em; text-transform: uppercase; color: var(--pop-muted); }
.ga-nav-langs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem;
  border: 1.5px solid var(--pop-ctl); border-radius: 999px; background: #fff;
  font: 600 .875rem/1 var(--pop-display); color: var(--pop-ink); text-decoration: none;
}
.ga-nav-langs a[aria-current] { background: var(--pop-violet); border-color: var(--pop-violet); color: #fff; }
@media (min-width: 992px) {
  body.ga-pop header.navbar .navbar-brand img { width: 180px !important; }
  .ga-nav-langs { display: none; }        /* desktop keeps the existing language dropdown */
}


/* ---------- Footer scene: dusk sky, halftone sun, night skyline with lit windows ---------- */
body.ga-pop #features-container.ga-footscene {
  position: relative; top: 0; z-index: 1; isolation: isolate; overflow: hidden;
  flex: none;                               /* body is a flex column; without this the scene collapses */
  min-height: 0 !important; height: calc(var(--pop-skyline-w) * .42);
  padding: 0 !important; margin-top: 2.5rem;
  background: radial-gradient(circle at 50% 78%, #FFD84A 0 22%, transparent calc(22% + 1px)),
              linear-gradient(180deg, var(--pop-paper) 0%, #FFC2DC 38%, #FF8FBE 72%, #B88CFF 100%) !important;
}
/* halftone: one grid, big dots near the horizon and small ones further up */
.ga-footscene::before, .ga-footscene::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 14px 14px;
}
.ga-footscene::before {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .45) 0 36%, transparent 39%);
  -webkit-mask-image: radial-gradient(90% 120% at 50% 100%, #000 0 22%, transparent 38%); mask-image: radial-gradient(90% 120% at 50% 100%, #000 0 22%, transparent 38%);
}
.ga-footscene::after {
  background-image: radial-gradient(circle, rgba(255, 255, 255, .45) 0 20%, transparent 23%);
  -webkit-mask-image: radial-gradient(90% 120% at 50% 100%, #000 0 44%, transparent 70%); mask-image: radial-gradient(90% 120% at 50% 100%, #000 0 44%, transparent 70%);
}
.ga-footscene__skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; height: calc(var(--pop-skyline-w) * .4672);
  background-color: var(--pop-night);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='96'%3E%3Cg fill='%23FFCB2E'%3E%3Crect x='14' y='10' width='5' height='7'/%3E%3Crect x='24' y='10' width='5' height='7'/%3E%3Crect x='64' y='34' width='5' height='7'/%3E%3Crect x='112' y='20' width='5' height='7'/%3E%3Crect x='122' y='44' width='5' height='7'/%3E%3Crect x='40' y='66' width='5' height='7'/%3E%3Crect x='88' y='74' width='5' height='7'/%3E%3Crect x='98' y='74' width='5' height='7'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask: url("/img/footer.svg") center bottom / var(--pop-skyline-w) auto repeat-x;
  mask: url("/img/footer.svg") center bottom / var(--pop-skyline-w) auto repeat-x;
}
.ga-footscene__mascots { position: absolute; bottom: 0; left: 50%; z-index: 2; width: 210px; height: auto; transform: translateX(-50%); }
@media (min-width: 992px) { .ga-footscene__mascots { width: 280px; } }

body.ga-pop footer.footer.bg-dark { background-color: var(--pop-night) !important; }
body.ga-pop footer.footer { color: #E7E3FF; }
body.ga-pop footer.footer :is(h3, .h6) { font-family: var(--pop-display); color: var(--pop-sun); letter-spacing: .08em; }
body.ga-pop footer.footer .btn-more { color: var(--pop-sun) !important; min-height: 44px; }
body.ga-pop footer.footer .nav-link { color: #fff; }
body.ga-pop footer.footer .nav-link:hover { color: #fff; text-decoration: underline; }
body.ga-pop footer.footer .text-body-secondary { color: #BDB7E6 !important; }
body.ga-pop footer.footer .text-body-secondary a { color: #fff; }
body.ga-pop footer.footer .border-bottom { border-color: rgba(255, 255, 255, .18) !important; }
body.ga-pop footer.footer :focus-visible { outline-color: var(--pop-sun); }

@media (prefers-reduced-motion: reduce) {
  body.ga-pop *, body.ga-pop *::before, body.ga-pop *::after { transition-duration: .01ms !important; }
}

/* Japanese display lines break between phrases, not mid-word (Chromium 119+; others fall back to normal breaking). */
html:lang(ja) body.ga-pop :is(h1, h2, h3, .h1, .h2, .h3) { word-break: auto-phrase; }
body.ga-pop footer.footer h3.h6 { color: var(--pop-sun) !important; }

/* ==========================================================================
   Milestone 2: store listing and product cards
   Restyles the existing .store-* and .product-card* classes from application.css.
   The only new markup is the pinned category bar (product/_category_bar) and the
   --tile-dot custom property on each card (ProductHelper#tile_dot).
   ========================================================================== */

/* ---------- Sky band: page title on a strip of sky with the skyline and halftone texture ---------- */
body.ga-pop .store-hero {
  isolation: isolate;
  padding: 1.25rem 0 1.5rem;
  background: linear-gradient(180deg, #B5E2FF, var(--pop-sky-soft));
}
body.ga-pop .store-hero::before, body.ga-pop .store-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
body.ga-pop .store-hero::before {           /* skyline, kept to the right so it never runs under the title */
  right: 0; bottom: -1px; width: min(46%, 560px); height: 74%;
  background: var(--pop-sky);
  -webkit-mask: url("/img/footer.svg") right bottom / auto 100% no-repeat; mask: url("/img/footer.svg") right bottom / auto 100% no-repeat;
}
body.ga-pop .store-hero::after {            /* halftone, fading in towards the right edge */
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .85) 0 34%, transparent 37%); background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(100deg, transparent 62%, #000 100%); mask-image: linear-gradient(100deg, transparent 62%, #000 100%);
}
body.ga-pop .store-hero--banner::before { display: none; }   /* a category or designer banner image takes the skyline's place */
body.ga-pop .store-hero__inner { gap: .5rem; }
body.ga-pop .store-breadcrumb, body.ga-pop .store-breadcrumb a { color: #3A3350; font-size: .8125rem; }
body.ga-pop .store-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
body.ga-pop .store-hero__title { color: var(--pop-ink); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: var(--ga-title-lh, 1.1); }
body.ga-pop .store-hero__lede, body.ga-pop .store-hero__description { max-width: 34rem; color: #3A3350; font-size: 1rem; }
body.ga-pop .store-hero__kicker { color: var(--pop-violet-dark); font-family: var(--pop-display); font-weight: 700; }
body.ga-pop .store-hero__banner { box-shadow: var(--pop-soft); }
body.ga-pop .store-scope { border-color: transparent; box-shadow: var(--pop-soft); color: var(--pop-ink); }
body.ga-pop .store-scope svg { color: var(--pop-violet); }
body.ga-pop .store-scope__link { background: var(--pop-violet-soft); color: var(--pop-violet-dark); font-family: var(--pop-display); }
body.ga-pop .store-scope__link:hover { background: #DDD0FF; color: var(--pop-violet-dark); }
@media (max-width: 767.98px) {              /* phones: a low row of city along the bottom edge, below the text */
  body.ga-pop .store-hero { padding-bottom: 5.25rem; }
  body.ga-pop .store-hero::before { width: 11rem; height: 5rem; }      /* one skyline in the corner, not a repeated strip */
  body.ga-pop .store-hero--banner { padding-bottom: 1.5rem; }
  /* halftone stays in the top-right corner, beside the breadcrumb, clear of the title and description */
  body.ga-pop .store-hero::after { -webkit-mask-image: radial-gradient(11rem 5.5rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(11rem 5.5rem at 100% 0, #000 30%, transparent 100%); }
}
@media (min-width: 768px) {
  body.ga-pop .store-hero { padding: 1.75rem 0 2.25rem; }
  body.ga-pop .store-hero::after { -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%); mask-image: linear-gradient(100deg, transparent 40%, #000 100%); }
}

/* ---------- Category bar: pinned directly under the header on phones and tablets ---------- */
.ga-catbar {
  position: sticky; top: 66px; z-index: 1020;       /* header is 67px tall below 992px, 83px above */
  background: #fff; border-bottom: 1px solid var(--pop-line); box-shadow: 0 6px 14px rgba(36, 21, 56, .06);
}
.ga-catbar__scroll { display: flex; gap: .5rem; padding-block: .5rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.ga-catbar__scroll::-webkit-scrollbar { display: none; }
.ga-catbar__chip {
  flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem 0 .375rem;
  border: 1.5px solid var(--pop-ctl); border-radius: 999px; background: #fff;
  font: 600 .875rem/1.2 var(--pop-display); color: var(--pop-ink); text-decoration: none; white-space: nowrap;
}
.ga-catbar__chip:hover { border-color: var(--pop-violet); color: var(--pop-ink); }
.ga-catbar__chip[aria-current] { background: var(--pop-violet); border-color: var(--pop-violet); color: #fff; }
.ga-catbar__ico {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; overflow: hidden;
  border-radius: 50%; background: var(--sticker, var(--pop-violet-soft)); color: var(--pop-ink); font-size: .8125rem; font-weight: 700;
}
.ga-catbar__ico img { width: 100%; height: 100%; object-fit: cover; }
.ga-catbar__chip[aria-current] .ga-catbar__ico { box-shadow: 0 0 0 2px #fff; }
@media (min-width: 992px) { .ga-catbar { top: 82px; } }

/* ---------- Results bar ---------- */
body.ga-pop .store-layout { margin-top: 1.25rem; }
body.ga-pop .store-filters-toggle { background: #fff; border: 1.5px solid var(--pop-ctl); color: var(--pop-ink); font-family: var(--pop-display); }
body.ga-pop .store-filters-toggle:hover { border-color: var(--pop-violet); }
body.ga-pop .store-filters-toggle__count { background: var(--pop-violet); color: #fff; font-family: var(--pop-display); }
body.ga-pop .store-sort__count, body.ga-pop .store-sort__label, body.ga-pop .store-showing { color: var(--pop-muted); }
body.ga-pop .store-sort__select { border: 1.5px solid var(--pop-ctl); border-radius: 999px; color: var(--pop-ink); font-weight: 600; }
body.ga-pop .store-sort__select:focus { border-color: var(--pop-violet); box-shadow: 0 0 0 3px rgba(91, 43, 214, .2); }
body.ga-pop .store-active { background: var(--pop-violet-soft); border-color: var(--pop-violet); color: var(--pop-violet-dark); font-family: var(--pop-display); }
body.ga-pop .store-active:hover { background: #DDD0FF; color: var(--pop-violet-dark); }
body.ga-pop .store-clear { color: var(--pop-ink); }
body.ga-pop .store-empty { box-shadow: var(--pop-soft); }

/* ---------- Sidebar and filter sheet ---------- */
@media (min-width: 992px) { body.ga-pop .store-filters { box-shadow: var(--pop-soft); } }
body.ga-pop .store-filters__group + .store-filters__group { border-top-color: var(--pop-line); }
body.ga-pop .store-filters__heading { font: 700 .75rem/1.2 var(--pop-display); letter-spacing: .08em; text-transform: uppercase; color: var(--pop-muted); }
body.ga-pop .store-filters__item { color: var(--pop-ink); }
body.ga-pop .store-filters__item:hover { background: rgba(36, 21, 56, .05); color: var(--pop-ink); }
body.ga-pop .store-filters__item[aria-current="page"] { background: var(--pop-violet-soft); color: var(--pop-violet-dark); }
body.ga-pop .store-filters__count { background: rgba(36, 21, 56, .06); color: var(--pop-muted); }
body.ga-pop .store-filters__item[aria-current="page"] .store-filters__count { background: var(--pop-violet); color: #fff; }
body.ga-pop .store-sidebar .offcanvas-title { font-family: var(--pop-display); color: var(--pop-ink); }
body.ga-pop .store-sheet__footer { border-top-color: var(--pop-line); }
body.ga-pop .store-sheet__done { background: var(--pop-violet); font-family: var(--pop-display); }

/* ---------- Product cards: soft shadow instead of an outline; halftone in the product's own colour ---------- */
body.ga-pop .product-card { border: 0; border-radius: 1.25rem; box-shadow: var(--pop-soft); transition: transform .16s ease, box-shadow .16s ease; }
body.ga-pop .product-card:hover, body.ga-pop .product-card:focus-within { transform: translateY(-3px); box-shadow: var(--pop-lift); }
/* Two dot sizes on one grid, in the top-right corner of the tile (badges sit top-left). The tile colour itself is
   untouched: it is stored to match each photo's backdrop. The dots are printed on the tile BEHIND the image; the
   existing multiply blend on .product-card__img lets them show through a photo's pale backdrop but not the product. */
body.ga-pop .product-card__media::before, body.ga-pop .product-card__media::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 11px 11px;
}
body.ga-pop .product-card__media { isolation: isolate; }
body.ga-pop .product-card__media::before {
  background-image: radial-gradient(circle, var(--tile-dot, rgba(255, 255, 255, .55)) 0 36%, transparent 39%);
  -webkit-mask-image: radial-gradient(62% 52% at 100% 0, #000 0 24%, transparent 42%); mask-image: radial-gradient(62% 52% at 100% 0, #000 0 24%, transparent 42%);
}
body.ga-pop .product-card__media::after {
  background-image: radial-gradient(circle, var(--tile-dot, rgba(255, 255, 255, .55)) 0 20%, transparent 23%);
  -webkit-mask-image: radial-gradient(62% 52% at 100% 0, #000 0 46%, transparent 74%); mask-image: radial-gradient(62% 52% at 100% 0, #000 0 46%, transparent 74%);
}
body.ga-pop .product-card__badge { font-family: var(--pop-display); font-weight: 700; box-shadow: 0 2px 6px rgba(36, 21, 56, .16); }
body.ga-pop .product-card__kicker, body.ga-pop .product-card__size-range, body.ga-pop .product-card__blurb { color: var(--pop-muted); }
body.ga-pop .product-card__name { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); line-height: var(--ga-title-lh, 1.25); }
body.ga-pop .product-card__price { font-family: var(--pop-display); font-weight: 800; color: var(--pop-ink); }
body.ga-pop .product-card__sizes li { border-color: rgba(36, 21, 56, .22); color: var(--pop-muted); }
body.ga-pop .product-card__sizes li.is-out { border-color: var(--pop-line); color: #9A90A8; }
body.ga-pop .product-card__swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--pop-ink); }
body.ga-pop .product-card__swatch:focus-visible { outline-color: var(--pop-violet); }
body.ga-pop .product-card__cta { background: var(--pop-violet); font-family: var(--pop-display); font-weight: 700; box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .product-card__cta:hover { background: var(--pop-violet-dark); }
@media (prefers-reduced-motion: reduce) { body.ga-pop .product-card:hover, body.ga-pop .product-card:focus-within { transform: none; } }

/* ==========================================================================
   Milestone 3: product page
   Restyles the existing .product-gallery*, .product-buy*, .product-option*,
   .product-more and .product-bar classes. New markup: the "added to cart"
   sheet (product/_added_sheet), a size error line, three reassurance rows.
   ========================================================================== */

/* The phone-only title and price above the gallery repeat what the buy box says straight after it. */
body.ga-pop .product-mobile-head { display: none !important; }

/* ---------- Gallery: the product's tile colour with its halftone, printed behind the photo ---------- */
body.ga-pop .product-gallery__item { isolation: isolate; box-shadow: var(--pop-soft); }
body.ga-pop .product-gallery__item--main::before, body.ga-pop .product-gallery__item--main::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-size: 13px 13px;
}
body.ga-pop .product-gallery__item--main::before {
  background-image: radial-gradient(circle, var(--tile-dot, rgba(255, 255, 255, .55)) 0 36%, transparent 39%);
  -webkit-mask-image: radial-gradient(62% 52% at 100% 0, #000 0 24%, transparent 42%); mask-image: radial-gradient(62% 52% at 100% 0, #000 0 24%, transparent 42%);
}
body.ga-pop .product-gallery__item--main::after {
  background-image: radial-gradient(circle, var(--tile-dot, rgba(255, 255, 255, .55)) 0 20%, transparent 23%);
  -webkit-mask-image: radial-gradient(62% 52% at 100% 0, #000 0 46%, transparent 74%); mask-image: radial-gradient(62% 52% at 100% 0, #000 0 46%, transparent 74%);
}
body.ga-pop .product-gallery__item:focus-visible { outline-color: var(--pop-violet); }
body.ga-pop .product-gallery__zoom { color: var(--pop-ink); }
body.ga-pop .product-gallery__count { background: rgba(36, 21, 56, .82); font-family: var(--pop-display); }
body.ga-pop .product-gallery__badge { font-family: var(--pop-display); box-shadow: 0 2px 6px rgba(36, 21, 56, .16); }

/* ---------- Buy box ---------- */
body.ga-pop .product-buy, body.ga-pop .product-more { box-shadow: var(--pop-soft); }
body.ga-pop .product-buy__kicker, body.ga-pop .product-buy__tax { color: var(--pop-muted); }
body.ga-pop .product-buy__kicker a { color: var(--pop-violet-dark); }
body.ga-pop .product-buy__title { font-weight: 800; color: var(--pop-ink); }
body.ga-pop .product-buy__price { font-family: var(--pop-display); font-weight: 800; color: var(--pop-ink); }
/* Choosing and buying come first; the description follows the reassurance rows (visual order only, markup unchanged). */
body.ga-pop .product-buy__description { order: 5; padding-top: 1.25rem; border-top: 1px solid var(--pop-line); color: var(--pop-ink); }
body.ga-pop .product-options { border-color: var(--pop-line); }
body.ga-pop .product-option__legend { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .product-option__value { font-family: var(--ga-font); color: var(--pop-muted); }
body.ga-pop .product-option__fact { background: rgba(36, 21, 56, .06); color: var(--pop-ink); }
body.ga-pop .product-swatch:hover .product-swatch__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pop-ctl); }
body.ga-pop .btn-check:checked + .product-swatch .product-swatch__dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--pop-violet); }
body.ga-pop .btn-check:focus-visible + .product-swatch, body.ga-pop .btn-check:focus-visible + .product-size { outline: 3px solid var(--pop-violet); outline-offset: 2px; }
body.ga-pop .product-size { border: 1.5px solid var(--pop-ctl); color: var(--pop-ink); font-family: var(--pop-display); font-weight: 600; }
body.ga-pop .product-size:hover { border-color: var(--pop-violet); }
body.ga-pop .btn-check:checked + .product-size { background: var(--pop-violet); border-color: var(--pop-violet); color: #fff; }
body.ga-pop .btn-check:disabled + .product-size { border: 1.5px dashed rgba(36, 21, 56, .2); color: #9A90A8; }
/* "Select a size": shown when Add to cart is pressed with no size chosen */
.product-option__error { margin: .6rem 0 0; font-size: .875rem; font-weight: 700; color: #B3261E; }
body.ga-pop .product-option.is-invalid .product-size { border-color: #B3261E; }
body.ga-pop .product-qty { border: 1.5px solid var(--pop-ctl); }
body.ga-pop .product-qty:focus-within { border-color: var(--pop-violet); }
body.ga-pop .product-qty__btn { color: var(--pop-ink); }
body.ga-pop .product-qty__btn:hover { background: rgba(36, 21, 56, .07); }
body.ga-pop .product-qty .product-qty__input.form-control { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .product-buy__cart { background: var(--pop-violet); font-family: var(--pop-display); box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .product-buy__cart:hover { background: var(--pop-violet-dark); }
body.ga-pop .product-buy__cart:focus-visible { outline-color: var(--pop-violet); }
body.ga-pop .product-buy__assurances li { align-items: flex-start; color: var(--pop-ink); line-height: 1.4; }
body.ga-pop .product-buy__assurances svg { margin-top: .05rem; color: var(--pop-violet); }

/* ---------- Details accordions, designer card, related products ---------- */
body.ga-pop .product-more details + details { border-top-color: var(--pop-line); }
body.ga-pop .product-more summary { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .product-more__body { color: var(--pop-ink); }
body.ga-pop .product-more__body a { color: var(--pop-violet-dark); }
body.ga-pop .page-wrapper .card { border: 0; border-radius: 1.5rem; box-shadow: var(--pop-soft); }
body.ga-pop .btn-outline-primary {
  --ar-btn-color: var(--pop-violet); --ar-btn-border-color: var(--pop-ctl);
  --ar-btn-hover-color: #fff; --ar-btn-hover-bg: var(--pop-violet); --ar-btn-hover-border-color: var(--pop-violet);
  --ar-btn-active-color: #fff; --ar-btn-active-bg: var(--pop-violet-dark); --ar-btn-active-border-color: var(--pop-violet-dark);
}

/* ---------- Phone add-to-cart bar ---------- */
body.ga-pop .product-bar { border-top-color: var(--pop-line); box-shadow: 0 -6px 16px rgba(36, 21, 56, .08); }
body.ga-pop .product-bar__price strong { font-family: var(--pop-display); font-weight: 800; color: var(--pop-ink); }
body.ga-pop .product-bar__price small { color: var(--pop-muted); }

/* ---------- "Added to cart" sheet ---------- */
.ga-added.offcanvas-bottom {
  --ar-offcanvas-height: auto; height: auto; max-height: 90dvh;
  border: 0; border-radius: 1.75rem 1.75rem 0 0; background: #fff; color: var(--pop-ink);
  box-shadow: 0 -10px 40px rgba(36, 21, 56, .2);
}
.ga-added__inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); overflow-y: auto; }
.ga-added__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ga-added__title { display: flex; align-items: center; gap: .5rem; margin: 0; font: 800 1.25rem/1.25 var(--pop-display); color: var(--pop-ink); }
.ga-added__title svg { flex: none; padding: 3px; border-radius: 50%; background: var(--pop-mint); color: var(--pop-ink); }
.ga-added .btn-close { width: 44px; height: 44px; margin: -.5rem -.5rem -.5rem 0; padding: 0; background-size: 14px; }
.ga-added__item { display: flex; align-items: center; gap: .875rem; }
.ga-added__thumb { flex: none; display: grid; place-items: center; width: 72px; height: 72px; overflow: hidden; border-radius: 1rem; background: var(--tile-bg, var(--pop-violet-soft)); }
.ga-added__thumb img { width: 100%; height: 100%; object-fit: contain; }
.ga-added__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; font-size: .875rem; color: var(--pop-muted); }
.ga-added__text strong { font: 700 1rem/1.3 var(--pop-display); color: var(--pop-ink); }
.ga-added__qty { font: 700 1rem/1 var(--pop-display); white-space: nowrap; }
.ga-added__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin: 0; padding-top: 1rem; border-top: 1px solid var(--pop-line); }
.ga-added__subtotal strong { font: 800 1.25rem/1 var(--pop-display); }
.ga-added__note { margin: -.5rem 0 0; font-size: .8125rem; color: var(--pop-muted); }
.ga-added__actions { display: flex; flex-direction: column; gap: .625rem; }
.ga-added__primary, .ga-added__secondary {
  display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .5rem 1.25rem;
  border-radius: 999px; font: 700 1rem/1.2 var(--pop-display); text-align: center; text-decoration: none;
}
.ga-added__primary { background: var(--pop-violet); color: #fff; box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
.ga-added__primary:hover { background: var(--pop-violet-dark); color: #fff; }
.ga-added__secondary { background: #fff; border: 1.5px solid var(--pop-ctl); color: var(--pop-ink); }
.ga-added__secondary:hover { border-color: var(--pop-violet); }
@media (min-width: 576px) {
  .ga-added.offcanvas-bottom { left: 0; right: 0; width: auto; max-width: 30rem; margin-inline: auto; }
  .ga-added__inner { padding: 1.5rem 1.75rem 1.75rem; }
}
body.ga-pop .product-buy__description { padding-top: .5rem; }
@media (max-width: 575.98px) { body.ga-pop .product-buy__actions .product-buy__cart { padding: 0 .75rem; white-space: nowrap; } }
/* Keep the theme's back-to-top button clear of the phone add-to-cart bar. */
@media (max-width: 767.98px) { body.ga-pop:has(.product-bar:not(.is-tucked)) .btn-scroll-top { bottom: 6rem; } }

/* ==========================================================================
   Milestone 4: cart and checkout
   Restyles cart/one_step_checkout (its own <style> block uses the
   #cart-combined-checkout id, hence the id in these selectors).
   New markup: destination cards (cart/_destinations), free-shipping progress
   (cart/_free_shipping_progress), a payment error line.
   ========================================================================== */
body.ga-pop #cart-combined-checkout { max-width: 1120px; margin-inline: auto; padding: 1rem; gap: 1.25rem; }
body.ga-pop #cart-combined-checkout > aside,
body.ga-pop #cart-combined-checkout > .cart-checkout { background: #fff; border-radius: 1.5rem !important; box-shadow: var(--pop-soft); }
body.ga-pop #cart-combined-checkout > .cart-checkout { padding: 1.25rem 1rem 1.5rem; }
body.ga-pop #cart-combined-checkout :is(h1, h2) { margin-bottom: .75rem; font-size: 1.5rem; font-weight: 800; }
@media (min-width: 992px) {
  body.ga-pop #cart-combined-checkout { padding: 2rem 1rem; gap: 2rem; }
  /* checkout on the left, order summary on the right, pinned under the header */
  body.ga-pop #cart-combined-checkout > .cart-checkout  { order: 1; flex: 1 1 0; max-width: none; padding: 2rem; }
  body.ga-pop #cart-combined-checkout > aside { order: 2; flex: 0 0 24rem; max-width: 24rem; top: 6.5rem; }
}

/* ---------- Cart lines ---------- */
body.ga-pop .cart-sidebar-row, body.ga-pop .cart-sidebar-summary { border-bottom-color: var(--pop-line); }
body.ga-pop .cart-sidebar-row__image { padding: .25rem !important; border-radius: 1rem !important; background: var(--tile-bg, var(--pop-violet-soft)) !important; }
body.ga-pop .cart-sidebar-row__image img { border-radius: .75rem; }
body.ga-pop .cart-sidebar-row__title { font-family: var(--pop-display); font-weight: 700; }
body.ga-pop .cart-sidebar-row__meta { color: var(--pop-muted) !important; }
body.ga-pop .cart-sidebar-row__meta strong { color: var(--pop-ink); }
body.ga-pop .cart-sidebar-row__total { font-family: var(--pop-display); font-weight: 800; }
body.ga-pop .cart-sidebar-row__remove { display: grid; place-items: center; width: 44px; height: 44px; margin: -.6rem -.6rem 0 0; border-radius: 50%; color: var(--pop-ink); opacity: 1; }
body.ga-pop .cart-sidebar-row__remove:hover { background: rgba(36, 21, 56, .07); }

/* ---------- Free-shipping progress ---------- */
.ga-freeship { margin-top: 1rem; padding: .75rem .875rem; border-radius: 1rem; background: #EEFBF5; }
.ga-freeship__text { display: flex; align-items: center; gap: .4rem; margin: 0 0 .5rem; font: 700 .875rem/1.3 var(--pop-display); color: var(--pop-ink); }
.ga-freeship__text svg { flex: none; padding: 2px; border-radius: 50%; background: var(--pop-mint); }
.ga-freeship__track { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(36, 21, 56, .1); }
.ga-freeship__fill { height: 100%; min-width: 8px; border-radius: 999px; background: var(--pop-mint); }

/* ---------- Summary ---------- */
body.ga-pop .cart-sidebar-summary li { color: var(--pop-muted); }
body.ga-pop .cart-sidebar-summary li > span:first-child { flex: none; }                      /* the label keeps its width … */
body.ga-pop .cart-sidebar-summary li > span:last-child { flex: 0 1 auto; color: var(--pop-ink); }   /* … and a long shipping note wraps instead of overflowing */
body.ga-pop .cart-sidebar-summary__note { max-width: none; color: var(--pop-muted); }
body.ga-pop .cart-sidebar-summary .text-danger { color: #0B7A53 !important; }                /* "Free shipping" is good news, not an error */
body.ga-pop .cart-sidebar-summary li:has(.fw-semibold.text-danger:not(.text-end)) .text-danger { color: #0B7A53 !important; }
body.ga-pop #cart-combined-checkout > aside .border-top { border-color: var(--pop-line) !important; padding-top: 1rem !important; font-family: var(--pop-display); font-weight: 700; }
body.ga-pop #cart-combined-checkout > aside .border-top .fs-3 { font-weight: 800 !important; color: var(--pop-ink) !important; }
body.ga-pop .cart-sidebar-coupon h3 { font: 700 .75rem/1.2 var(--pop-display); letter-spacing: .08em; text-transform: uppercase; color: var(--pop-muted); }

/* ---------- Destination cards ---------- */
.ga-dest { margin-bottom: 1.5rem; }
.ga-dest fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ga-dest__legend { float: none; width: auto; margin: 0 0 .6rem; padding: 0; font: 700 1rem/1.3 var(--pop-display); color: var(--pop-ink); }
.ga-dest__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.ga-dest__card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; min-height: 64px; padding: .625rem .875rem;
  border: 1.5px solid var(--pop-ctl); border-radius: 1rem; background: #fff; color: var(--pop-ink); text-align: left;
  transition: border-color .15s ease, background-color .15s ease;
}
.ga-dest__card:hover { border-color: var(--pop-violet); }
.ga-dest__card[aria-pressed="true"] { border-color: var(--pop-violet); background: var(--pop-violet-soft); box-shadow: inset 0 0 0 1px var(--pop-violet); }
.ga-dest__name { font: 700 .9375rem/1.25 var(--pop-display); }
.ga-dest__price { font-size: .8125rem; color: var(--pop-muted); }
.ga-dest__card[aria-pressed="true"] .ga-dest__price { color: var(--pop-violet-dark); font-weight: 700; }
.ga-dest__help { margin: .6rem 0 0; font-size: .875rem; color: var(--pop-muted); }
@media (min-width: 576px) { .ga-dest__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Payment ---------- */
body.ga-pop #payment-form #submit { min-height: 56px; font-size: 1.05rem; box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop #payment-error { border: 0; border-radius: 1rem; background: #FDECEA; color: #8C1D18; font-weight: 600; }

/* ---------- Cart refinements: quantity and coupon fields, row alignment ----------
   The theme's .input-group is itself a bordered, padded box, so the group is the pill:
   a borderless input on the left and a solid pill button on the right, inside one outline. */
body.ga-pop :is(.cart-sidebar-row__qty, .cart-sidebar-coupon__group).input-group {
  flex-wrap: nowrap; align-items: center; height: 48px; padding: 4px;
  border: 1.5px solid var(--pop-ctl); border-radius: 999px; background: #fff;
}
body.ga-pop :is(.cart-sidebar-row__qty, .cart-sidebar-coupon__group).input-group:focus-within { border-color: var(--pop-violet); box-shadow: 0 0 0 3px rgba(91, 43, 214, .2); }
body.ga-pop :is(.cart-sidebar-row__qty, .cart-sidebar-coupon__group) .form-control {
  flex: 1 1 0; min-width: 0; height: 100%; padding: 0 .5rem 0 .875rem;
  border: 0 !important; border-radius: 999px !important; background: transparent; box-shadow: none !important;
  font-size: 1rem; font-weight: 700; color: var(--pop-ink);          /* 16px keeps iOS from zooming on focus */
}
body.ga-pop .cart-sidebar-coupon__group .form-control::placeholder { font-size: .8125rem; font-weight: 500; letter-spacing: .02em; color: #8B819A; }
body.ga-pop :is(.cart-sidebar-row__qty, .cart-sidebar-coupon__group) .btn {
  flex: none; height: 100%; margin: 0; padding: 0 1rem;
  border: 0; border-radius: 999px !important; background: var(--pop-violet-soft); color: var(--pop-violet-dark);
  font-size: .875rem; line-height: 1;
}
body.ga-pop :is(.cart-sidebar-row__qty, .cart-sidebar-coupon__group) .btn:hover { background: #DDD0FF; color: var(--pop-violet-dark); }
body.ga-pop .cart-sidebar-coupon__group .btn-outline-danger { background: #FDECEA; color: #8C1D18; }
body.ga-pop .cart-sidebar-coupon { margin-top: 0 !important; padding-top: 1.25rem; }
body.ga-pop .cart-sidebar-coupon h3 { margin-bottom: .6rem; }
body.ga-pop .cart-sidebar-coupon .alert { border: 0; border-radius: 1rem; }

/* Row: options and unit price on tidy lines; quantity on the left, line total on the right, on one line at every width. */
body.ga-pop .cart-sidebar-row__meta { display: flex; flex-wrap: wrap; gap: .1rem .875rem; }
body.ga-pop .cart-sidebar-row__meta > span { white-space: nowrap; }
body.ga-pop .cart-sidebar-row__sep { display: none; }
body.ga-pop .cart-sidebar-row__bottom { flex-direction: row; align-items: center; gap: .75rem; margin-top: .75rem !important; }
body.ga-pop .cart-sidebar-row__form { order: 1; flex: 0 1 10rem; width: auto; max-width: 10rem; }
body.ga-pop .cart-sidebar-row__total { order: 2; margin-left: auto; font-size: 1.125rem; white-space: nowrap; }
body.ga-pop #cart-combined-checkout > aside { padding: 1.25rem 1rem 1.5rem !important; }
@media (min-width: 992px) { body.ga-pop #cart-combined-checkout > aside { padding: 1.75rem 1.5rem !important; } }

/* ==========================================================================
   Milestone 5: home page
   Restyles the existing .home-* classes. No new markup; the latest-arrivals
   grid is two columns on phones (row-cols-2) instead of one.
   ========================================================================== */

/* ---------- Hero: sky, a halftone sun behind the product collage, the skyline along the bottom ---------- */
body.ga-pop .home-hero {
  --sun-x: 50%; --sun-y: calc(100% - 2.5rem); --sun-r: 7.5rem; --halo: 2.5rem;   /* phones: a low sun on the horizon, behind the skyline */
  isolation: isolate;
  background:
    radial-gradient(circle at var(--sun-x) var(--sun-y), #FFD84A 0 var(--sun-r), transparent calc(var(--sun-r) + 1px)),
    linear-gradient(180deg, #A6DEFF 0%, var(--pop-sky) 100%);
}
body.ga-pop .home-hero::before, body.ga-pop .home-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
body.ga-pop .home-hero::before {             /* halftone halo around the sun */
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 0 34%, transparent 37%); background-size: 13px 13px;
  -webkit-mask-image: radial-gradient(circle at var(--sun-x) var(--sun-y), transparent 0 var(--sun-r), #000 calc(var(--sun-r) + 1px), transparent calc(var(--sun-r) + var(--halo)));
  mask-image: radial-gradient(circle at var(--sun-x) var(--sun-y), transparent 0 var(--sun-r), #000 calc(var(--sun-r) + 1px), transparent calc(var(--sun-r) + var(--halo)));
}
body.ga-pop .home-hero::after {              /* skyline: sits in the padding below the content, never under text */
  left: 0; right: 0; bottom: -1px; height: 4rem;
  background: #6DBDF2;                          /* solid, so the sun does not show through the buildings */
  -webkit-mask: url("/img/footer.svg") center bottom / auto 100% repeat-x; mask: url("/img/footer.svg") center bottom / auto 100% repeat-x;
}
body.ga-pop .home-hero__inner { padding-top: 2rem; padding-bottom: 7rem; }
body.ga-pop .home-hero__kicker { font-family: var(--pop-display); font-weight: 700; color: var(--pop-violet-dark); }
body.ga-pop .home-hero__title { color: var(--pop-ink); }
body.ga-pop .home-hero__lede { color: var(--pop-ink); }
body.ga-pop .home-badge { background: #fff; color: var(--pop-ink); box-shadow: 0 1px 2px rgba(36, 21, 56, .08); }
body.ga-pop .home-badge__icon { background: var(--pop-violet-soft); color: var(--pop-violet); }
body.ga-pop .home-badge__icon--plain { background: #fff; box-shadow: inset 0 0 0 1px var(--pop-line); }
body.ga-pop .home-tile--main { box-shadow: 0 2px 4px rgba(36, 21, 56, .08), 0 18px 40px rgba(20, 60, 110, .22); }
body.ga-pop .home-tile--left, body.ga-pop .home-tile--right { box-shadow: 0 2px 4px rgba(36, 21, 56, .08), 0 12px 28px rgba(20, 60, 110, .24); }
body.ga-pop .home-tile:focus-visible { outline-color: var(--pop-violet); }
body.ga-pop .home-tile__label { font-family: var(--pop-display); color: var(--pop-ink); box-shadow: 0 4px 12px rgba(36, 21, 56, .16); }
body.ga-pop .home-tile__label span { font-weight: 800; color: var(--pop-ink); }
body.ga-pop .home-tile__badge { font-family: var(--pop-display); box-shadow: 0 2px 6px rgba(36, 21, 56, .16); }
@media (min-width: 992px) {
  body.ga-pop .home-hero { --sun-x: calc(50% + 22rem); --sun-y: 46%; --sun-r: 14rem; --halo: 4.5rem; }   /* desktop: the sun rises behind the collage */
  body.ga-pop .home-hero::after { height: 6.5rem; }
  body.ga-pop .home-hero__inner { padding-top: 3.5rem; padding-bottom: 8rem; }
}

/* ---------- Section headings ---------- */
body.ga-pop .home-section__title { font-weight: 800; color: var(--pop-ink); }
body.ga-pop .home-section__link, body.ga-pop .page-wrapper .btn-link { color: var(--pop-violet-dark); font-family: var(--pop-display); font-weight: 700; }

/* ---------- Shop by category ---------- */
body.ga-pop .home-cat { border: 0; background: #F6F2FF; color: var(--pop-ink); transition: transform .16s ease, box-shadow .16s ease; }
body.ga-pop .home-cat:hover { background: #F6F2FF; color: var(--pop-ink); transform: translateY(-3px); box-shadow: var(--pop-lift); }
body.ga-pop .home-cat:focus-visible { outline: 3px solid var(--pop-violet); }
body.ga-pop .home-cat__sticker { color: var(--pop-ink); box-shadow: 0 2px 6px rgba(36, 21, 56, .14); }
body.ga-pop .home-cat__name { font-family: var(--pop-display); font-weight: 700; }
body.ga-pop .home-cat__count { color: var(--pop-muted); }

/* ---------- Collection spotlights ---------- */
body.ga-pop .home-spot { box-shadow: var(--pop-soft); }
body.ga-pop .home-spot__title { font-weight: 800; }
body.ga-pop .home-spot__title a, body.ga-pop .home-spot__text { color: var(--pop-ink); }
body.ga-pop .home-spot__chip { background: var(--pop-ink); font-family: var(--pop-display); }
body.ga-pop .home-spot__item:hover { box-shadow: var(--pop-soft); }
body.ga-pop .home-spot__name { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .home-spot__price { font-family: var(--pop-display); font-weight: 800; color: var(--pop-ink); }
@media (min-width: 992px) {                 /* a single collection uses the full width instead of half of it */
  body.ga-pop .home-spots > .home-spot:only-child { grid-column: 1 / -1; flex-direction: row; }
  body.ga-pop .home-spots > .home-spot:only-child .home-spot__banner { flex: 0 0 42%; height: auto; min-height: 16rem; }
}

/* ---------- Meet the designers ---------- */
body.ga-pop .home-designers { position: relative; isolation: isolate; overflow: hidden; background: var(--pop-sky-soft); }
body.ga-pop .home-designers::before {        /* halftone behind the mascots, away from the text */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .85) 0 34%, transparent 37%); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(22rem 13rem at 0 0, #000 35%, transparent 100%); mask-image: radial-gradient(22rem 13rem at 0 0, #000 35%, transparent 100%);
}
body.ga-pop .home-designers__lede { color: var(--pop-ink); }
body.ga-pop .home-designer:hover { box-shadow: var(--pop-soft); }
body.ga-pop .home-designer__avatar { color: var(--pop-ink); }
body.ga-pop .home-designer__name { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .home-designer__count { color: var(--pop-muted); }
@media (min-width: 992px) {
  body.ga-pop .home-designers::before { -webkit-mask-image: radial-gradient(30rem 100% at 0 50%, #000 30%, transparent 100%); mask-image: radial-gradient(30rem 100% at 0 50%, #000 30%, transparent 100%); }
}

/* ==========================================================================
   Milestone 6: order confirmation (cart/checkout_complete)
   ========================================================================== */
.ga-done { padding-block: 1.5rem 1rem; }
.ga-done__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-width: 40rem; margin-inline: auto; padding: 2rem 1.25rem 2.25rem;
  border-radius: 1.75rem; background: #fff; box-shadow: var(--pop-soft); text-align: center;
}
.ga-done__card::before {                      /* a strip of sky with halftone behind the mascots */
  content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 8.5rem; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 34%, transparent 37%) 0 0 / 12px 12px, linear-gradient(180deg, #A6DEFF, var(--pop-sky-soft));
}
.ga-done__card:not(:has(.ga-done__mascots))::before { display: none; }
.ga-done__mascots { width: 210px; height: auto; margin-top: 1.5rem; }
.ga-done__title { margin: .5rem 0 0; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; text-wrap: balance; }
.ga-done__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0; }
.ga-done__facts > div { min-width: 9rem; padding: .625rem 1rem; border-radius: 1rem; background: #F6F2FF; }
.ga-done__facts dt { font: 700 .75rem/1.2 var(--pop-display); letter-spacing: .06em; text-transform: uppercase; color: var(--pop-muted); }
.ga-done__facts dd { margin: .2rem 0 0; font: 800 1.125rem/1.2 var(--pop-display); color: var(--pop-ink); }
.ga-done__body { max-width: 32rem; line-height: var(--ga-body-lh, 1.6); }
.ga-done__body p { margin: 0 0 .75em; }
.ga-done__body p:last-child { margin-bottom: 0; }
.ga-done__body a { color: var(--pop-violet-dark); font-weight: 600; }
.ga-done__note { margin: 0; font-size: .875rem; color: var(--pop-muted); }
.ga-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; }
.ga-done__btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: .5rem; padding: .5rem 1.75rem;
  border-radius: 999px; background: var(--pop-violet); color: #fff; box-shadow: 0 6px 16px rgba(91, 43, 214, .30);
  font: 700 1rem/1.2 var(--pop-display); text-decoration: none;
}
.ga-done__btn:hover { background: var(--pop-violet-dark); color: #fff; }
.ga-done__btn--secondary { background: #fff; border: 1.5px solid var(--pop-ctl); box-shadow: none; color: var(--pop-ink); }
.ga-done__btn--secondary:hover { background: #fff; border-color: var(--pop-violet); color: var(--pop-ink); }
@media (min-width: 768px) { .ga-done { padding-block: 3rem 2rem; } .ga-done__card { padding: 2.5rem 2.5rem 2.75rem; } }

/* ---------- Footer skyline: a second set of windows that blink on and off (from the mockup) ---------- */
.ga-footscene__skyline::after {
  content: ""; position: absolute; inset: 0;          /* inherits the skyline mask, so lights only show inside buildings */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='110'%3E%3Cg fill='%23FFCB2E'%3E%3Crect x='30' y='24' width='5' height='7'/%3E%3Crect x='78' y='52' width='5' height='7'/%3E%3Crect x='132' y='30' width='5' height='7'/%3E%3Crect x='142' y='30' width='5' height='7'/%3E%3Crect x='54' y='86' width='5' height='7'/%3E%3C/g%3E%3C/svg%3E");
  animation: ga-twinkle 5s steps(1) infinite;
}
@keyframes ga-twinkle { 0%, 45% { opacity: 1; } 50%, 70% { opacity: 0; } 75%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ga-footscene__skyline::after { animation: none; } }

/* ==========================================================================
   Review batch 1 (after the built-site critique)
   ========================================================================== */

/* ---------- Skip link ---------- */
.ga-skip { position: absolute; left: .75rem; top: -4rem; z-index: 2000; padding: .75rem 1.25rem; border-radius: 999px; background: var(--pop-violet); color: #fff; font: 700 1rem/1 var(--pop-display); text-decoration: none; }
.ga-skip:focus { top: .75rem; color: #fff; }
#content { scroll-margin-top: 6rem; }
#content:focus { outline: 0; }

/* ---------- Product page on phones: the buy box starts higher ---------- */
.product-option__error:empty { display: none; }
@media (max-width: 767.98px) {
  body.ga-pop .product-crumb-spacer { display: none; }                          /* an empty breadcrumb was only adding height */
  body.ga-pop .page-wrapper > section.container:has(.product-gallery) { padding-top: 1rem; }
  body.ga-pop .product-gallery { gap: .625rem; }
  body.ga-pop .product-gallery__item--main { aspect-ratio: 5 / 4; }             /* was square */
  body.ga-pop .product-gallery__thumbs { gap: .5rem; }
  body.ga-pop .product-gallery__item--thumb { flex: 0 0 3.5rem; border-radius: .75rem; }
  body.ga-pop .product-bar { transition: transform .2s ease, visibility .2s; }
  body.ga-pop .product-bar.is-tucked { transform: translateY(110%); visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { body.ga-pop .product-bar { transition: none; } }

/* ---------- Cards: full titles on phones, size range instead of chip rows, colour dots are indicators ---------- */
body.ga-pop .product-card__name { -webkit-line-clamp: 3; }
body.ga-pop .product-card:not(.product-card--featured) .product-card__sizes { display: none; }
body.ga-pop .product-card:not(.product-card--featured) .product-card__size-range { display: block; }
body.ga-pop span.product-card__swatch { cursor: default; pointer-events: none; }

/* ---------- Cart: quantity stepper, plain options line, even destination tiles, site-width container ---------- */
.ga-stepper { display: inline-flex; align-items: center; height: 48px; padding: 3px; border: 1.5px solid var(--pop-ctl); border-radius: 999px; background: #fff; }
body.ga-pop .cart-sidebar-row__form.ga-stepper { flex: none; width: auto; max-width: none; }
.ga-stepper__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--pop-ink); font-size: 1.35rem; line-height: 1; }
.ga-stepper__btn:hover:not(:disabled) { background: rgba(36, 21, 56, .07); }
.ga-stepper__btn:disabled { color: #B9B1C4; }
.ga-stepper__value { min-width: 2rem; text-align: center; font: 700 1rem/1 var(--pop-display); color: var(--pop-ink); }
body.ga-pop .cart-sidebar-row__meta--plain { font-size: .875rem; }
#checkout { scroll-margin-top: 6rem; }
.ga-dest__card { height: 100%; min-height: 0; padding: .75rem .875rem; }     /* equal-width tiles on a fixed grid; none stretched */
@media (min-width: 1200px) { .ga-dest__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 992px)  { body.ga-pop #cart-combined-checkout { max-width: 960px; padding-inline: .75rem; } }
@media (min-width: 1200px) { body.ga-pop #cart-combined-checkout { max-width: 1140px; } }
@media (min-width: 1400px) { body.ga-pop #cart-combined-checkout { max-width: 1320px; } }

/* ---------- Home hero: the Shinjuku skyline at a size where it reads as Shinjuku, with the mascots standing on it ---------- */
body.ga-pop .home-hero { --sky-h: 7.5rem; --sun-y: calc(100% - 3rem); }
body.ga-pop .home-hero::after { height: var(--sky-h); }
body.ga-pop .home-hero__inner { padding-bottom: calc(var(--sky-h) + 2.25rem); }
.home-hero__mascots { position: absolute; left: 50%; bottom: 0; z-index: 0; width: 170px; height: auto; transform: translateX(-50%); pointer-events: none; }
@media (min-width: 992px) {
  body.ga-pop .home-hero { --sky-h: 11.5rem; --sun-y: 46%; }
  body.ga-pop .home-hero__inner { padding-bottom: calc(var(--sky-h) + 1.5rem); }
  .home-hero__mascots { left: max(1.5rem, calc(50% - 39rem)); width: 230px; transform: none; }
}

/* ---------- Phone menu: links and language pills share one left edge inside the menu panel ---------- */
@media (max-width: 991.98px) {
  body.ga-pop header.navbar .navbar-collapse .navbar-nav { padding: .5rem; }
  body.ga-pop header.navbar .navbar-nav .nav-link { display: flex; align-items: center; min-height: 48px; padding: 0 .875rem; font-size: 1.0625rem; }
  .ga-nav-langs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem;
    margin: 0 .5rem; padding: 1rem .875rem 1.25rem;            /* same inset as the link text above */
    border-top: 1px solid var(--pop-line);
  }
  .ga-nav-langs__label { grid-column: 1 / -1; margin-bottom: .125rem; }
  .ga-nav-langs a { justify-content: center; min-width: 0; padding: 0 .5rem; white-space: nowrap; }
}

/* ==========================================================================
   Review batch 1b: fixes that need no new copy
   ========================================================================== */

/* ---------- Product page on phones: sizes reach the first screen ---------- */
@media (max-width: 575.98px) {
  body.ga-pop .product-gallery__thumbs { display: none; }        /* the "7 photos" pill on the main photo opens the full gallery */
  body.ga-pop .product-buy { padding-top: 1.125rem; gap: 1rem; }
  body.ga-pop .product-buy__title { margin-top: -.5rem; }
  body.ga-pop .product-buy__price-row { margin-top: -.375rem; }
  body.ga-pop .product-options { gap: 1rem; padding: 1rem 0; }
}
body.ga-pop .product-card .product-card__sizes { display: none; }  /* featured card too: one size-range line everywhere */
body.ga-pop .product-card .product-card__size-range { display: block; }

/* ---------- Accepted cards beside the two buy decisions ---------- */
.ga-cards-row { margin: 0; }
.ga-cards { display: block; width: 150px; height: auto; }
body.ga-pop #checkout .ga-cards-row { margin-top: 1.25rem; }
body.ga-pop #checkout .ga-cards { margin-inline: auto; }

/* ---------- Cart: the coupon is a quiet disclosure; Apply is a plain outline ---------- */
#coupon { scroll-margin-top: 6rem; }
.ga-coupon > summary {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px; cursor: pointer; list-style: none;
  font: 700 .9375rem/1.2 var(--pop-display); color: var(--pop-ink);
}
.ga-coupon > summary::-webkit-details-marker { display: none; }
.ga-coupon > summary::after { content: ""; width: .5rem; height: .5rem; margin-right: .25rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.ga-coupon[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.ga-coupon[open] > summary { margin-bottom: .5rem; }
body.ga-pop .cart-sidebar-coupon { padding-top: .5rem; }
body.ga-pop .cart-sidebar-coupon__group .btn:not(.btn-outline-danger) { background: #fff; box-shadow: inset 0 0 0 1.5px var(--pop-ctl); color: var(--pop-ink); }
body.ga-pop .cart-sidebar-coupon__group .btn:not(.btn-outline-danger):hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--pop-violet); color: var(--pop-ink); }

/* ---------- Alerts: one accessible red (dark red on pale red, about 8:1) ---------- */
body.ga-pop .alert-danger { border: 0; border-radius: 1rem; background: #FDECEA; color: #8C1D18; font-weight: 600; }

/* ---------- Added-to-cart sheet: progress bar; a centred dialog from tablet up ---------- */
.ga-added__freeship { margin-top: -.25rem; }
@media (min-width: 768px) {
  .ga-added.offcanvas-bottom { top: 50%; bottom: auto; border-radius: 1.75rem; transform: translateY(-42%); transition: transform .25s ease; }
  .ga-added.offcanvas-bottom.show:not(.hiding), .ga-added.offcanvas-bottom.showing { transform: translateY(-50%); }
}

/* ---------- Home hero: a denser, less regular skyline; bigger mascots on desktop; calmer phone base ---------- */
body.ga-pop .home-hero { --sun-y: calc(100% - 2rem); }
@media (min-width: 992px) {
  body.ga-pop .home-hero { --sun-y: 46%; }
  .home-hero__mascots { width: 310px; }
}

/* ---------- Small consistency fixes ---------- */
body.ga-pop .home-spot .home-btn--dark { background: var(--pop-violet); box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .home-spot .home-btn--dark:hover { background: var(--pop-violet-dark); }
@media (min-width: 992px) { body.ga-pop .product-designer-col { margin-left: 0; } }
body.ga-pop .product-designer-col .card { margin-top: 0 !important; background: #F6F2FF; box-shadow: none; }
body.ga-pop:has(.ga-done__mascots) .ga-footscene__mascots { display: none; }   /* the confirmation card already has the mascots */

/* ==========================================================================
   Review batch 2: shipping, returns and reassurance copy
   ========================================================================== */

/* ---------- Product page: shipping rate table inside the "Shipping and returns" section ---------- */
.ga-rates { width: 100%; margin: 0 0 1rem; border-collapse: collapse; font-size: .9rem; }
.ga-rates th, .ga-rates td { padding: .5rem 0; border-bottom: 1px solid var(--pop-line); font-weight: 500; text-align: left; }
.ga-rates td { text-align: right; font: 700 .9rem/1.3 var(--pop-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ga-rates tr:last-child :is(th, td) { border-bottom: 0; }

/* ---------- Cart: prompt under the destination tiles, secure-payment and contact lines ---------- */
.ga-dest__help { margin: .75rem 0 0; font-size: .875rem; color: var(--pop-muted); }
.ga-secure { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin-top: 1.25rem; text-align: center; }
.ga-secure__line { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0; font-size: .8125rem; line-height: 1.4; color: var(--pop-muted); }
.ga-secure__line svg { flex: none; color: var(--pop-violet); }
.ga-secure__line a { color: var(--pop-violet-dark); font-weight: 600; }
body.ga-pop #checkout .ga-cards-row { margin-top: .75rem; }

/* ---------- Cart on phones: running total with a way down to checkout ---------- */
.ga-cartbar { display: none; }
@media (max-width: 767.98px) {
  .ga-cartbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: .75rem;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--pop-line); box-shadow: 0 -6px 16px rgba(36, 21, 56, .08);
    transition: transform .2s ease, visibility .2s;
  }
  .ga-cartbar.is-tucked { transform: translateY(110%); visibility: hidden; }
  .ga-cartbar__sum { display: flex; flex-direction: column; line-height: 1.25; }
  .ga-cartbar__sum small { font-size: .75rem; color: var(--pop-muted); }
  .ga-cartbar__sum strong { font: 800 1.1rem/1.2 var(--pop-display); color: var(--pop-ink); }
  .ga-cartbar__btn {
    flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: .25rem 1rem; border-radius: 999px;
    background: var(--pop-violet); color: #fff; box-shadow: 0 6px 16px rgba(91, 43, 214, .30);
    font: 700 1rem/1.2 var(--pop-display); text-align: center; text-decoration: none;
  }
  .ga-cartbar__btn:hover { background: var(--pop-violet-dark); color: #fff; }
  body.ga-pop:has(.ga-cartbar) { padding-bottom: 5.5rem; }
  body.ga-pop:has(.ga-cartbar:not(.is-tucked)) .btn-scroll-top { bottom: 6rem; }
}
@media (prefers-reduced-motion: reduce) { .ga-cartbar { transition: none; } }

/* ---------- Confirmation: what was ordered ---------- */
.ga-done__items { width: 100%; max-width: 30rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.ga-done__items li { display: flex; align-items: baseline; gap: .75rem; padding: .625rem 0; border-bottom: 1px solid var(--pop-line); }
.ga-done__items li:last-child { border-bottom: 0; }
.ga-done__item-name { flex: 1; min-width: 0; font: 700 .9375rem/1.3 var(--pop-display); }
.ga-done__item-name small { display: block; font: 500 .8125rem/1.3 var(--ga-font); color: var(--pop-muted); }
.ga-done__item-qty { color: var(--pop-muted); white-space: nowrap; }
.ga-done__item-total { font: 800 .9375rem/1.3 var(--pop-display); white-space: nowrap; }
.ga-done__note a { color: var(--pop-violet-dark); font-weight: 600; }

/* ---------- Home: violet reassurance strip under the hero ---------- */
.home-assure { position: relative; isolation: isolate; overflow: hidden; background: var(--pop-violet); color: #fff; }
.home-assure::before {                       /* halftone in the right-hand corner, clear of the text */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .16) 0 34%, transparent 37%); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(4.5rem 160% at 100% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(4.5rem 160% at 100% 50%, #000 30%, transparent 100%);
}
.home-assure__list { display: grid; gap: .625rem; margin: 0 auto; padding-block: 1rem; list-style: none; }
.home-assure__list li { display: flex; align-items: center; gap: .625rem; font: 600 .9375rem/1.35 var(--pop-display); }
.home-assure__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .16); color: var(--pop-sun); }
@media (min-width: 768px) {
  .home-assure__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.125rem; padding-right: 4.5rem; }   /* keeps text clear of the halftone */
}

/* ---------- Home: Our Story band (sun yellow, halftone in the corner away from the text) ---------- */
.home-story { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 3rem; padding: 2rem 1.5rem; border-radius: 2rem; background: #FFDF6B; }
.home-story::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .7) 0 34%, transparent 37%); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(9rem 7rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(9rem 7rem at 100% 0, #000 30%, transparent 100%);
}
.home-story__text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; max-width: 44rem; }
.home-story__body { margin: 0; font-size: 1.0625rem; line-height: var(--ga-body-lh, 1.6); color: var(--pop-ink); }
body.ga-pop .home-story__btn { height: 48px; padding: 0 1.375rem; border-color: transparent; font-size: .9375rem; box-shadow: 0 1px 2px rgba(36, 21, 56, .12); }
body.ga-pop .home-designers { margin-bottom: 0; }
@media (min-width: 992px) {
  .home-story { padding: 2.75rem 3rem; }
  .home-story::before { -webkit-mask-image: radial-gradient(24rem 100% at 100% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(24rem 100% at 100% 50%, #000 30%, transparent 100%); }
}

/* ---------- Empty cart ---------- */
.ga-empty { padding-block: 1.5rem 1rem; }
.ga-empty__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  max-width: 40rem; margin-inline: auto; padding: 2rem 1.25rem 2.25rem;
  border-radius: 1.75rem; background: #fff; box-shadow: var(--pop-soft); text-align: center;
}
.ga-empty__card::before {                    /* the same strip of sky and halftone as the confirmation card */
  content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 8.5rem; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 34%, transparent 37%) 0 0 / 12px 12px, linear-gradient(180deg, #A6DEFF, var(--pop-sky-soft));
}
.ga-empty__mascots { width: 210px; height: auto; margin-top: 1.5rem; }
.ga-empty__title { margin: .75rem 0 0; font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; text-wrap: balance; }
.ga-empty__note { max-width: 30rem; margin: 0; color: var(--pop-muted); }
.ga-empty__more { margin-top: 2.5rem; }
body.ga-pop:has(.ga-empty__mascots) .ga-footscene__mascots { display: none; }
@media (min-width: 768px) { .ga-empty { padding-block: 3rem 2rem; } .ga-empty__card { padding: 2.5rem 2.5rem 2.75rem; } }

/* ---------- Skyline restored: one undistorted copy of the Shinjuku artwork, drawn exactly as the footer draws it ----------
   (An earlier pass overlaid two scales of the artwork, which destroyed the silhouette.) The skyline is a pale,
   distant city behind the lower part of the hero; the mascots stand in front of it. */
body.ga-pop .home-hero { --hero-skyline-w: clamp(440px, 52vw, 780px); --sky-h: calc(var(--hero-skyline-w) * .4672); }
body.ga-pop .home-hero::after {
  height: var(--sky-h); background: #7CC8F7;
  -webkit-mask: url("/img/footer.svg") center bottom / var(--hero-skyline-w) auto repeat-x;
  mask: url("/img/footer.svg") center bottom / var(--hero-skyline-w) auto repeat-x;
}
body.ga-pop .home-hero__inner { padding-bottom: 9rem; }
@media (min-width: 992px) { body.ga-pop .home-hero__inner { padding-bottom: 12rem; } }
@media (max-width: 767.98px) { .home-assure::before { display: none; } }   /* on phones the strip's text runs full width, so no halftone behind it */

/* ==========================================================================
   Blog: brought in line with the store
   The blog keeps its own markup (.blog-*); these rules give it the store's
   page band, chips, cards, type and colours so the two sections read as one.
   ========================================================================== */

/* ---------- Index band: the same strip of sky, skyline and halftone as the store's ---------- */
body.ga-pop .blog-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 1.25rem 0 5.25rem;
  background: linear-gradient(180deg, #B5E2FF, var(--pop-sky-soft));
}
body.ga-pop .blog-hero::before, body.ga-pop .blog-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
body.ga-pop .blog-hero::before {
  right: 0; bottom: -1px; width: 11rem; height: 5rem; background: var(--pop-sky);
  -webkit-mask: url("/img/footer.svg") right bottom / auto 100% no-repeat; mask: url("/img/footer.svg") right bottom / auto 100% no-repeat;
}
body.ga-pop .blog-hero::after {
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .85) 0 34%, transparent 37%); background-size: 12px 12px;
  -webkit-mask-image: radial-gradient(11rem 5.5rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(11rem 5.5rem at 100% 0, #000 30%, transparent 100%);
}
body.ga-pop .blog-hero__inner { padding-block: 0; gap: .5rem; }
body.ga-pop .blog-kicker { font-family: var(--pop-display); font-weight: 700; color: var(--pop-violet-dark); }
body.ga-pop .blog-hero__title { color: var(--pop-ink); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: var(--ga-title-lh, 1.1); }
body.ga-pop .blog-hero__lede { max-width: 34rem; color: #3A3350; font-size: 1rem; }
@media (min-width: 768px) {
  body.ga-pop .blog-hero { padding: 1.75rem 0 2.25rem; }
  body.ga-pop .blog-hero::before { width: min(46%, 560px); height: 74%; }
  body.ga-pop .blog-hero::after { -webkit-mask-image: linear-gradient(100deg, transparent 40%, #000 100%); mask-image: linear-gradient(100deg, transparent 40%, #000 100%); }
}

/* ---------- Topic chips: the store's category chips ---------- */
body.ga-pop .blog-topics { margin-top: .75rem; }
body.ga-pop .blog-topic {
  min-height: 44px; border: 1.5px solid var(--pop-ctl); background: #fff; box-shadow: none;
  font: 600 .875rem/1.2 var(--pop-display); color: var(--pop-ink);
}
body.ga-pop .blog-topic:hover { border-color: var(--pop-violet); box-shadow: none; color: var(--pop-ink); }
body.ga-pop .blog-topic[aria-current="page"] { background: var(--pop-violet); border-color: var(--pop-violet); color: #fff; }

/* ---------- Page body, section heads ---------- */
body.ga-pop .blog-body { background: transparent; }           /* the store's paper background, not a white slab */
body.ga-pop .blog-section { padding-top: 2rem; }
body.ga-pop .blog-section__head h2 { font-weight: 800; color: var(--pop-ink); }
body.ga-pop .blog-section__sub, body.ga-pop .blog-meta, body.ga-pop .blog-post__body .attachment__caption { color: var(--pop-muted); }
body.ga-pop .blog-meta__author { color: var(--pop-ink); }
body.ga-pop .blog-section__link { color: var(--pop-violet-dark); font-family: var(--pop-display); font-weight: 700; }

/* ---------- Cards: the product card's shape, shadow and type ---------- */
body.ga-pop .blog-card { border: 0; border-radius: 1.25rem; box-shadow: var(--pop-soft); transition: transform .16s ease, box-shadow .16s ease; }
body.ga-pop .blog-card:hover { transform: translateY(-3px); box-shadow: var(--pop-lift); }
body.ga-pop .blog-card:focus-within { outline-color: var(--pop-violet); }
body.ga-pop .blog-card__title { font-family: var(--pop-display); color: var(--pop-ink); }
body.ga-pop .blog-card__excerpt, body.ga-pop .blog-feature__excerpt { color: var(--pop-ink); }
body.ga-pop .blog-card__lang { border: 1.5px solid var(--pop-ctl); color: var(--pop-muted); font-family: var(--pop-display); }
body.ga-pop .blog-sticker { font-family: var(--pop-display); box-shadow: 0 2px 6px rgba(36, 21, 56, .16); }
body.ga-pop .blog-sticker--featured { background: var(--pop-ink); }
body.ga-pop .blog-avatar { color: var(--pop-ink); font-family: var(--pop-display); }
body.ga-pop .blog-feature { border-radius: 1.5rem; box-shadow: var(--pop-soft); }
body.ga-pop .blog-feature__title { color: var(--pop-ink); }
body.ga-pop .blog-empty { border: 0; border-radius: 1.5rem; box-shadow: var(--pop-soft); }
body.ga-pop .blog-empty__title, body.ga-pop .blog-empty__text, body.ga-pop .blog-empty__bubble { color: var(--pop-ink); }
@media (prefers-reduced-motion: reduce) { body.ga-pop .blog-card:hover { transform: none; } }

/* ---------- Pagination: one style for the blog and the store ---------- */
body.ga-pop :is(.blog-pages__num, .store-pagination__page, .store-pagination__step) { border: 1.5px solid var(--pop-ctl); color: var(--pop-ink); font-family: var(--pop-display); font-weight: 600; }
body.ga-pop :is(a.blog-pages__num, a.store-pagination__page, a.store-pagination__step):hover { border-color: var(--pop-violet); color: var(--pop-ink); }
body.ga-pop :is(.blog-pages__num, .store-pagination__page)[aria-current="page"] { background: var(--pop-violet); border-color: var(--pop-violet); color: #fff; }
body.ga-pop .store-pagination a:focus-visible { outline: 3px solid var(--pop-violet); }

/* ---------- Post page ---------- */
body.ga-pop .blog-post__title { color: var(--pop-ink); }
body.ga-pop .blog-post__body, body.ga-pop .blog-post__body .trix-content { color: var(--pop-ink); }
body.ga-pop .blog-post__body :is(h2, h3) { color: var(--pop-ink); }
body.ga-pop .blog-post__body a { color: var(--pop-violet-dark); }
body.ga-pop .blog-post__cover img { box-shadow: var(--pop-lift); }
body.ga-pop .blog-share, body.ga-pop .blog-lang-notice, body.ga-pop .blog-author__link { color: var(--pop-ink); font-family: var(--pop-display); }
body.ga-pop .blog-share:hover, body.ga-pop .blog-shop__item:hover { box-shadow: inset 0 0 0 1.5px var(--pop-violet); }
body.ga-pop .blog-lang-notice svg { color: var(--pop-violet); }
body.ga-pop .blog-author { background: var(--pop-sky-soft); }
body.ga-pop .blog-author__label { color: var(--pop-muted); }
body.ga-pop .blog-author__name, body.ga-pop .blog-author__bio { color: var(--pop-ink); }
body.ga-pop .blog-rail-title { font-family: var(--pop-display); color: var(--pop-muted); }
body.ga-pop .blog-toc { border: 0; background: #fff; box-shadow: var(--pop-soft); }
body.ga-pop .blog-toc a { color: var(--pop-ink); }
body.ga-pop .blog-toc a:hover { color: var(--pop-violet-dark); }
body.ga-pop .blog-toc a:hover::before { background: var(--pop-violet); }
body.ga-pop .blog-shop .blog-rail-title { color: var(--pop-ink); }
body.ga-pop .blog-shop__name { font-family: var(--pop-display); font-weight: 700; color: var(--pop-ink); }
body.ga-pop .blog-shop__price { font-family: var(--pop-display); font-weight: 800; color: var(--pop-ink); }
body.ga-pop .blog-shop-pill { background: var(--pop-violet); font-family: var(--pop-display); box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .blog-shop-pill__count { color: var(--pop-violet-dark); }
/* The post header's band used to end on a white slab; it now ends on the page's paper colour. */
body.ga-pop .blog-post__header--cover { background: linear-gradient(to bottom, var(--band) calc(100% - 13rem), var(--pop-paper) calc(100% - 13rem)); }
@media (max-width: 575.98px) {
  body.ga-pop .blog-post__header--cover { background: linear-gradient(to bottom, var(--band) calc(100% - 6rem), var(--pop-paper) calc(100% - 6rem)); }
}

/* ---------- Blog empty state: the same card as the empty cart ----------
   One column, a strip of sky with halftone and the mascots on top, centred title, text and buttons. */
body.ga-pop .blog-empty {
  display: flex; flex-direction: column; align-items: stretch;
  max-width: 40rem; margin: 0 auto; border: 0; border-radius: 1.75rem; background: #fff; box-shadow: var(--pop-soft); text-align: center;
}
body.ga-pop .blog-empty__art {
  min-height: 0; height: 8.5rem; padding: 0; align-items: flex-end;
  background: radial-gradient(circle, rgba(255, 255, 255, .8) 0 34%, transparent 37%) 0 0 / 12px 12px, linear-gradient(180deg, #A6DEFF, var(--pop-sky-soft));
}
body.ga-pop .blog-empty__mascots { width: 210px; margin-bottom: -.5rem; }
body.ga-pop .blog-empty__bubble { display: none; }
body.ga-pop .blog-empty__body { align-items: center; gap: .75rem; padding: 1.75rem 1.25rem 2.25rem; }
body.ga-pop .blog-empty__title { font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; }
body.ga-pop .blog-empty__text { max-width: 30rem; color: var(--pop-muted); }
body.ga-pop .blog-empty__actions { justify-content: center; margin-top: .5rem; }
body.ga-pop .blog-empty__actions .home-btn { height: 52px; font-size: 1rem; }
body.ga-pop:has(.blog-empty__mascots) .ga-footscene__mascots { display: none; }
@media (min-width: 768px) { body.ga-pop .blog-empty__body { padding: 2rem 2.5rem 2.75rem; } }

/* ==========================================================================
   Review batch 3: no-copy fixes from the third critique
   ========================================================================== */

/* ---------- Home on phones: products sooner, less repetition ----------
   The three chips repeat what the announcement bar and the violet strip say, so they are desktop-only;
   the two buttons share a row when they fit. */
@media (max-width: 991.98px) {
  /* The text block's children join the hero grid so the "Gay owned and operated" chip can sit below the collage.
     The other two chips repeat the announcement bar and the strip, so they stay desktop-only. */
  body.ga-pop .home-hero__inner { gap: 1rem; padding-top: 1.5rem; }
  body.ga-pop .home-hero__text { display: contents; }
  body.ga-pop .home-collage { order: 2; margin-top: .75rem; }
  body.ga-pop .home-badges { order: 3; justify-content: center; margin: 0; }
  body.ga-pop .home-badge:not(:first-child) { display: none; }
  body.ga-pop .home-hero__actions .home-btn { flex: 1 1 9.5rem; height: 52px; padding: 0 1rem; font-size: 1rem; text-align: center; }
  /* the sun sits behind the product collage (as on desktop), not behind the skyline, so no outlines cut across it */
  body.ga-pop .home-hero {
    --collage-w: min(100vw - 2rem, 26rem);
    --sun-x: 50%; --sun-y: calc(100% - 9rem - 3.75rem - var(--collage-w) * .616);   /* 3.75rem: the chip row now below the collage */ --sun-r: calc(var(--collage-w) * .4225 + 1.5rem); --halo: 1.25rem;
  }
}

/* ---------- Sky bands: one treatment everywhere (store and blog, every width) ----------
   One skyline in the bottom-right corner; halftone only in the top-right corner, never over the buildings. */
@media (min-width: 768px) {
  body.ga-pop :is(.store-hero, .blog-hero)::after {
    -webkit-mask-image: radial-gradient(26rem 9rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(26rem 9rem at 100% 0, #000 30%, transparent 100%);
  }
  body.ga-pop :is(.store-hero, .blog-hero)::before { width: min(40%, 520px); height: 62%; }
}

/* ---------- Product page: designer card under the gallery on tablet and desktop ---------- */
body.ga-pop .product-designer-col--inline .card { margin-top: 1.5rem !important; }
body.ga-pop .product-designer__btn { height: 48px; margin-top: .5rem; padding: 0 1.375rem; font-size: .9375rem; }
body.ga-pop .product-designer-col .card a.product-designer__btn { color: var(--pop-ink); }

/* ---------- Cart: the remove control is now a button in a form ---------- */
.cart-sidebar-row__remove-form { margin: 0; }
body.ga-pop button.cart-sidebar-row__remove { border: 0; background: none; font-size: 1.125rem; cursor: pointer; }

/* ---------- Blog: the "new" burst in the site's yellow instead of red ---------- */
body.ga-pop .blog-burst polygon { fill: var(--pop-sun); }
body.ga-pop .blog-burst text { fill: var(--pop-ink); }

/* ---------- Phone menu: category links read as a sub-list ---------- */
@media (max-width: 991.98px) {
  body.ga-pop header.navbar .navbar-nav .ga-nav-cat { min-height: 44px; padding-left: 1.75rem; font-size: 1rem; font-weight: 500; }
}

/* ==========================================================================
   Review batch 4: last no-copy fixes
   ========================================================================== */

/* ---------- Products with nothing to choose (one colour, one size): no option rows ---------- */
body.ga-pop .product-options--none { display: none; }

/* ---------- Zine pages on tablet and desktop: the author photo sits in the gallery column ---------- */
.product-author-photo { width: 100%; height: auto; margin-top: 1.5rem; border-radius: 1.5rem; box-shadow: var(--pop-soft); }

/* ---------- Product page on phones: a little more room so every size and the button clear the bar ---------- */
@media (max-width: 575.98px) {
  body.ga-pop .product-gallery__item--main { aspect-ratio: 4 / 3; }
  body.ga-pop .product-buy { padding-top: 1rem; gap: .875rem; }
  body.ga-pop .product-options { gap: .875rem; padding: .875rem 0; }
  body.ga-pop .product-option__legend { margin-bottom: .4rem; }
  .ga-announce__more { display: none; }            /* phones: the free-shipping half only, on one line */
}

/* ---------- Home: "Ships worldwide" is already in the announcement bar ---------- */
body.ga-pop .home-badge:nth-child(3) { display: none; }
@media (min-width: 992px) { body.ga-pop .home-hero__inner { padding-bottom: 10.5rem; } }   /* mascots clear a 900px-tall screen */

/* ---------- Cart on phones: the fifth destination is a full-width row, name left and price right ---------- */
@media (max-width: 575.98px) {
  .ga-dest__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ==========================================================================
   Size guide and fabric details (garments)
   ========================================================================== */
body.ga-pop .product-option__legend--split { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }
.product-size-guide {
  display: inline-flex; align-items: center; gap: .375rem; min-height: 44px; margin: -.75rem 0; padding: 0 .25rem;
  border: 0; background: none; color: var(--pop-violet-dark); font: 700 .875rem/1.2 var(--pop-display);
  text-decoration: underline; text-underline-offset: 3px;
}
.product-size-guide:hover { color: var(--pop-violet); }

.ga-guide .ga-added__inner { gap: .875rem; }
.ga-guide__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ga-guide__garment { margin: 0; font-size: .875rem; color: var(--pop-muted); }
.ga-guide__units { display: inline-flex; padding: 3px; border: 1.5px solid var(--pop-ctl); border-radius: 999px; }
.ga-guide__unit { min-width: 44px; min-height: 36px; padding: 0 .75rem; border: 0; border-radius: 999px; background: none; color: var(--pop-ink); font: 700 .875rem/1 var(--pop-display); }
.ga-guide__unit[aria-pressed="true"] { background: var(--pop-violet); color: #fff; }
.ga-guide__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ga-guide__table th, .ga-guide__table td { padding: .5rem .25rem; border-bottom: 1px solid var(--pop-line); text-align: right; font-size: .9375rem; }
.ga-guide__table th:first-child { text-align: left; }
.ga-guide__table thead th { font: 700 .75rem/1.2 var(--pop-display); letter-spacing: .04em; text-transform: uppercase; color: var(--pop-muted); white-space: nowrap; }
.ga-guide__table tbody th { font: 700 .9375rem/1.2 var(--pop-display); }
.ga-guide__table tbody tr:last-child :is(th, td) { border-bottom: 0; }
.ga-guide__table[data-unit="cm"] [data-unit-value="in"], .ga-guide__table[data-unit="in"] [data-unit-value="cm"] { display: none; }
.ga-guide__key { color: var(--pop-violet); }
.ga-guide__how { display: flex; align-items: center; gap: 1rem; padding: .875rem; border-radius: 1rem; background: #F6F2FF; }
.ga-guide__tee { flex: none; width: 84px; height: auto; color: var(--pop-ink); }
.ga-guide__list { display: grid; gap: .375rem; margin: 0; padding: 0; list-style: none; font-size: .8125rem; line-height: 1.4; color: var(--pop-ink); }
.ga-guide__list strong { font-family: var(--pop-display); color: var(--pop-violet-dark); }
.ga-guide__note { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--pop-muted); }
@media (min-width: 768px) { .ga-guide.offcanvas-bottom { max-width: 34rem; } }

.ga-specs { display: grid; gap: .5rem; margin: 0 0 .75rem; }
.ga-specs > div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .75rem; }
.ga-specs dt { font-weight: 600; color: var(--pop-muted); }
.ga-specs dd { margin: 0; }

/* ==========================================================================
   Other pages: designer, legal, about, sign-in
   ========================================================================== */

/* An earlier rule recoloured every link in any card, including product names and button text; it is removed.
   Links in running text are violet; buttons, product names and the timeline keep their own colours. */
body.ga-pop .page-wrapper .card :is(p, li, dd, td) > a:not(.btn):not(.home-btn):not(.stretched-link) { color: var(--pop-violet-dark); font-weight: 600; }
body.ga-pop .page-wrapper .card a.btn-primary { color: #fff; }
body.ga-pop .page-wrapper .product-designer-col .card-text > a { color: var(--pop-violet-dark); }

/* ---------- Page band on non-store pages, and the content under it ---------- */
body.ga-pop .ga-page-band .store-hero__description { max-width: 46rem; }
body.ga-pop .ga-page-band .store-hero__description a { color: var(--pop-violet-dark); }
.ga-page { padding-block: 1.5rem 1rem; margin-top: 0 !important; }
.ga-page__grid { margin-top: 1.25rem; }
@media (min-width: 768px) { .ga-page { padding-block: 2rem 1.5rem; } }

/* Legal and long-form text: a readable measure and a calmer heading scale */
body.ga-pop .ga-prose .card-body { padding: 1.5rem 1.25rem; }
body.ga-pop .ga-prose .card-body > :is(p, ul, ol, h2, h3, h4, table, section) { max-width: 46rem; }
body.ga-pop .ga-prose h2 { margin: 2rem 0 .75rem; font-size: 1.375rem; }
body.ga-pop .ga-prose h3 { margin: 1.5rem 0 .5rem; font-size: 1.125rem; }
body.ga-pop .ga-prose :is(p, li) { line-height: var(--ga-body-lh, 1.65); }
body.ga-pop .ga-prose table { font-size: .9375rem; }
body.ga-pop .ga-prose :is(th, td) { border-color: var(--pop-line) !important; padding: .625rem .75rem !important; vertical-align: top; }
body.ga-pop .ga-prose th { background: #F6F2FF; text-align: left; }
@media (min-width: 768px) { body.ga-pop .ga-prose .card-body { padding: 2.25rem 2.5rem; } }

/* ---------- About: timeline button in the site's violet ---------- */
body.ga-pop .ga-timeline__cta { background: var(--pop-violet); color: #fff; font-family: var(--pop-display); box-shadow: 0 6px 16px rgba(91, 43, 214, .30); }
body.ga-pop .ga-timeline__cta:hover { background: var(--pop-violet-dark); color: #fff; }
body.ga-pop .ga-timeline__cta:focus-visible { outline-color: var(--pop-violet); }

/* ---------- Sign-in, sign-up, password and confirmation forms ---------- */
.ga-auth { padding-block: 2rem; }
.ga-auth__card, body.ga-pop .card:has(form.new_user) { max-width: 28rem; margin-inline: auto; border: 0; border-radius: 1.75rem; background: #fff; box-shadow: var(--pop-soft); }
.ga-auth__card { padding: 1.75rem 1.5rem 2rem; }
body.ga-pop .container:has(> .row form.new_user) { margin-top: 2rem !important; margin-bottom: 2rem !important; }
body.ga-pop .card-body:has(> form.new_user) > h2:not(.card-title) { display: none; }      /* the sign-in view prints its heading twice */
body.ga-pop :is(.ga-auth__card, .card-body:has(> form.new_user)) > h2 { margin: 0 0 1.25rem; font-size: 1.75rem; font-weight: 800; text-align: center; }
body.ga-pop :is(form.new_user, form.edit_user) .field { margin-bottom: 1rem; }
body.ga-pop :is(form.new_user, form.edit_user) .field br { display: none; }
body.ga-pop :is(form.new_user, form.edit_user) label { display: inline-block; margin-bottom: .375rem; font: 700 .875rem/1.3 var(--pop-display); color: var(--pop-ink); }
body.ga-pop :is(form.new_user, form.edit_user) .field em { font-size: .8125rem; font-style: normal; color: var(--pop-muted); }
body.ga-pop :is(form.new_user, form.edit_user) :is(input[type="email"], input[type="password"], input[type="text"]) {
  display: block; width: 100%; height: 48px; padding: 0 .875rem; border: 1.5px solid var(--pop-ctl); border-radius: .875rem; background: #fff; font-size: 1rem; color: var(--pop-ink);
}
body.ga-pop :is(form.new_user, form.edit_user) input:focus-visible { border-color: var(--pop-violet); outline: 0; box-shadow: 0 0 0 3px rgba(91, 43, 214, .2); }
body.ga-pop :is(form.new_user, form.edit_user) input[type="checkbox"] { width: 1.125rem; height: 1.125rem; margin-right: .375rem; vertical-align: -.15rem; accent-color: var(--pop-violet); }
body.ga-pop :is(form.new_user, form.edit_user) input[type="checkbox"] + label { margin-bottom: 0; font-family: var(--ga-font); font-weight: 500; }
body.ga-pop :is(form.new_user, form.edit_user) .actions { margin: 1.25rem 0 1rem; }
body.ga-pop :is(form.new_user, form.edit_user) .actions input[type="submit"] {
  width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--pop-violet); color: #fff;
  font: 700 1rem/1.2 var(--pop-display); box-shadow: 0 6px 16px rgba(91, 43, 214, .30);
}
body.ga-pop :is(form.new_user, form.edit_user) .actions input[type="submit"]:hover { background: var(--pop-violet-dark); }
body.ga-pop :is(.ga-auth__card, .card-body:has(> form.new_user)) > a { display: inline-flex; align-items: center; min-height: 40px; margin-right: 1rem; color: var(--pop-violet-dark); font-weight: 600; }
body.ga-pop :is(.ga-auth__card, .card-body:has(> form.new_user)) > br { display: none; }
body.ga-pop #error_explanation { margin-bottom: 1rem; padding: .875rem 1rem; border-radius: 1rem; background: #FDECEA; color: #8C1D18; font-size: .9375rem; }
body.ga-pop #error_explanation h2 { margin: 0 0 .375rem; font-size: 1rem; color: inherit; }
body.ga-pop #error_explanation ul { margin: 0; padding-left: 1.125rem; }

/* At some zoom levels a hairline of the skyline's bottom row showed along the top edge of the scene.
   The boxes are 2px shorter than the artwork, so the artwork's top edge is clipped instead. */
.ga-footscene__skyline { height: calc(var(--pop-skyline-w) * .4672 - 2px); }
body.ga-pop .home-hero::after { height: calc(var(--sky-h) - 2px); }

/* ---------- Cart updating in place: a brief, calm busy state ---------- */
body.ga-pop #cart-combined-checkout[aria-busy="true"] [data-cart-region] { opacity: .6; transition: opacity .15s ease; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { body.ga-pop #cart-combined-checkout[aria-busy="true"] [data-cart-region] { transition: none; } }

/* ---------- Cart: a compact sky band (title only, no skyline) so the cart itself stays on screen ---------- */
body.ga-pop .ga-page-band--compact { padding: .75rem 0 .875rem; }
body.ga-pop .ga-page-band--compact::before { display: none; }
body.ga-pop .ga-page-band--compact::after { -webkit-mask-image: radial-gradient(5.5rem 3rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(5.5rem 3rem at 100% 0, #000 30%, transparent 100%); }   /* small on phones, clear of a long title */
body.ga-pop .ga-page-band--compact .store-hero__title { font-size: 1.5rem; }
body.ga-pop .ga-page-band--compact + #cart-combined-checkout { padding-top: 1rem; }
@media (min-width: 768px) {
  body.ga-pop .ga-page-band--compact { padding: 1.125rem 0 1.25rem; }
  body.ga-pop .ga-page-band--compact .store-hero__title { font-size: 2rem; }
  body.ga-pop .ga-page-band--compact + #cart-combined-checkout { padding-top: 1.5rem; }
  body.ga-pop .ga-page-band--compact::after { -webkit-mask-image: radial-gradient(14rem 4.5rem at 100% 0, #000 30%, transparent 100%); mask-image: radial-gradient(14rem 4.5rem at 100% 0, #000 30%, transparent 100%); }
}
