/* All rules stay on individual WooCommerce product pages. Does not affect homepage or Elementor. */
body.single-product .woocommerce div.product .product_title {font-size:clamp(30px,3.5vw,52px);font-weight:800;line-height:1.13;letter-spacing:-.035em;color:#231f20}
body.single-product .woocommerce div.product .summary .price {color:#c71925;font-size:clamp(25px,2.5vw,36px);font-weight:800}
body.single-product .woocommerce div.product div.images img {border-radius:18px;object-fit:cover}
body.single-product .woocommerce div.product .woocommerce-tabs {clear:both;margin-top:40px}
body.single-product .woocommerce div.product .woocommerce-Tabs-panel--description,
body.single-product .woocommerce div.product .woocommerce-tabs .panel {background:#fbf9f5;padding:clamp(22px,3.5vw,44px);border-radius:18px;color:#333;line-height:1.8;text-align:left}
body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
body.single-product .woocommerce div.product .woocommerce-tabs .panel li {font-size:clamp(16px,1.2vw,18px);line-height:1.85;text-align:left;white-space:normal;overflow-wrap:anywhere}
body.single-product .woocommerce div.product .woocommerce-tabs .panel h2 {font-size:clamp(23px,2vw,34px);color:#231f20}
body.single-product .woocommerce div.product .woocommerce-tabs .panel strong {color:#231f20}
.nbt-signup {margin:30px 0 35px;padding:clamp(22px,3vw,36px);border:1px solid #e7e0d7;border-top:5px solid #c71925;background:#fffaf4;border-radius:16px;box-shadow:0 12px 30px #231f200b;color:#231f20;clear:both}
.nbt-signup,.nbt-signup * {box-sizing:border-box}
.nbt-signup__eyebrow {font-size:11px;letter-spacing:.16em;font-weight:800;color:#c71925}
.nbt-signup__header h2 {margin:9px 0!important;font-size:clamp(26px,2.5vw,36px)!important;line-height:1.18!important;color:#231f20!important}
.nbt-signup__header p {color:#625a57!important;font-size:14px!important;line-height:1.65!important;margin:0 0 22px!important}
.nbt-signup__grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.nbt-signup label {display:block;font-size:13px;font-weight:700;color:#262122}
.nbt-signup label>span[aria-hidden] {color:#c71925}
.nbt-signup input:not([type=checkbox]),.nbt-signup textarea {display:block;width:100%;margin:8px 0 0;padding:12px 14px;background:#fff;border:1px solid #d3cac1;border-radius:8px;box-shadow:none;color:#231f20;font-size:15px;line-height:1.5}
.nbt-signup input:focus-visible,.nbt-signup textarea:focus-visible {outline:2px solid #c71925;outline-offset:1px}
.nbt-signup__message {margin-top:17px}
.nbt-signup__consent {display:flex!important;align-items:flex-start;gap:10px;margin-top:16px;font-weight:400!important;line-height:1.55}
.nbt-signup__consent input {flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:#c71925}
.nbt-signup__consent span {flex:1}
.nbt-signup__consent a {color:#a9151d;text-decoration:underline}
.nbt-signup__button {display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:52px;margin-top:20px;padding:14px 20px;border:0;border-radius:9px;background:#cc1820;color:#fff!important;font-weight:800;font-size:14px;cursor:pointer}
.nbt-signup__button:hover {background:#a9141b}
.nbt-signup__small {font-size:12px!important;color:#746d69!important;margin:12px 0 0!important}
.nbt-signup__notice {padding:14px 17px;border-radius:8px;margin:0 0 20px;font-size:14px;line-height:1.6}
.nbt-signup__notice--success {background:#e7f6eb;color:#23562b}
.nbt-signup__notice--error {background:#fff0ef;color:#942b2b}
.nbt-signup__trap {position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:600px){.nbt-signup__grid{grid-template-columns:1fr}.nbt-signup{padding:20px}.nbt-signup__button{width:100%}}

/* v1.1: Full-length program in a calm editorial reading column; source text and order preserved. */
body.single-product .woocommerce {--nbt-red:#c71925;--nbt-ink:#231f20;--nbt-cream:#fbf8f3;--nbt-line:#e6e0d8}
body.single-product .woocommerce div.product {font-family:inherit;color:var(--nbt-ink)}
body.single-product .woocommerce div.product .woocommerce-product-gallery {margin-bottom:30px}
body.single-product .woocommerce div.product div.images img {border-radius:18px}
body.single-product .woocommerce div.product .woocommerce-tabs {padding-top:28px;border-top:1px solid var(--nbt-line)}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs {margin-bottom:0;padding:0;border:0}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs:before {border-bottom-color:var(--nbt-line)}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li {border:1px solid var(--nbt-line);border-radius:12px 12px 0 0;background:#fff;padding:4px 16px}
body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active {background:var(--nbt-cream);border-bottom-color:var(--nbt-cream)}
body.single-product .woocommerce div.product .woocommerce-tabs .panel {background:var(--nbt-cream)!important;border:1px solid var(--nbt-line);border-radius:0 16px 16px 16px;box-shadow:0 9px 32px rgba(35,31,32,.04);margin:0 0 36px;padding:clamp(24px,4.5vw,60px)!important;color:var(--nbt-ink)!important;text-align:left!important}
body.single-product .woocommerce div.product .woocommerce-tabs .panel > h2:first-child {font-weight:800;letter-spacing:-.035em;border-bottom:2px solid var(--nbt-red);padding-bottom:18px;margin-bottom:30px!important;line-height:1.2;color:var(--nbt-ink)!important}
body.single-product .woocommerce div.product .woocommerce-tabs .panel p,
body.single-product .woocommerce div.product .woocommerce-tabs .panel li,
body.single-product .woocommerce div.product .woocommerce-tabs .panel div {color:#4b4542;line-height:1.88;text-align:left!important;overflow-wrap:break-word;word-break:normal}
body.single-product .woocommerce div.product .woocommerce-tabs .panel p {max-width:78ch;margin:0 0 1.35em!important;font-size:clamp(16px,1.3vw,18px)}
body.single-product .woocommerce div.product .woocommerce-tabs .panel p[style] {text-align:left!important}
body.single-product .woocommerce div.product .woocommerce-tabs .panel h3,
body.single-product .woocommerce div.product .woocommerce-tabs .panel h4 {color:var(--nbt-ink);font-weight:800;margin:28px 0 12px;line-height:1.3}
body.single-product .woocommerce div.product .woocommerce-tabs .panel ul,
body.single-product .woocommerce div.product .woocommerce-tabs .panel ol {max-width:78ch;padding-left:24px;margin:10px 0 24px}
body.single-product .woocommerce div.product .woocommerce-tabs .panel a {color:#a61620;text-decoration:underline;text-underline-offset:3px}
body.single-product .woocommerce div.product .woocommerce-tabs .panel table {max-width:100%;display:block;overflow-x:auto}
body.single-product .woocommerce div.product .woocommerce-tabs .panel img {max-width:100%;height:auto}
.nbt-tripfacts {display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 24px}
.nbt-tripfacts__item {flex:1 1 160px;min-width:0;display:flex;align-items:center;gap:13px;background:var(--nbt-cream,#fbf8f3);border:1px solid var(--nbt-line,#e6e0d8);border-radius:12px;padding:15px 17px;color:var(--nbt-ink,#231f20)}
.nbt-tripfacts__symbol {font-size:21px;flex:none}
.nbt-tripfacts__label {display:block;font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:700;color:#786e69;margin-bottom:3px}
.nbt-tripfacts__item strong {display:block;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button {background:#c71925;border-radius:8px;font-weight:800}
body.single-product .woocommerce div.product .summary form.cart button.single_add_to_cart_button:hover {background:#a9151d}
body.single-product .nbt-signup {border-top:4px solid #c71925}
@media(max-width:650px){body.single-product .woocommerce div.product .woocommerce-tabs .panel {padding:21px!important}body.single-product .woocommerce div.product .woocommerce-tabs .panel p {font-size:16px;line-height:1.78}.nbt-tripfacts {flex-direction:column}.nbt-tripfacts__item {flex-basis:auto}}

/* v1.2: scoped, non-destructive full-program presentation for classic custom templates. */
body.single-product .nbt-program {display:block;clear:both;max-width:100%;margin:28px 0 34px;background:#fbf8f3;border:1px solid #e8e2d9;border-radius:18px;overflow:hidden;color:#2c2827;box-shadow:0 10px 32px rgba(35,31,32,.045)}
body.single-product .nbt-program__intro {padding:clamp(22px,3vw,38px) clamp(20px,3vw,42px) 17px;border-bottom:1px solid #e6ded5;background:#fffdfa}
body.single-product .nbt-program__eyebrow {display:block;font-size:11px;letter-spacing:.13em;font-weight:800;color:#c71925!important}
body.single-product .nbt-program__intro h2 {font-size:clamp(25px,2.6vw,38px)!important;line-height:1.2!important;letter-spacing:-.03em;font-weight:800!important;color:#231f20!important;margin:9px 0 0!important}
body.single-product .nbt-program__content {padding:clamp(20px,3.2vw,44px);font-size:clamp(16px,1.15vw,18px)!important;line-height:1.85!important;color:#413a37!important;text-align:left!important;overflow-wrap:break-word}
body.single-product .nbt-program__content p,body.single-product .nbt-program__content li {color:#413a37!important;font-size:inherit!important;line-height:1.85!important;text-align:left!important;max-width:82ch;margin-bottom:1.25em!important}
body.single-product .nbt-program__content h2,body.single-product .nbt-program__content h3 {font-weight:800!important;color:#231f20!important;margin:1.1em 0 .55em!important}
body.single-product .nbt-program__content img {max-width:100%;height:auto}
body.single-product .nbt-program__content table {display:block;max-width:100%;overflow-x:auto}
body.single-product .nbt-program__content a {color:#b51a25;text-decoration:underline}
body.single-product .nbt-program__content :first-child {margin-top:0!important}
@media(max-width:650px){body.single-product .nbt-program{border-radius:12px}body.single-product .nbt-program__content{padding:20px}}
/* v1.3: Keep advertisements, widget sidebars and newsletter exactly as provided by the theme. */
body.single-product .nbt-placement {box-sizing:border-box;max-width:100%;clear:both;margin:32px auto 42px}
body.single-product .nbt-placement--fallback {width:min(100% - 28px,1100px)}
body.single-product .nbt-program-heading {padding:20px 25px 0;margin-top:26px;background:#fbf8f3;border:1px solid #e8e2d9;border-bottom:0;border-radius:16px 16px 0 0}
body.single-product .nbt-program-heading span {font-size:11px;letter-spacing:.14em;color:#c71925;font-weight:800}
body.single-product .nbt-program-heading h2 {margin:8px 0 0!important;font-size:clamp(24px,2.6vw,36px)!important;color:#231f20!important;line-height:1.2!important}
body.single-product .nbt-program-content {box-sizing:border-box;background:#fbf8f3!important;border:1px solid #e8e2d9;border-top:0;border-radius:0 0 16px 16px;padding:clamp(18px,3vw,36px)!important;color:#3e3836!important;line-height:1.85!important;max-width:100%;overflow-wrap:break-word}
body.single-product .nbt-program-content p,body.single-product .nbt-program-content li {line-height:1.85!important;text-align:left!important;font-size:clamp(16px,1.2vw,18px)!important;color:#3e3836!important;margin-bottom:1.15em!important}
body.single-product .nbt-program-content strong {color:#231f20!important}
body.single-product .nbt-program-content img {max-width:100%;height:auto}
body.single-product .nbt-program-content table {display:block;max-width:100%;overflow-x:auto}
body.single-product .nbt-program-content a {color:#b51a25}
body.single-product .nbt-program-content h1,body.single-product .nbt-program-content h2,body.single-product .nbt-program-content h3 {color:#231f20!important}
body.single-product .nbt-signup {max-width:100%;text-align:left}
@media (max-width:600px) {body.single-product .nbt-program-heading{padding:18px 19px 0}}
/* v1.4: progressive enhancement - only hide the form after JavaScript has created its button */
body.single-product .nbt-signup[hidden] {display:none!important}
body.single-product .nbt-booking-trigger {display:flex;align-items:center;justify-content:center;gap:14px;width:min(100%,440px);min-height:58px;margin:27px 0 12px;padding:15px 23px;border:0;border-radius:10px;background:#c71925;color:#fff!important;cursor:pointer;font-size:17px;font-weight:800;line-height:1.4;box-shadow:0 10px 24px rgba(199,25,37,.18)}
body.single-product .nbt-booking-trigger:hover,body.single-product .nbt-booking-trigger:focus-visible {background:#a9141b;color:#fff!important}
body.single-product .nbt-booking-trigger--active {background:#292426}
body.single-product .nbt-signup__payment {min-width:0;margin:22px 0 4px;padding:0;border:0}
body.single-product .nbt-signup__payment legend {padding:0;font-size:15px;font-weight:800;color:#231f20}
body.single-product .nbt-signup__payment legend span {color:#c71925}
body.single-product .nbt-signup__payment>p {margin:7px 0 14px!important;color:#6a615d!important;font-size:12px!important;line-height:1.6!important}
body.single-product .nbt-signup__payment-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.single-product .nbt-signup label.nbt-signup__payment-choice {display:flex!important;align-items:center;gap:10px;min-width:0;margin:0!important;padding:15px 13px;border:1px solid #ded5cc;border-radius:11px;background:#fff;cursor:pointer;font-size:13px;font-weight:700;line-height:1.35;color:#302a27}
body.single-product .nbt-signup__payment-choice:has(input:checked) {border-color:#c71925;background:#fff0ed;box-shadow:0 0 0 1px #c71925}
body.single-product .nbt-signup__payment-choice input[type=radio] {flex:0 0 17px;width:17px;height:17px;margin:0;accent-color:#c71925}
body.single-product .nbt-signup__payment-symbol {flex:0 0 23px;display:inline-flex;color:#c71925}
body.single-product .nbt-signup__payment-symbol svg {display:block;width:23px;height:23px}
body.single-product .nbt-signup {scroll-margin-top:25px}
@media(max-width:760px) {body.single-product .nbt-signup__payment-grid{grid-template-columns:1fr}body.single-product .nbt-booking-trigger{width:100%}}

/* v1.4.1: theme-safe payment glyphs. NO SVGs; robust against old theme global SVG rules. */
body.single-product .nbt-signup__payment-symbol {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 32px!important;width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;
  padding:0!important;overflow:hidden!important;box-sizing:border-box!important;
  font:800 18px/1 Arial,sans-serif!important;color:#c71925!important;
  background:#fff2ed!important;border-radius:8px!important;
}
body.single-product .nbt-signup__payment-symbol * {max-width:24px!important;max-height:24px!important;width:24px!important;height:24px!important}
body.single-product .nbt-signup__payment-choice {min-height:72px;overflow:hidden}
body.single-product .nbt-signup__payment-choice>span:last-child {min-width:0;overflow-wrap:anywhere}
/* Floating CTA remains visible while reading original program; never stretches with theme styles. */
body.single-product button.nbt-booking-trigger {
 position:fixed!important;z-index:10000!important;right:18px!important;top:42%!important;bottom:auto!important;left:auto!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:auto!important;min-width:172px!important;max-width:220px!important;height:auto!important;min-height:54px!important;
 margin:0!important;padding:13px 20px!important;border:0!important;border-radius:12px!important;
 background:#c71925!important;color:#fff!important;font:800 15px/1.25 Arial,sans-serif!important;
 text-transform:none!important;text-align:center!important;letter-spacing:0!important;
 cursor:pointer!important;box-shadow:0 9px 28px rgba(35,31,32,.25)!important;
}
body.single-product button.nbt-booking-trigger:hover,body.single-product button.nbt-booking-trigger:focus-visible {background:#a9141b!important;color:#fff!important}
body.single-product button.nbt-booking-trigger:focus-visible {outline:3px solid #f9ea00!important;outline-offset:3px!important}
body.single-product .nbt-signup {max-width:100%;overflow:hidden}
@media (max-width:700px) {
 body.single-product button.nbt-booking-trigger {top:auto!important;bottom:86px!important;right:12px!important;left:12px!important;max-width:none!important;width:calc(100% - 24px)!important;min-width:0!important;min-height:52px!important}
}

/* v1.4.2: CTA is server-rendered and remains visible without JavaScript.
   The script hides the form only after the click handler is attached. */
body.single-product a.nbt-booking-trigger,
#nbt-signup-placement a.nbt-booking-trigger {
  position:fixed!important; z-index:10000!important; top:43%!important; right:16px!important;
  bottom:auto!important; left:auto!important; width:auto!important; max-width:240px!important;
  min-height:54px!important; padding:14px 18px!important; margin:0!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important; gap:10px!important;
  border:0!important; border-radius:12px!important; box-sizing:border-box!important;
  color:#fff!important; background:#c71925!important; text-decoration:none!important;
  font:800 14px/1.3 Arial,sans-serif!important; text-align:center!important;
  letter-spacing:0!important; text-transform:none!important;
  box-shadow:0 8px 25px rgba(35,31,32,.24)!important;
}
#nbt-signup-placement a.nbt-booking-trigger:hover,
#nbt-signup-placement a.nbt-booking-trigger:focus-visible {
  background:#a9141b!important; color:#fff!important;
}
#nbt-signup-placement a.nbt-booking-trigger:focus-visible {outline:3px solid #f9ea00!important; outline-offset:3px!important}
#nbt-signup-placement a.nbt-booking-trigger span {color:inherit!important; font:inherit!important; display:inline!important}
#nbt-signup-placement .nbt-signup[hidden] {display:none!important}
@media (max-width:700px) {
  #nbt-signup-placement a.nbt-booking-trigger {
    top:auto!important; bottom:82px!important; left:12px!important; right:12px!important;
    width:calc(100% - 24px)!important; max-width:none!important; min-height:52px!important;
  }
}
/* Old theme generic input styling must not stretch the radio controls. */
#nbt-signup-placement .nbt-signup__payment-choice input[type="radio"] {
  appearance:auto!important; display:inline-block!important;
  width:18px!important; min-width:18px!important; max-width:18px!important;
  height:18px!important; min-height:18px!important; max-height:18px!important;
  flex:0 0 18px!important; margin:0!important; padding:0!important;
  border-radius:50%!important; box-shadow:none!important; accent-color:#c71925!important;
}
#nbt-signup-placement .nbt-signup__payment-choice {display:flex!important;align-items:center!important;gap:10px!important}
