/* ------------------------------------------------------------------ */
/* Shazam product catalogue (/products/ and /products/<code>/).        */
/* Uses the site's colours, fonts and easing from style.css.           */
/* ------------------------------------------------------------------ */

:root {
  --pc-navy: #1b2f4e;
  --pc-radius: 18px;
}

.pc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.875rem;
  color: var(--color-muted);
}
.pc-crumbs a:hover {
  color: var(--color-ink);
}
.pc-crumbs [aria-current] {
  color: var(--color-ink);
  font-weight: 600;
}

/* ------------------------------------------------------------------ hero */

.pc-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 88% -10%, var(--color-peach), transparent 65%),
    var(--color-surface);
}
.pc-hero-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}
@media (min-width: 1024px) {
  .pc-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}
.pc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}
.pc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pc-pulse 2.2s infinite;
}
@keyframes pc-pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(227 123 60 / 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgb(227 123 60 / 0);
  }
}
.pc-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--color-ink);
}
.pc-title em {
  font-style: italic;
  color: var(--color-accent-deep);
}
.pc-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}
.pc-line > span {
  display: inline-block;
  transform: translateY(108%);
  animation: pc-rise 1s var(--ease-soft) 0.15s forwards;
}
.pc-line + .pc-line > span {
  animation-delay: 0.3s;
}
@keyframes pc-rise {
  to {
    transform: none;
  }
}
.pc-lead {
  max-width: 54ch;
  margin: 16px 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-muted);
}
.pc-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  height: 58px;
  margin-top: 24px;
  padding: 0 18px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 34px -14px rgb(33 30 31 / 0.25);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.pc-search:focus-within {
  border-color: var(--color-accent);
  box-shadow:
    0 0 0 4px rgb(227 123 60 / 0.16),
    0 14px 34px -14px rgb(33 30 31 / 0.3);
}
.pc-search > svg {
  flex-shrink: 0;
  color: var(--color-muted);
}
.pc-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 1rem;
  color: var(--color-ink);
}
.pc-search kbd {
  padding: 3px 8px;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font: 700 0.75rem ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--color-muted);
}
@media (hover: none) {
  .pc-search kbd {
    display: none;
  }
}
.pc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.pc-stats strong {
  color: var(--color-ink);
}

/* The floor stack: four tiles of real floors in 3D, echoing the layered logo. */
.pc-stack {
  display: grid;
  place-items: center;
  min-height: 320px;
  perspective: 1400px;
}
@media (max-width: 1023.98px) {
  .pc-stack {
    --spread: 38px;
    min-height: 230px;
    margin: 56px 0 4px;
  }
  .pc-stack-scene {
    width: min(210px, 54vw);
  }
}
.pc-stack-scene {
  position: relative;
  width: min(270px, 62vw);
  aspect-ratio: 1;
  transform: rotateX(58deg) rotateZ(-42deg);
  transform-style: preserve-3d;
  animation: pc-float 8s ease-in-out infinite;
}
.pc-layer {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--img) center / cover;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.35),
    -10px 14px 0 -2px rgb(27 47 78 / 0.18),
    0 40px 50px -26px rgb(33 30 31 / 0.55);
  transform: translateZ(calc(var(--n) * 16px));
  animation: pc-explode 7s var(--ease-soft) infinite;
}
.pc-layer span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--pc-navy);
  opacity: 0;
  animation: pc-label 7s var(--ease-soft) infinite;
}
@keyframes pc-explode {
  0%,
  18%,
  92%,
  100% {
    transform: translateZ(calc(var(--n) * 16px));
  }
  40%,
  72% {
    transform: translateZ(calc(var(--n) * var(--spread, 58px)));
  }
}
@keyframes pc-label {
  0%,
  30%,
  82%,
  100% {
    opacity: 0;
  }
  42%,
  70% {
    opacity: 1;
  }
}
@keyframes pc-float {
  50% {
    transform: rotateX(58deg) rotateZ(-38deg) translateZ(14px);
  }
}
.pc-stack:hover .pc-layer,
.pc-stack:hover .pc-layer span,
.pc-stack:hover .pc-stack-scene {
  animation-play-state: paused;
}

/* ------------------------------------------------------------------ toolbar */

