/* Niba Tours v1.6.9 — isolated presentation-only fix for SINGLE TRIP pages.
   No modifications to categories, WooCommerce records, Elementor, or JS. */

/* A simple, quiet red brand rule exactly below the trip navigation.
   The old large red-yellow wave no longer competes with the red wordmark. */
body.single-product .niba-izlet-header > .niba-izlet-red-wave {
  display:block!important;
  width:100%!important;
  height:3px!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  clip-path:none!important;
  transform:none!important;
  background:#ce1730!important;
  border:0!important;
}

/* The long heading underline used an absolutely positioned pseudo-element.
   Depending on theme layout it can end up painted over a sidebar advertisement.
   Keep the title underline as a thin border instead of a floating pseudo-line. */
body.single-product .woocommerce h1.heading-block,
body.single-product h1.niba-trip-heading-refined {
  position:relative!important;
  isolation:isolate;
  border-bottom:1px solid #e9d8d1!important;
}
body.single-product .woocommerce h1.heading-block::after,
body.single-product h1.niba-trip-heading-refined::after,
body.single-product .shop-main-content .niba-trip-hero .niba-trip-title-price h2::after {
  content:none!important;
  display:none!important;
  background:none!important;
}

/* Trst / Miramare: reduce only the modern featured image, keeping the full scene
   visible (contain, never crop). Other trips and advertisement images are untouched. */
@media(min-width:801px) {
 body.single-product.niba-trst-miramare-program .shop-main-content .niba-trip-hero .niba-trip-media {
   height:300px!important;
   min-height:0!important;
   max-height:300px!important;
   align-self:start!important;
   background:#f7f1eb!important;
 }
 body.single-product.niba-trst-miramare-program .shop-main-content .niba-trip-hero .niba-trip-photo {
   height:100%!important;
   min-height:0!important;
   max-height:300px!important;
   object-fit:contain!important;
 }
}
@media(max-width:800px) {
 body.single-product.niba-trst-miramare-program .shop-main-content .niba-trip-hero .niba-trip-media {
   height:240px!important;
   min-height:0!important;
   max-height:240px!important;
   align-self:start!important;
   background:#f7f1eb!important;
 }
 body.single-product.niba-trst-miramare-program .shop-main-content .niba-trip-hero .niba-trip-photo {
   height:100%!important;
   min-height:0!important;
   max-height:240px!important;
   object-fit:contain!important;
 }
}
