/* OpruimR — shared styles
 * Built on the ShapR design system.
 * Loaded by both index.html and item-detail.html.
 */

:root {
  --maxw: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg-body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─────────  WORDMARK  ───────── */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--shapr-navy);
  letter-spacing: -0.018em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.wordmark em { font-style: normal; color: var(--shapr-pink); }
.wordmark .shop-flag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shapr-navy);
  background: var(--shapr-yellow);
  padding: 3px 7px;
  margin-left: 12px;
  border-radius: 3px;
  transform: translateY(-6px);
}

/* ─────────  NAVBAR  ───────── */
.nav {
  background: var(--shapr-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(11,43,69,.04), 0 4px 14px rgba(11,43,69,.03);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-tagline {
  margin-left: auto;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.011em;
  color: var(--shapr-gray-600);
  text-align: right;
  max-width: 520px;
}
.nav-tagline strong {
  color: var(--shapr-navy);
  font-weight: 700;
}
.nav-tagline em {
  font-style: italic;
  color: var(--shapr-pink);
  font-weight: 300;
}

/* ─────────  PAGE HEADER (overzicht)  ───────── */
.page-header {
  background: var(--shapr-navy);
  color: var(--shapr-white);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 2; }
.page-header .eyebrow-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.page-header .tri {
  width: 20px; height: 20px;
  background: url('assets/accent_triangle.svg') center/contain no-repeat;
  flex-shrink: 0;
}
.page-header .eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,.88);
  letter-spacing: -0.011em;
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--shapr-white);
  margin: 0 0 18px;
  max-width: 760px;
}
.page-header h1 em {
  font-style: italic;
  color: var(--shapr-yellow);
}
.page-header .lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,.9);
  max-width: 640px;
  margin: 0;
}
.page-header .lede strong { font-weight: 700; color: var(--shapr-white); }

/* Hero — kijkmoment panel */
.hero-event {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 600px;
  margin: 30px 0 0;
  padding: 18px 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
}
.hero-event-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--shapr-yellow);
  color: var(--shapr-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-event-icon svg { width: 24px; height: 24px; }
.hero-event-body { display: flex; flex-direction: column; gap: 2px; }
.hero-event-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shapr-yellow);
}
.hero-event-when {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -0.011em;
  color: var(--shapr-white);
}
.hero-event-where {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,.9);
}
.hero-event-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
}

/* Hero — wie is ShapR + actieknop */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.hero-about {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  margin: 0;
  max-width: 420px;
}
.hero-about strong { color: var(--shapr-white); font-weight: 700; }
.hero-about em { font-style: italic; color: var(--shapr-yellow); font-weight: 300; }

/* Routeknop in het kijkmoment-paneel */
.hero-event-btn { align-self: flex-start; margin-top: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; gap: 8px; }
.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: var(--shapr-white);
  border: 1.5px solid rgba(255,255,255,.28);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
}

/* ─────────  SEARCH STRIP  ───────── */
.search-strip {
  background: var(--shapr-light-gray);
  border-bottom: 1px solid var(--border);
}
.search-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.search-wrap {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-wrap svg {
  position: absolute;
  left: 16px;
  width: 20px; height: 20px;
  color: var(--shapr-gray-500);
  pointer-events: none;
}
.search-wrap input {
  flex: 1;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--shapr-white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -0.011em;
  color: var(--shapr-navy);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.search-wrap input::placeholder { color: var(--shapr-gray-500); font-weight: 300; }
.search-wrap input:focus {
  border-color: var(--shapr-pink);
  box-shadow: 0 0 0 3px rgba(216,37,106,.12);
}
.result-count {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--shapr-gray-600);
}
.result-count strong { font-weight: 700; color: var(--shapr-navy); }

/* ─────────  CATEGORY CHIPS  ───────── */
.chip-row {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip-row .chip-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--shapr-gray-600);
  margin-right: 4px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--shapr-white);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.011em;
  color: var(--shapr-navy);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
}
.chip:hover { border-color: var(--shapr-navy); }
.chip .count {
  font-weight: 300;
  font-size: 12px;
  color: var(--shapr-gray-500);
  background: var(--shapr-light-gray);
  padding: 1px 7px;
  border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
}
.chip.active {
  background: var(--shapr-navy);
  border-color: var(--shapr-navy);
  color: var(--shapr-white);
}
.chip.active .count {
  background: rgba(255,255,255,.16);
  color: var(--shapr-white);
}
.chip:focus-visible {
  outline: 2px solid var(--shapr-pink);
  outline-offset: 2px;
}

