/* Styles are scoped to the assigned product and its calculator. */
.thsb-page { --thsb-ink:#202020; --thsb-muted:#606060; --thsb-line:#dddddd; --thsb-paper:#f6f6f6; color:var(--thsb-ink); max-width:1200px; padding:64px 24px 80px; margin:0 auto; box-sizing:border-box; }
.thsb-page *, .thsb * { box-sizing:border-box; }
.thsb-page .thsb-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,5vw,72px); align-items:center; }
.thsb-page .thsb-hero-copy h1 { font-size:clamp(30px,3.5vw,48px); line-height:1.1; margin:14px 0 24px; letter-spacing:-.025em; color:var(--thsb-ink); }
.thsb-page .thsb-description { font-size:18px; line-height:1.7; }
.thsb-page .thsb-eyebrow, .thsb .thsb-eyebrow { text-transform:uppercase; font-size:12px; font-weight:700; letter-spacing:.13em; margin:0 0 12px; }
.thsb-page .thsb-anchor { display:inline-flex; gap:28px; justify-content:space-between; align-items:center; color:#fff; background:#252525; border-radius:5px; padding:16px 22px; font-weight:700; text-decoration:none; margin-top:18px; }
.thsb-page .thsb-anchor:hover { background:#111111; color:#fff; }
.thsb-page .thsb-hero-note { color:var(--thsb-muted); font-size:13px; margin:16px 0 0; }
.thsb-page .thsb-gallery-stage, .thsb-page .thsb-gallery-placeholder { border-radius:10px; background:var(--thsb-paper); overflow:hidden; }
.thsb-page .thsb-gallery-stage img, .thsb-page .thsb-gallery-placeholder img { display:block; width:100%; height:auto; aspect-ratio:1 / 1; object-fit:contain; }
.thsb-page [data-thsb-image][hidden] { display:none; }
.thsb-page .thsb-thumbnails { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.thsb-page .thsb-thumbnails button { width:72px; padding:3px; border:2px solid transparent; background:var(--thsb-paper); border-radius:5px; cursor:pointer; }
.thsb-page .thsb-thumbnails button[aria-pressed=true] { border-color:#252525; }
.thsb-page .thsb-thumbnails img { display:block; width:100%; height:auto; }
.thsb-page .thsb-customise { margin-top:80px; scroll-margin-top:110px; }
.thsb-page .thsb-customise h2 { margin:0 0 24px; font-size:clamp(28px,3vw,38px); line-height:1.2; color:var(--thsb-ink); }
.thsb-page .thsb-cart { display:block; width:100%; margin:0; }
.thsb-page .thsb-product-details { margin-top:48px; padding-top:32px; border-top:1px solid var(--thsb-line); line-height:1.75; overflow-wrap:anywhere; overflow-x:auto; }
.thsb-page .thsb-product-details > :first-child { margin-top:0; }
.thsb-page .thsb-product-details img, .thsb-page .thsb-product-details video { max-width:100%; height:auto; }
.thsb-page .thsb-product-details iframe { max-width:100%; }
.thsb-page .thsb-product-details table { border-collapse:collapse; max-width:100%; }
.thsb-page .thsb-product-details th, .thsb-page .thsb-product-details td { border:1px solid var(--thsb-line); padding:10px 14px; text-align:left; }
.thsb-admin-preview > p { padding:12px 16px; border-left:3px solid #777777; background:#f5f5f5; font-size:13px; line-height:1.6; margin-bottom:22px; }
.thsb { width:100%; min-width:0; color:#202020; }
.thsb .thsb-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:stretch; }
.thsb .thsb-card { min-width:0; margin:0; padding:24px 28px 28px; border:1px solid #dddddd; border-radius:8px; background:#f6f6f6; }
.thsb .thsb-card > legend { float:none; width:auto; padding:0 8px; font-size:23px; font-weight:700; color:#202020; }
.thsb .thsb-step { color:#777777; font-size:14px; margin-right:8px; }
.thsb .thsb-intro { margin:0 0 20px; color:#606060; line-height:1.6; }
.thsb label { display:block; font-weight:600; margin-top:16px; font-size:14px; }
.thsb input[type=number], .thsb select { display:block; width:100%; max-width:none; min-height:48px; padding:10px 12px; margin:7px 0 0; border:1px solid #bfbfbf; border-radius:5px; background:#fff; color:#202020; font:inherit; }
.thsb small { display:block; color:#606060; margin-top:5px; font-size:12px; }
.thsb p { line-height:1.6; }
.thsb .thsb-construction { margin-top:24px; padding-top:16px; border-top:1px solid #dddddd; font-size:13px; color:#606060; }
.thsb .thsb-radio-group { border:0; min-width:0; padding:0; margin:20px 0; }
.thsb .thsb-radio-group legend { width:auto; float:none; font-weight:700; font-size:14px; padding:0; margin-bottom:2px; }
.thsb .thsb-choice { display:flex; align-items:flex-start; gap:10px; border:1px solid #cccccc; border-radius:5px; padding:13px 12px; background:#fff; margin-top:8px; cursor:pointer; line-height:1.5; font-weight:400; }
.thsb .thsb-choice:has(input:checked) { border-color:#333333; background:#eeeeee; }
.thsb .thsb-choice input[type=radio] { appearance:auto; flex:0 0 18px; width:18px; height:18px; margin:2px 0 0; accent-color:#333333; opacity:1; position:static; }
.thsb .thsb-help { color:#606060; font-size:13px; }
.thsb .thsb-total { margin-top:28px; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:32px; align-items:center; padding:30px; background:#242424; border-radius:8px; color:#fff; }
.thsb .thsb-total h3 { color:#fff; font-size:25px; margin:0 0 16px; }
.thsb .thsb-total p { font-size:13px; }
.thsb .thsb-quote strong { display:block; font-size:clamp(26px,3vw,36px); line-height:1.25; }
.thsb .thsb-quote .woocommerce-Price-amount { color:inherit; }
.thsb .thsb-option-prices { font-size:13px; margin:16px 0 0; }
.thsb .thsb-preview-badge { display:inline-block; font-size:13px; font-weight:700; border:1px solid #999999; border-radius:4px; padding:9px 12px; }
.thsb .thsb-purchase { min-width:0; }
.thsb .thsb-purchase .quantity { float:none; margin:0 0 12px; }
.thsb .thsb-purchase input.qty { width:100px; }
.thsb .single_add_to_cart_button { float:none; width:100%; margin:12px 0 0; padding:15px 18px; border:0; background:#ffffff; color:#202020; font-weight:700; border-radius:5px; cursor:pointer; }
.thsb .single_add_to_cart_button:disabled { opacity:.6; cursor:wait; }
.thsb .thsb-adjustment:empty { display:none; }
.thsb .thsb-adjustment:not(:empty) { padding:10px; background:#eeeeee; color:#333333; font-size:13px; }
.thsb-page :focus-visible, .thsb :focus-visible { outline:3px solid #777777; outline-offset:3px; }
@media (max-width:760px) {
 .thsb-page { padding:28px 18px 48px; }
 .thsb-page .thsb-hero, .thsb .thsb-grid, .thsb .thsb-total { grid-template-columns:minmax(0,1fr); }
 .thsb-page .thsb-customise { margin-top:48px; }
 .thsb .thsb-card { padding:20px; }
 .thsb .thsb-total { padding:24px; gap:20px; }
}
.thsb .thsb-quote { font-size:clamp(24px,2.5vw,32px); font-weight:600; line-height:1.3; }
.thsb .thsb-total .thsb-quantity-total { font-size:clamp(28px,3vw,42px); font-weight:700; line-height:1.25; margin:14px 0 20px; }
.thsb-page .thsb .thsb-purchase { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.thsb-page .thsb .thsb-purchase .quantity { flex:0 0 90px; margin:0!important; }
.thsb-page .thsb .thsb-purchase input.qty { width:90px!important; margin:0!important; height:52px; }
.thsb-page .thsb .thsb-purchase .single_add_to_cart_button { flex:1 1 150px; width:auto!important; margin:0!important; min-height:52px; background:#fff!important; color:#202020!important; border:1px solid #fff!important; }
.thsb-page .thsb .thsb-purchase .single_add_to_cart_button:hover { background:#e5e5e5!important; color:#111!important; }
.thsb .thsb-enforced { font-weight:800; color:#111; }
.thsb .thsb-total { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
.thsb .thsb-selection-summary { white-space:pre-line; font-size:15px; line-height:1.7; margin-top:18px; color:#e5e5e5; }
.thsb .thsb-order-actions { min-width:0; }
.thsb .thsb-order-actions .thsb-quantity-total { margin:0 0 20px; }
.thsb .thsb-price-note { margin:16px 0 0; }
@media (max-width:760px) { .thsb .thsb-total { grid-template-columns:minmax(0,1fr); } }
.thsb .thsb-mobile-price { display:none; }
#thsb-price-summary { scroll-margin-top:100px; }
@media (max-width:760px) {
 body:has(.thsb-mobile-price:not([hidden])) { padding-bottom:calc(60px + env(safe-area-inset-bottom, 0px)); }
 .thsb .thsb-mobile-price:not([hidden]) { display:flex; position:fixed; inset:auto 0 0; z-index:900; align-items:center; gap:12px; padding:12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); min-height:52px; background:#222; color:#fff!important; text-decoration:none; border-top:1px solid #555; box-shadow:0 -2px 8px #0002; font-size:14px; line-height:1.3; }
 .thsb .thsb-mobile-price strong { margin-left:auto; color:#fff; font-size:20px; }
}
