/* =========================================================================
   e-CATALOGUE THEME
   Scoped to the Gift Catalogue page only (body.catalogue-page). Mirrors the
   printed / Heyzine flipbook: deep navy, gold, cream, a diamond motif and a
   serif display face. Nothing here touches the rest of the app.
   ========================================================================= */

.catalogue-page {
  --gc-navy: #0e1c36;
  --gc-navy-soft: #16294a;
  --gc-navy-line: #24365a;
  --gc-gold: #b8923f;
  --gc-gold-bright: #d4af5a;
  --gc-gold-soft: #f1e4c3;
  --gc-cream: #f6efe1;
  --gc-cream-alt: #efe4cf;
  --gc-ink: #241c0f;
  --gc-ink-muted: #6b6353;
  --gc-brown: #8a6a45;
  --gc-brown-deep: #4e3524;
  --gc-serif: Georgia, "Times New Roman", "Cambria", serif;
  --gc-script: "Segoe Script", "Brush Script MT", cursive;
}

.catalogue-page .site-main { max-width: 1800px; }

/* ---- Browse area: semi-transparent theme-color wash, so the page-wide
   catalogue_background_url (set on body.catalogue-page, see catalogue.html)
   shows through faintly behind the search bar and product grid too, not
   just in the gaps around this panel. With no background configured,
   body is a solid matching cream, so this reads as plain opaque cream -
   same as before. The filters bar and product cards keep their own
   fully opaque backgrounds so text stays crisp either way. */
.gc-browse {
  background-color: rgba(246, 239, 225, 0.55);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

/* ---- Hero: a slim, full-bleed banner showing the uploaded photo, not
   the old navy "book cover" with a title/features/tagline. ---- */
.gc-hero {
  position: relative;
  overflow: hidden;
  margin-left: calc(50% - var(--page-w, 100vw) / 2);
  margin-right: calc(50% - var(--page-w, 100vw) / 2);
  margin-top: calc(var(--space-6) * -1);
  margin-bottom: var(--space-6);
  background-color: var(--gc-navy);
  line-height: 0;
}
.gc-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  object-position: center bottom;
}
@media (max-width: 760px) {
  .gc-hero__img { aspect-ratio: 2 / 1; }
}

/* ---- Filters -------------------------------------------------------------- */
.gc-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 230px) minmax(0, 230px);
  gap: var(--space-4);
  background: var(--gc-cream);
  border: 1px solid var(--gc-gold-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-5);
  position: sticky;
  /* Flush against the header/categories bar, not var(--site-header-h)
     + a gap: once this bar is stuck, nothing else on the page is
     sticky, so the product grid below it is a normal-flow element
     that keeps scrolling - it doesn't "stay behind" this bar, it just
     scrolls past underneath, same as it scrolls past the header. Any
     gap between the sticky header and this sticky bar is therefore a
     strip with nothing opaque covering it, and whatever part of the
     grid happens to be scrolled to that exact position shows through.
     Confirmed on the live site: with the old "+ var(--space-3)" gap,
     product card tops were visible in that strip once scrolled. */
  top: var(--site-header-h, 112px);
  z-index: 20;
  box-shadow: 0 10px 24px rgba(14, 28, 54, 0.08);
}
.gc-filters__field { display: flex; flex-direction: column; gap: 6px; }
.gc-filters__field label {
  font-family: var(--gc-serif);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--gc-navy);
  font-weight: 700;
}
.gc-filters input[type="search"],
.gc-filters select {
  border: 1px solid var(--gc-gold-soft);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--gc-ink);
}
.gc-filters input[type="search"]:focus,
.gc-filters select:focus {
  outline: none;
  border-color: var(--gc-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 63, 0.2);
}

