/* product_variant2.css — standalone, does not depend on product_variant.css */

/* ── CSS custom properties ── */
:root {
    --pdp2-blue:   #005288;
    --pdp2-green:  #1a9e3a;
    --pdp2-border: #e3e8ef;
    --pdp2-panel:  #f8fafc;
    --pdp2-radius: 8px;
    --pdp2-shadow: 0 2px 8px rgba(2,6,23,.06);
    --pdp2-muted:  #64748b;
}

/* ── Carried-in base styles (previously from product_variant.css) ── */
.prod-page-top { background-color: #fff !important; }

.page-title {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--pdp2-blue);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 !important;
}

.panel {
    background: #fff;
    border: 1px solid var(--pdp2-border);
    border-radius: var(--pdp2-radius);
    box-shadow: var(--pdp2-shadow);
    overflow: hidden;
}

.panel__body { padding: 16px; }

.muted {
    color: var(--pdp2-muted);
    margin: 0 0 12px;
}

.shipping-data {
    margin: 5px 0 4px;
}

.stock {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 7px;
    font-weight: 500;
}

.stock .dot {
    width: 10px;
    height: 10px;
    background: #1a9e3a;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.ship-date {
    font-weight: 700;
    margin-left: 5px;
}

.trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.stars {
    color: #22c55e;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
}

.desc h3 { margin: 4px 0 10px; }

.iapmo-info { font-size: 10px; }
.iapmo-info img { width: 60%; }

/* ── Page grid ── */
.pdp-v2-page {
    padding: 8px 0 0;
    font-family: 'MuseoSans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Mobile: content-row stacks as a flex column; left wrapper is transparent */
.pdp-v2-content-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pdp-v2-left      { display: contents; } /* children participate directly in content-row flex */
.pdp-v2-image     { order: 1; min-width: 0; max-width: 100%; }
.pdp-v2-buybox    { order: 2; }
.pdp-v2-about     { order: 3; }
.pdp-v2-desc      { order: 4; }
.pdp-v2-stamps    { order: 99; }
.pdp-v2-left-extra { order: 100; } /* left-column extras (perf. testing etc.) below stamps on mobile */

/* Desktop: two-column flex — left column stacks naturally, buybox sticky on right */
@media (min-width: 768px) {
    .pdp-v2-page { padding: 0; }

    .pdp-v2-content-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        margin-top: 10px;
    }
    .pdp-v2-left {
        display: block;
        flex: 0 0 68%;
        min-width: 0;
    }
    .pdp-v2-image  { order: 0; min-width: 0; max-width: 100%; }
    .pdp-v2-about  { order: 0; margin-top: 10px; }
    .pdp-v2-stamps { order: 0; }
    .pdp-v2-buybox {
        order: 0;
        flex: 1;
        min-width: 0;
        border: 1px solid #dce6f0;
        border-radius: 12px;
        box-shadow: 0 2px 16px rgba(0,0,0,0.07);
        padding: 20px;
        position: sticky;
        top: 20px;
        align-self: flex-start;
    }
}

/* ── Header ── */
.pdp-v2-header .page-title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 6px !important;
}

@media (min-width: 768px) {
    .pdp-v2-header .page-title { font-size: 28px; }
}

/* Desktop gallery — vertical thumb rail on the left */
@media (min-width: 768px) {
    .pdp-v2-gallery {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .pdp-v2-thumb-rail {
        order: -1;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        max-height: 480px;
    }

    .pdp-v2-thumb-nav {
        flex-direction: column;
        flex: 1;
        min-height: 0;
        width: 72px;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        scrollbar-width: none;
    }

    .pdp-v2-thumb-nav::-webkit-scrollbar {
        display: none;
    }

    .pdp-v2-thumb-arrow {
        display: flex;
    }

    .pdp-v2-main-slider {
        flex: 1;
        min-width: 0;
        aspect-ratio: 1 / 1;
        max-height: 480px;
    }

    .pdp-v2-main-slider .slide img {
        max-height: 100%;
        height: 100%;
    }
}

/* ── Image gallery ── */
.pdp-v2-image {
    min-width: 0;
    overflow: hidden;
}

.pdp-v2-gallery {
    width: 100%;
    overflow: hidden;
}

/* Made in USA float badge */
.pdp-v2-miu-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 6px;
    padding: 5px 10px 5px 6px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.18);
    pointer-events: none;
}
.pdp-v2-miu-flag {
    display: block;
    flex-shrink: 0;
}
.pdp-v2-miu-badge span {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #1e3a5f;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Main slider */
.pdp-v2-main-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e3e8ef;
    box-shadow: 0 4px 16px rgba(2,6,23,.07);
    position: relative;
}

