/* ─── Variables ─────────────────────────────────────────────────── */
:root {
  --black:   #0a0a0a;
  --white:   #FAF9F6;
  --sand:    #E8E2D9;
  --muted:   #C4B9AE;
  --text-2:  #6b6460;
  --serif:   Georgia, 'Times New Roman', serif;
  --sans:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --radius:  2px;
  --transition: 0.22s ease;
}

/* ─── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--black); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 24px;
  display: flex; align-items: center;
  mix-blend-mode: difference;
}
.header-inner { display: flex; align-items: center; gap: 12px; }
.logo {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.25em;
  color: var(--white); font-weight: 400;
}
.collection-tag {
  font-size: 0.65rem; letter-spacing: 0.2em; color: var(--white);
  border: 1px solid rgba(250,249,246,0.4); padding: 3px 8px; border-radius: var(--radius);
}

/* ─── Ticker ─────────────────────────────────────────────────────── */
.ticker-wrap {
  position: sticky; top: 64px; z-index: 99;
  background: var(--black); overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 11px 0;
}
.ticker-track {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: 0.68rem; letter-spacing: 0.18em; color: var(--white);
  text-transform: uppercase; white-space: nowrap; padding: 0 28px;
}
.ticker-dot {
  color: var(--muted); font-size: 0.6rem; flex-shrink: 0;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center top;
  opacity: 0.3;
}
@media (min-width: 768px) {
  .hero-bg img { object-position: center 30%; }
}
.hero-content { text-align: center; max-width: 680px; position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 1.08;
  letter-spacing: -0.01em; margin-bottom: 28px;
}
.hero-subtitle {
  font-size: 0.95rem; line-height: 1.7; color: var(--muted);
  margin-bottom: 48px;
}
.hero-cta {
  display: inline-block; padding: 14px 36px;
  border: 1px solid var(--white); color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}
.hero-cta:hover { background: var(--white); color: var(--black); }
.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 1.2rem; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(6px)} }