.pc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.pc-chips {
  position: relative;
  display: flex;
  gap: 6px;
  max-width: 100%;
  margin: -4px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pc-chips::-webkit-scrollbar {
  display: none;
}
.pc-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  transition:
    color 0.4s,
    border-color 0.4s,
    background-color 0.4s;
}
.pc-chip:hover {
  border-color: rgb(33 30 31 / 0.3);
}
.pc-chip[aria-pressed="true"] {
  border-color: transparent;
  background: transparent;
  color: #fff;
}
html:not(.js) .pc-chip[aria-pressed="true"],
.pc-chips:not(.has-glider) .pc-chip[aria-pressed="true"] {
  background: var(--pc-navy);
}
.pc-chip-n {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--color-canvas);
  font-size: 0.74rem;
  color: var(--color-muted);
  transition:
    background-color 0.4s,
    color 0.4s;
}
.pc-chip[aria-pressed="true"] .pc-chip-n {
  background: rgb(255 255 255 / 0.2);
  color: #fff;
}
.pc-glider {
  position: absolute;
  top: 4px;
  left: 0;
  z-index: 0;
  width: var(--w, 0);
  height: 44px;
  border-radius: 999px;
  background: var(--pc-navy);
  box-shadow: 0 10px 22px -10px rgb(27 47 78 / 0.7);
  transform: translateX(var(--x, 0));
  transition:
    transform 0.55s var(--ease-soft),
    width 0.55s var(--ease-soft);
}
.pc-sort {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pc-sort select {
  height: 44px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23211e1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  appearance: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
}
/* Colour filter: one swatch per colour family the floors come in (also linked from the home page).
   Closed until the Colour button opens it. */
.pc-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.pc-colour-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 16px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color 0.2s;
}
.pc-colour-toggle:hover,
.pc-colour-toggle[aria-expanded="true"] {
  border-color: var(--pc-navy);
}
.pc-colour-toggle svg {
  color: var(--color-muted);
  transition: transform 0.3s var(--ease-soft);
}
.pc-colour-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.pc-colour-dot {
  display: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.15);
}
.pc-colour-toggle.is-set .pc-colour-dot {
  display: block;
}
.pc-colourbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  animation: pc-colours-in 0.35s var(--ease-soft) both;
}
.pc-colourbar[hidden] {
  display: none;
}
.pc-colourbar-label {
  display: none; /* the Colour button already says it; the group has its own label */
}
@media (max-width: 639.98px) {
  /* Colour and Sort on one line: the word "Sort" stays for screen readers only. */
  .pc-sort > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@keyframes pc-colours-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pc-colourbar {
    animation: none;
  }
}
.pc-colourbar-label {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pc-colourbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pc-swatch {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1px var(--color-line);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-soft),
    box-shadow 0.25s;
}
.pc-swatch .sw-tex {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pc-swatch:hover {
  transform: scale(1.08);
}
.pc-swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--pc-navy);
  transform: scale(1.08);
}
.pc-swatch:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.pc-colour-clear {
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
}
.pc-colour-clear:hover {
  border-color: var(--pc-navy);
}
/* Families without their own texture photo: a neutral weave tinted with the family colour. */
.sw-tint .sw-tex {
  filter: grayscale(1) brightness(1.3) contrast(1.1);
  mix-blend-mode: multiply;
}
.pc-count {
  margin: 18px 0 14px;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.pc-count strong {
  color: var(--color-ink);
}

/* ------------------------------------------------------------------ cards */

.pc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .pc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (min-width: 1200px) {
  .pc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}
.pc-card {
  position: relative;
  perspective: 1100px;
  transition:
    opacity 0.7s var(--ease-soft),
    transform 0.7s var(--ease-soft);
  transition-delay: calc(var(--d, 0) * 70ms);
}
.pc-card[hidden] {
  display: none;
}
.js .pc-card.pc-pre {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
}
.pc-card-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition:
    transform 0.55s var(--ease-soft),
    box-shadow 0.55s var(--ease-soft),
    border-color 0.55s;
}
.pc-card:hover .pc-card-inner {
  --lift: -6px;
  border-color: transparent;
  box-shadow: 0 26px 50px -20px rgb(33 30 31 / 0.38);
}
.pc-card.is-tilting .pc-card-inner {
  transition:
    box-shadow 0.55s var(--ease-soft),
    border-color 0.55s;
}
.pc-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-canvas);
}
.pc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-soft);
}
.pc-card:hover .pc-media img {
  transform: scale(1.07);
}
.pc-noimg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, var(--color-canvas) 0 12px, #f0eeec 12px 24px);
}
.pc-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.4), transparent 42%);
  mix-blend-mode: soft-light;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.pc-card:hover .pc-shine {
  opacity: 1;
}
.pc-tag {
  position: absolute;
  top: 12px;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 18px 0 12px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-ink);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
