/* Grabstein's site — global helpers layered on the design-system tokens */
html, body { margin: 0; background: var(--color-bg); }

/* Full-width layout: content spans the viewport with section padding as gutters
   (overrides the DS 1280/1440px container caps). */
:root {
  --container: 100%;
  --container-wide: 100%;
  --gb-brass: #B97D2D;   /* warm brass-gold accent: eyebrows, script, badges (use on DARK) */
  --gb-brass-ink: #8A5A1E; /* darker brass for text on LIGHT/paper — meets WCAG AA (≥4.5:1) */
}
#root { min-height: 100vh; display: flex; flex-direction: column; }
#root > * { flex: none; }
main { flex: 1; }
img { -webkit-user-drag: none; }
* { box-sizing: border-box; }

::selection { background: var(--gb-black); color: var(--gb-warm-white); }

@keyframes gb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Review marquee rows */
.gb-mq-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.gb-mq-row:hover .gb-mq-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .gb-mq-track { animation: none !important; }
}

/* In-place photo strip (menu boards: Classics, Signatures, Case, Coffee).
   Drag-to-scroll / wheel / touch — no auto motion, no scrollbar. Shows exactly
   3 equal landscape tiles per view (a bit wider than tall); drag to reveal more.
   Clean bento feel. */
.gb-photo-scroll {
  --mq-per: 3; --mq-gap: clamp(0.7rem, 1.4vw, 1.1rem);
  overflow-x: auto; overflow-y: hidden;
  cursor: grab; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; -ms-overflow-style: none;
}
.gb-photo-scroll::-webkit-scrollbar { display: none; }
.gb-photo-scroll.is-dragging { cursor: grabbing; }
.gb-photo-scroll-row { display: flex; flex-wrap: nowrap; gap: var(--mq-gap); }
.gb-photo-scroll-item {
  position: relative;
  flex: 0 0 calc((100% - (var(--mq-per) - 1) * var(--mq-gap)) / var(--mq-per));
  aspect-ratio: 1.32; border-radius: 10px; overflow: hidden; background: var(--gb-light-gray);
}
.gb-photo-scroll-item img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.gb-photo-scroll-item::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,10,0.9), rgba(10,10,10,0.42) 45%, rgba(10,10,10,0));
}
.gb-photo-scroll-label {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; pointer-events: none;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--gb-warm-white); font-size: clamp(13px, 1.05vw, 17px); line-height: 1.05;
}
@media (max-width: 760px) { .gb-photo-scroll { --mq-per: 2; } }

@keyframes gb-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gb-show-mobile { display: none !important; }

@media (max-width: 1024px) {
  .gb-hide-mobile { display: none !important; }
  .gb-show-mobile { display: flex !important; }
}

/* ===== Footer ===== */
.gb-foot-input::placeholder { color: rgba(255,255,255,0.45); }