/* Category pill on a card */
.cat-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,.94);
  color: var(--shapr-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  z-index: 2;
  backdrop-filter: blur(2px);
}
.card.is-sold .cat-pill { opacity: .85; }

/* ─────────  CONTAINER  ───────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────  PRODUCT GRID  ───────── */
.grid-section { padding: 48px 0 80px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-grid.empty {
  display: block;
  text-align: center;
  padding: 64px 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--shapr-gray-500);
}
.product-grid.empty strong { font-weight: 700; color: var(--shapr-navy); display: block; font-size: 22px; margin-bottom: 8px; font-family: var(--font-display); }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ─────────  PRODUCT CARD  ───────── */
.card {
  background: var(--shapr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(11,43,69,.18);
}
.card:focus-visible {
  outline: 2px solid var(--shapr-pink);
  outline-offset: 2px;
}

.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-photo .photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-photo .photo-placeholder svg {
  width: 56%;
  height: 56%;
  opacity: .92;
}
.card-photo .ph-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(11,43,69,.55);
  color: rgba(255,255,255,.92);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* Placeholder gradients per item — tonal, brand colors */
.ph-bureau   { background: linear-gradient(155deg, #185359 0%, #0B2B45 100%); }
.ph-stoel    { background: linear-gradient(155deg, #30A5BF 0%, #185359 100%); }
.ph-whiteboard { background: linear-gradient(155deg, #F5F5F5 0%, #C8CACC 100%); }
.ph-tafel    { background: linear-gradient(155deg, #FABA00 0%, #CF9A00 100%); }
.ph-lamp     { background: linear-gradient(155deg, #D8256A 0%, #B61C57 100%); }
.ph-kast     { background: linear-gradient(155deg, #444F54 0%, #0C1726 100%); }
.ph-monitor  { background: linear-gradient(155deg, #30A5BF 0%, #0B2B45 100%); }
.ph-plant    { background: linear-gradient(155deg, #185359 0%, #30A5BF 100%); }

.ph-stroke   { stroke: var(--shapr-white); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ph-stroke-dark { stroke: var(--shapr-navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Sold ribbon */
.sold-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--shapr-pink);
  color: var(--shapr-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(11,43,69,.18);
}
.qty-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--shapr-dark);
  color: var(--shapr-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  z-index: 2;
}
.card.is-sold .card-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11,43,69,.42);
  pointer-events: none;
}
.card.is-sold .price { text-decoration: line-through; color: var(--shapr-gray-500); }

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -0.011em;
  color: var(--shapr-navy);
  margin: 0;
}
.card-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--shapr-gray-600);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
}
.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--shapr-navy);
  letter-spacing: -0.011em;
}
/* Euro glyph: Cocon has no €, so render just the symbol in Baloo Paaji 2.
   SemiBold (600) visually matches Cocon Bold's stroke; Baloo runs slightly
   larger so we trim the glyph a touch. */
.euro {
  font-family: "Baloo Paaji 2", sans-serif;
  font-weight: 700;
  font-size: 1.05em;
}
.price-note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  color: var(--shapr-gray-500);
  margin-left: 4px;
}
.card-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--shapr-pink);
  letter-spacing: -0.011em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card:hover .card-link { color: var(--shapr-pink-dark); }
.card.is-sold .card-link { color: var(--shapr-gray-500); }
.card.is-sold { cursor: default; }

/* ─────────  BACK LINK + DETAIL PAGE  ───────── */
.back-strip {
  background: var(--shapr-light-gray);
  border-bottom: 1px solid var(--border);
}
.back-strip .container {
  padding-top: 18px;
  padding-bottom: 18px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--shapr-navy);
  letter-spacing: -0.011em;
  transition: color .15s;
}
.back-link:hover { color: var(--shapr-pink); }

.detail-section { padding: 56px 0 96px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
}

.detail-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.detail-photo .photo-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.detail-photo .photo-placeholder svg { width: 56%; height: 56%; opacity: .94; }
.detail-photo .ph-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(11,43,69,.55);
  color: rgba(255,255,255,.92);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 3px;
  text-transform: uppercase;
}

/* Thumbnail strip */
.thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.thumb:hover { border-color: var(--shapr-pink); }
.thumb.active { border-color: var(--shapr-pink); border-width: 2px; }
.thumb .photo-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.thumb .photo-placeholder svg { width: 55%; height: 55%; opacity: .9; }

/* Right column */
.detail-info .eyebrow-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.detail-info .tri {
  width: 18px; height: 18px;
  background: url('assets/accent_triangle.svg') center/contain no-repeat;
}
.detail-info .eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--shapr-gray-500);
  letter-spacing: -0.011em;
}
.detail-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--shapr-navy);
  margin: 0 0 20px;
}
.detail-title em { font-style: italic; color: var(--shapr-pink); }

.price-block {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.detail-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--shapr-navy);
  letter-spacing: -0.02em;
}
.price-tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shapr-navy);
  background: var(--shapr-yellow);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

.detail-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.62;
  color: var(--shapr-gray-800);
  margin-bottom: 28px;
}
.detail-desc p { margin: 0 0 14px; }
.detail-desc p:last-child { margin-bottom: 0; }
.detail-desc em { font-style: italic; color: var(--shapr-pink); font-weight: 300; }
.detail-desc strong { font-weight: 700; color: var(--shapr-navy); }

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--border);
}
.spec-list li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: -0.011em;
}
.spec-list li .k {
  color: var(--shapr-gray-500);
}
.spec-list li .v {
  color: var(--shapr-navy);
  font-weight: 700;
}