.pdp-v2-main-slider .slide {
    width: 100%;
}

.pdp-v2-main-slider .slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
}

/* Prev/next arrows — hidden until hover */
.pdp-v2-arrow--prev,
.pdp-v2-arrow--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.85);
    border: 1px solid #e3e8ef;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #0f172a;
    opacity: 0;
    transition: opacity 0.15s, background 0.15s;
    pointer-events: none;
}
.pdp-v2-arrow--prev { left: 10px; }
.pdp-v2-arrow--next { right: 10px; }

.pdp-v2-main-slider:hover .pdp-v2-arrow--prev,
.pdp-v2-main-slider:hover .pdp-v2-arrow--next {
    opacity: 1;
    pointer-events: auto;
}

.pdp-v2-arrow--prev:hover,
.pdp-v2-arrow--next:hover {
    background: #fff;
}

@media (max-width: 767px) {
    .pdp-v2-arrow--prev,
    .pdp-v2-arrow--next { display: none; }
}

/* Thumbnail strip */
.pdp-v2-thumb-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 8px 0 0;
    margin: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.pdp-v2-thumb-nav::-webkit-scrollbar {
    display: none;
}

/* Thumb rail scroll arrows — hidden on mobile, shown on desktop */
.pdp-v2-thumb-arrow {
    display: none;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 4px;
    width: 62px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    color: #005288;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.12s;
}
.pdp-v2-thumb-arrow:hover {
    background: #f1f5f9;
}
.pdp-v2-thumb-arrow:disabled {
    opacity: 0.2;
    pointer-events: none;
}

.pdp-v2-thumb {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border: 1.5px solid #e3e8ef;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

.pdp-v2-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdp-v2-thumb--active {
    border-color: #005288;
}

/* ── Header meta row: reviews | mfg info on one line ── */
.pdp-v2-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
    overflow: hidden;
}

.pdp-v2-reviews-inline {
    flex-shrink: 0;
    line-height: 1;
}

/* Override fixed height/margin from reviews partial */
.pdp-v2-reviews-inline .info {
    height: auto !important;
    margin: 0 !important;
}

.pdp-v2-reviews-inline .tp-product-mini-widget {
    display: flex;
    align-items: center;
}

.pdp-v2-meta-sep {
    color: #cbd5e1;
    font-weight: 300;
    flex-shrink: 0;
}

.pdp-v2-meta-ids {
    color: #64748b;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    row-gap: 1px;
    min-width: 0;
}

.pdp-v2-meta-mfg,
.pdp-v2-meta-sku { white-space: nowrap; }

@media (max-width: 576px) {
    .pdp-v2-meta-ids-bull { display: none; }
    .pdp-v2-meta-sku { flex-basis: 100%; }
}

/* ── Stamps — below image on desktop, last on mobile ── */
.pdp-v2-stamps ul:not(.pdp-v2-stamp-bullets) {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
    flex-wrap: wrap;
}

/* ── Reset legacy product-stamps rules that fight v2 layout ── */
.pdp-v2-stamps.product-stamps {
    text-align: left;
    margin: 0;
    width: 100%;
}

/* ── About-this-filter block (wraps eyebrow + name + replaces text + bullets) ── */
.pdp-v2-about-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pdp-v2-section-eyebrow {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pdp2-blue);
    margin: 14px 0 6px;
}

