/* ==========================================================================
   Product pages (gray-edition.html, black-edition.html)
   Loaded after css/styles.css, which supplies the tokens, header, buttons and footer.
   Photo on the left, details on the right; stacked on phones.
   ========================================================================== */

.pdp [hidden] { display: none !important; }
.pdp { padding: calc(var(--header-h) + 12px) 0 clamp(64px, 9vw, 120px); }

/* ---------- breadcrumb ---------- */
.pdp__crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 0.875rem; color: var(--graphite); }
.pdp__crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--mist); }
.pdp__crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.pdp__crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.pdp__crumbs [aria-current] { color: var(--ink); }

/* ---------- layout ---------- */
.pdp__grid { display: grid; gap: 28px; padding-top: 4px; }
@media (min-width: 900px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
  .pdp__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- gallery ---------- */
.pdp__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: var(--fog);
}
.pdp__stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.18s ease; }
.pdp__stage.is-swapping img { opacity: 0; }
.pdp__stamp {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 20px;
  padding: 10px 22px;
  border: 2px solid var(--red);
  border-radius: 6px;
  background: rgba(244, 244, 244, 0.92);
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.375rem);
  letter-spacing: -0.02em;
  transform: rotate(-7deg);
  pointer-events: none;
}
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp__thumbs button {
  display: block;
  width: 68px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--fog);
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdp__thumbs button img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pdp__thumbs button:hover { opacity: 1; }
.pdp__thumbs button[aria-pressed="true"] { opacity: 1; border: 2px solid var(--ink); }

/* ---------- info column ---------- */
.pdp__info { display: grid; gap: 0; align-content: start; }
.pdp__collection { font-size: 0.9375rem; color: var(--graphite); }
.pdp__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.125rem, 1.3rem + 3.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.pdp__price { margin-top: 22px; }
.pdp__total { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.125rem); font-weight: 500; line-height: 1.1; color: var(--red); }
.pdp__each { margin-top: 4px; font-size: 0.9375rem; color: var(--graphite); }
.pdp__lede { max-width: 46ch; margin-top: 22px; color: var(--graphite); }

/* ---------- quantity + order ---------- */
.pdp__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.qty__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.qty__btn svg { width: 16px; height: 16px; }
.qty__btn:hover { background: var(--ink); color: var(--white); }
.qty__btn[aria-disabled="true"] { opacity: 0.3; cursor: default; }
.qty__btn[aria-disabled="true"]:hover { background: transparent; color: var(--ink); }
.qty__value { min-width: 2.25ch; text-align: center; font-size: 1.125rem; font-weight: 500; }
.pdp__order { flex: 1 1 200px; min-height: 52px; }
.pdp__add { flex: 1 1 200px; min-height: 52px; }
.pdp__order--alt { flex-basis: 100%; }
.pdp__order[aria-disabled="true"] { background: transparent; color: var(--graphite); border-color: var(--line); cursor: default; }
.pdp__order[aria-disabled="true"]:hover { background: transparent; border-color: var(--line); }
.pdp__enquire { flex: 1 1 100%; }
.pdp__status { flex-basis: 100%; font-size: 0.9375rem; color: var(--graphite); }
.pdp__max { flex-basis: 100%; font-size: 0.875rem; color: var(--red); }

/* ---------- product info ---------- */
.pdp__section { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--ink); }
.pdp__h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.03em; }
.pdp__details { margin: 8px 0 0; }
.pdp__details > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pdp__details dt { font-size: 0.9375rem; color: var(--graphite); }
.pdp__details dd { margin: 0; }
.pdp__steps { counter-reset: step; display: grid; gap: 14px; margin-top: 14px; }
.pdp__steps li { counter-increment: step; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 4px; color: var(--graphite); }
.pdp__steps li::before { content: counter(step); font-size: 0.875rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--red); padding-top: 2px; }
.pdp__steps strong { color: var(--ink); font-weight: 500; }
.pdp__note { margin-top: 16px; max-width: 46ch; font-size: 0.9375rem; color: var(--graphite); }

/* ---------- more items (cards reuse the cart card look, .cart-card*, from styles.css) ---------- */
.pdp__more { margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(24px, 3.5vw, 40px); border-top: 1px solid var(--ink); }
.pdp__more-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1; }
.pdp__more-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 300px)); gap: 16px; margin-top: 28px; }
.pdp__more-list li { display: grid; }          /* equal-height cards, so every price sits at the bottom */
@media (min-width: 720px) { .pdp__more-list { gap: 24px; } }

