/* SLM product pages (Phase B, 2026-11-01): Prices & sizes card, pickup/delivery line, buttons, category cards.
   Contrast: #3B2A1F on #FFF 14.3:1 · #4A4038 on #FFF 10.2:1 · #6B5E54 on #FFF 6.2:1 · #9A4527 on #FFF 6.5:1 */

body .slm-product-card {
    margin-bottom: 1.25rem;
}

body .slm-product-card__title,
body .slm-product-children__title {
    margin: 0 0 .4rem;
    color: #3B2A1F;
    font-family: "Montserrat", system-ui, sans-serif;
    font-size: clamp(1.125rem, 2.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
}

body .slm-product-card__sold {
    margin: 0 0 .75rem;
    color: #4A4038;
    font-weight: 600;
}

body .slm-product-card__extra,
body .slm-product-card__note {
    margin: .75rem 0 0;
    color: #4A4038;
    font-size: .9rem;
}

body .slm-product-card__note {
    color: #6B5E54;
}

body .slm-table .slm-table__note {
    font-weight: 400;
    display: block;
    margin-top: .2rem;
    color: #6B5E54;
    font-size: .85rem;
    line-height: 1.4;
}

body .slm-table__price a[href],
body .slm-table__quote {
    color: #9A4527;
    font-weight: 700;
}

body .slm-product-actions {
    margin: 0 0 2rem;
}

body .slm-product-actions__line {
    margin: 0 0 .9rem;
    color: #4A4038;
}

body .slm-product-actions .slm-contact-buttons {
    max-width: none;
}

body .slm-product-children {
    margin: 0 0 2.25rem;
}

body .slm-product-children__grid {
    margin-top: .75rem;
}

/* The page text below the card starts with its own H2. */
body .ocf-detail-content .slm-product-actions + .prose,
body .ocf-detail-content .slm-product-children + .prose {
    margin-top: 0;
}

/* ---------- Product video block (products.php slm_product_video): 9:16 video left, text + buttons right ----------
   Contrast: #FBF7F1 on #3B2A1F 12.8:1 · #F2B233 on #3B2A1F 7.3:1 · white on #B5522F 5.0:1 · #3B2A1F on #F2B233 7.3:1 · #3B2A1F on #FFFFFF 14:1 */
.slm-pvideo {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.75rem);
    align-items: start;
    margin: 2rem 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 16px;
    background: #3B2A1F;
    color: #FBF7F1;
}

.slm-pvideo .slm-video {
    max-width: 320px;
    margin: 0;
}

.slm-pvideo__copy {
    display: grid;
    gap: 1rem;
    align-content: start;
}

body .slm-pvideo .slm-pvideo__title {
    margin: 0;
    color: #F2B233;
    font-family: "Bebas Neue", Montserrat, system-ui, sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.05;
}

body .slm-pvideo p {
    margin: 0;
    color: #FBF7F1;
    line-height: 1.6;
}

.slm-pvideo__points {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

body .slm-pvideo .slm-pvideo__points li {
    position: relative;
    margin: 0;
    padding-left: 1.5rem;
    color: #FBF7F1;
    line-height: 1.55;
}

.slm-pvideo__points li::before {
    content: "";
    position: absolute;
    left: .2rem;
    top: .55em;
    width: .55rem;
    height: .55rem;
    border-radius: 2px;
    background: #F2B233;
}

body .slm-pvideo .slm-pvideo__points a[href] {
    color: #FBF7F1;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.slm-pvideo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: .25rem;
}

body .slm-pvideo a.slm-pvideo__btn[href] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .7rem 1.2rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

body .slm-pvideo a.slm-pvideo__btn--call[href] { background: #B5522F; color: #FFFFFF; }
body .slm-pvideo a.slm-pvideo__btn--text[href] { background: #FFFFFF; color: #3B2A1F; border-color: #FFFFFF; }
body .slm-pvideo a.slm-pvideo__btn--quote[href] { background: #F2B233; color: #3B2A1F; }

body .slm-pvideo a.slm-pvideo__btn--call[href]:hover { background: #A82728; }
body .slm-pvideo a.slm-pvideo__btn[href]:hover { text-decoration: underline; }

body .slm-pvideo a.slm-pvideo__btn[href]:focus-visible,
body .slm-pvideo .slm-pvideo__points a[href]:focus-visible {
    outline: 3px solid #F2B233;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .slm-pvideo {
        grid-template-columns: 1fr;
    }

    /* Phones: heading and text first, then the video. */
    .slm-pvideo__copy {
        order: -1;
    }

    .slm-pvideo .slm-video {
        margin: 0 auto;
    }

    body .slm-pvideo a.slm-pvideo__btn[href] {
        flex: 1 1 100%;
    }
}
