/* TIR Site Design 1.1.1: WpRently single rental + WooCommerce single product polish.
   Scoped to body.single-rbfw_item / body.single-product. Loaded last (priority 999) so it beats rbfw_style.css.

   KIT PHOTO SWAP: the navy panel below only shows while the item has NO featured/gallery image
   (WpRently prints .rbfw_no_img_placeholder only then). Add a real photo in WP and it replaces this
   automatically. To use a different placeholder image instead, change --tir-kit-art (e.g. url(my-photo.jpg)). */
:root{--tir-kit-art:url(kit-placeholder.svg)}

/* ---------- (3) branded placeholder instead of the grey "no image" box ---------- */
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder){background:var(--night,#0E2238)}
:is(.single-rbfw_item,.single-product) .superSlider:has(.rbfw_no_img_placeholder){background:transparent}
:is(.single-rbfw_item,.single-product) .rbfw_no_img_placeholder{
  background:var(--tir-kit-art) no-repeat right 6% bottom 18px / auto 82%,
             radial-gradient(120% 90% at 80% 10%,#1F4E79 0%,#0E2238 62%) !important;
  border-radius:10px}
:is(.single-rbfw_item,.single-product) .sliderAllItem .rbfw_no_img_placeholder{min-height:400px}
:is(.single-rbfw_item,.single-product) .rbfw_no_img_placeholder_icon{display:none}
/* hero copy sits on solid navy while the placeholder is showing: drop the photo gradient */
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder) .rbfw_default_hero_overlay{background:none}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder) .rbfw_default_hero_content{max-width:52%}

/* ---------- hero text: on-brand, readable over navy or a photo ---------- */
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_title{color:#fff!important;font-family:"Barlow Condensed","Barlow",sans-serif;font-weight:800;letter-spacing:-.01em;text-shadow:0 2px 12px rgba(0,0,0,.35)}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_desc{color:#DDE9F3}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_badge{background:var(--amber,#F6A623)!important;color:var(--night,#0E2238)!important}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap .rbfw-item-category{color:#fff!important;background:rgba(255,255,255,.12);border-color:rgba(221,233,243,.5)}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_book_btn{background:var(--amber,#F6A623)!important;color:var(--night,#0E2238)!important;font-family:"Barlow Condensed",sans-serif;font-size:1.15rem;letter-spacing:.02em}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_book_btn:hover{background:#FFB83D!important}

/* ---------- (1) "Prices start at $35" : navy chip, amber price ---------- */
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_price_wrap{display:inline-block;width:fit-content;background:var(--night,#0E2238);border:1px solid rgba(221,233,243,.25);border-left:4px solid var(--amber,#F6A623);border-radius:6px;padding:8px 14px 9px;margin-bottom:16px}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_price_label{color:#DDE9F3!important;font-size:12px;letter-spacing:.08em;margin-bottom:3px}
:is(.single-rbfw_item,.single-product) .rbfw_default_hero_price_amount{color:var(--amber,#F6A623)!important;font-family:"Barlow Condensed","Barlow",sans-serif;font-size:32px;font-weight:800}

/* ---------- (2) empty boxes: only when they truly have no items ---------- */
/* empty feature list: <ul class="rbfw-feature-lists"> with no <li> (whitespace only) */
:is(.single-rbfw_item,.single-product) .rbfw-features:not(:has(.rbfw-feature-lists li)){display:none}
/* FAQ block that is just the heading, no questions */
:is(.single-rbfw_item,.single-product) .rbfw-tab-container .faq:not(:has(> :not(.rbfw-sub-heading))){display:none}

/* ---------- booking widget: brand accents ---------- */
:is(.single-rbfw_item,.single-product) .rbfw-sd-badge--seller{background:#FFF4E0!important;color:#8A5600!important}
:is(.single-rbfw_item,.single-product) .rbfw-sd-rate-box-price .woocommerce-Price-amount{color:var(--night,#0E2238)}
:is(.single-rbfw_item,.single-product) .rbfw-single-right-heading,:is(.single-rbfw_item,.single-product) .rbfw-sd-rate-box-title{font-family:"Barlow Condensed","Barlow",sans-serif;color:var(--night,#0E2238)!important}
:is(.single-rbfw_item,.single-product) .rbfw-post-sharing a{background:#fff;border-color:var(--line,#D6DEE6);color:var(--horizon,#1F4E79)}

/* ---------- mobile (WpRently moves hero copy below the image at <=792px) ---------- */
@media (max-width:792px){
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder){border-radius:10px;padding-bottom:6px}
  :is(.single-rbfw_item,.single-product) .sliderAllItem .rbfw_no_img_placeholder{min-height:210px!important;
    background:var(--tir-kit-art) no-repeat center bottom 10px / auto 88%,radial-gradient(120% 90% at 70% 10%,#1F4E79 0%,#0E2238 62%) !important}
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder) .rbfw_default_hero_overlay{padding:6px 18px 16px}
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:has(.rbfw_no_img_placeholder) .rbfw_default_hero_content{max-width:100%;color:#fff}
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_title{font-size:30px}
  /* with a real photo the copy sits on white: keep it dark */
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_wrap:not(:has(.rbfw_no_img_placeholder)) .rbfw_default_hero_title{color:var(--night,#0E2238)!important;text-shadow:none}
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_price_amount{font-size:28px}
  :is(.single-rbfw_item,.single-product) .rbfw_default_hero_book_btn{width:100%;justify-content:center;min-height:48px}
  :is(.single-rbfw_item,.single-product) .mp_left_section{padding-left:12px;padding-right:12px}
  :is(.single-rbfw_item,.single-product) .rbfw-booking-form{padding-left:0;padding-right:0}
  :is(.single-rbfw_item,.single-product) .rbfw_qty_input a{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center}
}
