/*
 * pz-marine-store.css — page-specific additions for /marine-store-boat-parts
 *   -> views/themes/Material/marine_store.hbs
 *
 * Loaded AFTER pz-landing.css (which is shared and left untouched). It only
 * adds what the Marine Store design needs beyond the shared landing-page kit,
 * and every rule is scoped under `.pzm-page` (always paired with `.pzl-page`),
 * so nothing here can reach /boat-slips, /boat-haul-out-short-haul or any
 * other page.
 */

/* ---------- hero: wider title block + this design's scrim ---------- */
.pzl-page.pzm-page .pzl-hero__content { max-width: 820px; }

.pzl-page.pzm-page .pzl-hero__title {
    max-width: 820px;
    font-size: clamp(42px, 4.6vw, 80px);
}

.pzl-page.pzm-page .pzl-hero__scrim {
    background: linear-gradient(90deg, rgba(20, 21, 46, .94) 0%, rgba(20, 21, 46, .78) 45%, rgba(20, 21, 46, .25) 80%);
}

/* ---------- stats: solid white labels, figures never wrap ---------- */
.pzl-page.pzm-page .pzl-stat__label { opacity: 1; }
.pzl-page.pzm-page .pzl-stat__num { white-space: nowrap; }

/* ---------- 4. virtual tour (navy) ---------- */
.pzm-page .pzm-tour {
    background: var(--pzl-navy);
    padding: 120px var(--pzl-gutter);
}

.pzm-page .pzm-tour__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.pzm-page .pzm-tour__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.pzm-page .pzm-tour .pzl-eyebrow { color: var(--pzl-gold); }
.pzm-page .pzm-tour .pzl-h2 { color: #fff; }

.pzm-page .pzm-tour__frame {
    position: relative;
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: var(--pzl-dark-navy);
    border: 1px solid rgba(216, 167, 91, .35);
}

.pzl-page.pzm-page .pzm-tour__poster {
    position: absolute;
    inset: 0;
    display: block;
    color: #fff;
    text-decoration: none;
}

.pzl-page.pzm-page .pzm-tour__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: .35;
    transition: opacity .25s ease;
}

.pzm-page .pzm-tour__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 24px;
    text-align: center;
}

.pzm-page .pzm-tour__badge {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--pzl-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, background .25s ease;
}

.pzm-page .pzm-tour__title {
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: #fff;
}

.pzm-page .pzm-tour__text {
    max-width: 520px;
    font-size: 15px;
    line-height: 24px;
    color: rgba(255, 255, 255, .8);
}

.pzl-page.pzm-page .pzm-tour__poster:hover .pzm-tour__img,
.pzl-page.pzm-page .pzm-tour__poster:focus-visible .pzm-tour__img { opacity: .5; }

.pzl-page.pzm-page .pzm-tour__poster:hover .pzm-tour__badge,
.pzl-page.pzm-page .pzm-tour__poster:focus-visible .pzm-tour__badge {
    background: var(--pzl-gold-hover);
    transform: scale(1.06);
}

.pzl-page.pzm-page .pzm-tour__poster:focus-visible {
    outline: 3px solid var(--pzl-gold);
    outline-offset: -3px;
}

.pzm-page .pzm-tour__iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- 5. everything you need (tan) ---------- */
.pzm-page .pzm-supplies {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.pzl-page.pzm-page .pzm-supplies__img {
    flex: 1 1 480px;
    height: 520px;
    object-position: 50% 50%;
}

.pzm-page .pzm-supplies__text { flex: 1 1 480px; }

.pzm-page .pzm-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* cards stack the icon above the text in this design */
.pzl-page.pzm-page .pzm-card {
    flex-direction: column;
    gap: 16px;
}

.pzl-page.pzm-page .pzm-card .pzl-card__title {
    margin: 0;
    font-family: var(--pzl-sans);
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    color: var(--pzl-navy);
}

.pzm-page .pzm-supplies__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pzm-page .pzm-supplies__foot .pzl-body { max-width: 880px; }

/* ---------- 6. OEM parts (navy) ---------- */
.pzl-page.pzm-page .pzm-parts { align-items: flex-start; }

.pzm-page .pzm-pad-top { padding-top: 8px; }

.pzm-page .pzm-brands {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pzm-page .pzm-brands__panel {
    border-radius: 14px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pzm-page .pzm-brands__panel--outline {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(216, 167, 91, .4);
}

.pzm-page .pzm-brands__panel--tan { background: var(--pzl-tan); }

.pzm-page .pzm-brands__intro {
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, .88);
}

.pzm-page .pzm-brands__panel--tan .pzm-brands__intro { color: var(--pzl-text); }

.pzl-page.pzm-page .pzm-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pzm-page .pzm-pill {
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    font-size: 15px;
    line-height: normal;
    font-weight: 700;
    color: var(--pzl-navy);
}

.pzm-page .pzm-pills--navy .pzm-pill {
    background: var(--pzl-navy);
    color: #fff;
}

/* ---------- 7. visit ---------- */
.pzl-page.pzm-page .pzm-visit__img {
    height: 560px;
    object-position: 40% 50%;
}

/* ---------- 8. request form ---------- */
.pzl-page.pzm-page .pzm-form__eyebrow { letter-spacing: 2.5px; }

/* this design's form title is sentence case, not the kit's all-caps */
.pzl-page.pzm-page .pzl-form__title {
    max-width: 836px;
    text-transform: none;
}

.pzl-page.pzm-page .pzl-form__sub { max-width: 760px; }

.pzm-page .pzm-form__note {
    max-width: 760px;
    font-size: 16px;
    line-height: 26px;
    color: rgba(255, 255, 255, .72);
}

/* end notes sit left-aligned under the button in this design */
.pzl-page.pzm-page .pzm-form__foot .pzl-form__legal { text-align: left; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1199px) {
    .pzm-page .pzm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    .pzm-page .pzm-tour { padding-top: 80px; padding-bottom: 80px; }
    .pzm-page .pzm-supplies { gap: 48px; }
    .pzl-page.pzm-page .pzm-supplies__img { height: 440px; }
    .pzl-page.pzm-page .pzm-visit__img { height: 480px; }
}

@media (max-width: 767px) {
    .pzm-page .pzm-tour__inner { gap: 28px; }
    .pzm-page .pzm-tour__frame { aspect-ratio: 4 / 3; }
    .pzm-page .pzm-tour__badge { width: 64px; height: 64px; }
    .pzm-page .pzm-tour__badge svg { width: 30px; height: 30px; }
    .pzm-page .pzm-tour__title { font-size: 19px; line-height: 26px; }
    .pzm-page .pzm-tour__text { font-size: 14px; line-height: 22px; }

    .pzm-page .pzm-cards { grid-template-columns: minmax(0, 1fr); }

    .pzm-page .pzm-brands__panel { padding: 24px 20px; }
    .pzm-page .pzm-pill { padding: 8px 14px; font-size: 14px; }

    .pzm-page .pzm-supplies__foot .pzl-btn { width: 100%; }
    .pzm-page .pzm-pad-top .pzl-btn { width: 100%; }
}

/* "3,000 Sq. Ft." stays on one line, so give it room on narrow phones */
@media (max-width: 420px) {
    .pzl-page.pzm-page .pzl-stats__grid { gap: 24px 12px; }
    .pzl-page.pzm-page .pzl-stat__num { font-size: 27px; line-height: 34px; }
}
