/* ===== Vestige · tokens =====
 * Owns:    CSS custom properties (palette, fonts, radius, shadow, spacing)
 * Used on: every Vestige page (foundation)
 * Don't add: per-component values → in the file that owns the component
 */

/* =============================================
   VESTIGE — Editorial design system
   Used by /v2/ Hugo section templates
   ============================================= */

:root {
  --cream: #F4EFE6;
  --cream-dark: #EBE4D8;
  --green: #1C4A38;
  --green-light: #2A6050;
  --black: #1A1A18;
  --charcoal: #2D2D2B;
  --muted: #7A7A72;
  --lavender: #A8C4B8;
  --lavender-light: #D4EBE3;
  --white: #FFFFFF;

  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Figtree', system-ui, sans-serif;

  --radius-pill: 100px;
  --radius-card: 16px;
  --radius-sm: 8px;

  --shadow-card: 0 2px 12px rgba(28, 74, 56, 0.08);
  --shadow-hover: 0 8px 32px rgba(28, 74, 56, 0.14);

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);

  --btn-cta-bg: var(--black);
  --btn-cta-text: var(--white);
  --btn-cta-hover: var(--charcoal);

  /* Spacing tokens — locked at 5% of original design values */
  --hero-pt:          4px;
  --hero-pb:          4px;
  --hero-actions-mb:  3px;
  --categories-pt:    2px;
  --listings-pt:      3px;
}
/* ===== Vestige · base =====
 * Owns:    *, body, html, .section-inner layout
 * Used on: every Vestige page
 * Don't add: site chrome → nav.css / footer.css
 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; }
img { display: block; max-width: 100%; }

/* ---- LAYOUT ---- */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
/* ===== Vestige · buttons =====
 * Owns:    .btn-pill, .btn-dark, .btn-outline, .btn-cream, .btn-lg
 * Used on: global; reused everywhere
 * Don't add: one-off button → keep in the owning component file
 */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-dark {
  background: var(--btn-cta-bg);
  color: var(--btn-cta-text);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
}
.btn-dark:hover {
  background: var(--btn-cta-hover);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0,0,0,0.25);
}
.btn-pill:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover {
  background: var(--cream-dark);
  border-color: var(--green);
  transform: translateY(-1px);
}
.btn-cream {
  background: var(--cream);
  color: var(--green);
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 3px 0 rgba(0,0,0,0.12);
}
.btn-cream:hover {
  background: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0,0,0,0.12);
}
.btn-lg {
  padding: 1.125rem 2rem;
  font-size: 15px;
}
/* ===== Vestige · nav =====
 * Owns:    .site-nav, .site-nav__* (sticky navigation bar)
 * Used on: every Vestige page
 * Don't add: breadcrumb → breadcrumb.css; footer → footer.css
 */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-mark {
  color: var(--green);
  font-size: 14px;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--black);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--black); }
.nav-preview-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--lavender-light);
  color: var(--green);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
/* ===== Vestige · hero =====
 * Owns:    .hero, .hero__*, .banner-strip
 * Used on: /v2/ home, tablet featured row
 * Don't add: phone featured card → mobile.css
 */
.hero {
  padding: var(--hero-pt) 24px var(--hero-pb);
  max-width: 1160px;
  margin: 0 auto;
  animation: fadeUp 0.6s ease both;
  text-align: center;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 20px;
}
.hero-title-ghost {
  opacity: 0.38;
}
.hero-title em {
  font-style: italic;
  color: var(--black);
}
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: var(--hero-actions-mb);
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- BANNER ---- */
.banner {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 24px;
  text-align: center;
}
/* ===== Vestige · categories =====
 * Owns:    .categories, .pill-cat, .section-eyebrow, .sort-row
 * Used on: /v2/ list page filter row
 * Don't add: phone filter bar → mobile.css
 */