@media (max-width: 1100px) {
  .gb-foot-locwrap { grid-template-columns: 1fr !important; }
  .gb-foot-photo { min-height: 220px !important; order: -1; }
}
@media (max-width: 1000px) {
  .gb-foot-top { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 860px) {
  .gb-foot-locs { grid-template-columns: repeat(2, 1fr) !important; gap: var(--space-5) var(--space-4); }
  .gb-foot-locs > div { border-left: none !important; padding-left: 0 !important; }
}
@media (max-width: 560px) {
  .gb-foot-top { grid-template-columns: 1fr !important; }
  .gb-foot-locs { grid-template-columns: 1fr !important; }
  .gb-foot-bottom { flex-direction: column; align-items: flex-start !important; }
}

a { color: inherit; }

/* Prevent CSS-grid blowout: let grid items shrink below their content's
   intrinsic width so wide images / fixed-width rules can't force horizontal
   scroll on small screens. */
.gb-2col > *, .gb-bec-grid > *, .gb-3col > *, .gb-4col > *,
.gb-hero-bleed > *, .gb-menu-grid > *, .gb-loc-grid > *,
.gb-feat-row > *, .gb-shop-cards > * { min-width: 0; }

/* Full-bleed hero: text column aligns to the content container,
   photo column bleeds through the right gutter to the viewport edge. */
.gb-hero-bleed { display: grid; }
.gb-hero-bleed > .gb-hero-copy { grid-column: 2; }
.gb-hero-bleed > .gb-hero-photo { grid-column: 3 / 5; }
@media (max-width: 1024px) {
  .gb-hero-bleed { grid-template-columns: 1fr !important; min-height: 0 !important; }
  .gb-hero-bleed > .gb-hero-copy, .gb-hero-bleed > .gb-hero-photo { grid-column: 1 / -1 !important; }
  .gb-hero-copy { padding-bottom: var(--space-6) !important; }
  .gb-hero-photo { min-height: 340px !important; }
  /* BEC cut-out anchors to the bottom of the storefront photo, not the text */
  .gb-hero-cutout { grid-row: 2 !important; grid-column: 1 / -1 !important; left: 3% !important; transform: none !important; bottom: 0 !important; width: min(54vw, 300px) !important; }
}

/* ===== Mobile: tighten side gutters site-wide ===== */
@media (max-width: 640px) {
  :root {
    --space-9: 2.5rem;   /* 96 -> 40 */
    --space-8: 1.5rem;   /* 64 -> 24 */
    --space-7: 1.5rem;   /* 48 -> 24 */
    --space-6: 1rem;     /* 32 -> 16 */
  }
}

/* Responsive grid collapses (design uses CSS grid throughout) */
@media (max-width: 980px) {
  .gb-hero-grid { grid-template-columns: 1fr !important; }
  .gb-bec-grid  { grid-template-columns: 1fr !important; }
  .gb-4col      { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-3col      { grid-template-columns: 1fr !important; }
  .gb-2col      { grid-template-columns: 1fr !important; }
  .gb-menu-grid { grid-template-columns: 1fr !important; }
  .gb-loc-grid  { grid-template-columns: 1fr !important; }
}
@media (max-width: 980px) {
  .gb-menu-head  { position: static !important; }
  .gb-menu-items { grid-template-columns: 1fr !important; }
  .gb-loc-grid   { grid-template-columns: 1fr !important; }
  .gb-feat-row   { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .gb-loc-detail { grid-template-columns: 1fr !important; }
  .gb-feat-grid  { grid-template-columns: 1fr !important; }
  .gb-mosaic     { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 160px !important; }
  .gb-mosaic > * { grid-column: auto !important; grid-row: auto !important; }
}
@media (max-width: 560px) {
  .gb-4col { grid-template-columns: 1fr !important; }
  .gb-gallery { grid-template-columns: 1fr 1fr !important; }
}

/* ===== Location detail page (/location) ===== */
/* 4-5 curated tiles → one row on desktop, wraps down responsively */
.gb-loc-vendors { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
@media (max-width: 1100px) {
  .gb-loc-reviews { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
  .gb-loc-info    { grid-template-columns: 1fr !important; }
  .gb-loc-info > div:last-child { min-height: 300px !important; }
}
@media (max-width: 620px) {
  .gb-loc-reviews { grid-template-columns: 1fr !important; }
}
@media (max-width: 700px) {
  .gb-loc-gallery { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-loc-gallery > * { grid-column: auto !important; grid-row: auto !important; }
}
section :where(.gb-hide-mobile) { }

/* ===== Menu page (rebuilt photo-driven board) ===== */
.gb-catnav::-webkit-scrollbar { height: 0; }

@media (max-width: 1200px) {
  .gb-coffee-grid { grid-template-columns: 1fr 1fr 1fr !important; }
  .gb-coffee-grid .gb-cofcol:nth-child(3) { border-right: none !important; }
  .gb-shop-grid { grid-template-columns: 1fr 1fr 1fr !important; gap: 1.6rem !important; }
  .gb-shop-cards { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 1024px) {
  .gb-loc-grid { grid-template-columns: 1fr !important; }
  .gb-menuhero-grid { grid-template-columns: 1fr !important; }
  .gb-menuhero-grid > div:last-child { min-height: 300px !important; border-left: none !important; border-top: 1px solid var(--gb-light-gray) !important; }
  .gb-bagel-grid { grid-template-columns: 1fr !important; }
  .gb-classics-grid { grid-template-columns: 1fr !important; }
  .gb-classics-head { position: static !important; }
  .gb-sig-grid { grid-template-columns: 1fr !important; }
  .gb-sig-head { grid-template-columns: 1fr !important; align-items: start !important; }
  .gb-case-grid { grid-template-columns: 1fr !important; }
  .gb-case-head { grid-template-columns: 1fr !important; align-items: start !important; }
  .gb-snacks-col { border-left: none !important; padding-left: 0 !important; border-top: 1px solid var(--gb-black); padding-top: 2rem; }
  .gb-coffee-grid { grid-template-columns: 1fr 1fr !important; }
  .gb-coffee-grid .gb-cofcol { border-right: none !important; }
}

/* ----- Menu hero v2 + bagels board (ported handoff) ----- */
.gb-menuhero-grid > * { min-width: 0; }
@media (max-width: 1024px) {
  .gb-menuhero-grid { grid-template-columns: 1fr !important; align-items: start !important; }
  .gb-menuhero-grid > div:last-child { min-height: 320px !important; border-left: none !important; border-top: none !important; }
}
.gb-bagel-cards { display: grid; grid-template-columns: repeat(6, 1fr); }
.gb-bagel-subboxes > *, .gb-bagels-head > *, .gb-bagel-cards > *,
.gb-sig-boxes > *, .gb-classics-pricelist > * { min-width: 0; }
@media (max-width: 1200px) {
  .gb-bagel-cards { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 1024px) {
  .gb-sig-boxes { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .gb-classics-pricelist { grid-template-columns: 1fr !important; }
  .gb-classics-pricelist .gb-cl-divider { display: none !important; }
}

/* From the case */
.gb-case-top > *, .gb-case-photos > *, .gb-case-boxes > * { min-width: 0; }
@media (max-width: 1024px) {
  .gb-case-top { grid-template-columns: 1fr !important; }
  .gb-case-boxes { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 720px) {
  .gb-case-boxes { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .gb-case-photos { grid-template-columns: 1fr 1fr !important; }
}

/* Coffee, cooler & the rest */
.gb-coffee-top > *, .gb-coffee-boxes > *, .gb-coffee-list2 > *,
.gb-cooler-icons > *, .gb-retail-grid > *, .gb-coffee-thanks > * { min-width: 0; }
@media (max-width: 1024px) {
  .gb-coffee-top { grid-template-columns: 1fr !important; }
}
@media (max-width: 1100px) {
  .gb-coffee-boxes { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .gb-coffee-list2 { grid-template-columns: 1fr !important; }
  .gb-coffee-list2 .gb-cl-divider { display: none !important; }
  .gb-cooler-icons { grid-template-columns: repeat(2, 1fr) !important; gap: var(--space-5) !important; }
  .gb-retail-grid { grid-template-columns: 1fr !important; }
  .gb-coffee-thanks { grid-template-columns: 1fr !important; }
  .gb-coffee-thanks > div:first-child { border-right: none !important; padding-right: 0 !important; }
}
@media (max-width: 1024px) {
  .gb-bagels-head { flex-wrap: wrap !important; }
  .gb-bagels-head .gb-bagels-divider { display: none !important; }
  .gb-bagels-priceblock { margin-left: 0 !important; }
}
@media (max-width: 720px) {
  .gb-bagel-cards { grid-template-columns: repeat(3, 1fr) !important; }
  .gb-bagel-subboxes { grid-template-columns: 1fr !important; }
  .gb-bagels-priceblock { flex-wrap: wrap !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .gb-bagels-badges { width: 100%; max-width: 100%; flex-wrap: wrap !important; justify-content: flex-start !important; }
  .gb-bagels-badges > div { width: clamp(74px, 22vw, 96px) !important; }
}
@media (max-width: 460px) {
  .gb-bagel-cards { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 760px) {
  .gb-bagel-cells { grid-template-columns: repeat(3, 1fr) !important; }
  .gb-classics-cells { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-sig-cells { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-bakery-inner { grid-template-columns: 1fr !important; }
  .gb-snacks-inner { grid-template-columns: 1fr !important; }
  .gb-coffee-grid { grid-template-columns: 1fr !important; }
  .gb-shop-grid { grid-template-columns: 1fr 1fr !important; }
  .gb-shop-cards { grid-template-columns: repeat(3, 1fr) !important; }
  .gb-feat-row { grid-template-columns: 1fr 1fr !important; gap: 1.4rem 0 !important; }
}

@media (max-width: 480px) {
  .gb-bagel-cells { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-classics-cells { grid-template-columns: 1fr 1fr !important; }
  .gb-shop-grid { grid-template-columns: 1fr !important; }
  .gb-shop-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-feat-row { grid-template-columns: 1fr !important; }
}

/* ===== Reviews page (rebuilt) ===== */
.gb-rb-track, .gb-comm-track { scrollbar-width: thin; scrollbar-color: var(--gb-light-gray) transparent; }
.gb-rb-track::-webkit-scrollbar { height: 8px; }
.gb-rb-track::-webkit-scrollbar-thumb { background: var(--gb-light-gray); border-radius: 4px; }
.gb-rb-track::-webkit-scrollbar-track { background: transparent; }

.gb-typewriter {
  font-family: 'Courier Prime', 'Courier New', Courier, monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 14px;
  color: var(--color-ink-muted);
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .gb-comm-track { grid-template-columns: repeat(5, 1fr) !important; }
}
@media (max-width: 1100px) {
  .gb-rb-head { grid-template-columns: 1fr auto !important; row-gap: var(--space-5) !important; }
  .gb-rb-head > :nth-child(2) { grid-column: 1 !important; }
  .gb-rb-head > :nth-child(3) { display: none !important; }
  .gb-lr-grid { grid-template-columns: 1fr !important; gap: var(--space-7) !important; }
  .gb-lr-cards { grid-template-columns: repeat(3, 1fr) !important; }
  .gb-lr-foot { grid-template-columns: 1fr !important; }
  .gb-lr-footinner { grid-template-columns: 1fr !important; gap: var(--space-5) !important; }
}
@media (max-width: 760px) {
  .gb-lr-cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 820px) {
  .gb-comm-grid { grid-template-columns: 1fr !important; gap: var(--space-5) !important; }
  .gb-comm-track { grid-template-columns: repeat(4, 1fr) !important; }
  .gb-meta-row { justify-content: flex-start !important; }
}
@media (max-width: 560px) {
  .gb-lr-cards { grid-template-columns: 1fr !important; }
  .gb-comm-track { grid-template-columns: repeat(3, 1fr) !important; }
}

/* ===== Contact form ===== */
@media (max-width: 600px) {
  .gb-form-grid { grid-template-columns: 1fr !important; }
  .gb-form-card { padding: var(--space-5) !important; }
}

/* ===== About page (About Us / Mission / Vision / bento) ===== */
.gb-nyc-bw { filter: grayscale(1) contrast(1.05); }

@media (max-width: 1000px) {
  .gb-about-hero { grid-template-columns: 1fr !important; }
  .gb-about-mv { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .gb-about-band { flex-direction: column !important; align-items: flex-start !important; }
  .gb-about-bento { grid-template-areas: "a a b" "a a c" "d d e" "f g g" !important; }
}
@media (max-width: 460px) {
  .gb-mv-card { flex-direction: column !important; gap: var(--space-4) !important; }
  .gb-mv-card > div[aria-hidden] { width: auto !important; height: 1px !important; }
  .gb-about-bento { grid-template-columns: repeat(2, 1fr) !important; grid-template-areas: "a a" "b c" "d d" "e f" "g g" !important; grid-auto-rows: clamp(120px, 38vw, 170px) !important; }
}


/* ---- Reviews-from-the-block infinite marquee ---- */
.gb-rb-marquee-track { animation: gb-rb-scroll 140s linear infinite; will-change: transform; }
.gb-rb-marquee:hover .gb-rb-marquee-track { animation-play-state: paused; }
@keyframes gb-rb-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .gb-rb-marquee-track { animation: none; } }

/* ===== BEC scroll stacker ===== */
/* "Build your BEC." sits in the narrow left column — shrink + nowrap so it stays one line */
.gb-bec-head h2 { font-size: clamp(1.9rem, 3.6vw, 3.9rem) !important; white-space: nowrap; }
@media (max-width: 980px) {
  .gb-bec-steps { flex-direction: row !important; flex-wrap: wrap; gap: var(--space-3) var(--space-5) !important; margin-top: var(--space-5) !important; }
  .gb-bec-steps .gb-bec-step-desc { display: none !important; }
  .gb-bec-stage { width: min(380px, 84vw) !important; }
  .gb-bec-copy p { display: none !important; }
}

/* ===== Spreads by Lb board ===== */
@media (max-width: 980px) {
  .gb-spreads-grid { grid-template-columns: 1fr !important; }
  .gb-spreads-list { border-left: none !important; padding-left: 0 !important; }
}

/* ===== Locations — title banner + storefront card row + gallery row ===== */
/* black full-width title banner */
.gb-loc-title {
  background: var(--gb-black); color: var(--gb-warm-white); border-radius: 22px;
  padding: clamp(1.6rem, 2.6vw, 2.8rem) clamp(1.6rem, 2.8vw, 3rem);
  display: flex; align-items: center; justify-content: space-between; gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 16px;
}
.gb-loc-title-text { min-width: 0; }
.gb-loc-title-bagels { display: flex; align-items: center; flex: none; }
.gb-loc-title-bagels .gb-loc-bagel-icon:not(:first-child) { margin-left: -18px; }
.gb-loc-bagel-icon {
  width: clamp(58px, 6.5vw, 92px); height: clamp(58px, 6.5vw, 92px); border-radius: 50%;
  overflow: hidden; flex: none; border: 3px solid var(--gb-black);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.gb-loc-bagel-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* row of storefront cards */
.gb-loc-bento {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch;
}
.gb-loc-bento > * { min-width: 0; }
@media (max-width: 1100px) { .gb-loc-bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .gb-loc-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .gb-loc-bento { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .gb-loc-title { flex-direction: column; align-items: flex-start; }
  .gb-loc-title-bagels { align-self: center; }
}

/* ===== Catering — Choose Your Location (imported design) ===== */
.gb-cat-loccard {
  display: flex; flex-direction: column; height: 100%;
  background: var(--gb-warm-white); border: 1px solid var(--gb-light-gray);
  border-radius: 10px; padding: var(--space-6);
}
.gb-cat-flatiron {
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
  background: var(--gb-warm-white); border: 1px solid var(--gb-light-gray);
  border-radius: 10px; overflow: hidden;
}
.gb-cat-flatiron-text {
  display: flex; flex-direction: column; align-items: flex-start;
  justify-content: center; padding: clamp(1.6rem, 3vw, var(--space-7));
}
.gb-cat-flatiron-photo { position: relative; min-height: 320px; background: var(--gb-light-gray); }
.gb-cat-orderbtn {
  margin-top: var(--space-6); display: inline-flex; align-items: center; gap: 10px;
  background: var(--gb-black); color: var(--gb-warm-white); border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 15px; padding: 0.95rem 1.5rem; border-radius: 8px;
  transition: background var(--dur-fast) var(--ease-out);
}
.gb-cat-orderbtn:hover { background: #E89331; }
@media (max-width: 900px) {
  .gb-cat-loc { grid-template-columns: 1fr !important; }
  .gb-cat-loc-cards { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 620px) {
  .gb-cat-flatiron { grid-template-columns: 1fr; }
  .gb-cat-flatiron-photo { min-height: 220px; }
  .gb-cat-loc-cards { grid-template-columns: 1fr !important; }
}

/* ===== Catering page ===== */
/* ===== Catering page ===== */
.gb-cat-pkg > *, .gb-cat-cards > *, .gb-cat-card > * { min-width: 0; }
.gb-cat-cardimg { min-width: 0; }
.gb-cat-cardimg img { min-width: 0; }

/* Hero stage — food photo anchored right, text overlaid left */
.cat-hero-stage { position: relative; overflow: hidden; }
.cat-hero-img {
  position: absolute; top: 0; bottom: 0; right: var(--space-6);
  height: 100%; width: 58%; object-fit: contain; object-position: right center;
  pointer-events: none;
}
.cat-hero-inner {
  position: relative; z-index: 1;
  padding: var(--space-9) var(--space-8);
  min-height: min(76vh, 740px);
  display: flex; align-items: center;
}
.cat-hero-text { width: 100%; max-width: 620px; }

@media (max-width: 980px) {
  .cat-hero-stage { display: flex; flex-direction: column; }
  .cat-hero-inner { order: 1; min-height: auto; padding-bottom: var(--space-5); }
  .cat-hero-img {
    position: static; order: 2; width: 100%; height: auto;
    padding: 0 var(--space-8) var(--space-7); box-sizing: border-box;
  }
}

@media (max-width: 1080px) {
  .gb-cat-pkg { grid-template-columns: 1fr !important; gap: var(--space-7) !important; }
  .gb-cat-pkg > div:first-child { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-6); align-items: end; }
  .gb-cat-pkg > div:first-child > h2 { grid-column: 1 / -1; }
  .gb-cat-pkg > div:first-child > hr { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .gb-cat-feat { grid-template-columns: repeat(2, 1fr) !important; }
  .gb-cat-feat > div:nth-child(odd) { padding-left: 0 !important; border-left: none !important; }
  .gb-cat-feat > div:nth-child(n+3) { border-top: 1px solid var(--gb-light-gray); }
  .gb-cat-addons { flex-wrap: wrap; }
  .gb-cat-addons > div { flex: 1 1 33% !important; min-width: 200px; }
  .gb-cat-addnote { display: none !important; }
}
@media (max-width: 900px) {
  .gb-cat-pkg > div:first-child { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .gb-cat-cards { grid-template-columns: 1fr !important; }
  .gb-cat-addons > div { flex: 1 1 50% !important; }
}
@media (max-width: 560px) {
  .gb-cat-feat { grid-template-columns: 1fr !important; }
  .gb-cat-feat > div { border-left: none !important; padding-left: 0 !important; }
  .gb-cat-feat > div:nth-child(n+2) { border-top: 1px solid var(--gb-light-gray); }
  .gb-cat-card { grid-template-columns: 1fr !important; }
  .gb-cat-cardimg { aspect-ratio: 16 / 10; }
  .gb-cat-addons > div { flex: 1 1 100% !important; border-left: none !important; border-top: 1px solid var(--gb-light-gray); }
}



/* ===== Header: 20px nav links need the hamburger earlier ===== */
@media (max-width: 1240px) {
  header nav.gb-hide-mobile, header div.gb-hide-mobile { display: none !important; }
  header .gb-show-mobile { display: flex !important; }
}


/* ===== All-locations map (Leaflet, /locations) ===== */
.gb-loc-map { filter: grayscale(0.25) contrast(1.02); z-index: 0; }
.gb-map-pin-wrap { pointer-events: auto; }
.gb-map-pin {
  position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gb-brass); border: 3px solid var(--gb-black);
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.gb-map-pin.is-soon { background: var(--gb-warm-white); }
.gb-map-pin-label {
  position: absolute; left: 12px; top: -11px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: 14px; line-height: 1;
  color: var(--gb-warm-white); background: rgba(15,15,15,0.88);
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 5px 9px;
}
.gb-map-pop { font-family: var(--font-body); font-size: 14px; line-height: 1.5; }
.gb-map-pop strong { font-family: var(--font-display); font-size: 15px; text-transform: uppercase; letter-spacing: 0.02em; }
.gb-map-pop a { color: var(--gb-brass-ink); font-weight: 700; text-decoration: none; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
@media (max-width: 700px) {
  .gb-map-pin-label { font-size: 12px; padding: 4px 7px; }
}