/* ─── Products section ───────────────────────────────────────────── */
.products-section { padding: 80px 24px 64px; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 40px; }
.section-title { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; letter-spacing: 0.04em; }
.section-meta { font-size: 0.78rem; color: var(--text-2); letter-spacing: 0.05em; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ─── Product card ───────────────────────────────────────────────── */
.product-card {
  cursor: pointer; position: relative; background: var(--white);
  transition: transform var(--transition);
}
.product-card:hover { transform: translateY(-3px); }
.product-card:hover .card-overlay { opacity: 1; }
.card-img-wrap { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--sand); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-overlay {
  position: absolute; inset: 0; background: rgba(10,10,10,0.35);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.card-overlay-btn {
  color: var(--white); border: 1px solid var(--white);
  padding: 10px 22px; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.card-body { padding: 12px 4px 16px; }
.card-type { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.card-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 400; margin-bottom: 6px; }
.card-price { font-size: 0.88rem; color: var(--black); }
.card-colors { display: flex; gap: 6px; margin-top: 8px; }
.color-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0;
}

/* ─── Loading ────────────────────────────────────────────────────── */
.loading-state {
  grid-column: 1 / -1; text-align: center; padding: 80px 0;
  color: var(--text-2); font-size: 0.9rem;
}
.loading-spinner {
  width: 28px; height: 28px; border: 2px solid var(--sand);
  border-top-color: var(--black); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Brand strip ────────────────────────────────────────────────── */
.brand-strip { background: var(--black); color: var(--white); padding: 72px 24px; }
.brand-strip-inner {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 640px) { .brand-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.brand-pillar { text-align: center; }
.pillar-icon { font-size: 1.1rem; color: var(--muted); display: block; margin-bottom: 16px; }
.brand-pillar h3 { font-family: var(--serif); font-size: 1rem; font-weight: 400; margin-bottom: 10px; }
.brand-pillar p { font-size: 0.82rem; line-height: 1.65; color: var(--muted); }

/* ─── Modal overlay ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,10,0.72); backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
@media (min-width: 768px) { .modal-overlay { align-items: center; } }

/* ─── Modal card ─────────────────────────────────────────────────── */
.modal {
  position: relative; background: var(--white);
  width: 100%; max-height: 92svh; overflow-y: auto;
  display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform 0.28s ease;
}
.modal-overlay.open .modal { transform: translateY(0); }

@media (min-width: 768px) {
  .modal {
    flex-direction: row; max-width: 960px; max-height: 90vh;
    overflow-y: hidden; /* details panel handles its own scroll on desktop */
    border-radius: var(--radius);
  }
}

/* ─── Modal gallery ──────────────────────────────────────────────── */
.modal-gallery {
  flex-shrink: 0;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .modal-gallery { width: 52%; } }

.gallery-main-wrap { aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.gallery-main-wrap img,
.gallery-main-wrap video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.gallery-thumbs {
  display: flex; gap: 6px; padding: 10px 12px;
  overflow-x: auto; flex-shrink: 0;
}
.gallery-thumbs::-webkit-scrollbar { height: 3px; }
.gallery-thumbs::-webkit-scrollbar-track { background: var(--sand); }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--muted); }

.gallery-thumb-wrap {
  flex-shrink: 0; width: 54px; height: 54px;
  position: relative; cursor: pointer;
  border: 2px solid transparent; transition: border-color var(--transition);
  background: var(--sand); overflow: hidden;
}
.gallery-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb-wrap.active { border-color: var(--black); }

.thumb-play-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}

/* ─── Modal details ──────────────────────────────────────────────── */
.modal-details {
  padding: 28px 24px 32px;
  flex: 1;
  /* mobile: parent .modal scrolls; desktop: this panel scrolls independently */
}
@media (min-width: 768px) {
  .modal-details { overflow-y: auto; }
}

.modal-close {
  position: absolute; top: 14px; right: 16px; z-index: 10;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(250,249,246,0.9); font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.modal-close:hover { background: var(--sand); }

.modal-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.modal-badge {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2); border: 1px solid var(--sand); padding: 3px 8px;
}
.modal-stock-badge {
  font-size: 0.68rem; color: #8B4513; letter-spacing: 0.05em;
}

.modal-title {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 400;
  letter-spacing: 0.02em; margin-bottom: 8px; line-height: 1.2;
}
.modal-price { font-size: 1.05rem; color: var(--black); margin-bottom: 20px; }

/* ─── Features ───────────────────────────────────────────────────── */
.modal-features { border-top: 1px solid var(--sand); padding-top: 18px; margin-bottom: 24px; }
.modal-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.84rem; line-height: 1.55; color: var(--black);
  padding: 6px 0; border-bottom: 1px solid rgba(232,226,217,0.5);
}
.modal-features li::before { content: '—'; color: var(--muted); flex-shrink: 0; margin-top: 1px; }

/* ─── Sizes ──────────────────────────────────────────────────────── */
.modal-sizes-wrap { margin-bottom: 20px; }
.sizes-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sizes-label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); }
.size-guide-link { font-size: 0.72rem; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.sizes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 42px; height: 38px; padding: 0 12px;
  border: 1px solid var(--sand); font-size: 0.82rem; color: var(--black);
  transition: border-color var(--transition), background var(--transition);
}
.size-btn:hover:not(:disabled) { border-color: var(--black); }
.size-btn.selected { background: var(--black); color: var(--white); border-color: var(--black); }
.size-btn:disabled { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.size-error { font-size: 0.75rem; color: #c0392b; margin-top: 8px; }

/* ─── CTA buttons ────────────────────────────────────────────────── */
.cta-btn {
  display: block; width: 100%; padding: 15px;
  background: var(--black); color: var(--white);
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background var(--transition); margin-bottom: 10px;
}
.cta-btn:hover { background: #2a2a2a; }
.btn-secondary {
  display: block; text-align: center; padding: 13px;
  border: 1px solid var(--sand); font-size: 0.72rem;
  letter-spacing: 0.12em; color: var(--text-2);
  transition: border-color var(--transition), color var(--transition);
  margin-bottom: 24px;
}
.btn-secondary:hover { border-color: var(--black); color: var(--black); }

/* ─── Trust badges ───────────────────────────────────────────────── */
.trust-badges {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 20px;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(232,226,217,0.35); border: 1px solid var(--sand);
  border-radius: var(--radius); padding: 10px 12px;
}
.trust-badge svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--text-2); }
.trust-badge span { font-size: 0.72rem; color: var(--text-2); line-height: 1.3; }

/* ─── Accordions ─────────────────────────────────────────────────── */
.modal-accordions { border-top: 1px solid var(--sand); margin-top: 28px; }
.accordion-item { border-bottom: 1px solid var(--sand); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-size: 0.84rem; color: var(--black); text-align: left;
}
.accordion-trigger:hover { color: var(--text-2); }
.accordion-chevron {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--muted);
  transition: transform 0.22s ease;
}
.accordion-item.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}
.accordion-item.open .accordion-body { max-height: 600px; padding-bottom: 18px; }
.accordion-body p {
  font-size: 0.83rem; line-height: 1.65; color: var(--text-2);
  white-space: pre-line;
}
.accordion-body ul { list-style: none; padding: 0; }
.accordion-body ul li {
  font-size: 0.83rem; line-height: 1.55; color: var(--text-2);
  padding: 5px 0; display: flex; align-items: flex-start; gap: 8px;
}
.accordion-body ul li::before { content: '—'; color: var(--muted); flex-shrink: 0; }