.categories {
  padding: var(--categories-pt) 0 0;
}
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-cat {
  padding: 8px 18px;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  background: var(--cream-dark);
  color: var(--charcoal);
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}
.pill-cat:hover {
  border-color: var(--black);
  background: var(--cream);
}
.pill-cat.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.sort-row .section-eyebrow { margin-bottom: 0; }
.sort-select-v {
  padding: 6px 14px;
  border-radius: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  background: var(--cream-dark);
  color: var(--charcoal);
  border: 2px solid transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.sort-select-v:focus {
  border-color: var(--black);
  outline: none;
}
/* ===== Vestige · listings =====
 * Owns:    .listings, .listings-header, .card-grid
 * Used on: /v2/ list page wrapper
 * Don't add: card visuals → cards.css
 */
.listings {
  padding: var(--listings-pt) 0 80px;
}
.listings-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.view-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  transition: color var(--transition);
}
.view-all:hover { color: var(--black); }

/* ---- CARD GRID ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
/* ===== Vestige · cards =====
 * Owns:    .listing-card, .listing-card__*, .editorial-callout
 * Used on: homepage card grid, tablet 3-col grid
 * Don't add: featured hero card → hero.css;
 *            mobile featured card → mobile.css
 */
.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  cursor: pointer;
  animation: fadeUp 0.5s ease both;
  display: block;
  color: var(--black);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.card-img-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.product-card:hover .card-img-photo {
  transform: scale(1.04);
}
.card-img-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--green);
  opacity: 0.2;
}
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 0.5rem;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}
.badge-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.72;
  line-height: 1;
}
.card-body {
  padding: 16px 18px 20px;
}
.card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--black);
}
.card-condition {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--black);
  letter-spacing: -0.02em;
}
.card-original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-top: 1px;
}
.card-offer-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 0.75rem;
  background: var(--lavender-light);
  color: var(--green);
  border: 1.5px solid var(--lavender);
  transition: all var(--transition);
  cursor: pointer;
}
.card-offer-btn:hover {
  background: var(--lavender);
  color: var(--white);
}

/* ---- EDITORIAL CALLOUT ---- */
.callout {
  background: var(--green);
  padding: 80px 48px;
  text-align: center;
}
.callout-inner {
  max-width: 640px;
  margin: 0 auto;
}
.callout-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.callout-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.callout-title em {
  font-style: italic;
  color: var(--lavender);
}
.callout-body {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 36px;
}
/* ===== Vestige · footer =====
 * Owns:    .footer, .footer__*
 * Used on: every Vestige page
 * Don't add: nav → nav.css
 */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}