/* ---- Grid & cards ---------------------------------------------------------- */
.gc-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.gc-card {
  background-color: var(--gc-cream);
  background-image: var(--gc-card-custom-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--gc-gold-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 22px rgba(14, 28, 54, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(14, 28, 54, 0.14);
}

.gc-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  /* No background of its own: the custom (or default cream) background now
     lives on .gc-card itself and spans the whole card, photo and body
     together, so it reads as one continuous image. When there's no custom
     upload these two soft radial tints are the only texture, same look as
     before. */
  background-image:
    radial-gradient(ellipse 65% 75% at 88% -12%, rgba(122, 90, 58, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 70% at -10% 112%, rgba(78, 53, 36, 0.24), transparent 58%);
  background-size: cover, cover;
  background-position: center, center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.gc-card__media img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(46, 30, 15, 0.2));
  mix-blend-mode: multiply;
}
.gc-card__monogram {
  position: relative;
  z-index: 1;
  width: 72px; height: 72px; border-radius: 50%;
  border: 1.5px solid var(--gc-brown);
  display: grid; place-items: center;
  font-family: var(--gc-serif);
  font-size: 26px;
  color: var(--gc-brown-deep);
  background: rgba(255, 255, 255, 0.55);
}
.gc-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(138, 106, 69, 0.16) 0%, transparent 42%),
    radial-gradient(circle at 14% 86%, rgba(78, 53, 36, 0.14) 0%, transparent 46%);
  pointer-events: none;
}
.gc-card__code {
  position: absolute; top: 10px; left: 10px;
  background: var(--gc-code-bg, var(--gc-navy));
  border: 1px solid var(--gc-gold);
  color: var(--gc-code-color, #fdf6e3);
  font-family: var(--font-mono);
  font-size: var(--gc-code-size, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  /* Above the product photo (z-index: 1) so a large image never covers the
     ID chip; below .pbadge (z-index: 3), which takes this corner instead
     when a Best Seller / Trending / New badge is present. */
  z-index: 2;
}
.gc-card__badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gc-navy);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--gc-gold);
  z-index: 2;
}

.gc-card__body {
  padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1;
  position: relative;
}
/* A readable fade over the shared card background: the image keeps showing
   through near the top (where it meets the photo) and settles into solid
   cream by the time the description/materials text starts. */
.gc-card__body::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(246, 239, 225, 0.5) 0%, rgba(246, 239, 225, 0.94) 28%, var(--gc-cream) 55%);
  pointer-events: none;
  z-index: 0;
}
.gc-card__body > * { position: relative; z-index: 1; }
.gc-card__eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-ink-muted);
}
.gc-card__name {
  font-family: var(--gc-serif);
  font-size: 18px;
  color: var(--gc-navy);
  margin: 0;
  line-height: 1.25;
}
.gc-card__desc {
  font-size: 12.5px;
  color: var(--gc-ink-muted);
  font-style: italic;
  margin: 0;
}

.gc-spec-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.gc-spec-list li { display: flex; gap: 7px; font-size: 12px; color: var(--gc-ink); }
.gc-spec-list li::before { content: "\25C6"; color: var(--gc-gold); font-size: 9px; margin-top: 3px; }
.gc-spec-list b { font-weight: 700; margin-right: 3px; }

.gc-card__price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--gc-gold-soft);
}
.gc-card__price {
  font-family: var(--gc-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--gc-navy);
}
.gc-card__unit { font-size: 11px; color: var(--gc-ink-muted); }

