/*
 * Server-rendered product landing page.
 * Self-contained, light theme. The tenant brand accent is injected as the
 * --brand / --brand-contrast / --brand-dark custom properties on the page wrapper;
 * fallbacks here are only used if the wrapper does not set them.
 */
:root {
    --brand: #CE2730;
    --brand-contrast: #FFFFFF;
    --brand-dark: #9e1f26;
    --header-bg: #ffffff;
    --header-fg: #1a1a2e;
    --ink: #1a1a2e;
    --grey: #6b6b80;
    --line: #e4e4ee;
    --bg: #f6f6fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.pl-wrap {
    max-width: 1040px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
}

a {
    color: inherit;
}

/* top nav */
.scnav {
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
    padding: 13px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scnav .brand img {
    height: 40px;
    width: auto;
    display: block;
}

.scnav .brand {
    font-weight: 800;
    color: var(--header-fg);
    font-size: 17px;
    letter-spacing: .05em;
    text-decoration: none;
}

/* breadcrumbs */
.crumbs {
    padding: 13px 26px 0;
    font-size: 12.5px;
    color: var(--grey);
}

.crumbs a {
    color: var(--brand);
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
}

.crumbs .sep {
    margin: 0 4px;
    color: var(--line);
}

.crumbs .current {
    color: var(--ink);
}

/* product hero */
.pgrid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 30px;
    padding: 18px 26px 26px;
}

.pimg img {
    width: 100%;
    border-radius: 12px;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #f2f2f2;
}

.pinfo h1 {
    font-size: 26px;
    color: var(--ink);
    line-height: 1.2;
    margin: 0;
}

.pinfo .sect {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--brand);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.price {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin: 10px 0 2px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.price .occ {
    font-size: 12px;
    color: var(--grey);
    font-weight: 500;
}

.pdesc {
    font-size: 14.5px;
    color: #444;
    margin: 10px 0 14px;
    max-width: 480px;
}

.allers {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    align-items: center;
}

.allers .allabel {
    font-size: 11px;
    color: #999;
    font-weight: 700;
    text-transform: uppercase;
}

.aller {
    background: #f6f0e8;
    border: 1px solid #e8dcc8;
    color: #7a5c2e;
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 99px;
}

.avail {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 12.5px;
    color: #333;
    align-items: center;
    flex-wrap: wrap;
}

.avail .a {
    background: #f3faf5;
    border: 1px solid #d4ecdb;
    padding: 6px 12px;
    border-radius: 8px;
}

.avail .a b {
    color: #0b6b3a;
}

.ctas {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.addbtn {
    background: var(--brand);
    color: var(--brand-contrast);
    font-weight: 800;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.addbtn:hover {
    background: var(--brand-dark);
}

.menubtn {
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1.5px solid #ddd;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.menubtn:hover {
    border-color: #bbb;
}

.share {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12.5px;
    color: var(--grey);
}

.share .sbtn {
    border-radius: 99px;
    background: #f1f1f5;
    border: 1px solid #e2e2ea;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
}

.share .sbtn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--brand-contrast);
}

.share .copied {
    color: #0b6b3a;
    font-weight: 700;
}

/* store band */
.storeband {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    padding: 0 26px 24px;
}

.store {
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 15px;
    font-size: 12.5px;
    color: #444;
}

.store b {
    display: block;
    color: var(--ink);
    margin-bottom: 3px;
    font-size: 12.5px;
}

.store a {
    color: var(--brand);
    text-decoration: none;
}

.store a:hover {
    text-decoration: underline;
}

/* related */
.relhead {
    padding: 0 26px;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}

.rel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding: 12px 26px 26px;
}

.rcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    font-size: 11.5px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.rcard:hover {
    border-color: #cfcfe0;
}

.rcard img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #f2f2f2;
}

.rcard .ri {
    padding: 8px 9px;
}

.rcard .rn {
    font-weight: 700;
    color: #222;
    line-height: 1.25;
}

.rcard .rp {
    color: var(--brand);
    font-weight: 700;
    margin-top: 3px;
}

/* seo footer */
.seofoot {
    background: #fafafa;
    border-top: 1px solid var(--line);
    padding: 14px 26px;
    font-size: 11.5px;
    color: var(--grey);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.seofoot a {
    color: #555;
    text-decoration: underline;
}

.seofoot .branding {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--grey);
}

.seofoot .branding img {
    height: 16px;
    width: auto;
}

@media (max-width: 880px) {
    .pgrid {
        grid-template-columns: 1fr;
    }

    .rel {
        grid-template-columns: repeat(2, 1fr);
    }

    .storeband {
        grid-template-columns: 1fr;
    }
}
