/*
 * GPS product-page (catalog mode) styles.
 * Ported from the approved product.html mockup, scoped under body.gps-pdp
 * so nothing here can leak into the rest of the (still-stock-Astra) site.
 * Only the breadcrumb bar through the CTA banner is covered here — header,
 * nav and footer are intentionally out of scope until that redesign.
 */

/* Reserve the vertical scrollbar's width up front on these pages so
 * expanding the sidebar category tree (which can push the page past the
 * viewport height) doesn't make a scrollbar suddenly appear and shift the
 * whole centered layout sideways. */
html:has(body.gps-pdp) {
  scrollbar-gutter: stable;
}

body.gps-pdp {
  --red: #E70012;
  --gold: #F7B000;
  --ink: #0E0F11;
  --charcoal: #1B1D20;
  --charcoal-2: #232629;
  --slate: #5B6166;
  --paper: #F6F5F3;
  --paper-2: #EEECE8;
  --white: #FFFFFF;
  --line-dark: rgba(0, 0, 0, .09);
  --maxw: 1320px;
}

body.gps-pdp .pdp-layout,
body.gps-pdp .breadcrumb-bar,
body.gps-pdp .cta-banner {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.gps-pdp .pdp-layout *,
body.gps-pdp .breadcrumb-bar *,
body.gps-pdp .cta-banner * {
  box-sizing: border-box;
}

body.gps-pdp h1.pdp-title,
body.gps-pdp .pdp-layout h2,
body.gps-pdp .pdp-layout h3,
body.gps-pdp .pdp-layout h4,
body.gps-pdp .cta-inner h2,
body.gps-pdp .side-nav-head {
  font-family: 'Archivo', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

body.gps-pdp .pdp-layout img,
body.gps-pdp .cta-banner img { max-width: 100%; display: block; }
body.gps-pdp .pdp-layout a,
body.gps-pdp .breadcrumb-bar a,
body.gps-pdp .cta-banner a { color: inherit; text-decoration: none; }

body.gps-pdp .wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

body.gps-pdp .eyebrow {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  display: flex; align-items: center; gap: 10px;
}
body.gps-pdp .eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

body.gps-pdp .btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px;
  font-weight: 700; font-size: 14px; border-radius: 3px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .18s ease; white-space: nowrap;
}
body.gps-pdp .btn-gold { background: var(--gold); color: var(--ink); }
body.gps-pdp .btn-gold:hover { background: #ffbf1f; transform: translateY(-1px); }
body.gps-pdp .btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
body.gps-pdp .btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
body.gps-pdp .btn-outline-dark { border-color: rgba(0,0,0,.25); color: var(--ink); }
body.gps-pdp .btn-outline-dark:hover { border-color: var(--ink); background: rgba(0,0,0,.04); }
body.gps-pdp .btn-red { background: var(--red); color: #fff; }
body.gps-pdp .btn-red:hover { background: #c40010; transform: translateY(-1px); }
body.gps-pdp .btn-sm { padding: 9px 16px; font-size: 13px; }
body.gps-pdp .btn svg { width: 15px; height: 15px; flex: none; }

/* Breadcrumb */
body.gps-pdp .breadcrumb-bar { background: var(--paper); border-bottom: 1px solid var(--line-dark); }
body.gps-pdp .breadcrumb-bar .wrap { display: flex; align-items: center; gap: 8px; height: 52px; font-size: 13px; color: var(--slate); flex-wrap: wrap; }
body.gps-pdp .breadcrumb-bar a { color: var(--slate); font-weight: 600; }
body.gps-pdp .breadcrumb-bar a:hover { color: var(--red); }
body.gps-pdp .breadcrumb-bar .sep { color: #C6C9CB; }
body.gps-pdp .breadcrumb-bar .current { color: var(--ink); font-weight: 700; }

/* Layout */
body.gps-pdp .pdp-layout { max-width: var(--maxw); margin: 0 auto; padding: 44px 32px 100px; display: grid; grid-template-columns: 290px 1fr; gap: 48px; align-items: start; }

/* Sidebar tree */
body.gps-pdp .side-nav { position: sticky; top: 24px; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; background: #fff; }
body.gps-pdp .side-nav-head { background: var(--ink); color: #fff; padding: 16px 18px; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
body.gps-pdp .tree { padding: 10px 0; }
body.gps-pdp .tree-l1 { border-bottom: 1px solid var(--line-dark); }
body.gps-pdp .tree-l1:last-child { border-bottom: none; }
body.gps-pdp .tree-l1-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 18px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--charcoal);
  transition: background .15s ease;
}
body.gps-pdp .tree-l1-head:hover { background: var(--paper); }
body.gps-pdp .tree-l1.open > .tree-l1-head { color: var(--red); }
body.gps-pdp .tree-l1-head .chev { width: 9px; height: 9px; border-right: 2px solid #9AA0A4; border-bottom: 2px solid #9AA0A4; transform: rotate(-45deg); transition: transform .2s ease; flex: none; }
body.gps-pdp .tree-l1.open > .tree-l1-head .chev { transform: rotate(45deg); border-color: var(--red); }
body.gps-pdp .tree-l2-wrap { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
body.gps-pdp .tree-l1.open > .tree-l2-wrap { max-height: 2000px; }
body.gps-pdp .tree-l2 { border-top: 1px solid var(--line-dark); }
body.gps-pdp .tree-l2-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 18px 10px 30px; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--slate);
}
body.gps-pdp .tree-l2-head:hover { color: var(--ink); background: var(--paper); }
body.gps-pdp .tree-l2.open > .tree-l2-head { color: var(--ink); background: var(--paper-2); }
body.gps-pdp .tree-l2-head .chev-sm { width: 7px; height: 7px; border-right: 1.6px solid #B6BABD; border-bottom: 1.6px solid #B6BABD; transform: rotate(-45deg); transition: transform .2s ease; flex: none; }
body.gps-pdp .tree-l2.open > .tree-l2-head .chev-sm { transform: rotate(45deg); }
body.gps-pdp .tree-l3-wrap { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: #FAFAF9; }
body.gps-pdp .tree-l2.open > .tree-l3-wrap { max-height: 1000px; }
body.gps-pdp .tree-l3 { display: block; padding: 9px 18px 9px 44px; font-size: 13px; font-weight: 500; color: var(--slate); border-left: 2px solid transparent; }
body.gps-pdp .tree-l3:hover { color: var(--red); }
body.gps-pdp .tree-l3.active { color: var(--red); font-weight: 700; border-left-color: var(--red); background: #FFF5F0; }
body.gps-pdp .tree-l1.current > .tree-l1-head .tree-l1-link,
body.gps-pdp .tree-l2.current > .tree-l2-head .tree-l2-link { color: var(--red); }

/* Category heading is now a real link to the archive page; the chevron is the separate expand/collapse control */
body.gps-pdp .tree-l1-link, body.gps-pdp .tree-l2-link { color: inherit; text-decoration: none; flex: 1; min-width: 0; }
body.gps-pdp .tree-l1-head:hover .tree-l1-link { color: var(--red); }
body.gps-pdp .tree-l2-head:hover .tree-l2-link { color: var(--ink); }


/* Category / shop archive grid page */
body.gps-pdp .gps-archive-grid { margin-top: 36px; }
body.gps-pdp .gps-archive-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 48px 0 10px; flex-wrap: wrap; }
body.gps-pdp .gps-archive-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line-dark); border-radius: 4px; font-weight: 600; font-size: 13.5px; color: var(--slate); text-decoration: none; background: #fff; }
body.gps-pdp .gps-archive-pagination .page-numbers:hover { color: var(--ink); border-color: var(--ink); }
body.gps-pdp .gps-archive-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
body.gps-pdp .gps-archive-pagination .page-numbers.dots { border: none; background: none; }


/* Product header */
body.gps-pdp .pdp-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; margin-bottom: 6px; }
body.gps-pdp .pdp-code { font-family: 'Inter', monospace; font-size: 12.5px; font-weight: 700; color: var(--slate); background: var(--paper); border: 1px solid var(--line-dark); padding: 4px 10px; border-radius: 3px; letter-spacing: .02em; display: inline-block; }
body.gps-pdp .pdp-title { font-size: clamp(28px, 3.4vw, 40px); margin: 10px 0 12px; }
body.gps-pdp .pdp-sub { color: var(--slate); font-size: 15.5px; max-width: 640px; margin-bottom: 22px; }

/* Category archive description: let it run the full width of .pdp-main so it lines up with the card grid's right edge below it, instead of the narrower measure used for the single-product subtitle. */
body.gps-pdp .gps-archive .pdp-sub { max-width: none; }
body.gps-pdp .pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

/* Gallery + Applications */
body.gps-pdp .pdp-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-bottom: 60px; align-items: start; }
body.gps-pdp .pdp-top-grid > .gallery, body.gps-pdp .pdp-top-grid > .app-block { min-width: 0; }
body.gps-pdp .gallery-main { border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; background: var(--paper); margin-bottom: 12px; }
body.gps-pdp .gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
body.gps-pdp .gallery-thumbs-wrap { position: relative; margin: 0 2px; }
body.gps-pdp .gallery-thumbs {
  display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 2px 2px 6px; margin: -2px -2px -6px;
  scrollbar-width: thin; scrollbar-color: var(--line-dark) transparent;
}
body.gps-pdp .gallery-thumbs::-webkit-scrollbar { height: 5px; }
body.gps-pdp .gallery-thumbs::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 3px; }
body.gps-pdp .gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
body.gps-pdp .gallery-thumbs .thumb {
  flex: 0 0 72px; width: 72px; height: 72px; scroll-snap-align: start;
  border: 1.5px solid var(--line-dark); border-radius: 6px; overflow: hidden; cursor: pointer; transition: border-color .15s ease;
}
body.gps-pdp .gallery-thumbs .thumb:hover, body.gps-pdp .gallery-thumbs .thumb.active { border-color: var(--red); }
body.gps-pdp .gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.gps-pdp .gallery-thumbs-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; flex: none;
  border-radius: 50%; border: 1px solid var(--line-dark); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.14); transition: background .15s ease, border-color .15s ease, color .15s ease, opacity .15s ease;
  z-index: 2;
}
body.gps-pdp .gallery-thumbs-nav:hover { background: var(--red); border-color: var(--red); color: #fff; }
body.gps-pdp .gallery-thumbs-nav[disabled] { opacity: .35; cursor: default; pointer-events: none; }
body.gps-pdp .gallery-thumbs-nav[hidden] { display: none; }
body.gps-pdp .gallery-thumbs-nav.prev { left: -12px; }
body.gps-pdp .gallery-thumbs-nav.next { right: -12px; }
body.gps-pdp .gallery-thumbs-nav svg { width: 14px; height: 14px; }

body.gps-pdp .app-block .app-title { font-size: 20px; margin-bottom: 6px; }
body.gps-pdp .app-block > p { color: var(--slate); font-size: 14.5px; margin-bottom: 22px; }
body.gps-pdp .app-list { display: flex; flex-direction: column; gap: 8px; }
body.gps-pdp .app-item { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 16px; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
body.gps-pdp .app-item:hover { box-shadow: 0 14px 30px -16px rgba(14,15,17,.2); transform: translateY(-2px); }
body.gps-pdp .app-item img { width: 100%; height: 100%; object-fit: cover; min-height: 84px; }
body.gps-pdp .app-item.no-photo { grid-template-columns: 1fr; }
body.gps-pdp .app-item.no-photo .app-item-body { padding: 12px 16px; }
body.gps-pdp .app-item-body { padding: 14px 16px 14px 0; display: flex; flex-direction: column; gap: 3px; }
body.gps-pdp .app-item-body h3 { font-size: 14px; margin: 0; line-height: 1.3; }
body.gps-pdp .app-item-body p { font-size: 12.5px; color: var(--slate); line-height: 1.45; margin: 0; }

/* Spec highlights */
body.gps-pdp .spec-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark);
  border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; margin-bottom: 60px;
}
body.gps-pdp .spec-cell { background: #fff; padding: 20px 22px; }
body.gps-pdp .spec-cell .k { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
body.gps-pdp .spec-cell .v { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 17px; color: var(--ink); }

/* Sizes table */
body.gps-pdp .sizes-section { margin-bottom: 60px; }
body.gps-pdp .sizes-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
body.gps-pdp .sizes-head h2 { font-size: 26px; }
body.gps-pdp .size-table-wrap {
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
body.gps-pdp .size-table-wrap::-webkit-scrollbar { height: 6px; }
body.gps-pdp .size-table-wrap::-webkit-scrollbar-thumb { background: var(--line-dark); border-radius: 3px; }
body.gps-pdp table.size-table { width: 100%; border-collapse: collapse; font-size: 14.5px; table-layout: auto; }
body.gps-pdp table.size-table thead th {
  background: var(--ink); color: #fff; text-align: left; padding: 14px 20px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
body.gps-pdp table.size-table thead th.num { text-align: right; }
body.gps-pdp table.size-table tbody td { padding: 15px 20px; border-top: 1px solid var(--line-dark); color: var(--charcoal); }
body.gps-pdp table.size-table tbody td.num { text-align: right; font-family: 'Inter', monospace; }
body.gps-pdp table.size-table tbody tr:hover { background: var(--paper); }
body.gps-pdp table.size-table tbody td.code { font-family: 'Inter', monospace; font-weight: 700; color: var(--red); }
body.gps-pdp .row-tag { display: inline-block; font-size: 11px; font-weight: 700; background: #FFF3D6; color: #8A5A00; padding: 3px 8px; border-radius: 3px; margin-left: 8px; }
body.gps-pdp .size-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--slate); }
body.gps-pdp .size-note-list ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
body.gps-pdp .size-note-list ul li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
body.gps-pdp .size-note-list ul li svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }
body.gps-pdp .size-note svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 2px; }

/* Downloads */
body.gps-pdp .downloads { margin-bottom: 64px; }
body.gps-pdp .dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
body.gps-pdp .dl-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line-dark); border-radius: 6px; padding: 18px 20px; transition: border-color .15s ease, box-shadow .15s ease; }
body.gps-pdp .dl-card:hover { border-color: var(--red); box-shadow: 0 14px 30px -18px rgba(14,15,17,.18); }
body.gps-pdp .dl-card .ico { width: 42px; height: 42px; border-radius: 6px; background: var(--paper); display: flex; align-items: center; justify-content: center; flex: none; }
body.gps-pdp .dl-card .ico svg { width: 20px; height: 20px; color: var(--red); }
body.gps-pdp .dl-card .t { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
body.gps-pdp .dl-card .s { font-size: 12px; color: var(--slate); }

/* Related */
body.gps-pdp .related h2 { font-size: 26px; margin-bottom: 26px; }
body.gps-pdp .rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.gps-pdp .rel-card { background: #fff; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
body.gps-pdp .rel-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -20px rgba(14,15,17,.2); }
body.gps-pdp .rel-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); display: block; }
body.gps-pdp .rel-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
body.gps-pdp .rel-card .body { padding: 18px 20px 22px; }
body.gps-pdp .rel-card h3 { font-size: 15.5px; margin-bottom: 8px; }
body.gps-pdp .rel-link { font-size: 13px; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
body.gps-pdp .rel-link svg { width: 12px; height: 12px; }

/* CTA banner */
body.gps-pdp .cta-banner {
  background: linear-gradient(120deg, var(--ink) 0%, #26140C 55%, #3a1608 100%); color: #fff; position: relative; overflow: hidden; margin-top: 80px;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
}
body.gps-pdp .cta-banner::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(247,176,0,.25), transparent 65%); }
body.gps-pdp .cta-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 56px 0; max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
body.gps-pdp .cta-inner h2 { font-size: clamp(24px, 2.6vw, 32px); max-width: 560px; color: #fff; }
body.gps-pdp .cta-inner p { color: #fff; margin-top: 10px; font-size: 14.5px; }
body.gps-pdp .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 980px) {
  body.gps-pdp .pdp-layout { grid-template-columns: 1fr; }
  body.gps-pdp .side-nav { position: relative; top: 0; }
  body.gps-pdp .pdp-top-grid { grid-template-columns: 1fr; }
  body.gps-pdp .spec-strip { grid-template-columns: repeat(2, 1fr); }
  body.gps-pdp .dl-grid, body.gps-pdp .rel-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.gps-pdp .wrap { padding: 0 20px; }
  body.gps-pdp .dl-grid, body.gps-pdp .rel-grid { grid-template-columns: 1fr; }
  body.gps-pdp .spec-strip { grid-template-columns: 1fr 1fr; }
  body.gps-pdp .pdp-layout { padding: 32px 20px 70px; }

  /* Sizes table on narrow screens: compact padding and a sensible minimum width (horizontal scroll itself is enabled globally above) */
  body.gps-pdp table.size-table { min-width: 560px; }
  body.gps-pdp table.size-table thead th,
  body.gps-pdp table.size-table tbody td { padding: 12px 14px; font-size: 13.5px; }
  body.gps-pdp .sizes-head { margin-bottom: 14px; }
  body.gps-pdp .sizes-head h2 { font-size: 22px; }
}

@media (max-width: 480px) {
  body.gps-pdp .pdp-title-row { flex-direction: column; align-items: flex-start; }
  body.gps-pdp .pdp-actions .btn { flex: 1 1 auto; justify-content: center; }
  body.gps-pdp .gallery-thumbs { gap: 8px; }
  body.gps-pdp .gallery-thumbs .thumb { flex-basis: 60px; width: 60px; height: 60px; }
  body.gps-pdp .gallery-thumbs-nav { width: 24px; height: 24px; }
  body.gps-pdp .gallery-thumbs-nav.prev { left: -8px; }
  body.gps-pdp .gallery-thumbs-nav.next { right: -8px; }
  body.gps-pdp .app-item { grid-template-columns: 84px 1fr; }
  body.gps-pdp .cta-inner { flex-direction: column; align-items: flex-start; }
  body.gps-pdp .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==== GPS-TOP-BAND: light version of the homepage hero background ====
   White base, light grey grid + wireframe cube behind the title area only,
   fading to plain white before the gallery / tables. Remove this block to undo. */
body.gps-pdp { overflow-x: clip; }
body.gps-pdp .pdp-layout { position: relative; }
body.gps-pdp .pdp-layout::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 460px;
  transform: translateX(-50%); z-index: 0; pointer-events: none;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(14,15,17,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,15,17,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 100%);
}
body.gps-pdp .pdp-layout::after {
  content: ""; position: absolute; top: 12px; right: -170px; width: 500px; height: 500px;
  z-index: 0; pointer-events: none; opacity: .10;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%230E0F11' stroke-width='1'%3E%3Cpath d='M100 10 L180 55 V145 L100 190 L20 145 V55 Z' opacity='.5'/%3E%3Cpath d='M100 10 V100 M100 100 L180 55 M100 100 L20 55 M100 100 V190' opacity='.35'/%3E%3Cpath d='M100 10 L180 55 L100 100 L20 55 Z' opacity='.6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 95%);
          mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 95%);
}
body.gps-pdp .pdp-layout > .pdp-main { position: relative; z-index: 1; min-width: 0; }
body.gps-pdp .pdp-layout > .side-nav { z-index: 1; }
@media (max-width: 900px) {
  body.gps-pdp .pdp-layout::before { height: 320px; }
  body.gps-pdp .pdp-layout::after { display: none; }
}
/* ==== /GPS-TOP-BAND ==== */