/* CTA */
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.011em;
  cursor: pointer;
  border: none;
  transition: background .15s, color .15s, transform .1s;
  text-decoration: none;
}
.btn-pink { background: var(--shapr-pink); color: var(--shapr-white); }
.btn-pink:hover { background: var(--shapr-pink-dark); }
.btn-ghost {
  background: transparent;
  color: var(--shapr-navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--shapr-navy); }
/* Light button — for use on the navy hero */
.btn-light { background: var(--shapr-white); color: var(--shapr-navy); }
.btn-light:hover { background: var(--shapr-yellow); }
.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--shapr-gray-400);
  color: var(--shapr-white);
  cursor: not-allowed;
}
.btn:disabled:hover,
.btn[aria-disabled="true"]:hover { background: var(--shapr-gray-400); }

.seller-card {
  margin-top: 32px;
  padding: 18px 20px;
  background: var(--shapr-light-gray);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.seller-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--shapr-navy);
  color: var(--shapr-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.seller-meta {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: -0.011em;
  color: var(--shapr-gray-600);
  line-height: 1.45;
}
.seller-meta strong { display: block; color: var(--shapr-navy); font-weight: 700; font-size: 15px; }

/* Detail sold notice */
.sold-banner {
  background: var(--shapr-navy);
  color: var(--shapr-white);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: -0.011em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sold-banner strong { color: var(--shapr-yellow); font-weight: 700; }

/* Detail — kijkmoment / ophalen op afspraak */
.pickup-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: -8px 0 28px;
  padding: 18px 20px;
  background: var(--shapr-light-gray);
  border: 1px solid var(--border);
  border-left: 3px solid var(--shapr-yellow);
  border-radius: var(--radius-md);
}
.pickup-info-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--shapr-navy);
  color: var(--shapr-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pickup-info-icon svg { width: 22px; height: 22px; }
.pickup-info-body strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.011em;
  color: var(--shapr-navy);
  margin-bottom: 5px;
}
.pickup-info-body p {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  color: var(--shapr-gray-600);
}

