/* Scoped to the catalog and known family purchase pages; theme files stay untouched. */
body.itvso-page #content { width:100%; max-width:1190px; margin-left:auto; margin-right:auto; padding:0 25px; box-sizing:border-box; }
body.itvso-page #primary, body.itvso-page #main { width:100%; max-width:100%; margin-left:0; margin-right:0; float:none; box-sizing:border-box; }
body.itvso-page #main { padding:36px 0 64px; }
body.itvso-page #secondary { display:none; }
/* Contain WooCommerce's floated image/summary even when no tabs follow them. */
body.itvso-page #content, body.itvso-page #primary, body.itvso-page #main,
body.itvso-page div.product { display:flow-root; }
body.itvso-page #colophon { clear:both; }
.itvso-catalog { color:#293844; font-size:16px; line-height:1.6; }
.itvso-intro { max-width:760px; margin:0 0 26px; }
.itvso-eyebrow { text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:700; color:#707d86; margin:0 0 8px; }
.itvso-intro h1 { font-size:42px; line-height:1.15; margin:0 0 16px; color:#263b4a; }
.itvso-jumps { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:40px; padding:0 0 24px; border-bottom:1px solid #dfe6eb; }
.itvso-jumps a { display:inline-block; padding:9px 20px; border:1px solid #ccd8df; border-radius:5px; color:#244f69; text-decoration:none; font-weight:600; background:#f8fafb; }
.itvso-jumps a:hover,.itvso-jumps a:focus { background:#e9f0f5; }
.itvso-section { margin:0 0 52px; scroll-margin-top:40px; }
.itvso-section>h2, .itvso-legacy>h2 { color:#263b4a; font-size:30px; line-height:1.25; margin:0 0 10px; }
.itvso-section>h3 { color:#263b4a; font-size:24px; margin:0 0 8px; }
.itvso-section>p { margin:0 0 22px; color:#5b6973; }
.itvso-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.itvso-card { display:flex; flex-direction:column; min-width:0; border:1px solid #dce4e9; border-radius:8px; background:#fff; overflow:hidden; box-shadow:0 3px 12px rgba(28,54,72,.045); }
.itvso-image { height:178px; padding:22px; display:flex; align-items:center; justify-content:center; background:#f7f9fb; border-bottom:1px solid #e7edf1; }
.itvso-image img { max-width:100%; width:auto; height:auto; max-height:134px; object-fit:contain; margin:0; }
.itvso-card-body { display:flex; flex-direction:column; flex:1; padding:23px; }
.itvso-card h3 { font-size:22px; line-height:1.3; margin:0 0 12px; overflow-wrap:anywhere; }
.itvso-card h3 a { color:#244f69; text-decoration:none; }
.itvso-summary { color:#566570; margin:0 0 20px; flex:1; }
.itvso-pricing { border-top:1px solid #e7edf1; padding-top:16px; margin-top:auto; margin-bottom:20px; }
.itvso-price-label { display:block; font-size:12px; text-transform:uppercase; letter-spacing:.07em; color:#6a7780; }
.itvso-price { font-size:23px; font-weight:700; color:#263b4a; }
.itvso-price del { font-size:16px; font-weight:400; }
.itvso-price ins { background:transparent; }
.itvso-pricing small { display:block; font-size:12px; color:#697883; margin-top:4px; }
.itvso-actions { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.itvso-button { display:block; padding:11px 13px; border-radius:4px; text-align:center; text-decoration:none!important; background:#2a5978; color:#fff!important; font-size:14px; font-weight:600; line-height:1.5; }
.itvso-button:hover,.itvso-button:focus { background:#1d425c; }
.itvso-info { text-align:center; font-size:13px; color:#356680; }
.itvso-legacy { border-top:1px solid #dce4e9; padding-top:36px; scroll-margin-top:32px; }
.itvso-legacy>p { margin-bottom:28px; color:#697883; }
.itvso-preview,.itvso-legacy-note { background:#f1f6fa; border-left:3px solid #5a86a3; padding:12px 16px; margin-bottom:24px; }
.itvso-family-nav { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 25px; font-size:14px; }
.itvso-purchase { clear:both; }
.itvso-purchase-help { font-size:14px; line-height:1.6; color:#566570; }
.itvso-purchase-group { border:0; padding:0; margin:24px 0; min-width:0; }
.itvso-purchase-group legend { font-size:22px; font-weight:600; color:#263b4a; margin-bottom:10px; padding:0; }
.itvso-purchase-group>p { font-size:13px; color:#697883; }
.itvso-options { width:100%; border-collapse:collapse; table-layout:fixed; font-size:14px; }
.itvso-options thead th { background:#f2f6f8; text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.itvso-options th,.itvso-options td { padding:12px 8px!important; vertical-align:middle!important; border-bottom:1px solid #e1e8ed; overflow-wrap:anywhere; }
.itvso-options th:first-child,.itvso-options td:first-child { width:86px; }
.itvso-options th:last-child,.itvso-options td:last-child { width:105px; }
.itvso-options tbody th { text-align:left; font-weight:500; }
.itvso-options .quantity { display:block!important; float:none!important; margin:0!important; }
.itvso-options .quantity input { width:64px!important; min-width:0; padding:6px!important; box-sizing:border-box; }
.itvso-option-price { text-align:right; }
.itvso-option-price .stock { margin:3px 0 0; font-size:11px; }
.itvso-compatible { clear:both; padding:26px 0; }
.itvso-compatible li { padding:10px 0; }
.itvso-compatible li span { margin-left:12px; }
body.itvso-page div.product .summary { min-width:0; }
body.itvso-page div.product .product_title { overflow-wrap:anywhere; }
@media(max-width:1000px) {
 body.itvso-page #content { padding-left:24px; padding-right:24px; }
 .itvso-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 body.itvso-page div.product div.images, body.itvso-page div.product div.summary { float:none; width:100%; }
 body.itvso-page div.product div.images { max-width:360px; margin-left:auto; margin-right:auto; }
}
@media(max-width:600px) {
 body.itvso-page #content { padding-left:16px; padding-right:16px; }
 body.itvso-page #main { padding-top:25px; }
 .itvso-grid { grid-template-columns:minmax(0,1fr); gap:20px; }
 .itvso-intro h1 { font-size:34px; }
 .itvso-jumps { gap:8px; margin-bottom:30px; }
 .itvso-jumps a { padding:8px 12px; font-size:14px; }
 .itvso-card-body { padding:20px; }
 .itvso-image { height:160px; }
 .itvso-options { font-size:12px; }
 .itvso-options th,.itvso-options td { padding:10px 5px!important; }
 .itvso-options th:first-child,.itvso-options td:first-child { width:65px; }
 .itvso-options th:last-child,.itvso-options td:last-child { width:82px; }
 .itvso-options .quantity input { width:52px!important; }
}