.pdp-v2-about-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.2;
}

.pdp-v2-replaces-text {
    font-size: 14px;
    color: #334155;
    margin: 0;
    line-height: 1.55;
}

/* ── Stamp bullet list (v2 alternate renderer) ── */
.pdp-v2-stamp-bullets {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.pdp-v2-stamps .pdp-v2-stamp-bullets .pdp-v2-stamp-bullet {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
}

.pdp-v2-stamps .pdp-v2-stamp-bullets .pdp-v2-stamp-bullet::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background-color: #3a82c0;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

/* ── Pack size tiles ── */
/* ── Performance / MERV selector header ── */
.pdp-v2-perf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.pdp-v2-perf-header .pdp-v2-pack-label { margin-bottom: 0; }

.pdp-v2-compare-link {
    font-size: 12px;
    font-weight: 600;
    color: #005288;
    text-decoration: none;
}
.pdp-v2-compare-link:hover { text-decoration: underline; }

.pdp-v2-perf-header--mt { margin-top: 18px; }

/* ── MERV tiles ── */
.merv-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.merv-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 14px 6px 12px;
    border: 2px solid #d1dce8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    min-height: 72px;
    user-select: none;
}

.merv-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.merv-tile--selected {
    border-color: #005288;
    background: #eef4fa;
}

