/* Composants réutilisables — 1 bloc HTML = 1 section Shopify */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { opacity: 0.5; }

.product-card[data-shopify-product] { cursor: pointer; }
.product-card[data-shopify-product]:focus-within { outline: 2px solid var(--gold); outline-offset: 4px; }

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.collection-tile {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 18px;
  text-align: center;
  transition: 0.2s ease;
  min-height: 100px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.collection-tile:hover {
  border-color: rgba(183, 138, 66, 0.48);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(82, 60, 40, 0.1);
}
.collection-tile strong { font-family: Fraunces, serif; font-size: 18px; }
.collection-tile small { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.pdp-gallery {
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  padding: 24px;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pdp-gallery img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.24s ease;
}
.pdp-gallery:hover img {
  transform: scale(1.1);
}
.pdp-gallery--lifestyle img {
  height: 380px;
  max-height: none;
  object-fit: cover;
}
.pdp-details {
  display: grid;
  gap: 28px;
  align-content: start;
}
.pdp-buybox {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 18px 50px rgba(82, 60, 40, 0.08);
}
.pdp-copy h1,
.pdp-details h1 { font-size: clamp(36px, 4vw, 52px); line-height: 1.02; }
@media (min-width: 901px) {
  .pdp-gallery.pdp-sticky-block {
    position: sticky;
    top: calc(var(--sticky-offset) + 14px);
    z-index: var(--z-sticky-section);
    align-self: start;
  }
}
.pdp-price { font-size: 28px; font-weight: 900; color: var(--gold); margin: 16px 0; }
.pdp-price s { font-size: 16px; color: var(--muted); margin-left: 8px; }
.pdp-desc { color: var(--muted); line-height: 1.7; font-weight: 600; margin-bottom: 20px; }
.variant-picker { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.variant-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}
.variant-btn.active, .variant-btn:hover {
  border-color: var(--gold);
  background: rgba(183, 138, 66, 0.12);
  color: var(--gold);
}
.pdp-trust {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.migration-tag {
  display: inline-block;
  margin-top: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(183, 138, 66, 0.12);
  color: var(--mocha);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
  .pdp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .collection-grid { grid-template-columns: 1fr; }
}