.footer-brand {
  flex: 0 0 240px;
}
.footer-brand .logo-mark { color: var(--lavender); }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}
/* ===== Vestige · breadcrumb =====
 * Owns:    .breadcrumb, .breadcrumb__*
 * Used on: /v2/products/<slug>/
 * Don't add: top nav → nav.css
 */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.breadcrumb .section-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { transition: color var(--transition); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span:not(.bc-sep) { color: var(--black); }
.bc-sep { color: var(--cream-dark); }
/* ===== Vestige · product-detail =====
 * Owns:    .product-section, .detail-nav, carousel controls,
 *          detail page responsive overrides,
 *          .inquiry-link-desktop, .mobile-top-cta__inquiry, .inquiry-bottom-btn
 * Used on: /v2/products/<slug>/
 * Don't add: lightbox overlay → lightbox.css
 */
.product-section {
  padding: 48px 0 64px;
}
.detail-nav { padding-top: 20px; padding-bottom: 4px; }
.mobile-top-cta { display: none; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-gallery { position: sticky; top: 88px; }
.product-main-img {
  aspect-ratio: 1;
  background: var(--cream-dark);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.product-main-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.img-placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  opacity: 0.3;
  font-size: 80px;
}
.product-thumbs {
  display: flex;
  gap: 10px;
}
.thumb {
  width: 72px;
  height: 72px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.thumb:hover, .thumb.active {
  border-color: var(--green);
}
.product-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.badge-featured { background: var(--green); color: var(--white); }
.badge-new { background: var(--black); color: var(--white); }
.badge-hot { background: #F4A04A; color: var(--white); }
.badge-available {
  background: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
  padding: 2.5px 10.5px;
}
.badge-sold { background: var(--muted); color: var(--white); }

.product-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.meta-dot { color: var(--cream-dark); }
.product-condition {
  color: var(--green);
  font-weight: 600;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 48px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.product-price-hint {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 14px;
}
.product-original-price {
  font-size: 16px;
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 10px;
}
.product-discount-badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.product-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  font-weight: 300;
  margin-bottom: 28px;
  border-top: 1px solid var(--cream-dark);
  padding-top: 28px;
}
.product-desc ul,
.product-desc ol {
  padding-inline-start: 1.25rem;
  margin: 0.5rem 0 1rem;
}
.product-desc li + li { margin-top: 0.25rem; }
.product-details-block {
  background: var(--cream-dark);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.detail-item label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-item span {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
}
.v2-available-from {
  font-size: 0.875rem;
  color: var(--text-muted, #666);
  margin: 0 0 1rem;
}

.product-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Inquiry CTAs */
.inquiry-link-desktop {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin: -6px 0 18px;
}
.inquiry-link-desktop:hover { text-decoration: underline; }

/* Soft secondary — distinct from .btn-outline reference links */
.inquiry-bottom-btn {
  background: var(--cream-dark);
  color: var(--green);
  border: 2px solid var(--cream-dark);
}
.inquiry-bottom-btn:hover {
  background: var(--lavender-light);
  border-color: var(--lavender-light);
  transform: translateY(-1px);
}

/* ---- CAROUSEL CONTROLS ---- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
  .product-title { font-size: clamp(20px, 2.5vw, 34px); }
  .detail-nav .btn-pill { padding: 0.5rem 1rem; font-size: 13px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: var(--hero-pt) 24px var(--hero-pb); }
  .callout { padding: 64px 28px; }
  .breadcrumb { padding: 10px 0; }
  .breadcrumb .section-inner,
  .detail-nav,
  .product-section .section-inner { padding-left: 16px; padding-right: 16px; }
  .detail-nav { padding-top: 8px; padding-bottom: 4px; }
  .product-section { padding: 12px 0 48px; }
  .product-section .section-inner { display: flex; flex-direction: column; }
  .product-layout { display: contents; }
  .product-gallery { position: static; }
  .product-info { display: contents; }
  .footer-inner { gap: 40px; }
  .product-title { font-size: clamp(18px, 5.5vw, 26px); }
  .detail-nav .btn-pill { padding: 0.4rem 0.85rem; font-size: 12px; }

  .product-title          { order: 1; }
  .mobile-top-cta         { order: 2; }
  .product-price-hint     { order: 3; font-size: 12px; margin: 2px 0 20px; }
  .product-gallery        { order: 4; }
  .product-badges         { order: 5; margin-top: 16px; }
  .product-price          { display: none; }
  .product-original-price { display: none; }
  .product-discount-badge { display: none; }
  .product-desc           { order: 6; }
  .product-details-block  { order: 7; }
  .product-actions        { order: 8; }

  .inquiry-link-desktop { display: none; }

  .mobile-top-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 8px;
  }
  .mobile-top-cta__inquiry {
    width: 100%;
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
    display: block;
  }
  .mobile-top-cta__inquiry:hover { text-decoration: underline; }
  .mobile-top-cta__price {
    font-family: var(--font-serif);
    font-size: 28px;
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .mobile-top-cta__btn {
    padding: 0.6rem 1.1rem;
    font-size: 13px;
  }

  .product-actions .btn-pill { padding: 0.6rem 1.1rem; font-size: 13px; }

  .product-main-img { aspect-ratio: 4 / 3; }
}
/* ===== Vestige · lightbox =====
 * Owns:    .lightbox, .lightbox__*
 * Used on: /v2/products/<slug>/
 * Don't add: carousel inline UI → product-detail.css
 */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
/* ===== Vestige · animations =====
 * Owns:    @keyframes fadeUp, @keyframes pulse
 * Used on: shared — imported by any component that needs these keyframes
 * Don't add: per-component animation → keep in the owning component file
 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
/* ===== Vestige · privacy =====
 * Owns:    .faq-section, .faq-grid, .faq-card, .faq-card__*
 * Used on: /v2/privacy/
 * Don't add: contact form → contact-form.css
 */
.faq-section {
  padding: 0 0 80px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-card.is-open {
  box-shadow: var(--shadow-hover);
}

.faq-card__toggle {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-card__q {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--black);
}

.faq-card__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  transition: background var(--transition), color var(--transition);
  margin-top: 2px;
}

.faq-card.is-open .faq-card__icon {
  background: var(--green);
  color: var(--white);
}

.faq-card__body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--cream-dark);
  padding-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--charcoal);
}

.faq-card__body p + p  { margin-top: 14px; }
.faq-card__body ul     { padding-left: 20px; margin-top: 12px; }
.faq-card__body li     { margin-bottom: 8px; }
.faq-card__body strong { font-weight: 600; color: var(--black); }
.faq-card__body code {
  font-family: monospace;
  background: var(--cream-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
/* ===== Vestige · contact-form =====
 * Owns:    .v-form-section, .contact-card, .v-input, .v-platform-pill,
 *          form error/success states
 * Used on: /v2/contact/
 * Don't add: privacy accordion → privacy.css
 */
.v-form-section {
  padding: 0 0 80px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-card);
  padding: 40px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.v-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.v-topic-btn {
  padding: 16px;
  border-radius: 12px;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
}

.v-topic-btn:hover {
  border-color: var(--green);
  background: var(--cream-dark);
}

.v-topic-btn.is-active {
  background: var(--lavender-light);
  border-color: var(--green);
}

.v-topic-btn__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.v-topic-btn__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.v-topic-btn__sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.v-field {
  margin-bottom: 24px;
}

.v-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.v-input,
.v-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--cream);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.v-input:focus,
.v-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--lavender-light);
}

.v-textarea {
  resize: vertical;
  line-height: 1.6;
}

.v-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.v-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.v-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}

.v-platform-pill:hover {
  border-color: var(--green);
  background: var(--cream-dark);
}

.v-platform-pill.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.v-platform-pill__check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  opacity: 0.6;
}