.merv-tile__badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 50px;
    white-space: nowrap;
    color: #fff;
}
.merv-tile__badge--popular { background: #d84d00; }
.merv-tile__badge--optimal { background: #0f172a; }

.merv-tile__rating {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.merv-tile__sublabel {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

/* Pack label margin variant for when it follows MERV tiles */
.pdp-v2-pack-label--mt { margin-top: 4px; }

.pdp-v2-pack-section {
    margin-bottom: 14px;
}

.pdp-v2-pack-label {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
}

.packsize-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* At tablet/narrow-desktop the buybox is ~32% of the row, too narrow for 4 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .packsize-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Price row: allow badge to wrap below price numbers when buybox is narrow */
    .pdp-v2-price-row {
        flex-wrap: wrap;
        gap: 6px 12px;
    }
}

.pack-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 14px 4px 12px;
    border: 2px solid #d1dce8;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s;
    min-height: 82px;
    user-select: none;
}

.pack-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Selected: light blue fill with navy border */
.pack-tile--selected,
.pack-tile:has(input:checked) {
    border-color: #005288;
    background: #eef4fa;
}

/* Badge: pill-shaped, sits centred on top edge */
.pack-tile__best {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #005288;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 9px;
    border-radius: 50px;
    white-space: nowrap;
}

/* Qty */
.pack-tile__qty {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

/* Price per each */
.pack-tile__each {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
}

/* Discount — dash for no savings */
.pack-tile__discount {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.2;
}

/* Active pill — unselected */
.pack-tile__discount--active {
    background: #dbeafe;
    color: #005288;
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    padding: 2px 9px;
}

/* Active pill — selected tile: flip to dark bg + white text */
.pack-tile--selected .pack-tile__discount--active,
.pack-tile:has(input:checked) .pack-tile__discount--active {
    background: #005288;
    color: #fff;
}

/* ── Add to Cart button ── */
.add-to-cart.pdp-v2-atc {
    width: 100%;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #34c05a 0%, #1a9e3a 100%);
    padding: 16px 20px;
    cursor: pointer;
    display: block;
    text-align: center;
    color: #fff;
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-height: 52px;
    box-shadow: 0 2px 0 #14882f, 0 4px 12px rgba(26,158,58,0.35);
    margin-bottom: 0;
    transition: filter 0.15s;
    user-select: none;
}

.add-to-cart.pdp-v2-atc:hover,
.add-to-cart.pdp-v2-atc:focus {
    filter: brightness(1.06);
    outline: none;
}

/* ── Per-filter price callout (above ATC button) ── */
.pdp-v2-perfilter-save-wrap {
    margin-bottom: 10px;
}
.pdp-v2-per-filter-callout {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: #004d7a;
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    margin-bottom: 8px;
    line-height: 1;
}
@media (max-width: 767px) {
    .pdp-v2-perfilter-save-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .pdp-v2-perfilter-save-wrap .pdp-v2-per-filter-callout,
    .pdp-v2-perfilter-save-wrap .pdp-v2-save-row {
        margin-bottom: 0;
    }
}
.pdp-v2-per-filter-price {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.pdp-v2-per-filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #7ec8e8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pdp-v2-per-filter-callout--hidden {
    display: none;
}

/* ── Save row: badge + pack size descriptor ── */
.pdp-v2-save-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.pdp-v2-save-row--hidden { display: none; }

.pdp-v2-save-badge {
    display: inline-flex;
    align-items: center;
    background: #d4f0dc;
    color: #1a7a38;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 4px 12px;
}

.pdp-v2-save-desc {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* ── Pack MSRP strikethrough (inline with main price) ── */
.pdp-v2-msrp-strike {
    font-size: 18px;
    font-weight: 500;
    color: #94a3b8;
}

/* ── Sticky bar info row (below sticky button) ── */
.sticky-atc__sublabel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 0;
    flex-wrap: nowrap;
    line-height: 1;
}
.sticky-atc__sublabel--hidden { display: none; }

/* Mini per-filter pill inside sticky */
.sticky-atc__per-filter {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    background: #004d7a;
    border-radius: 50px;
    padding: 4px 12px;
    line-height: 1;
    white-space: nowrap;
}
.sticky-atc__per-filter .pdp-v2-per-filter-price { font-size: 14px; }
.sticky-atc__per-filter .pdp-v2-per-filter-label { font-size: 10px; }

.sticky-atc__save-badge--hidden { display: none; }

.sticky-atc .pdp-v2-save-badge {
    background: #dbeafe;
    color: #005288;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
}

/* ── Stock row (below ATC) ── */
.pdp-v2-stock-row {
    margin-top: 10px;
    padding: 0px 12px;
    background: #f0f7ff;
    border-radius: 6px;
    border: 1px solid #c8dff6;
    font-size: 13px;
}

/* ── Price display section ── */
.pdp-v2-price-display {
    display: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .pdp-v2-price-display {
        display: block;
    }
}

.pdp-v2-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.pdp-v2-price-nums {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pdp-v2-coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 100px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Coupon badge — hidden on desktop (price row version handles it there) */
@media (min-width: 768px) {
    .pdp-v2-coupon-mobile {
        display: none;
    }
}

/* Per-pack savings pill hidden in sidebar — remove this rule to re-enable */
.pdp-v2-perfilter-save-wrap .pdp-v2-save-row {
    display: none !important;
}

.pdp-v2-price-display .dollars-main,
.pdp-v2-price-display .dollars-main-ads {
    font-size: 36px !important;
    font-weight: 900 !important;
    color: var(--pdp2-blue) !important;
    letter-spacing: -0.02em;
    line-height: 1;
    display: inline !important;
    margin: 0 !important;
}

/* Typographic price split: small raised $ and .cents */
.pdp-v2-price-sup {
    font-size: 0.44em;
    vertical-align: 0.55em;
    font-weight: 900;
    letter-spacing: 0;
}

.pdp-v2-save-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.pdp-v2-save-text {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pdp2-blue);
    white-space: nowrap;
}

.pdp-v2-save-code {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pdp2-muted);
    white-space: nowrap;
}

.pdp-v2-price-sub {
    font-size: 13px;
    color: var(--pdp2-muted);
    font-weight: 700;
}

.pdp-v2-price-display .price-filters-qty {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* ATC button: show price on mobile, arrow on desktop (price shown in block above) */
.pdp-v2-atc-mobile-price { display: inline; }
.pdp-v2-atc-desktop-arrow { display: none; }

@media (min-width: 768px) {
    .pdp-v2-atc-mobile-price { display: none; }
    .pdp-v2-atc-desktop-arrow { display: inline; }
}

/* ATC form wrapper — no margins, no border */
.pdp-v2-atc-form {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

/* ── Bundle & Save — orange-theme PDP variant ── */
.pdp-v2-bundle-wrap {
    border: 2px solid #f97316;
    border-radius: 12px;
    overflow: hidden;
    margin: 8px 0 0;
}

.pdp-v2-bundle-header {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-v2-bundle-header-icon {
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #fff;
}

.pdp-v2-bundle-header-text {
    flex: 1;
    min-width: 0;
}

.pdp-v2-bundle-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    margin: 0 0 2px;
}

.pdp-v2-bundle-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.pdp-v2-bundle-badge {
    background: #fff;
    color: #ea580c;
    font-size: 13px;
    font-weight: 800;
    border-radius: 20px;
    padding: 4px 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pdp-v2-bundle-body {
    background: #fff;
    padding: 12px 14px 14px;
}

.pdp-v2-bundle-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 10px;
}

.pdp-v2-bundle-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pdp-v2-bundle-card-form {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    display: flex;
}

.pdp-v2-bundle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 10px 6px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    gap: 5px;
    transition: border-color 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.pdp-v2-bundle-card:hover {
    border-color: #f97316;
    text-decoration: none;
}

.pdp-v2-bundle-card-icon {
    width: 46px;
    height: 46px;
    background: #fff7ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pdp-v2-bundle-card-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pdp-v2-bundle-card-name {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.pdp-v2-bundle-card-pct {
    background: #f97316;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 20px;
    padding: 2px 7px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pdp-v2-bundle-card-shop {
    font-size: 11px;
    font-weight: 600;
    color: #005288;
}

/* ── Trust badges (sidebar) ── */
.trust-badges {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-top: 1px solid var(--pdp2-border);
    border-bottom: 1px solid var(--pdp2-border);
    padding: 10px 0;
    margin: 4px 0;
}

.trust-badge {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: center;
    padding: 6px 4px;
}

.trust-icon {
    font-size: 20px;
    color: var(--pdp2-blue);
    line-height: 1;
}

.trust-text {
    font-size: 11px;
    color: #0f172a;
    font-weight: 500;
    line-height: 1.3;
}

.trust-separator {
    width: 1px;
    background: var(--pdp2-border);
    align-self: stretch;
    margin: 4px 0;
}

/* ── Guarantees strip (below main content) ── */
.pdp-v2-guarantees {
    padding: 18px 0;
    margin: 8px 0 16px;
}

.pdp-v2-guarantees__row {
    display: flex;
    justify-content: center;
    gap: 48px;
}

.pdp-v2-guarantee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.pdp-v2-guarantee__icon {
    font-size: 28px;
    color: var(--pdp2-blue);
    line-height: 1;
}

.pdp-v2-guarantee__label {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .pdp-v2-guarantees__row { gap: 24px; }
    .pdp-v2-guarantee__icon { font-size: 22px; }
}

/* ── Part Number Reference widget ── */
.pnr-card {
    background: #f1f5f9;
    border: 1.5px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px 20px 16px;
    margin-top: 12px;
}

.pnr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.pnr-tile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pdp2-blue);
}

.pnr-tile--more {
    display: none;
}

.pnr-expand-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp2-blue);
    text-decoration: none;
}

.pnr-expand-link:hover,
.pnr-search-link:hover { text-decoration: underline; }

.pnr-footer {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
}

.pnr-search-link {
    color: var(--pdp2-blue);
    text-decoration: none;
}

.pnr-footer-sep {
    color: var(--pdp2-muted);
}

/* Compatible part numbers card variant */
.pnr-card--table {
    padding: 0;
    overflow: hidden;
}

.pnr-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.pnr-search-desc {
    font-size: 13px;
    color: #475569;
    margin: 0;
    flex: 1;
}

.pnr-input-wrapper {
    position: relative;
    flex-shrink: 0;
}

.pnr-input {
    padding-right: 32px !important;
    min-width: 200px;
}

.pnr-input-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pdp2-muted);
    pointer-events: none;
}