/* ==== GPS-POLISH-1 (2026-10-02): spacing, colour and alignment fixes ==== */

/* 1. Title block: brand ink on all headings + real breathing room */
body.gps-pdp .pdp-layout h1.pdp-title,
body.gps-pdp .pdp-layout h2,
body.gps-pdp .pdp-layout h3,
body.gps-pdp .pdp-layout h4 { color: var(--ink); }
body.gps-pdp .pdp-layout .pdp-title-row { margin-bottom: 0; }
body.gps-pdp .pdp-layout h1.pdp-title { margin: 16px 0 14px; }
body.gps-pdp .pdp-layout .pdp-sub { max-width: 560px; font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
body.gps-pdp .pdp-layout .pdp-actions { margin-bottom: 40px; }

/* 2. Cube: stays in the corner beside the title, fades out before the content below */
body.gps-pdp .pdp-layout::after {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 56%);
          mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 56%);
}

/* 3. Breadcrumb bar: full width, to match the full-width grid below it */
body.gps-pdp .breadcrumb-bar {
  position: relative; border-bottom: 0;
  box-shadow: 0 0 0 100vmax var(--paper);
  -webkit-clip-path: inset(0 -100vmax); clip-path: inset(0 -100vmax);
}
body.gps-pdp .breadcrumb-bar::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 1px;
  transform: translateX(-50%); background: var(--line-dark);
}