.v-platform-pill.is-active .v-platform-pill__check {
  opacity: 1;
}

.v-platform-pill.is-active .v-platform-pill__check::after {
  content: '✓';
}

.v-call-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  user-select: none;
  margin-top: 4px;
}

.v-call-ok input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}

.v-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.v-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
  max-width: 360px;
}

.v-success {
  text-align: center;
  padding: 48px 24px;
}

.v-success__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.v-success__title {
  font-family: var(--font-serif);
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 12px;
}

.v-success__body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.v-form-error {
  border: 2px solid #C0392B;
  border-radius: 8px;
  background: #FEF2F2;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.v-form-error__msg {
  font-size: 14px;
  color: #C0392B;
  font-weight: 600;
}

.v-input.has-error,
.v-textarea.has-error {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.v-field-error-msg {
  font-size: 13px;
  color: #C0392B;
  font-weight: 500;
  margin-top: 6px;
  display: none;
}

.v-field-error-msg.is-visible {
  display: block;
}

@media (max-width: 768px) {
  .faq-grid       { grid-template-columns: 1fr; }
  .contact-card   { padding: 28px 24px; }
  .v-topic-grid   { grid-template-columns: 1fr; }
  .v-field-row    { grid-template-columns: 1fr; gap: 0; }
}
/* ===== Vestige · interest-modal =====
 * Owns:    .v2-interest-modal, .v2-interest-modal__*,
 *          .v2-form-group, .v2-form-label, .v2-form-input,
 *          .v2-product-chip (+ __body/__title/__meta),
 *          .v2-contact-field, .v2-channel-pill, .v2-contact-helper,
 *          .v2-channel-disclosure (+ __header/__body),
 *          .v2-channels, .v2-channel-chip (+ __check),
 *          .v2-calling-row, .v2-offer-row, .v2-ask-btn,
 *          .v2-rank-hint, .v2-field-error, .v2-prior-banner,
 *          .v2-modal-availability-note, .v2-submit-btn, .v2-submit-error,
 *          .v2-success-panel, .v2-success-title, .v2-success-rank, .v2-success-low-offer, .v2-success-note
 * Used on: every product card + /v2/products/<slug>/
 * Don't add: contact form → contact-form.css
 */
.v2-interest-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.v2-interest-modal.open { display: flex; }
.v2-interest-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 24, 0.55);
  backdrop-filter: blur(4px);
}
.v2-interest-panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.v2-interest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}
.v2-interest-title {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--black);
}
.v2-interest-close {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.v2-interest-close:hover { background: var(--cream-dark); }
.v2-interest-body { padding: 1.5rem; }
.v2-form-group { margin-bottom: 1rem; }
.v2-form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.v2-form-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--black);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.v2-form-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--lavender-light);
}
.v2-product-chip {
  padding: 10px 12px;
  margin-bottom: 14px;
  background: var(--cream);
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
}
.v2-product-chip__body { min-width: 0; }
.v2-product-chip__title {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.15;
  margin-top: 1px;
}
.v2-product-chip__meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 1px;
}
.v2-product-chip__meta strong { color: var(--black); font-weight: 600; }

