/* Product detail — design `isProduct` overrides on top of precast-product.css
   (values copied from the prototype; everything scoped to .pm-pdp). */

/* 120px between the "Need help" / personal-order band and the footer. */
.pm-pdp { padding-bottom: 120px; }

/* PayPal Pay Later line under the price (12px / 18px, design #5d3f3b copy).
   min-height reserves the line so the SDK render does not shift the buy box. */
.pm-pdp .pm-buy__paylater { min-height: 18px; margin: 0 0 32px; font-size: 12px; line-height: 18px; color: var(--pm-body); }
.pm-pdp .pm-buy__paylater--none { min-height: 0; margin-bottom: 16px; }

/* Lead-time badge: 11px bold title, no letter-spacing; 10px detail line. */
.pm-pdp .pm-badge > span:not(.ms) { letter-spacing: 0; font-size: 11px; font-weight: 700; color: var(--pm-ink); }
.pm-pdp .pm-badge > span:not(.ms) small { letter-spacing: 0; }

/* Selected colour / finish chip: red border, red text, 6% red wash. */
.pm-pdp .pm-choice input:checked + span {
    border-color: var(--pm-red); background: var(--pm-red-soft); color: var(--pm-red);
}
.pm-pdp .pm-choice input:checked + span .pm-choice__extra { color: var(--pm-red); }

/* The Perfect Pairing — accessory cards. */
.pm-pairing__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.pm-body .pm-pairing__card { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--pm-ink); }
.pm-pairing__media { display: block; width: 100%; aspect-ratio: 1 / 1; background: var(--pm-well); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.pm-pairing__media img { width: 100%; height: 100%; object-fit: cover; display: block; mix-blend-mode: multiply; transition: transform 0.5s var(--pm-ease, ease); }
.pm-pairing__card:hover .pm-pairing__media img { transform: scale(1.03); }
.pm-pairing__name { display: block; margin: 0 0 4px; font-size: 12px; line-height: 16px; letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; color: var(--pm-ink); transition: color 0.2s ease; }
.pm-pairing__card:hover .pm-pairing__name { color: var(--pm-red); }
.pm-pairing__price { display: block; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--pm-red); }
.pm-body .pm-pairing__card:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 3px; border-radius: 8px; }

@media (max-width: 900px) {
    .pm-pairing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
    .pm-pdp { padding-bottom: 56px; }

    /* Design text at `normal` line height: tabs, pairing name/price, consult pill. */
    .pm-pdp .pm-tabs__tab, .pm-pairing__name, .pm-pairing__price, .pm-consult__pill { line-height: normal; }
    .pm-pdp .pm-specs dl div { line-height: 18px; }
    .pm-pdp .pm-panel__icon .ms { font-size: 16px; }
    .pm-pdp__top .pm-product-tools { margin-top: 24px; }
    /* Get a Quote: 14px/20px padding, no 52px floor (design `pobtn`). */
    .pm-body .pm-promo .pm-btn { min-height: 0; padding-top: 13px !important; padding-bottom: 13px !important; }
    .pm-promo .pm-promo__body { padding-bottom: 24px; }
    .pm-consult .pm-consult__grid { gap: 48px; }
    .pm-promo-wrap { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .pm-pairing__media img, .pm-pairing__name { transition: none; }
}