/* 4. Gallery + applications: aligned tops, equal heights, tidier heading spacing */
body.gps-pdp .pdp-top-grid { align-items: stretch; }
body.gps-pdp .pdp-top-grid .app-block { display: flex; flex-direction: column; }
body.gps-pdp .pdp-top-grid .app-block .eyebrow { line-height: 1; }
body.gps-pdp .pdp-top-grid .app-block .app-title { margin: 12px 0 18px !important; }
body.gps-pdp .pdp-top-grid .app-list { flex: 1 1 auto; gap: 12px; }
body.gps-pdp .pdp-top-grid .app-item { flex: 1 1 auto; }
body.gps-pdp .pdp-top-grid .app-item.no-photo { display: flex; align-items: center; }
body.gps-pdp .pdp-top-grid .app-item.no-photo .app-item-body { padding: 16px 20px; }
body.gps-pdp .pdp-top-grid .app-item-body { gap: 5px; }
body.gps-pdp .pdp-top-grid .app-item-body h3 { font-size: 15px; }
body.gps-pdp .pdp-top-grid .app-item-body p { font-size: 13.5px; line-height: 1.5; }

/* 5. Gallery: light grey stage; white photo backgrounds blend into it */
body.gps-pdp .gallery-main { background: #F1F0ED; }
body.gps-pdp .gallery-main img { height: auto; object-fit: contain; padding: 28px; mix-blend-mode: multiply; }
body.gps-pdp .gallery-thumbs .thumb { background: #F1F0ED; }
body.gps-pdp .gallery-thumbs img { object-fit: contain; padding: 8px; mix-blend-mode: multiply; }

@media (max-width: 980px) {
  body.gps-pdp .pdp-top-grid .app-item { flex: 0 0 auto; }
}
/* ==== /GPS-POLISH-1 ==== */



/* ==== GPS-GALLERY-LIGHTBOX (2026-10-15): click-to-zoom modal for gallery images ==== */
body.gps-pdp .gallery-main { position: relative; }
body.gps-pdp .gallery-main img { cursor: zoom-in; }
body.gps-pdp .gallery-zoom-btn {
  position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px;
  border-radius: 50%; border: none; background: rgba(14,15,17,.78); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s ease, transform .15s ease; padding: 0; z-index: 2;
}
body.gps-pdp .gallery-zoom-btn:hover { background: var(--red); transform: translateY(-1px); }
body.gps-pdp .gallery-zoom-btn svg { width: 18px; height: 18px; }

body.gps-pdp .gps-lightbox {
  position: fixed; inset: 0; z-index: 2147483001; display: none; align-items: center; justify-content: center;
  background: rgba(10,10,11,.94); padding: 24px;
}
body.gps-pdp .gps-lightbox.open { display: flex; }
body.gps-pdp .gps-lightbox-stage {
  max-width: 90vw; max-height: 82vh; display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; overflow: hidden; padding: 20px;
}
body.gps-pdp .gps-lightbox-stage img {
  max-width: 100%; max-height: 78vh; object-fit: contain; transition: transform .1s ease; user-select: none;
}
body.gps-pdp .gps-lightbox-close,
body.gps-pdp .gps-lightbox-nav {
  position: absolute; border: none; background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  border-radius: 50%; transition: background .15s ease; padding: 0;
}
body.gps-pdp .gps-lightbox-close:hover,
body.gps-pdp .gps-lightbox-nav:hover { background: rgba(255,255,255,.22); }
body.gps-pdp .gps-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
body.gps-pdp .gps-lightbox-close svg { width: 18px; height: 18px; }
body.gps-pdp .gps-lightbox-nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
body.gps-pdp .gps-lightbox-nav.prev { left: 20px; }
body.gps-pdp .gps-lightbox-nav.next { right: 20px; }
body.gps-pdp .gps-lightbox-nav svg { width: 20px; height: 20px; }
body.gps-pdp .gps-lightbox-zoom-controls {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,.1); border-radius: 24px; padding: 6px;
}
body.gps-pdp .gps-lightbox-zoom-controls button {
  border: none; background: transparent; color: #fff; width: 36px; height: 36px; border-radius: 50%;
  font-size: 16px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease; padding: 0;
}
body.gps-pdp .gps-lightbox-zoom-controls button:hover { background: rgba(255,255,255,.22); }
body.gps-pdp .gps-lightbox-zoom-controls #gpsLightboxZoomLabel { width: auto; min-width: 48px; font-size: 12.5px; font-weight: 700; }
body.gps-pdp .gps-lightbox-counter {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75);
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
}
body.gps-pdp.gps-lightbox-locked { overflow: hidden; }
html:has(body.gps-pdp.gps-lightbox-locked) { overflow: hidden; }

@media (max-width: 760px) {
  body.gps-pdp .gps-lightbox-nav { width: 42px; height: 42px; }
  body.gps-pdp .gps-lightbox-nav.prev { left: 8px; }
  body.gps-pdp .gps-lightbox-nav.next { right: 8px; }
  body.gps-pdp .gps-lightbox-close { top: 10px; right: 10px; }
  body.gps-pdp .gps-lightbox-stage { padding: 10px; max-height: 76vh; }
}
/* ==== /GPS-GALLERY-LIGHTBOX ==== */