.v2-contact-field { position: relative; }
.v2-contact-field .v2-form-input { padding-right: 92px; }
.v2-channel-pill {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--lavender-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.v2-contact-helper {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}

.v2-channel-disclosure {
  margin-bottom: 14px;
  overflow: hidden;
}
.v2-channel-disclosure[open] {
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--cream);
}
.v2-channel-disclosure__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green);
  cursor: pointer;
  list-style: none;
}
.v2-channel-disclosure__header::-webkit-details-marker { display: none; }
.v2-channel-disclosure__header::after {
  content: '▾';
  font-size: 11px;
  color: var(--green);
  transition: transform var(--transition);
}
.v2-channel-disclosure[open] .v2-channel-disclosure__header {
  padding: 10px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}
.v2-channel-disclosure[open] .v2-channel-disclosure__header::after {
  transform: rotate(180deg);
}
.v2-channel-disclosure:not([open]) .v2-channel-disclosure__sub { display: none; }
.v2-channel-disclosure__sub {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}
.v2-channel-disclosure__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.v2-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.25rem;
}
.v2-channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cream-dark);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}
.v2-channel-chip:hover {
  border-color: var(--green);
  background: var(--cream-dark);
}
.v2-channel-chip.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.v2-channel-chip__check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
  opacity: 0.6;
}
.v2-channel-chip.is-active .v2-channel-chip__check {
  opacity: 1;
}
.v2-channel-chip.is-active .v2-channel-chip__check::after {
  content: '✓';
}
.v2-calling-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--black);
}
.v2-calling-row input[type="checkbox"] {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
.v2-offer-row { display: flex; gap: 0.5rem; align-items: stretch; }
.v2-offer-row .v2-form-input { flex: 1; min-width: 0; }
.v2-ask-btn {
  padding: 0.5rem 0.85rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  background: var(--lavender-light);
  color: var(--green);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
}
.v2-ask-btn:hover { background: var(--lavender); }
.v2-rank-hint {
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-left: 2px solid var(--green);
  color: var(--muted);
}
.v2-field-error {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C0392B;
  margin-top: 0.3rem;
  min-height: 1em;
}
.v2-modal-availability-note {
  font-size: 0.875rem;
  color: var(--text-muted, #666);
  margin: 0 0 1rem;
}

.v2-prior-banner {
  background: var(--cream-dark);
  border: 1.5px solid var(--lavender);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
}
.v2-submit-btn {
  display: block;
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.18);
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.v2-submit-btn:hover:not(:disabled) {
  background: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 rgba(0,0,0,0.25);
}
.v2-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.v2-submit-error {
  background: #FEF2F2;
  border: 1.5px solid #C2410C;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #C2410C;
  margin-bottom: 1rem;
}
.v2-success-panel { text-align: center; padding: 2.5rem 1rem; }
.v2-success-title { font-size: 1.25rem; font-weight: 700; color: var(--black); margin-bottom: 0.75rem; }
.v2-success-rank { font-size: 1rem; font-weight: 500; color: var(--muted); }
.v2-success-low-offer {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: var(--color-yellow);
  color: var(--text-on-accent);
  font-size: 0.82rem;
  font-weight: 600;
}
.v2-success-note { font-size: 0.82rem; color: var(--muted); margin-top: 1.25rem; }

@media (max-width: 768px) {
  .v2-interest-body { padding: 1rem; }
  .v2-form-group { margin-bottom: 0.55rem; }
  .v2-interest-header { padding: 0.875rem 1rem 0.75rem; }
}
/* ===== Vestige · mobile =====
 * Owns:    .mobile-filter-bar, .mobile-filter-bar__*, .mobile-panel,
 *          .mobile-panel__*, .mobile-chip, mobile featured-card,
 *          ≤768px 2-col card grid
 * Used on: /v2/ home on phones (≤768px)
 * Don't add: ≤1280px tablet overrides → tablet.css;
 *            detail-page mobile tweaks → @media block in product-detail.css
 */
/* Mobile-only elements — hidden on desktop */
.mobile-featured,
.mobile-filter-bar,
.mobile-panel,
.mobile-active-chips,
.tablet-featured,
.card-discount { display: none; }

/* ── Mobile/tablet filter bar & panel — structural styles (display toggled per breakpoint) ── */
.mobile-filter-bar {
  position: sticky; top: 0; z-index: 10;
  background: var(--cream); border-bottom: 1px solid var(--cream-dark);
}
.mobile-filter-bar-inner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px 10px; width: 100%;
}
.mobile-bar-heading {
  font-family: var(--font-serif); font-size: 20px;
  letter-spacing: -0.02em; flex: 1; margin: 0;
}
.mobile-bar-controls { display: flex; gap: 8px; }
.mobile-bar-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px;
  background: var(--white); border: 1.5px solid var(--cream-dark);
  border-radius: 10px; font-size: 12px; font-weight: 500; color: var(--charcoal);
  transition: all var(--transition); cursor: pointer;
}
.mobile-bar-btn.active {
  background: var(--black); color: var(--white); border-color: var(--black);
}
.mobile-bar-badge {
  background: var(--green); color: var(--white); font-size: 9px;
  font-weight: 700; padding: 1px 5px; border-radius: 100px; display: none;
}
.mobile-bar-btn.active .mobile-bar-badge { background: var(--white); color: var(--black); }
.mobile-sort-caret { font-size: 10px; opacity: 0.6; }
.mobile-sort-wrap { position: relative; }
.mobile-sort-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--white); border: 1.5px solid var(--cream-dark);
  border-radius: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden; min-width: 170px; z-index: 20;
}
.mobile-sort-dropdown.open { display: block; }
.mobile-sort-opt {
  display: block; width: 100%; padding: 11px 16px; text-align: left;
  font-size: 13px; font-weight: 500; color: var(--charcoal);
  background: transparent; border: none;
  border-bottom: 1px solid var(--cream-dark); cursor: pointer;
}
.mobile-sort-opt:last-child { border-bottom: none; }
.mobile-sort-opt.active { color: var(--green); font-weight: 600; }
.mobile-sort-opt:active { background: var(--cream); }
.mobile-panel {
  background: var(--white); border-bottom: 1px solid var(--cream-dark);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 220ms cubic-bezier(0.22,1,0.36,1),
              opacity 220ms cubic-bezier(0.22,1,0.36,1);
}
.mobile-panel.open { max-height: 500px; opacity: 1; }
.mobile-panel-group { padding: 16px 0 12px; }
.mobile-panel-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); padding: 0 20px 8px; display: block;
}
.mobile-panel-chips { display: flex; gap: 8px; padding: 0 20px; }
.mobile-panel-chips--scroll {
  overflow-x: auto; flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mobile-panel-chips--scroll::-webkit-scrollbar { display: none; }
.mobile-panel-chips--wrap { flex-wrap: wrap; }
.mobile-chip {
  padding: 7px 14px; border-radius: 10px; font-size: 13px; font-weight: 500;
  background: var(--cream); color: var(--charcoal);
  border: 1.5px solid transparent; white-space: nowrap;
  transition: all var(--transition); cursor: pointer;
}
.mobile-chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
.mobile-panel-actions {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px 14px; border-top: 1px solid var(--cream-dark);
}
.mobile-panel-clear {
  background: transparent; border: none; font-size: 13px;
  font-weight: 500; color: var(--muted); cursor: pointer;
}
.mobile-panel-show {
  padding: 9px 22px; background: var(--black); color: var(--white);
  border: none; border-radius: 10px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.mobile-active-chips.visible { display: block; animation: fadeUp 160ms ease-out both; }
.mobile-active-chips-inner { padding: 8px 20px 4px; }
.mobile-active-list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.mobile-active-chip {
  display: flex; align-items: center; gap: 4px; padding: 5px 10px;
  background: var(--cream-dark); color: var(--charcoal);
  border: none; border-radius: 100px; font-size: 12px; font-weight: 500; cursor: pointer;
}
.mobile-results-count {
  font-family: var(--font-serif); font-style: italic; font-size: 13px; color: var(--muted);
}
.feat-discount {
  position: absolute; top: 10px; right: 10px;
  background: var(--green); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: 0.04em;
}

/* ---- MOBILE HOMEPAGE (≤768px) ---- */
@media (max-width: 768px) {
  /* Hide desktop-only sections */
  .hero, .banner, .categories, .listings-header { display: none; }

  /* --- Mobile featured card --- */
  .mobile-featured { display: block; padding: 16px 20px 8px; }
  .mobile-eyebrow {
    font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--green); margin-bottom: 10px;
  }
  .mobile-feat-card {
    display: block; background: var(--white); border-radius: var(--radius-card);
    box-shadow: 0 4px 20px rgba(28,74,56,0.08); overflow: hidden;
    color: var(--black); text-decoration: none;
  }
  .mobile-feat-img {
    aspect-ratio: 16/10; position: relative; overflow: hidden;
    background: var(--cream-dark);
  }
  .mobile-feat-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  .mobile-feat-body { padding: 16px 18px 18px; }
  .mobile-feat-cat {
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--green); margin-bottom: 4px;
  }
  .mobile-feat-title {
    font-family: var(--font-serif); font-size: 22px; line-height: 1.15;
    letter-spacing: -0.01em; margin-bottom: 6px;
  }
  .mobile-feat-footer { margin-top: 4px; }
  .mobile-feat-footer { display: flex; justify-content: space-between; align-items: center; }
  .mobile-feat-prices { display: flex; align-items: baseline; gap: 10px; }
  .mobile-feat-price { font-family: var(--font-serif); font-size: 24px; color: var(--black); }
  .mobile-feat-original {
    font-size: 12px; color: var(--muted); text-decoration: line-through;
  }
  .mobile-feat-btn {
    padding: 8px 14px; background: var(--black); color: var(--white);
    border-radius: 10px; font-size: 12px; font-weight: 600;
  }

  /* --- Sticky filter bar --- */
  .mobile-filter-bar { display: flex; }

  /* --- Inline filter panel --- */
  .mobile-panel { display: block; }

  /* --- Active filter chips row --- */
  .mobile-active-chips { display: none; }

  /* --- Card grid overrides --- */
  /* featured[0] is shown in phone hero — hide from grid */
  .card-grid [data-featured-rank="0"] { display: none; }
  .listings { padding: 0; }
  .listings .section-inner { padding: 0; max-width: 100%; }
  .card-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 12px 32px; }
  .card-img { aspect-ratio: 1 / 1; }
  .card-badge { display: none; } /* hidden in dense grid */
  .mobile-feat-img .card-badge { display: flex; } /* but shown in the hero */
  .card-discount { display: block; }
  .card-body { padding: 10px 10px 12px; }
  .card-title {
    font-size: 14px; line-height: 1.2;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .card-condition { font-size: 11px; opacity: 0.6; }
  .card-price { font-size: 17px; }
  .card-offer-btn { display: none; }

  /* --- Discount badge --- */
  .card-discount {
    position: absolute; top: 8px; left: 8px; background: var(--green);
    color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 7px;
    border-radius: 4px;
  }
}
/* ===== Vestige · tablet =====
 * Owns:    @media (min-width: 769px) and (max-width: 1280px) — featured card
 *          row + 3-col grid overrides on /v2/ home
 * Used on: 769–1280px viewports (tablets / small laptops)
 * Don't add: phone overrides → mobile.css
 */
