/* ============================================================
   Younger product detail page (PDP)
   ============================================================ */
.pdp { padding-bottom: 0; }

/* Breadcrumb */
.pdp-crumb {
    font-size: 13px;
    color: #8a837a;
    padding: 22px 0 6px;
}
.pdp-crumb a { color: #8a837a; text-decoration: none; }
.pdp-crumb a:hover { color: var(--amh-orange); }
.pdp-crumb span { margin: 0 6px; }
.pdp-crumb-current { color: var(--amh-ink); }

/* Top: image + details */
.pdp-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 20px 0 52px;
}
.pdp-media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    background: #fff;
    border: 1px solid var(--amh-rule);
    cursor: zoom-in;
    overflow: hidden;
}
.pdp-media img { width: 100%; height: auto; display: block; }
.pdp-media-zoom {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(17,17,17,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.pdp-media:hover .pdp-media-zoom { opacity: 1; }
.pdp-media-zoom svg { width: 18px; height: 18px; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4vw;
    background: rgba(17,17,17,0.9);
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    cursor: default;
}
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 26px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}
.lightbox-close:hover { color: var(--amh-orange); }
body.lightbox-open { overflow: hidden; }

.pdp-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9a938a;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pdp-eyebrow:hover { color: var(--amh-orange); }

.pdp-title {
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0 0 6px;
}
.pdp-cat {
    margin: 0 0 22px;
    color: #8a837a;
    font-size: 0.95rem;
}
.pdp-cat a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.pdp-cat a:hover { color: var(--amh-orange); }
.pdp-lede { font-size: 1.05rem; color: #333; }
.pdp-lede p { margin-bottom: 1em; }
.pdp-lede p:last-child { margin-bottom: 0; }

/* 2×2 grid, equal-width tracks, checkerboard styles:
   [ Ask · primary ][ Spec sheet · ghost ]
   [ Younger · ghost ][ Print · primary ]
   Younger is pinned to column 1 so it always sits under Ask even when
   a product has no spec-sheet PDF. */
.pdp-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 460px;
}
.pdp-btn--younger { grid-column: 1; }
.pdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.pdp-btn svg { width: 16px; height: 16px; flex: none; }
.pdp-btn--primary { background: var(--amh-orange); color: #fff; border-color: var(--amh-orange); }
.pdp-btn--primary:hover { background: #cf7a25; border-color: #cf7a25; }
.pdp-btn--ghost { color: var(--amh-ink); border-color: var(--amh-ink); }
.pdp-btn--ghost:hover { background: var(--amh-ink); color: #fff; }

/* Full-bleed section bands */
.pdp-band { padding: 60px 0; }
.pdp-band--tint { background: #faf8f4; }
.pdp-band--dark { background: var(--amh-ink); color: #fff; }
.pdp-plain { padding: 56px 0; }

/* Section heading with orange accent rule */
.pdp-h2 {
    position: relative;
    font-size: 1.4rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
}
.pdp-h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background: var(--amh-orange);
}

/* Specs */
.pdp-specs {
    width: 100%;
    max-width: 620px;
    border-collapse: collapse;
}
.pdp-specs th, .pdp-specs td {
    text-align: left;
    padding: 11px 4px;
    border-bottom: 1px solid var(--amh-rule);
    font-size: 0.95rem;
}
.pdp-specs th { width: 40%; color: #8a837a; font-weight: 600; }

/* Showrooms */
.pdp-showrooms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.pdp-showroom {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.16);
    padding: 24px;
}
.pdp-showroom h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.pdp-showroom p { margin: 3px 0; color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.pdp-showroom p a { color: inherit; text-decoration: none; }
.pdp-showroom p a:hover { color: var(--amh-orange); }

/* Google Maps pin, upper-right of each showroom box */
.pdp-map-link {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(230,139,50,0.14);
    color: var(--amh-orange);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pdp-map-link:hover { background: var(--amh-orange); color: #fff; transform: translateY(-1px); }
.pdp-map-link svg { width: 20px; height: 20px; }

/* FAQ */
.pdp-faq dt { font-weight: 700; margin-top: 18px; }
.pdp-faq dt:first-child { margin-top: 0; }
.pdp-faq dd { margin: 6px 0 0; color: #444; }

/* Related */
.pdp-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.pdp-rel-card { text-decoration: none; display: block; }
.pdp-rel-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #fff;
    border: 1px solid var(--amh-rule);
    overflow: hidden;
}
.pdp-rel-media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product-card-media--crop img { object-fit: cover; }
.pdp-rel-card:hover .pdp-rel-media img { transform: scale(1.04); }
.pdp-rel-title {
    display: block;
    margin-top: 12px;
    font-size: 0.98rem;
    color: var(--amh-ink);
    transition: color 0.2s ease;
}
.pdp-rel-card:hover .pdp-rel-title { color: var(--amh-orange); }

/* Responsive */
@media (max-width: 900px) {
    .pdp-top { grid-template-columns: 1fr; gap: 28px; }
    .pdp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pdp-title { font-size: 2rem; }
    .pdp-showrooms { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .pdp-related-grid { grid-template-columns: 1fr; }
}