/* ─────────  FOOTER  ───────── */
footer {
  background: var(--shapr-navy);
  color: var(--shapr-white);
  padding: 56px 0 32px;
  margin-top: 0;
  position: relative;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .wordmark { color: var(--shapr-white); }
.footer-brand .wordmark em { color: var(--shapr-yellow); }
.footer-brand p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  margin: 16px 0 0;
  max-width: 380px;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shapr-yellow);
  margin: 0 0 14px;
}
.footer-col p, .footer-col a {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin: 0;
}
.footer-col a { transition: color .15s; }
.footer-col a:hover { color: var(--shapr-yellow); }
.copy {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 22px 32px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: -0.011em;
  color: rgba(255,255,255,.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copy .shapr-logo {
  height: 18px;
  opacity: .9;
}
.copy a { color: rgba(255,255,255,.85); }
.copy a:hover { color: var(--shapr-yellow); }

/* ───────── Responsive nav ───────── */
@media (max-width: 720px) {
  .nav-inner { height: auto; padding: 14px 20px 16px; flex-wrap: wrap; gap: 8px 16px; }
  .nav-tagline { margin-left: 0; text-align: left; font-size: 13px; max-width: 100%; flex-basis: 100%; }
  .wordmark { font-size: 26px; }
  .wordmark .shop-flag { font-size: 10px; padding: 2px 6px; }
  .page-header { padding: 40px 0 32px; }
  .page-header h1 { font-size: 40px; }
  .page-header .lede { font-size: 16px; }
  .hero-event-when { font-size: 19px; }
  .hero-actions { gap: 14px; }
  .btn-light { width: 100%; justify-content: center; }
  .detail-title { font-size: 32px; }
  .detail-price { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
  .container, .search-strip-inner, .nav-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
}

/* ─────────  SITE LOGO (replaces CSS wordmark in nav + footer)  ───────── */
.site-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo {
  height: 44px;
  width: auto;
  display: block;
}
.site-logo--footer {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.site-logo-wrap .shop-flag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shapr-navy);
  background: var(--shapr-yellow);
  padding: 3px 7px;
  border-radius: 3px;
  align-self: flex-start;
  margin-top: 4px;
}

/* ─────────  REAL PHOTO DISPLAY  ───────── */
.card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--shapr-light-gray);
}
.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.card:hover .card-photo img { transform: scale(1.03); }

.detail-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--shapr-light-gray);
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Thumb strip — flex so it adapts to any photo count */
.thumb-strip {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.thumb {
  flex: 0 0 calc(25% - 8px);
  min-width: 56px;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s;
  background: var(--shapr-light-gray);
  padding: 0;
}
.thumb:hover { border-color: var(--shapr-pink); }
.thumb.active { border-color: var(--shapr-pink); }
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .site-logo { height: 34px; }
  .site-logo--footer { height: 28px; }
}

/* ─────────  LIGHTBOX  ───────── */
.detail-photo { cursor: zoom-in; }
.detail-photo:hover img { transform: scale(1.025); }
.detail-photo img { transition: transform .3s ease; }

.zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(11,43,69,.52);
  color: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s;
  backdrop-filter: blur(3px);
  z-index: 2;
}
.detail-photo:hover .zoom-hint { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,22,38,.92);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 48px);
}

.lightbox-img-wrap {
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 32px 96px rgba(0,0,0,.55);
  user-select: none;
}

.lightbox-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
}
.lightbox-btn:hover { background: rgba(255,255,255,.2); }
.lightbox-btn:active { transform: scale(.93); }
.lightbox-btn:disabled { opacity: .22; cursor: default; pointer-events: none; }

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.lightbox-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  letter-spacing: 0.06em;
  z-index: 2;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .lightbox-img-wrap { max-width: calc(100vw - 104px); }
  .lightbox-btn { width: 40px; height: 40px; }
}