/* ── Tablet layout (769px–1280px: iPad landscape, small laptops) ── */
@media (min-width: 769px) and (max-width: 1280px) {
  /* Hide desktop-only sections */
  .hero, .banner, .categories, .listings-header { display: none; }

  /* Show tablet hero + reuse mobile filter bar */
  .tablet-featured   { display: block; padding: 20px 24px 8px; }
  .mobile-filter-bar { display: flex; }
  .mobile-panel      { display: block; }
  .card-discount     { display: block; }

  /* Eyebrow */
  .tablet-eyebrow {
    font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--green); margin-bottom: 12px;
  }

  /* Tablet featured card row */
  .tablet-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
  }
  .tablet-feat-card {
    display: flex; flex-direction: column;
    background: var(--white); border-radius: var(--radius-card);
    box-shadow: var(--shadow-card); overflow: hidden;
    color: var(--black); text-decoration: none;
    transition: box-shadow var(--transition);
  }
  .tablet-feat-card:hover { box-shadow: var(--shadow-hover); }
  .tablet-feat-img {
    aspect-ratio: 4/3; position: relative;
    overflow: hidden; background: var(--cream-dark);
  }
  .tablet-feat-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  .tablet-feat-body {
    padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1;
  }
  .tablet-feat-cat {
    font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--green); margin-bottom: 4px;
  }
  .tablet-feat-title {
    font-family: var(--font-serif); font-size: 18px; line-height: 1.2;
    letter-spacing: -0.01em; margin-bottom: 4px; flex: 1;
  }
  .tablet-feat-footer { margin-top: 4px; }
  .tablet-feat-footer { display: flex; justify-content: space-between; align-items: center; }
  .tablet-feat-prices { display: flex; align-items: baseline; gap: 8px; }
  .tablet-feat-price  { font-family: var(--font-serif); font-size: 20px; }
  .tablet-feat-original { font-size: 11px; color: var(--muted); text-decoration: line-through; }
  .tablet-feat-btn {
    padding: 7px 12px; background: var(--black); color: var(--white);
    border-radius: 10px; font-size: 12px; font-weight: 600;
  }

  /* Hide featured items from card grid — they appear in tablet hero */
  .card-grid [data-featured-rank="0"],
  .card-grid [data-featured-rank="1"],
  .card-grid [data-featured-rank="2"] { display: none; }

  /* 3-column card grid */
  .listings { padding: 0; }
  .listings .section-inner { padding: 0; max-width: 100%; }
  .card-grid { grid-template-columns: 1fr 1fr 1fr; gap: 14px; padding: 12px 20px 32px; }
}
