/*
  Shared product-detail additions: the kit-size picker in the hero and the
  single "Buy with confidence" block that replaces three separate trust
  sections. Loaded after theme-apple.css on /products/* detail pages.
*/

.zone-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 460px;
  margin: 0 0 18px;
}

.zone-pick__label {
  grid-column: 1 / -1;
  margin: 0;
  color: #a1a1a6;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zone-pick a {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border-radius: 14px;
  color: #f5f5f7;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-size: 0.86rem;
  line-height: 1.25;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.zone-pick a strong {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.zone-pick a span {
  color: #a1a1a6;
  font-size: 0.76rem;
}

.zone-pick a:hover,
.zone-pick a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.zone-pick a[aria-current="page"] {
  background: #fff;
  color: #1d1d1f;
  box-shadow: none;
}

.zone-pick a[aria-current="page"] span {
  color: #6e6e73;
}

.pdp-confidence {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #f5f5f7;
}

.pdp-confidence__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.pdp-confidence__grid li {
  padding: 22px 20px;
  border-radius: 22px;
  background: #fff;
}

.pdp-confidence__grid strong {
  display: block;
  font-size: 1.02rem;
}

.pdp-confidence__grid p {
  margin: 6px 0 0;
  color: #6e6e73;
  font-size: 0.92rem;
  line-height: 1.5;
}

.pdp-confidence__more {
  margin-top: 16px;
  border-radius: 22px;
  background: #fff;
}

.pdp-confidence__more details {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.pdp-confidence__more details:first-child {
  border-top: 0;
}

.pdp-confidence__more summary {
  position: relative;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.pdp-confidence__more summary::-webkit-details-marker {
  display: none;
}

.pdp-confidence__more summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #6e6e73;
  font-size: 1.4rem;
  font-weight: 300;
}

.pdp-confidence__more details[open] summary::after {
  content: "\2212";
}

.pdp-confidence__body {
  padding: 0 22px 20px;
  color: #424245;
  font-size: 0.95rem;
  line-height: 1.6;
}

.pdp-confidence__body ol,
.pdp-confidence__body ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.pdp-confidence__body h3 {
  margin: 14px 0 0;
  font-size: 0.98rem;
}

@media (max-width: 900px) {
  .pdp-confidence__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .pdp-confidence__grid {
    grid-template-columns: 1fr;
  }

  .zone-pick {
    max-width: none;
  }
}

.product-card__image:has(.product-card__scene) {
  padding: 0;
  overflow: hidden;
}

.product-card__scene {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-row .price-row__save {
  flex-basis: 100%;
  color: #7ee2a0;
  font-weight: 600;
}

/* Bundle packshots have a white studio background: show them on a white
   tile instead of a white square floating in a black frame. */
.bundle-detail-hero .hero__media {
  background: #fff;
  border-color: transparent;
}

/* ---- Hero refinements shared by every product page ---------------------- */
main .hero .hero__copy > p {
  max-width: 46ch;
  color: #a1a1a6;
  font-weight: 400;
  line-height: 1.6;
}

main .hero .zone-pick__label {
  margin: 0 0 2px;
  color: #86868b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

main .hero .zone-pick a {
  font-variant-numeric: tabular-nums;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

main .hero .zone-pick a:hover {
  transform: translateY(-2px);
}

main .hero .hero__media {
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(255, 90, 79, 0.14), transparent 70%),
    #0a0a0b;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

main .hero .hero__purchase .assurance-payments {
  justify-content: flex-start;
}

main .hero .hero__actions {
  align-items: center;
}

main .hero .zone-pick a strong {
  letter-spacing: -0.01em;
}

main .hero .hero__installment,
main .hero .price-row__installment {
  color: #86868b;
  font-weight: 500;
}

@media (max-width: 760px) {
  main .hero .hero__actions .sx-bark {
    width: 100%;
    grid-template-columns: auto 1fr auto;
  }
}