.pnr-table-scroll {
    height: 380px;
    overflow-y: auto;
}

.pnr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.pnr-table thead th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    padding: 8px 14px;
    text-align: left;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
}

.pnr-table tbody tr:nth-child(even) { background: #f8fafc; }
.pnr-table tbody td {
    padding: 7px 14px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 576px) {
    .pnr-grid { grid-template-columns: repeat(2, 1fr); }
    .pnr-search-header { flex-direction: column; align-items: flex-start; }
    .pnr-input { min-width: 100%; width: 100%; }
}

/* ── Fits-these-refrigerators banner ── */
.fits-rfg-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f1f5f9;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 18px;
}

.fits-rfg-icon {
    flex-shrink: 0;
    display: block;
    width: 26px;
    height: 26px;
    border: 2px solid #22a35a;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2322a35a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    margin-top: 1px;
}

.fits-rfg-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pdp2-blue);
    margin: 0 0 4px;
}

.fits-rfg-brands {
    font-size: 13px;
    color: #475569;
    margin: 0;
    line-height: 1.55;
}

/* ── Content sections ── */
.pdp-v2-section {
    padding: 16px 0;
}

.pdp-v2-section-heading,
.pdp-v2-section .test-results h3 {
    font-family: 'MuseoSansBold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 6px 0 16px;
}

