/* NOVARIS — supply selector (homepage + shop) & product page styles */

/* ── Supply selector (AlphaInfuse-style plan cards) ── */
.supply {
  max-width: 1200px; margin: 52px auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px);
}
.supply-card {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  background: #fff;
  border: 2px solid var(--line-dark);
  border-radius: calc(var(--radius) + 2px);
  padding: 30px 26px 26px;
  cursor: pointer;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
}
.supply-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(12,14,12,0.10); }
.supply-card input { position: absolute; opacity: 0; pointer-events: none; }
.supply-card:has(input:checked) {
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(138, 109, 18, 0.18);
  background: linear-gradient(180deg, #fffdf6, #fff);
}
.supply-radio {
  position: absolute; top: 22px; right: 22px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(12,14,12,0.25);
  transition: border-color 0.3s, background 0.3s;
}
.supply-card:has(input:checked) .supply-radio {
  border-color: var(--gold);
  background: radial-gradient(circle at center, var(--gold) 0 45%, transparent 50%);
}
.supply-badge {
  position: absolute; top: -13px; left: 24px;
  background: var(--ink); color: var(--ivory);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.supply-badge-gold { background: var(--gold); color: var(--ink); }
.supply-name { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.supply-prices { display: flex; align-items: baseline; gap: 10px; }
.supply-prices s { font-size: 16px; color: rgba(12,14,12,0.4); }
.supply-prices strong { font-size: 36px; font-weight: 900; letter-spacing: -0.03em; line-height: 1; }
.supply-contents { font-size: 13.5px; line-height: 1.55; color: rgba(12,14,12,0.62); margin-top: 4px; }
.supply-save {
  align-self: flex-start; margin-top: 10px;
  background: rgba(201, 162, 39, 0.14); color: #8a6d12;
  border: 1px solid rgba(138,109,18,0.35);
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px;
}
.supply-cta {
  max-width: 1200px; margin: 30px auto 0;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap;
}
.supply-total { font-size: 16px; color: rgba(12,14,12,0.65); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.supply-total s { color: rgba(12,14,12,0.4); }
.supply-total strong { font-size: 34px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); }
.supply-total em { font-style: normal; font-size: 12.5px; color: #8a6d12; font-weight: 700; }

/* ── Product page layout ── */
.pdp {
  max-width: 1360px; margin: 0 auto;
  padding: clamp(28px, 4vw, 60px) clamp(20px, 4vw, 56px) clamp(64px, 7vw, 100px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px);
  background: var(--ivory); color: var(--ink);
}
.pdp-gallery { display: grid; gap: 14px; align-content: start; position: sticky; top: 96px; }
.pdp-main {
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 1/0.92; background: #fff;
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s; }
.pdp-main img.switching { opacity: 0.25; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pdp-thumb {
  border: 2px solid var(--line-dark); border-radius: 12px; overflow: hidden;
  aspect-ratio: 1/1; cursor: pointer; padding: 0; background: #fff;
  transition: border-color 0.3s, transform 0.3s;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.active { border-color: var(--gold); }

.pdp-info { display: flex; flex-direction: column; gap: 18px; align-content: start; }
.pdp-kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6d12; }
.pdp-title { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.pdp-reviews { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(12,14,12,0.6); }
.pdp-reviews .stars { color: var(--gold); margin: 0; letter-spacing: 2px; }
.pdp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pdp-price s { font-size: 22px; color: rgba(12,14,12,0.4); }
.pdp-price strong { font-size: 52px; font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.pdp-save-tag { background: var(--ink); color: var(--gold-soft); font-size: 12px; font-weight: 800; letter-spacing: 0.1em; padding: 7px 14px; border-radius: 999px; }
.pdp-benefits { list-style: none; display: grid; gap: 9px; padding: 18px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.pdp-benefits li { font-size: 14.5px; color: rgba(12,14,12,0.75); padding-left: 24px; position: relative; }
.pdp-benefits li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pdp-supply-label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(12,14,12,0.55); }
.pdp .supply { padding: 0; margin: 0; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: none; }
.pdp .supply-card { padding: 18px 14px 14px; gap: 5px; border-radius: 14px; }
.pdp .supply-name { font-size: 14.5px; }
.pdp .supply-prices strong { font-size: 24px; }
.pdp .supply-prices s { font-size: 13px; }
.pdp .supply-contents { font-size: 11.5px; }
.pdp .supply-save { font-size: 10px; padding: 4px 9px; margin-top: 6px; }
.pdp .supply-radio { width: 17px; height: 17px; top: 14px; right: 14px; }
.pdp .supply-badge { left: 12px; top: -11px; font-size: 9px; padding: 4px 10px; }

.gifts { border: 1px dashed rgba(138,109,18,0.5); background: rgba(201,162,39,0.06); border-radius: 14px; padding: 16px 18px; display: grid; gap: 10px; }
.gifts-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; font-weight: 700; }
.gifts-head .gifts-claim { color: #8a6d12; white-space: nowrap; }
.gifts-bar { height: 6px; border-radius: 999px; background: rgba(12,14,12,0.1); overflow: hidden; }
.gifts-bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.gifts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gift { display: flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.gift svg { width: 22px; height: 22px; flex: none; stroke: #8a6d12; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gift span { display: block; color: rgba(12,14,12,0.5); font-weight: 500; }
.gift span s { margin-right: 4px; }
.gift span b { color: #2e7d32; font-weight: 800; }

.pdp-actions { display: grid; gap: 12px; }
.pdp-actions .btn { width: 100%; }
.pdp-secure { text-align: center; font-size: 12.5px; color: rgba(12,14,12,0.55); }
.pdp-review-snippet {
  background: #fff; border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 16px 18px; font-size: 13.5px; color: rgba(12,14,12,0.7);
}
.pdp-review-snippet .stars { color: var(--gold); letter-spacing: 2px; font-size: 12px; margin: 0 0 6px; }
.pdp-review-snippet strong { color: var(--ink); }

.pdp-acc { border-top: 1px solid var(--line-dark); }
.pdp-acc .faq-item summary { font-size: 15.5px; padding: 18px 4px; }
.pdp-acc .faq-item p, .pdp-acc .faq-item ul { padding: 0 4px 22px; color: rgba(12,14,12,0.66); font-size: 14px; }
.pdp-acc .faq-item ul { list-style: none; display: grid; gap: 6px; }
.pdp-acc .faq-item ul li::before { content: "— "; color: #8a6d12; }

.pdp-guarantee {
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--ivory);
  border-radius: 14px; padding: 18px 20px; font-size: 13.5px;
}
.pdp-guarantee svg { width: 40px; height: 40px; flex: none; color: var(--gold); }
.pdp-guarantee p { color: var(--ivory-dim); }
.pdp-guarantee strong { color: var(--ivory); display: block; margin-bottom: 2px; }

@media (max-width: 1024px) {
  .supply { grid-template-columns: 1fr; max-width: 480px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { position: static; }
}
@media (max-width: 640px) {
  .pdp .supply { grid-template-columns: 1fr; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gifts-row { grid-template-columns: 1fr; }
  .supply-cta .btn { width: 100%; }
}
