/* Productdetail: de galerij leidt, de details wachten in lades. */

.pdp {
  --pdp-radius: 14px;
  --pdp-shadow: 0 10px 26px rgba(24, 18, 14, .07);
  --pdp-gold-deep: #8f6a2c;
  --pdp-read: #3b3026;
  --pdp-ease: cubic-bezier(.16, .84, .32, 1);
  padding-bottom: 3rem;
}

::selection { background: var(--gold); color: #241b0b; }
.pdp :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.pdp-crumbs { font-size: .88rem; color: var(--muted); padding: 1rem 0 .55rem; }
.pdp-crumbs a { color: var(--pdp-gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pdp-crumbs span[aria-current] { color: var(--ink); }

.pdp-opener {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr);
  gap: clamp(1rem, 2.4vw, 2.1rem);
  align-items: start;
}
.pdp-opener--text-only { grid-template-columns: minmax(0, 760px); }
.pdp-opener--text-only .pdp-decide { position: static; }

.pdp-gallery { display: grid; gap: .6rem; min-width: 0; }

.pdp-stage {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--pdp-radius);
  box-shadow: var(--pdp-shadow);
}
.pdp-stage img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }

.pdp-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
  scrollbar-color: #cbb894 transparent;
}
.pdp-thumb {
  flex: 0 0 auto;
  width: 76px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  transition: border-color .2s var(--pdp-ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }
.pdp-thumb:hover { border-color: var(--gold); }
.pdp-thumb[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }

.pdp-decide { position: sticky; top: 8.75rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.pdp-decide h1 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.12; }
.pdp-by { margin: 0; color: var(--muted); font-size: .93rem; }
.pdp-by a { color: var(--pdp-gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.pdp-price {
  margin: .3rem 0 .2rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}

.pdp-partner {
  display: grid;
  gap: .62rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--pdp-shadow);
}
.pdp-partner-name { margin: 0; font-size: .92rem; color: var(--muted); }
.pdp-partner-name strong { color: var(--ink); font-weight: 700; }

.pdp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.1rem;
  background: var(--gold);
  color: #241b0b;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s var(--pdp-ease), gap .2s var(--pdp-ease);
}
.pdp-cta:hover { background: var(--gold-2); gap: .72rem; }
.pdp-cta svg { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.pdp-updated { margin: 0; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.pdp-note { margin: 0; font-size: .83rem; line-height: 1.5; color: var(--muted); }

.pdp-summary { margin: .35rem 0 .2rem; font-size: .99rem; line-height: 1.62; color: var(--pdp-read); }

.pdp-details {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.pdp-details > :only-child { grid-column: 1 / -1; }
.pdp-details h2 { margin: 0 0 .8rem; font-size: clamp(1.25rem, 1.9vw, 1.45rem); }
.pdp-details-copy p { margin: 0; max-width: 64ch; font-size: .99rem; line-height: 1.7; color: var(--pdp-read); }
.pdp-details .pdp-specs { grid-template-columns: 1fr; max-width: none; }

.pdp-drawers { margin-top: 1.9rem; border-top: 1px solid var(--line); }
.pdp-drawer { border-bottom: 1px solid var(--line); }
.pdp-drawer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem .25rem;
  font-family: var(--font-ui, 'Segoe UI', system-ui, -apple-system, sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  transition: color .2s var(--pdp-ease);
}
.pdp-drawer > summary::-webkit-details-marker { display: none; }
.pdp-drawer > summary:hover { color: var(--pdp-gold-deep); }
.pdp-chev { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); transition: transform .32s var(--pdp-ease), color .2s var(--pdp-ease); }
.pdp-drawer > summary:hover .pdp-chev { color: var(--pdp-gold-deep); }
.pdp-drawer[open] > summary .pdp-chev { transform: rotate(180deg); color: var(--pdp-gold-deep); }

.pdp-drawer-body { padding: 0 .25rem 1.3rem; animation: pdp-open .42s var(--pdp-ease) both; }
.pdp-drawer-note { margin: 0 0 .75rem; font-size: .86rem; color: var(--muted); }
@keyframes pdp-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.pdp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 2rem; max-width: 820px; margin: 0; padding: 0; list-style: none; }
.pdp-specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .58rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.pdp-specs b { font-weight: 600; }
.pdp-specs span { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }

.pdp-verdict { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.pdp-verdict h3 { margin: 0 0 .55rem; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.pdp-marks { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.pdp-marks li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.pdp-marks svg { width: 1.05rem; height: 1.05rem; margin-top: .2rem; flex: none; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdp-marks--pro svg { stroke: var(--ink); }
.pdp-marks--con svg { stroke: var(--muted); }

.pdp-faq { display: grid; gap: 1.05rem; max-width: 72ch; }
.pdp-faq h3 { margin: 0 0 .25rem; font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; font-size: 1rem; font-weight: 700; }
.pdp-faq p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }

.pdp-reasons { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; max-width: 72ch; }
.pdp-reasons li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.pdp-reasons svg { width: 1.05rem; height: 1.05rem; margin-top: .2rem; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pdp-related { margin-top: 2.3rem; }
.pdp-related h2 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.45rem); }
.pdp-related .grid { grid-template-columns: repeat(auto-fill, minmax(0, 248px)); gap: 1rem; margin-top: .95rem; }

.pdp-suggest { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.pdp-suggest h2 { margin: 0; font-size: clamp(1.25rem, 1.9vw, 1.45rem); text-wrap: balance; }
.pdp-suggest-intro { margin: .35rem 0 0; max-width: 62ch; font-size: .95rem; color: var(--muted); }
.pdp-suggest-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.1rem 0 0; padding: 0; list-style: none; }
.pdp-suggest-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--pdp-radius);
  transition: border-color .2s var(--pdp-ease), box-shadow .3s var(--pdp-ease);
}
.pdp-suggest-item:hover { border-color: #cbb894; box-shadow: var(--pdp-shadow); }
.pdp-suggest-media { display: block; aspect-ratio: 4 / 3; padding: .6rem; background: #fff; border-bottom: 1px solid var(--line); }
.pdp-suggest-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--pdp-ease); }
.pdp-suggest-item:hover .pdp-suggest-media img { transform: scale(1.03); }
.pdp-suggest-body { display: flex; flex: 1; flex-direction: column; gap: .3rem; padding: .8rem .9rem .95rem; }
.pdp-suggest-name { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 600; font-size: .95rem; line-height: 1.35; color: var(--ink); }
.pdp-suggest-item:hover .pdp-suggest-name { color: var(--pdp-gold-deep); }
.pdp-suggest-why { font-size: .86rem; color: var(--pdp-gold-deep); }
.pdp-suggest-price { margin-top: auto; padding-top: .2rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }

.pdp-status { margin: 1.5rem 0; color: var(--muted); font-size: .95rem; }
.pdp-status a { color: var(--pdp-gold-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .pdp-opener { grid-template-columns: 1fr; gap: 1.15rem; }
  .pdp-details { grid-template-columns: 1fr; }
  .pdp-suggest-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp-decide { position: static; }
}

@media (max-width: 560px) {
  .pdp-stage { aspect-ratio: 1 / 1; }
  .pdp-thumb { width: 64px; height: 54px; }
  .pdp-drawer > summary { font-size: 1.04rem; padding: .95rem .2rem; }
  .pdp-specs li { font-size: .92rem; }
  .pdp-related .grid { grid-template-columns: 1fr; }
  .pdp-suggest-list { grid-template-columns: 1fr; gap: .7rem; }
  .pdp-suggest-item { flex-direction: row; }
  .pdp-suggest-media { flex: 0 0 104px; aspect-ratio: 1 / 1; padding: .4rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .pdp-suggest-body { padding: .65rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-drawer-body { animation: none; }
  .pdp-chev, .pdp-cta, .pdp-thumb, .pdp-drawer > summary, .pdp-suggest-item, .pdp-suggest-media img { transition: none; }
}
