.hinton-rtb{margin:0 0 12px;font-size:15px}
.hinton-rtb__price{border:2px solid #0B3C7A;border-radius:10px;padding:12px 14px;margin:0 0 14px;background:#f5f8fc}
.hinton-rtb__row{display:flex;justify-content:space-between;gap:12px;padding:3px 0}
.hinton-rtb__row s{color:#777}
.hinton-rtb__row--disc{color:#1a7f37;font-weight:700}
.hinton-rtb__row--total{font-size:20px;font-weight:800;color:#0B3C7A;border-top:1px solid #cdd8e6;margin-top:4px;padding-top:6px}
.hinton-rtb__group{border:1px solid #d9d4cc;border-radius:10px;padding:12px 16px;margin:0 0 16px;background:#fff}
.hinton-rtb__legend{font-weight:700;padding:0 6px;font-size:16px}
.hinton-rtb__field{margin:8px 0}
.hinton-rtb__field label{display:block;font-weight:600;margin-bottom:4px}
.hinton-rtb__field select,.hinton-rtb__field textarea{width:100%;max-width:100%;padding:8px;border:1px solid #cfc9bf;border-radius:6px;background:#fff}
.hinton-rtb__fine{font-size:12.5px;color:#555;margin:4px 0 0;line-height:1.45}
.hinton-rtb-callouts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:10px 0 16px}
.hinton-rtb-callout{display:flex;gap:10px;align-items:flex-start;background:#fff7f8;border:1px solid #f1c9cf;border-radius:10px;padding:10px 12px;font-size:14px;line-height:1.35}
.hinton-rtb-callout__icon{font-size:22px;line-height:1}
.hinton-rto{border:1px solid #d9d4cc;border-radius:10px;padding:14px 16px;margin:0 0 16px;background:#fff;font-size:15px}
.hinton-rto__legend{font-weight:700;padding:0 6px;font-size:16px}
.hinton-rto__option{display:grid;grid-template-columns:22px 1fr;column-gap:8px;align-items:start;padding:10px 12px;border:1px solid #e6e1d9;border-radius:8px;margin:8px 0;cursor:pointer}
.hinton-rto__option input{margin-top:3px}
.hinton-rto__option:has(input:checked){border-color:#c8102e;box-shadow:0 0 0 1px #c8102e;background:#fff7f8}
.hinton-rto__title{font-weight:700}
.hinton-rto__sub{grid-column:2;color:#555;font-size:13px}
.hinton-rto__terms{margin:8px 0 0;padding:10px 12px;background:#f7f5f1;border-radius:8px}
.hinton-rto__terms-label{font-weight:700;margin:0 0 6px}
.hinton-rto__term{display:flex;gap:10px;align-items:center;padding:8px 10px;border:1px solid #e0dbd2;border-radius:6px;background:#fff;margin:6px 0;cursor:pointer;flex-wrap:wrap}
.hinton-rto__term:has(input:checked){border-color:#c8102e}
.hinton-rto__term-months{font-weight:700;min-width:84px}
.hinton-rto__due{font-weight:700;margin:8px 0 4px}
.hinton-rto__fine{font-size:12.5px;color:#555;margin:4px 0 0;line-height:1.45}
.hinton-rto__next{font-size:13px;color:#333;margin:8px 0 0;padding:8px 10px;background:#fff;border-left:3px solid #c8102e;border-radius:4px;line-height:1.45}

/* 1.0.1: the shared single-product template is built for one-of-a-kind lot buildings. On RTB pages hide the parts that do not apply. */
.hb-badges,.hb-specs-band,.hb-rto-band,.hb-reassure,.hb-lotmini,.hb-cash,.woocommerce-variation-price,.woocommerce-variation-description{display:none!important}
.hb-photo-disclaimer{display:block!important}
.hinton-rtb .hinton-rtb-callouts{margin-top:0}

.hinton-rtb__row--opt{color:#333}
.hinton-rtb__field optgroup{font-style:normal;font-weight:700;color:#0B3C7A}

.hinton-rtb__zip-msg{min-height:1.2em}
.hinton-rtb__zip-msg.is-error{color:#a32028;font-weight:600}
.hinton-rtb__zip-msg.is-ok{color:#1a7f37}

/* Promo video as a product-gallery slide */
.woocommerce-product-gallery .hinton-rtb-vthumb{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;cursor:pointer}
.woocommerce-product-gallery .hinton-rtb-vthumb img{width:100%;height:auto;display:block}
.woocommerce-product-gallery .hinton-rtb-vplay{position:absolute;left:50%;top:50%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;background:rgba(0,0,0,.7);box-shadow:0 0 0 2px #fff}
.woocommerce-product-gallery .hinton-rtb-vplay:after{content:"";position:absolute;left:11px;top:8px;border-style:solid;border-width:6px 0 6px 10px;border-color:transparent transparent transparent #fff}
.woocommerce-product-gallery .hinton-rtb-vlabel{position:absolute;left:0;right:0;bottom:0;padding:2px 0;font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:rgba(0,0,0,.55);text-align:center}
.woocommerce-product-gallery .hinton-rtb-vthumb.is-active{outline:2px solid #1a1a1a}
.hinton-rtb-vstage{position:relative}
.hinton-rtb-gvideo{position:absolute;inset:0;z-index:5;background:#000;display:flex;align-items:center;justify-content:center}
.hinton-rtb-gvideo[hidden]{display:none}
.hinton-rtb-gvideo video{width:100%;height:100%;object-fit:contain;background:#000}
.hinton-rtb-gvideo-x{position:absolute;top:8px;right:8px;z-index:6;width:32px;height:32px;border:0;border-radius:16px;background:rgba(0,0,0,.65);color:#fff;font-size:22px;line-height:32px;cursor:pointer}
.woocommerce-product-gallery.hinton-rtb-video-on .woocommerce-product-gallery__trigger{display:none}

.hinton-rtb__windows-wrap{margin:4px 0 8px}
.hinton-rtb__windows{margin:0 0 8px}

.hinton-rtb__layout-locked .hinton-rtb__locked-label{display:block;font-weight:600;margin-bottom:4px}
.hinton-rtb__layout-locked .hinton-rtb__locked-value{display:block}
.hinton-rtb__layout-locked .hinton-rtb__fine{display:block;margin-top:4px}