/* Installation instructions */
.pdp-v2-install-wrap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pdp-v2-install-img {
    max-width: 200px;
    flex-shrink: 0;
    border-radius: var(--pdp2-radius);
}

.pdp-v2-install-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.pdp-v2-iapmo-wrap {
    align-items: center;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.pdp-v2-iapmo-wrap img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .pdp-v2-install-wrap { flex-direction: column; }
    .pdp-v2-install-img  { max-width: 100%; }
}

/* ── Customer reviews compact block ── */
.pdp-v2-review-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 8px;
}

/* Left: avg + breakdown */
.pdp-v2-review-left {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-v2-review-avg-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-v2-review-avg {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.pdp-v2-review-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp2-blue);
    text-decoration: none;
}

.pdp-v2-review-count:hover { text-decoration: underline; }

.pdp-v2-review-read-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp2-blue);
    text-decoration: none;
}

.pdp-v2-review-read-all:hover { text-decoration: underline; }

.pdp-v2-review-read-all--mobile { display: none; }

@media (max-width: 768px) {
    .pdp-v2-review-read-all--desktop { display: none; }
    .pdp-v2-review-read-all--mobile  { display: block; }
}

.pdp-v2-review-breakdown {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pdp-v2-review-bar-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #334155;
}

.pdp-v2-review-bar-label {
    width: 22px;
    text-align: right;
    flex-shrink: 0;
}

.pdp-v2-review-bar-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.pdp-v2-review-bar-fill {
    height: 100%;
    background: var(--pdp2-green);
    border-radius: 4px;
}

.pdp-v2-review-bar-count {
    width: 36px;
    flex-shrink: 0;
    color: var(--pdp2-muted);
}

/* Right: review cards — 4 col desktop, 2 col mobile */
.pdp-v2-review-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    min-width: 0;
}

@media (max-width: 768px) {
    .pdp-v2-review-cards { grid-template-columns: 1fr 1fr; }
    .pdp-v2-review-card:nth-child(n+3) { display: none; }
}

.pdp-v2-review-card {
    border: 1px solid var(--pdp2-border);
    border-radius: var(--pdp2-radius);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
}

.pdp-v2-review-card-body {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin: 0;
    flex: 1;
}

.pdp-v2-review-card-meta {
    font-size: 12px;
    color: var(--pdp2-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .pdp-v2-review-layout { flex-direction: column; }
    .pdp-v2-review-left { width: 100%; }
    .pdp-v2-review-card { padding: 12px 14px; }
}

/* ── Activated carbon section ── */
.activated-carbon-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activated-carbon-list li {
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
    color: #334155;
}

.activated-carbon-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pdp2-green);
}