/* ─── Reviews ────────────────────────────────────────────────────── */
.modal-reviews { border-top: 1px solid var(--sand); padding-top: 20px; }
.reviews-title { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.review-item { padding: 14px 0; border-bottom: 1px solid rgba(232,226,217,0.5); }
.review-item:last-child { border-bottom: none; }
.review-stars { color: var(--black); font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.review-text { font-size: 0.83rem; line-height: 1.6; color: var(--black); margin-bottom: 6px; font-style: italic; }
.review-author { font-size: 0.7rem; color: var(--text-2); letter-spacing: 0.08em; }

/* ─── Modal recommendations ──────────────────────────────────────── */
.modal-recs { border-top: 1px solid var(--sand); padding-top: 24px; margin-top: 28px; }
.recs-title { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.recs-carousel {
  display: flex; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: 4px;
}
.recs-carousel::-webkit-scrollbar { display: none; }
.rec-card {
  flex-shrink: 0; width: 130px; scroll-snap-align: start;
  cursor: pointer;
}
.rec-card:hover .rec-img { transform: scale(1.03); }
.rec-img-wrap {
  aspect-ratio: 4/5; overflow: hidden;
  background: var(--sand); border-radius: var(--radius); margin-bottom: 8px;
}
.rec-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.rec-name { font-size: 0.75rem; color: var(--black); line-height: 1.3; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-price { font-size: 0.72rem; color: var(--text-2); }

/* ─── Modal collection blocks ────────────────────────────────────── */
.modal-collections {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 20px; padding-bottom: 8px;
}
@media (max-width: 767px) {
  .modal-collections { grid-template-columns: 1fr; }
}
.col-block {
  position: relative; display: block;
  aspect-ratio: 1/1; overflow: hidden;
  border-radius: var(--radius);
}
.col-block img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.col-block:hover img { transform: scale(1.04); }

/* ─── WhatsApp bubble ────────────────────────────────────────────── */
.wpp-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wpp-bubble:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(0,0,0,0.22); }
.wpp-bubble svg { width: 28px; height: 28px; }

/* ─── Urgency strip (Burning section) ───────────────────────────── */
.grid-urgency-strip {
  background: #0f0505 !important;
  border-top: 1px solid rgba(255,107,80,0.15);
  border-bottom: 1px solid rgba(255,107,80,0.15);
}
.grid-urgency-strip .gbstrip-icon { color: rgba(255,107,80,0.7) !important; }
.grid-urgency-strip .gbstrip-pillar b { color: #FAF9F6 !important; }
.grid-urgency-strip .gbstrip-pillar span { color: rgba(250,249,246,0.55) !important; }
.grid-urgency-strip .gbstrip-divider { background: rgba(255,107,80,0.2) !important; }

/* ─── Footer ─────────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: var(--white); padding: 48px 24px; text-align: center; }
.footer-logo { font-family: var(--serif); font-size: 1.2rem; letter-spacing: 0.25em; display: block; margin-bottom: 8px; }
.footer-tagline { font-size: 0.75rem; color: var(--muted); margin-bottom: 20px; }
.footer-link { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--white); }

/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--muted); }

/* ─── Prevent body scroll when modal open ────────────────────────── */
body.modal-open { overflow: hidden; }

/* ─── Filter pills ───────────────────────────────────────────────── */
.filter-pills-wrap {
  overflow-x: auto; margin-bottom: 28px;
  padding-bottom: 4px;
}
.filter-pills-wrap::-webkit-scrollbar { height: 0; }
.filter-pills { display: flex; gap: 8px; width: max-content; }
.filter-pill {
  flex-shrink: 0; padding: 7px 16px;
  border: 1px solid var(--sand); border-radius: 999px;
  font-size: 0.76rem; letter-spacing: 0.08em; color: var(--text-2);
  background: transparent; white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-pill:hover { border-color: var(--black); color: var(--black); }
.filter-pill.active { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── Sale badges on cards ───────────────────────────────────────── */
.card-sale-badge, .card-twin-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 0.65rem; letter-spacing: 0.1em; font-weight: 600;
  padding: 4px 9px; border-radius: var(--radius);
}
.card-sale-badge { background: #1a0a0a; color: #FF6B50; }
.card-twin-badge { background: var(--black); color: var(--white); }

/* ─── Sale price on cards ────────────────────────────────────────── */
.price-original { text-decoration: line-through; color: var(--muted); margin-right: 4px; font-size: 0.82rem; }
.price-sale { color: #C0392B; font-weight: 600; }

/* ─── Sale price in modal ────────────────────────────────────────── */
.price-original-lg { text-decoration: line-through; color: var(--muted); margin-right: 8px; font-size: 0.95rem; }
.price-sale-lg { color: #C0392B; font-weight: 600; font-size: 1.1rem; }

/* ─── Capsule sections ───────────────────────────────────────────── */
.capsule-section { padding: 0 0 72px; }

.capsule-header {
  padding: 64px 24px 40px;
  max-width: 1400px; margin: 0 auto;
}
.capsule-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 10px;
}
.capsule-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 400; line-height: 1.1; letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.capsule-subtitle { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }

/* ─── Burning Piel capsule ───────────────────────────────────────── */
.burning-section-wrap { background: #0f0505; }
.burning-section-wrap .capsule-eyebrow { color: rgba(255,107,80,0.7); }
.burning-section-wrap .capsule-title { color: #FAF9F6; }
.burning-section-wrap .capsule-subtitle { color: rgba(250,249,246,0.55); }
.burning-section-wrap .products-grid { padding: 0 24px; max-width: 1400px; margin: 0 auto; }
.burning-section-wrap .card-body { background: #0f0505; }
.burning-section-wrap .card-title { color: #FAF9F6; }
.burning-section-wrap .card-type { color: rgba(250,249,246,0.45); }

/* ─── Twin Edit capsule ──────────────────────────────────────────── */
.twin-section-wrap { background: var(--white); }
.twin-video-wrap {
  position: relative; width: 100%; height: 52vw; max-height: 520px; min-height: 260px;
  overflow: hidden; background: var(--black);
}
.twin-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.7;
}
.twin-video-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px;
  background: linear-gradient(to top, rgba(10,10,10,0.55) 0%, transparent 60%);
}
.twin-products-wrap { padding: 40px 24px 0; max-width: 1400px; margin: 0 auto; }

/* ─── Nav pills (row 2 — scroll anchors) ────────────────────────── */
.nav-pills-wrap { margin-top: -14px; margin-bottom: 32px; }
.nav-pill {
  border-color: var(--black) !important;
  color: var(--black) !important;
  font-weight: 500;
}
.nav-pill:hover { background: var(--black) !important; color: var(--white) !important; }

/* ─── Show more button ───────────────────────────────────────────── */
#show-more-wrap {
  display: flex; justify-content: center;
  padding: 40px 24px 16px;
}
.show-more-btn {
  padding: 13px 40px;
  border: 1px solid var(--sand); background: transparent;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--black);
  transition: background var(--transition), border-color var(--transition);
}
.show-more-btn:hover { border-color: var(--black); background: var(--sand); }

/* ─── Size guide modal ───────────────────────────────────────────── */
.sizeguide-modal {
  flex-direction: column !important;
  max-width: 540px !important;
  max-height: 88svh;
  overflow-y: auto;
}
.sizeguide-content { padding: 36px 28px 32px; }
.sizeguide-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 400;
  margin-bottom: 10px; letter-spacing: 0.02em;
}
.sizeguide-intro {
  font-size: 0.82rem; color: var(--text-2); line-height: 1.6; margin-bottom: 24px;
}

/* Tabs */
.sizeguide-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid var(--sand); }
.sg-tab {
  padding: 8px 0; margin-right: 24px;
  font-size: 0.76rem; letter-spacing: 0.08em; color: var(--text-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.sg-tab.active { color: var(--black); border-bottom-color: var(--black); }
.sg-tab:hover { color: var(--black); }

/* Panels */
.sg-panel { display: none; }
.sg-panel.active { display: block; }

/* Table */
.sg-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; margin-bottom: 10px; }
.sg-table th {
  padding: 8px 12px; text-align: left;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); border-bottom: 1px solid var(--sand);
}
.sg-table td {
  padding: 10px 12px; border-bottom: 1px solid rgba(232,226,217,0.5);
  color: var(--black);
}
.sg-table tr:last-child td { border-bottom: none; }
.sg-table tr:nth-child(even) td { background: rgba(232,226,217,0.2); }
.sg-table td:first-child { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.sg-note {
  font-size: 0.74rem; color: var(--text-2); font-style: italic;
  padding: 8px 0 4px;
}

/* Cómo medirte */
.sg-how { margin-top: 24px; border-top: 1px solid var(--sand); padding-top: 20px; }
.sg-how-title {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 14px;
}
.sg-how-grid { display: flex; flex-direction: column; gap: 10px; }
.sg-how-item { display: flex; gap: 12px; align-items: flex-start; }
.sg-how-label {
  font-size: 0.78rem; font-weight: 600; min-width: 60px; flex-shrink: 0;
  color: var(--black);
}
.sg-how-text { font-size: 0.78rem; color: var(--text-2); line-height: 1.5; }

/* Size guide link — button reset */
.size-guide-link {
  background: none; border: none; padding: 0;
  font-size: 0.72rem; color: var(--text-2);
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.size-guide-link:hover { color: var(--black); }

/* ─── Card border radius ─────────────────────────────────────────── */
.product-card { border-radius: 10px; overflow: hidden; }
.card-img-wrap { border-radius: 10px 10px 0 0; }
.card-body { padding: 12px 12px 16px; }

/* ─── Top seller badge on cards ──────────────────────────────────── */
.card-top-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(250,249,246,0.92); color: var(--black);
  padding: 4px 8px; border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ─── Top seller in modal ────────────────────────────────────────── */
.modal-top-badge {
  font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--black); color: var(--white);
  padding: 3px 10px; border-radius: 999px;
}

/* ─── Card rating ────────────────────────────────────────────────── */
.card-rating {
  display: flex; align-items: center; gap: 4px;
  margin-top: 5px;
}
.card-stars { color: #C9A84C; font-size: 0.72rem; letter-spacing: -1px; }
.card-rating-num { font-size: 0.72rem; font-weight: 600; color: var(--black); }
.card-rating-count { font-size: 0.68rem; color: var(--text-2); }

/* ─── Modal rating ───────────────────────────────────────────────── */
.modal-rating {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.modal-stars { color: #C9A84C; font-size: 0.85rem; letter-spacing: -1px; }
.modal-rating-num { font-size: 0.85rem; font-weight: 600; color: var(--black); }
.modal-rating-count { font-size: 0.78rem; color: var(--text-2); }

/* ─── Inline grid brand strip ────────────────────────────────────── */
.grid-brand-strip {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 20px 8px;
  background: var(--white);
  border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand);
  margin: 4px 0;
}
.gbstrip-pillar {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 0; padding: 0 16px;
  font-size: 0.78rem; line-height: 1.4;
}
.gbstrip-label { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.gbstrip-icon { font-size: 0.7rem; color: var(--muted); flex-shrink: 0; }
.gbstrip-pillar b { font-weight: 600; color: var(--black); white-space: nowrap; }
.gbstrip-pillar > span:not(.gbstrip-label) { color: var(--text-2); margin-left: 10px; }
.gbstrip-divider { width: 1px; height: 32px; background: var(--sand); flex-shrink: 0; }

@media (max-width: 640px) {
  .grid-brand-strip { flex-direction: column; gap: 12px; padding: 20px 16px; }
  .gbstrip-divider { width: 32px; height: 1px; }
  .gbstrip-pillar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0 12px;
    padding: 0;
    font-size: 0.76rem;
  }
  .gbstrip-label { align-items: flex-start; }
  .gbstrip-pillar b { white-space: normal; }
  .gbstrip-pillar > span:not(.gbstrip-label) { margin-left: 0; color: var(--text-2); }
}

/* ─── Modal border radius ────────────────────────────────────────── */
@media (min-width: 768px) {
  .modal { border-radius: 12px; overflow: hidden; }
}

/* ─── Header scrolled state ──────────────────────────────────────── */
.site-header {
  transition: background 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(250, 249, 246, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mix-blend-mode: normal;
  border-bottom: 1px solid rgba(196,185,174,0.3);
}
.site-header.scrolled .logo { color: var(--black); }
.site-header.scrolled .collection-tag { color: var(--black); border-color: var(--sand); }

/* ─── Sticky pills ───────────────────────────────────────────────── */
.pills-sticky {
  position: sticky;
  top: 54px;
  z-index: 80;
  background: var(--white);
  padding: 10px 0 2px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.pills-sticky.stuck {
  box-shadow: 0 4px 16px rgba(10,10,10,0.06);
}
/* Remove old margin from inner wraps since sticky container handles spacing */
.pills-sticky .filter-pills-wrap { margin-bottom: 10px; }
.pills-sticky .nav-pills-wrap { margin-top: 0; margin-bottom: 0; }

/* ─── Partial stars ──────────────────────────────────────────────── */
.stars-wrap {
  position: relative; display: inline-block;
  font-size: 1rem; letter-spacing: 2px; line-height: 1;
  vertical-align: middle;
}
.stars-empty { color: #DDD; display: block; }
.stars-filled {
  position: absolute; top: 0; left: 0;
  overflow: hidden; white-space: nowrap;
  color: #C9A84C; display: block;
}
.modal-rating {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.modal-rating-num {
  font-size: 0.88rem; font-weight: 600; color: var(--black);
  vertical-align: middle;
}

/* ─── Modal color selector ───────────────────────────────────────── */
.modal-colors-wrap { margin-bottom: 20px; }
.colors-label-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.selected-color-name {
  font-size: 0.8rem; color: var(--black); font-weight: 500;
}
.colors-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.color-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  outline: 2px solid transparent; outline-offset: 2px;
  flex-shrink: 0;
}
.color-swatch:hover { transform: scale(1.1); }
.color-swatch.active {
  border-color: var(--black);
  outline-color: var(--black);
}
