/* Cartridge v3 only: content-height price panel and independent printer list. */
.product-hero.product-hero-v3{align-items:start}
.product-hero-v3>.product-hero-main{min-width:0}
/* Retire the earlier CF259A pseudo-photo only where the real photo exists. */
body:has(.order-choice-btn[data-model="HP CF259A (59A)"]) .product-hero-main:has(.cartridge-photo)::after{content:none;display:none}
body:has(.order-choice-btn[data-model="HP CF259A (59A)"]) .product-hero-main:has(.cartridge-photo)>h1,body:has(.order-choice-btn[data-model="HP CF259A (59A)"]) .product-hero-main:has(.cartridge-photo)>.product-lead{max-width:none}
body:has(.order-choice-btn[data-model="HP CF259A (59A)"]) .product-hero-main:has(.cartridge-photo){padding-right:36px!important}
@media(max-width:900px){body:has(.order-choice-btn[data-model="HP CF259A (59A)"]) .product-hero-main:has(.cartridge-photo){padding-right:24px!important}}
.product-hero-v3>.service-price-card{align-self:start;justify-content:flex-start;min-height:0;height:auto;min-width:0;width:100%;box-sizing:border-box;padding:24px}
.cartridge-printers{clear:both;margin:0 0 30px;padding:28px;background:#fff;border:1px solid #e0e8f2;border-radius:18px;box-shadow:0 7px 24px rgba(25,49,83,.08)}
.cartridge-printers h2{margin:0 0 20px;color:#172033;font-size:clamp(23px,3vw,30px);line-height:1.25}
.cartridge-printers .compatibility-list{columns:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;list-style:none;margin:0;padding:0}
.cartridge-printers .compatibility-list li{min-width:0;margin:0;padding:12px 14px;background:#f6f9fe;border:1px solid #dce8f8;border-radius:10px;overflow-wrap:anywhere}
.cartridge-printers a{overflow-wrap:anywhere}
.cartridge-printers .compatibility-list a{display:block;color:#2457a7;text-decoration:none;font-weight:600}
.cartridge-printers .compatibility-list a:hover{text-decoration:underline}
.cartridge-printers .compat-family-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cartridge-printers .compat-family-row{min-width:0;padding:14px;background:#f6f9fe;border:1px solid #dce8f8;border-radius:10px}
.cartridge-printers .compat-family-row strong,.cartridge-printers .compat-family-row span{display:block;line-height:1.6}
.cartridge-printers .compat-model-pages{margin:18px 0 0;line-height:1.7}
.cartridge-printers a:focus-visible{outline:3px solid #2457a7;outline-offset:3px}
@media(max-width:900px){.cartridge-printers .compatibility-list,.cartridge-printers .compat-family-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cartridge-printers{padding:20px;margin-bottom:24px}.cartridge-printers .compatibility-list,.cartridge-printers .compat-family-list{grid-template-columns:minmax(0,1fr)}.product-hero-v3>.service-price-card{padding:22px}.product-hero-v3 .price-actions{grid-template-columns:minmax(0,1fr)}.product-hero-v3 .price-actions>a,.product-hero-v3 .price-actions>button{width:100%;box-sizing:border-box;min-width:0}.product-hero-v3 .hero-facts{min-width:0;gap:8px}}

/* 2026-11-18: specifications beside the photo, equal desktop cards. */
.cartridge-overview{display:grid;grid-template-columns:minmax(115px,.75fr) minmax(0,1.25fr);gap:20px;align-items:center;margin-top:20px;flex:1;min-width:0}
.cartridge-overview>.hero-facts{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:20px;margin:0;padding:18px;background:#f6f9fe;border:1px solid #dce8f8;border-radius:12px;min-width:0}
.cartridge-overview .hero-facts>span{display:flex;align-items:flex-start;gap:9px;padding:0;border:0;background:none;min-width:0;overflow-wrap:anywhere}
.cartridge-overview .hero-facts .spec-copy{display:block;padding:0;border:0;background:none;min-width:0}
.cartridge-overview .hero-facts small{display:block;margin-bottom:4px;color:#718096;font-size:12px;line-height:1.4}
.cartridge-overview .hero-facts strong{display:block;font-size:15px;line-height:1.5}
.cartridge-overview .hero-facts i{flex:0 0 auto;margin-top:3px}
.cartridge-overview>.cartridge-photo{margin:0;width:100%;height:auto;min-height:0;max-height:220px;aspect-ratio:var(--cartridge-photo-ratio,1);min-width:0}
.cartridge-overview--no-photo{grid-template-columns:1fr;flex:0;margin-top:auto;padding-top:20px}
.cartridge-overview--no-photo>.hero-facts{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:20px 32px}
.cartridge-overview>.hero-facts:empty{display:none}
.cartridge-overview:has(>.hero-facts:empty){grid-template-columns:1fr}
.cartridge-overview .hero-facts>span:has(strong:empty){display:none}
.cartridge-overview>.hero-facts:not(:has(strong:not(:empty))){display:none}
.cartridge-overview:has(>.hero-facts:not(:has(strong:not(:empty)))){grid-template-columns:1fr}
@media(min-width:901px){.product-hero.product-hero-v3{align-items:stretch}.product-hero-v3>.service-price-card{align-self:stretch;justify-content:space-between}.product-hero-v3>.product-hero-main{height:auto;min-height:0}}
@media(max-width:900px){.cartridge-overview{flex:0}.cartridge-overview--no-photo{margin-top:0}.product-hero-v3>.service-price-card{align-self:start;justify-content:flex-start}}
@media(max-width:600px){.cartridge-overview{grid-template-columns:minmax(94px,.85fr) minmax(0,1.15fr);gap:12px;margin-top:18px}.cartridge-overview>.hero-facts{padding:12px;gap:14px}.cartridge-overview .hero-facts>span{gap:6px}.cartridge-overview .hero-facts strong{font-size:13px}.cartridge-overview .hero-facts small{font-size:11px}.cartridge-overview--no-photo{grid-template-columns:1fr;padding-top:0}}
