/* ═══════════════════════════════════════════════════════════════════
   ISSEL PHARMA — Seitenstyles PRODUKT „Hanföl Peroral" (produkt.html)
   Nur seitenspezifische Styles. Tokens & Komponenten: assets/style.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Breadcrumb-Zeile ───────────────────────────────────────────── */
.pd-crumbs { padding-block: 0; }

/* ── Kauf-Bereich: Galerie + Buy-Box ────────────────────────────── */
.pd-buy { padding-top: clamp(10px, 2vw, 26px); padding-bottom: clamp(32px, 4vw, 56px); }
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
}

/* Galerie */
.gallery { position: sticky; top: 130px; }
@media (max-width: 960px) { .gallery { position: static; max-width: 560px; } }
.gallery__main {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 48px);
}
.gallery__main .pcard__badge { top: 18px; left: 18px; }
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .2s ease;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.gallery__thumb {
  aspect-ratio: 1;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.gallery__thumb:hover { border-color: var(--leaf); }
.gallery__thumb.is-active { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Buy-Box */
.buy__title { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: .35em; }
.buy__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 15px;
}
.buy__rating strong { color: var(--ink); font-size: 16px; }
.buy__rating a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.buy__stars { display: inline-flex; gap: 2px; }
.buy__stars svg { width: 18px; height: 18px; }
.buy__verified {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--action);
  border-radius: 999px;
  padding: 5px 12px;
}
.buy__usps { gap: 10px; margin-bottom: 26px; }
.buy__usps li { font-size: 15.5px; }

.buy__pricebox {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-bottom: 22px;
}
.buy__price {
  font-size: clamp(30px, 3vw, 36px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 2px;
  letter-spacing: -.01em;
}
.buy__price-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 0;
}

.buy__variants { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.buy__variants legend {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  padding: 0;
}

.buy__row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy__row .qty { min-height: 56px; }
.buy__cta { flex: 1; min-width: 220px; }
.btn-wish {
  width: 56px;
  min-height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color .2s, color .2s, background .2s;
}
.btn-wish:hover { border-color: var(--gold); color: var(--gold-ink); background: #fff; }
.btn-wish svg { width: 22px; height: 22px; }

.buy__pay-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
  margin: 10px 0 20px;
}

.buy__stock {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 18px;
}
.buy__stock strong { color: var(--action); }
.buy__dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--leaf);
  flex: none;
  animation: stock-pulse 2.2s ease-in-out infinite;
}
@keyframes stock-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(97,149,28,.35); }
  55%      { box-shadow: 0 0 0 7px rgba(97,149,28,0); }
}

.buy__trust { margin-bottom: 22px; }
.buy__trust span { font-size: 13.5px; }
.buy__trust svg { width: 16px; height: 16px; }
.buy__etikett { max-width: 560px; }

/* ── Details: Accordion + Beratungskarte ────────────────────────── */
.pd-details { padding-bottom: clamp(56px, 8vw, 104px); }
.pd-details__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .pd-details__grid { grid-template-columns: 1fr; } }

.acc-list { display: grid; gap: 14px; }
.acc-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s;
}
.acc-list details[open] { border-color: var(--sage-deep); box-shadow: var(--shadow); }
.acc-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 16px 22px;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary svg {
  width: 20px;
  height: 20px;
  color: var(--action);
  flex: none;
  transition: transform .35s var(--ease-spring);
}
.acc-list details[open] summary svg { transform: rotate(45deg); }
.acc-body { padding: 0 22px 22px; max-width: 72ch; }
.acc-body p:last-child { margin-bottom: 0; }

.spec-table { margin: 0; display: grid; gap: 0; }
.spec-table > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table > div:last-child { border-bottom: 0; }
.spec-table dt {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}
.spec-table dd { margin: 0; font-weight: 600; color: var(--ink); }

.side-card {
  position: sticky;
  top: 130px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 32px);
  display: grid;
  gap: 16px;
}
.side-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  margin: -6px 0 0;
}
.side-card__row { display: flex; align-items: center; gap: 13px; }
.side-card__row svg { width: 22px; height: 22px; color: var(--action); flex: none; }
.side-card__row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-card__row strong { font-size: 16.5px; }
.side-card__row strong a { color: var(--ink); }
.side-card__row strong a:hover { color: var(--action); }
.side-card__note { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .side-card { position: static; } }

/* ── Bewertungen ────────────────────────────────────────────────── */
.rev-grid {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.2fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}
@media (max-width: 900px) { .rev-grid { grid-template-columns: 1fr; } }

.rev-summary {
  background: var(--card);
  border: 1px solid var(--sage-deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3.4vw, 38px);
  text-align: center;
}
.rev-summary__score {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(56px, 6vw, 72px);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 10px;
}
.rev-summary .buy__stars { justify-content: center; margin-bottom: 8px; }
.rev-summary__count {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 22px;
}
.rev-bars { display: grid; gap: 9px; text-align: left; }
.rev-bar {
  display: grid;
  grid-template-columns: 38px 1fr 26px;
  gap: 12px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.rev-bar > span:last-child { text-align: right; }
.rev-bar__track {
  height: 8px;
  border-radius: 999px;
  background: var(--sage);
  overflow: hidden;
  display: block;
}
.rev-bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--gold); }

.rev-list { display: grid; gap: 16px; }
.rev-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}
.rev-card__stars { color: var(--gold); font-size: 15px; letter-spacing: 3px; }
.rev-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 8px 0 6px; }
.rev-card p { font-size: 15.5px; margin: 0 0 12px; }
.rev-card footer {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.rev-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 0;
}

/* ── Mobile Kaufleiste ──────────────────────────────────────────── */
.buybar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 28px rgba(29,43,32,.12);
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.buybar strong { display: block; font-size: 20px; color: var(--ink); line-height: 1.15; }
.buybar small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--muted);
  white-space: nowrap;
}
.buybar .btn { min-height: 50px; padding-inline: 20px; }
@media (max-width: 768px) {
  .buybar { display: flex; }
  body { padding-bottom: 84px; }
}