.pc-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--pc-navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.pc-badge-offer {
  background: var(--color-accent);
  color: var(--color-ink);
}
.pc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}
.pc-code {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border: 1px dashed rgb(33 30 31 / 0.25);
  border-radius: 7px;
  background: var(--color-canvas);
  font: 700 0.74rem / 1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  cursor: copy;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.pc-code:hover {
  border-color: var(--color-accent);
  background: var(--color-peach);
}
.pc-code svg {
  color: var(--color-muted);
}
.pc-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-ink);
}
.pc-name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pc-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-muted);
}
/* All of a floor's colours in one swatch: a circle cut into slices, with the names beside it. */
.pc-colours {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 2px 0 0;
}
.pc-colour-mix,
.pd-colour-mix {
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mix);
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.14),
    0 0 0 2px #fff;
}
.pc-colour-mix {
  width: 20px;
  height: 20px;
}
.pc-colour-names {
  overflow: hidden;
  font-size: 0.8rem;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--color-muted);
}
.pc-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
}
.pc-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  margin: 0;
}
.pc-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.pc-unit {
  font-size: 0.8rem;
  color: var(--color-muted);
}
.pc-was {
  font-size: 0.86rem;
  color: var(--color-muted);
}
.pc-ask {
  font-weight: 700;
  color: var(--pc-navy);
}
.pc-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pc-book {
  flex: 1;
}
.pc-details {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-ink);
}
.pc-details svg {
  transition: transform 0.35s var(--ease-soft);
}
.pc-details:hover svg {
  transform: translateX(4px);
}
/* Phones: two cards a row, so the text part is kept short: two-line names, price and unit
   close together, and Book with a round "details" arrow on one row. */
@media (max-width: 639.98px) {
  .pc-body {
    gap: 5px;
    padding: 10px 10px 12px;
  }
  .pc-desc,
  .pc-colours {
    display: none;
  }
  .pc-code {
    height: 22px;
    padding: 0 7px;
    font-size: 0.68rem;
  }
  .pc-name {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.98rem;
    line-height: 1.22;
  }
  .pc-foot {
    gap: 8px;
    padding-top: 4px;
  }
  .pc-price {
    row-gap: 0;
  }
  .pc-amount {
    font-size: 1.18rem;
    line-height: 1.2;
  }
  .pc-unit {
    width: 100%;
    font-size: 0.74rem;
  }
  .pc-actions {
    gap: 6px;
  }
  .pc-book {
    flex: 1;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.9rem;
  }
  .pc-details {
    flex: none;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-line);
    border-radius: 50%;
    font-size: 0; /* the word stays for screen readers; the arrow shows */
  }
  .pc-details:hover {
    border-color: var(--pc-navy);
  }
  /* Small labels so the photo shows; the badge sits under the category label. */
  .pc-tag {
    top: 8px;
    height: 20px;
    padding: 0 12px 0 8px;
    font-size: 0.6rem;
    clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
  }
  .pc-badge {
    top: 32px;
    right: auto;
    left: 8px;
    height: 17px;
    padding: 0 7px;
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }
}

.pc-empty {
  padding: 48px 16px;
  text-align: center;
  color: var(--color-muted);
}
.pc-empty svg {
  color: var(--color-accent);
}
.pc-empty h2 {
  margin: 12px 0 6px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--color-ink);
}
.pc-empty p {
  margin: 0 0 18px;
}

.pc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-color: transparent;
  background:
    radial-gradient(700px 300px at 100% 0%, rgb(227 123 60 / 0.25), transparent 60%),
    var(--pc-navy);
  color: #fff;
}
.pc-cta .text-h2 {
  color: #fff;
}
.pc-cta p {
  max-width: 56ch;
  margin: 8px 0 0;
  color: rgb(255 255 255 / 0.82);
}
.pc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pc-cta .btn-secondary {
  border-color: rgb(255 255 255 / 0.45);
  background: transparent;
  color: #fff;
}

.pc-toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  z-index: 96;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--color-ink);
  box-shadow: 0 16px 34px -12px rgb(0 0 0 / 0.45);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s,
    transform 0.45s var(--ease-soft);
}
.pc-toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------------ product page */