.gc-pill {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em;
  border: 1px solid currentColor;
}
.gc-pill--on { color: #3f7a4c; background: #eef6ef; }
.gc-pill--off { color: #a13a3a; background: #faeeee; }
.gc-pill--preorder { color: #fff; background: #7a4fb5; letter-spacing: 0.06em; text-transform: uppercase; }

.gc-card__footer { padding: 0 var(--space-4) var(--space-4); margin-top: auto; }
.gc-card__footer--row { display: flex; gap: 8px; }
.gc-btn-order {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: linear-gradient(180deg, var(--gc-gold-bright), var(--gc-gold));
  color: var(--gc-navy);
  font-family: var(--gc-serif);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.03em;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid var(--gc-gold);
}
.gc-btn-order:hover { text-decoration: none; filter: brightness(1.05); }
.gc-btn-cart {
  flex: 0 0 auto;
  display: grid; place-items: center;
  width: 44px;
  background: var(--gc-navy);
  color: var(--gc-gold-bright);
  border: 1px solid var(--gc-navy);
  border-radius: var(--radius-md);
  cursor: pointer;
}
.gc-btn-cart:hover { filter: brightness(1.15); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  /* Search on its own row; Category and Collection side by side (the bar stays pinned, so keep it short). */
  .gc-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
  .gc-filters__field:first-child { grid-column: 1 / -1; }
}

.gc-empty { grid-column: 1 / -1; padding: var(--space-5) 0; }

/* Whole card opens the product page (stretched name link); the order and
   cart buttons sit above that layer so they keep their own actions. */
.gc-card { position: relative; }
.gc-card__link { color: inherit; }
.gc-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.gc-card__link:hover { text-decoration: none; color: var(--gc-gold); }
.gc-card__link:focus-visible { outline: none; }
.gc-card:has(.gc-card__link:focus-visible) { outline: 3px solid var(--color-gold, #f5b51b); outline-offset: 2px; }
.gc-card__footer { position: relative; z-index: 2; }

/* ---- Colour dots on cards --------------------------------------------------- */
.gc-card__swatches { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 2px 0 0; }
.gc-card__swatches span { width: 16px; height: 16px; border-radius: 50%; background: var(--swatch, #e6dec8); border: 1px solid rgba(14, 28, 54, 0.2); }
.gc-card__swatches small { font-size: 11px; color: var(--gc-ink-muted); }
.gc-card__swatch-count { margin-left: 4px; }

/* ---- Breadcrumb ------------------------------------------------------------- */
.gc-breadcrumb ol { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; }
.gc-breadcrumb li { display: inline-flex; align-items: center; }
.gc-breadcrumb li + li::before { content: "\203A"; margin: 0 8px; color: var(--gc-gold); font-weight: 700; }
.gc-breadcrumb a { color: var(--color-primary, #087f6d); font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.gc-breadcrumb [aria-current="page"] { font-weight: 600; color: var(--gc-navy); }

/* ---- Phones: two compact cards per row --------------------------------------- */
@media (max-width: 600px) {
  /* .catalogue-page prefix: must beat responsive.css (loaded later). */
  .catalogue-page .gc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .gc-card__body { padding: 10px; gap: 5px; }
  .gc-card__desc, .gc-spec-list, .gc-card__badge { display: none; }
  .gc-card__name { font-size: 15px; }
  .gc-card__code { top: 6px; left: 6px; }
  .gc-card__price-row { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 6px; }
  .gc-card__price { font-size: 16px; }
  .gc-card__footer { padding: 0 10px 10px; }
  .gc-btn-order { font-size: 12.5px; padding: 0 8px; min-height: 44px; letter-spacing: 0; }
  .gc-btn-cart { width: 44px; min-height: 44px; }
  .gc-card__swatch-count { display: none; }
}
@media (max-width: 340px) {
  .catalogue-page .gc-grid { grid-template-columns: minmax(0, 1fr); }
}

.gc-btn-inquire { background: var(--gc-cream); color: var(--gc-navy); border-color: var(--gc-gold); }


/* ---- Category banner caption (Gift for a Cause) ------------------------------------
   Same banner image; a translucent, blurred panel on the LEFT only. The banner
   grows when needed so the caption always stays inside it. */
.gc-hero__caption[hidden] { display: none; }
.gc-hero--captioned {
  display: grid;
  align-items: center;
  min-height: calc(var(--page-w, 100vw) / 3);
  line-height: normal;
}
.gc-hero--captioned .gc-hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  aspect-ratio: auto;
}
.gc-hero__caption {
  position: relative; z-index: 1;
  width: 100%;
  padding: clamp(20px, 3vw, 44px) clamp(16px, 4vw, 56px) clamp(20px, 3vw, 44px) clamp(16px, 5vw, 96px);
}
.gc-hero__panel {
  width: min(48%, 640px);
  /* See-through frosted glass: the banner stays visible behind the text. */
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.42), rgba(255, 248, 235, 0.26));
  -webkit-backdrop-filter: blur(7px) saturate(1.15);
  backdrop-filter: blur(7px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 16px;
  padding: clamp(22px, 2.4vw, 34px);
  box-shadow: 0 12px 32px rgba(20, 35, 50, 0.12);
  color: #1d2a3a;
}
.gc-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #1f5a40;
}
.gc-hero__eyebrow span { width: 28px; height: 2px; background: #b98b37; border-radius: 2px; }
.gc-hero__headline {
  margin: 0;
  font-family: var(--font-souvenir, "Playfair Display", Georgia, serif);
  font-size: clamp(26px, 2.9vw, 40px); font-weight: 600; line-height: 1.15;
  color: #10243a;
}
.gc-hero__rule { display: flex; align-items: center; margin: 14px 0 14px; }
.gc-hero__rule i { width: 64px; height: 2px; background: linear-gradient(90deg, #b98b37, rgba(185, 139, 55, 0.2)); border-radius: 2px; }
.gc-hero__body {
  margin: 0 0 12px;
  font-size: clamp(14px, 1.15vw, 16px); line-height: 1.6;
  color: #24313f;
  max-width: 62ch;
}
.gc-hero__leaf { display: flex; align-items: center; gap: 10px; margin: 16px 0 10px; color: #b98b37; }
.gc-hero__leaf i { flex: 1; max-width: 220px; height: 1px; background: rgba(185, 139, 55, 0.55); }
.gc-hero__closing {
  margin: 0;
  font-family: var(--font-souvenir, "Playfair Display", Georgia, serif);
  font-style: italic; font-weight: 600;
  font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45;
  color: #1f5a40;
  max-width: 60ch;
}

/* Tablet: a little wider panel, tighter type. */
@media (max-width: 1024px) {
  .gc-hero__panel { width: min(58%, 560px); }
}
/* Phones: a strip of the banner stays visible above a nearly full-width panel. */
@media (max-width: 700px) {
  .gc-hero--captioned { min-height: 0; align-items: end; }
  .gc-hero__caption { padding: 34vw 12px 14px; }
  .gc-hero__panel { width: 100%; padding: 20px 18px; border-radius: 14px; }
  .gc-hero__headline { font-size: 26px; }
  .gc-hero__body { font-size: 14.5px; }
  .gc-hero__closing { font-size: 15.5px; }
}

/* Lighter glass: a soft glow keeps the caption readable on busy photos. */
.gc-hero__panel .gc-hero__eyebrow,
.gc-hero__panel .gc-hero__headline,
.gc-hero__panel .gc-hero__body,
.gc-hero__panel .gc-hero__closing { text-shadow: 0 0 12px rgba(255, 250, 240, 0.85), 0 0 2px rgba(255, 250, 240, 0.9); }
.gc-hero__panel .gc-hero__body { color: #16202c; font-weight: 500; }
.gc-hero__panel .gc-hero__closing { color: #144730; }

/* ---- Living glass: the tint fades between light colours (set by
   catalogue.js), and the panel zooms/wiggles a little on hover. ---- */
.gc-hero__panel {
  position: relative;
  isolation: isolate;
  --tint: rgba(255, 244, 222, 0.42);
  --tint-strength: 1;
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.gc-hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(120% 90% at 15% 10%, var(--tint) 0%, transparent 70%),
              linear-gradient(135deg, var(--tint), transparent 85%);
  opacity: var(--tint-strength);
  transition: opacity 2.4s ease-in-out;
}
/* background colours can't animate inside gradients, so the tint is also
   painted as a plain colour layer that does fade smoothly. */
.gc-hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background-color: var(--tint);
  opacity: calc(var(--tint-strength) * 0.8);
  transition: background-color 2.4s ease-in-out, opacity 2.4s ease-in-out;
  pointer-events: none;
}
@property --tint { syntax: "<color>"; inherits: true; initial-value: rgba(255, 244, 222, 0.42); }
.gc-hero__panel { transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease, --tint 2.4s ease-in-out; }
.gc-hero__panel:hover {
  transform: scale(1.025);
  box-shadow: 0 18px 44px rgba(20, 35, 50, 0.2);
  animation: gc-wiggle 0.6s ease-in-out 1;
}
@keyframes gc-wiggle {
  0% { transform: scale(1.025) rotate(0deg); }
  25% { transform: scale(1.03) rotate(-0.7deg); }
  50% { transform: scale(1.03) rotate(0.6deg); }
  75% { transform: scale(1.028) rotate(-0.3deg); }
  100% { transform: scale(1.025) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .gc-hero__panel, .gc-hero__panel::before, .gc-hero__panel::after { transition: none; }
  .gc-hero__panel:hover { transform: none; animation: none; }
}
@media (hover: none) {
  .gc-hero__panel:hover { transform: none; animation: none; }
}

/* ---- Caption sizing: keep the banner's centre title ("DFAMPC / Gift
   Catalogue 2026", which starts about 36% across) uncovered. ---- */
/* Wide screens: a slim panel inside the left third; type scales with the
   width so the banner never has to grow (growing would crop the image and
   push its title sideways). */
@media (min-width: 1200px) {
  .gc-hero--captioned { min-height: calc(var(--page-w, 100vw) / 2.97); }
  .gc-hero__caption { padding: 2vw 0 2vw clamp(16px, 2.4vw, 64px); }
  .gc-hero__panel {
    width: min(30.5vw, 620px);
    padding: clamp(14px, 1.3vw, 28px) clamp(16px, 1.55vw, 32px);
    border-radius: clamp(12px, 1vw, 16px);
  }
  .gc-hero__eyebrow { font-size: clamp(10px, 0.66vw, 13px); letter-spacing: 0.16em; margin-bottom: 0.45vw; gap: 0.6vw; }
  .gc-hero__eyebrow span { width: 1.4vw; }
  .gc-hero__headline { font-size: clamp(19px, 1.8vw, 36px); }
  .gc-hero__rule { margin: 0.6vw 0 0.7vw; }
  .gc-hero__rule i { width: 3.2vw; }
  .gc-hero__body { font-size: clamp(11.5px, 0.8vw, 15.5px); line-height: 1.5; margin-bottom: 0.55vw; }
  .gc-hero__leaf { margin: 0.7vw 0 0.45vw; }
  .gc-hero__leaf svg { width: clamp(14px, 1vw, 20px); height: auto; }
  .gc-hero__closing { font-size: clamp(12px, 0.88vw, 17px); line-height: 1.4; }
}
/* Tablets and phones: no room beside the title, so the whole banner shows
   uncovered and the glass caption sits just below it. */
@media (max-width: 1199px) {
  .gc-hero--captioned { display: block; min-height: 0; background-color: transparent; }
  .gc-hero--captioned .gc-hero__img { position: static; height: auto; aspect-ratio: 2161 / 728; }
  .gc-hero__caption { padding: 0 16px 6px; margin-top: 14px; }
  .gc-hero__panel { width: 100%; max-width: 820px; margin: 0 auto; padding: 22px 24px; }
  .gc-hero__headline { font-size: clamp(22px, 3.4vw, 32px); }
  .gc-hero__body { font-size: 15px; }
  .gc-hero__closing { font-size: 16px; }
}
@media (max-width: 700px) {
  .gc-hero__caption { padding: 0 10px 4px; margin-top: 10px; }
  .gc-hero__panel { padding: 18px 16px; }
  .gc-hero__headline { font-size: 24px; }
  .gc-hero__body { font-size: 14.5px; }
  .gc-hero__closing { font-size: 15.5px; }
}


/* The photo opens the product too (not only the name). */
.gc-card__media-link { position: absolute; inset: 0; z-index: 4; }

/* ---- Phones: the filters live in a "Search" panel that slides in from the left;
   a tab on the left edge of the screen opens it. ---------------------------------- */
.gc-filter-tab, .gc-filter-scrim, .gc-filters__head, .gc-filters__done { display: none; }
@media (max-width: 720px) {
  .gc-filter-tab {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    position: fixed; left: 0; top: 46%; z-index: 45; transform: translateY(-50%);
    padding: 12px 7px 14px 6px; border: 0; border-radius: 0 14px 14px 0;
    background: var(--gc-navy, #10243a); color: #fff; cursor: pointer;
    box-shadow: 4px 6px 18px rgba(16, 36, 58, .28);
  }
  .gc-filter-tab span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
  .gc-filter-tab__dot { position: absolute; top: 6px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #f5b51b; }
  body.gc-filters-open .gc-filter-tab { opacity: 0; pointer-events: none; }

  .gc-filter-scrim { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(16, 36, 58, .45);
    opacity: 0; transition: opacity .3s ease; }
  .gc-filter-scrim[hidden] { display: none; }
  body.gc-filters-open .gc-filter-scrim { opacity: 1; }

  .gc-filters {
    position: fixed !important; top: 0 !important; left: 0; bottom: 0; z-index: 71;
    width: min(320px, 86vw); margin: 0; border-radius: 0 18px 18px 0;
    display: flex !important; flex-direction: column; gap: var(--space-4);
    padding: calc(var(--space-4) + env(safe-area-inset-top)) var(--space-4) var(--space-4);
    overflow-y: auto; transform: translateX(-105%); transition: transform .34s cubic-bezier(.22, .8, .3, 1);
    box-shadow: 10px 0 40px rgba(16, 36, 58, .25); visibility: hidden;
  }
  body.gc-filters-open .gc-filters { transform: none; visibility: visible; }
  .gc-filters__field:first-child { grid-column: auto; }
  .gc-filters__head { display: flex; align-items: center; justify-content: space-between; }
  .gc-filters__head strong { font-family: var(--font-display, Georgia, serif); font-size: 20px; color: var(--gc-navy, #10243a); }
  .gc-filters__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gc-gold-soft, #e7d7b0);
    background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--gc-navy, #10243a); }
  .gc-filters__done { display: flex; justify-content: center; margin-top: auto; min-height: 46px; }
  body.gc-filters-open { overflow: hidden; }
}
@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .gc-filters, .gc-filter-scrim { transition: none; }
}

/* Short screens: a lower banner, and on very short windows the filter bar
   scrolls with the page instead of staying pinned under the header. */
@media (min-width: 721px) and (max-height: 720px) {
  .gc-hero__img { max-height: 34vh; }
}
@media (min-width: 721px) and (max-height: 600px) {
  .gc-filters { position: relative; top: auto; }
}
