/* ════════════════════════════════════════════════════════════════════════
   talseume-shop.css — Section Boutique (grille 12 produits) partagée
   Chargée sur toutes les pages pour avoir la boutique partout, identique
   à la page d'accueil.
   ════════════════════════════════════════════════════════════════════════ */

:where(:root) {
  --black: #0a0a0a;
  --line-l: rgba(0, 0, 0, 0.08);
}

/* ── Section heading ─────────────────────────────────────────────────── */
.s-head {
  padding: 120px 56px 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.s-eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 18px;
  font-weight: 400;
}
.s-title {
  font-size: clamp(26px, 3.8vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.05;
  margin: 0;
}

/* ── Grid ────────────────────────────────────────────────────────────── */
.pgrid-wrap {
  padding: 0 3.5vw 60px;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
}
@media (max-width: 1024px) {
  .pgrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .s-head { padding: 80px 24px 32px; }
  .pgrid-wrap { padding: 0 24px 48px; }
}
@media (max-width: 480px) {
  .pgrid { gap: 12px; }
  .pgrid-wrap { padding: 0 12px 40px; }
}

/* ── Product card ────────────────────────────────────────────────────── */
.pcard {
  background: transparent;
  display: block;
  position: relative;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcard:hover { transform: translateY(-4px); }
.pcard-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  font-size: 0;
  line-height: 0;
}
.pcard-link:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: -3px;
}
.pcard-fav,
.pcard-label,
.badge-row {
  z-index: 5;
  position: relative;
}
.pcard-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f6f6f6;
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.pcard:hover .pcard-img img { transform: scale(1.03); }

.pcard-label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(10, 10, 10, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge {
  background: transparent;
  color: var(--black);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0;
  border: none;
}
.badge.sale { color: #8a3a2a; }
.badge.new { color: var(--black); }
.badge.limited { color: #7a6845; }

.badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-row .badge + .badge::before {
  content: '·';
  margin: 0 6px;
  opacity: 0.4;
}
.badge-row:empty { display: none; }

.pcard-fav {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s, transform 0.25s;
  color: var(--black);
  cursor: pointer;
}
.pcard:hover .pcard-fav { opacity: 0.9; }
.pcard-fav:hover { transform: scale(1.08); }
.pcard-fav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
  transition: fill 0.2s;
}
.pcard-fav.active svg { fill: currentColor; }

.pcard-quick { display: none; }

.pcard-info {
  padding: 20px 2px 6px;
  text-align: left;
}
.pcard-name {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.pcard-footer {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.pcard-price {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pcard-price-old {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
  text-decoration: line-through;
}