.pd-grid {
  display: grid;
  gap: 26px;
}
@media (min-width: 1024px) {
  .pd-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 52px;
  }
  .pd-info {
    position: sticky;
    top: 104px;
  }
}
.pd-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 22px;
  background: var(--color-canvas);
}
@media (hover: hover) {
  .pd-stage {
    cursor: zoom-in;
  }
}
.pd-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s var(--ease-soft),
    opacity 0.35s;
}
.pd-stage.is-zoom img {
  transform: scale(2.1);
  transition: opacity 0.35s;
}
.pd-stage img.is-swap {
  opacity: 0;
}
.pd-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-ink);
  transition: opacity 0.3s;
}
.pd-stage.is-zoom .pd-zoom-hint {
  opacity: 0;
}
@media (hover: none) {
  .pd-zoom-hint {
    display: none;
  }
}
.pd-thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 2px;
  overflow-x: auto;
  list-style: none;
}
.pd-thumbs button {
  width: 78px;
  height: 96px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: none;
  cursor: pointer;
  opacity: 0.65;
  transition:
    border-color 0.3s,
    opacity 0.3s;
}
.pd-thumbs button:hover,
.pd-thumbs button[aria-pressed="true"] {
  opacity: 1;
}
.pd-thumbs button[aria-pressed="true"] {
  border-color: var(--color-accent);
}
.pd-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--color-ink);
}
.pd-lead {
  margin: 10px 0 0;
  font-size: 1.05rem;
  color: var(--color-muted);
}
.pd-price {
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.pd-price p {
  margin: 0;
}
.pd-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.pd-ask {
  font-size: 1.7rem;
  color: var(--pc-navy);
}
.pd-unit {
  color: var(--color-muted);
}
.pd-price .pd-note {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--color-muted);
}
.pd-stock {
  font-weight: 700;
  color: #1f8a4c;
}
.pd-stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 50%;
  background: #1f8a4c;
  vertical-align: 1px;
}
.pd-label {
  margin: 18px 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-ink);
}
.pd-colour {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0;
  padding: 4px 16px 4px 6px;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.9rem;
}
.pd-colour-mix {
  width: 30px;
  height: 30px;
}
.pd-calc {
  position: relative;
  margin-top: 22px;
  padding: 22px;
  border-radius: 20px;
  background: var(--color-peach);
}
.pd-calc::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px dashed rgb(227 123 60 / 0.5);
  border-radius: 15px;
  pointer-events: none;
}
.pd-calc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent-deep);
}
.pd-calc-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
}
.pd-tabs {
  position: relative;
  display: inline-flex;
  margin-top: 14px;
  padding: 4px;
  border: 1px solid rgb(33 30 31 / 0.08);
  border-radius: 999px;
  background: #fff;
}
.pd-tabs button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-muted);
  cursor: pointer;
  transition:
    background-color 0.35s,
    color 0.35s;
}
.pd-tabs button[aria-pressed="true"] {
  background: var(--pc-navy);
  color: #fff;
}
.pd-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.pd-fields[hidden] {
  display: none;
}
.pd-fields label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ink);
}
.pd-input {
  display: flex;
  align-items: center;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgb(33 30 31 / 0.16);
  border-radius: 12px;
  background: #fff;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.pd-input:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgb(227 123 60 / 0.2);
}
.pd-input input {
  width: 110px;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 1.05rem;
  color: var(--color-ink);
}
.pd-input span {
  color: var(--color-muted);
}
.pd-x {
  padding-bottom: 14px;
  font-weight: 700;
  color: var(--color-muted);
}
.pd-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--color-charcoal);
}
.pd-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}
.pd-result {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgb(227 123 60 / 0.45);
}
.pd-result-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
}
.pd-estimate {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--color-ink);
}
.pd-estimate output {
  display: inline-block;
}
.pd-estimate output.is-bump {
  animation: pc-bump 0.45s var(--ease-soft);
}
@keyframes pc-bump {
  40% {
    transform: scale(1.06);
  }
}
.pd-result-note {
  margin: 2px 0 0;
  font-size: 0.86rem;
  color: var(--color-muted);
}
.pd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.pd-cta .btn {
  flex: 1 1 auto;
}
.pd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--color-muted);
}
.pd-trust li::before {
  content: "✓";
  margin-right: 6px;
  font-weight: 800;
  color: var(--color-accent);
}
.pd-more {
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .pd-more {
    grid-template-columns: 1.2fr 1fr;
    gap: 52px;
  }
}
.pd-desc p {
  margin: 12px 0 0;
  line-height: 1.7;
  color: var(--color-charcoal);
}
.pd-specs {
  margin: 12px 0 0;
}
.pd-specs div {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-line);
}
.pd-specs dt {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.pd-specs dd {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink);
}
.pd-related-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .pc-dot,
  .pc-stack-scene,
  .pc-layer,
  .pc-layer span {
    animation: none;
  }
  .pc-layer {
    transform: translateZ(calc(var(--n) * 40px));
  }
  .pc-line > span {
    animation: none;
    transform: none;
  }
  .pc-card,
  .pc-card-inner,
  .pc-media img {
    transition: none;
  }
  .js .pc-card.pc-pre {
    opacity: 1;
    transform: none;
  }
}
