
/* =========================================================
   D&V Taste Delight — Mobile Hero Fixes (FINAL)
   - Prevents banner paragraph from falling onto image on slide 3/5
   - Removes huge circular panel on mobile (.banner-content-two)
   - Keeps text in top dark zone consistently across all slides
   - Improves wrapping for list-style paragraph lines
   ========================================================= */

@media (max-width: 575.98px){

  /* Slide must be positioning context */
  .banner-slider.owl-carousel.owl-theme .banner-area-three{
    position: relative !important;
    padding: 0 !important;
  }

  /* Ensure inner container doesn't add unexpected vertical push */
  .banner-slider.owl-carousel.owl-theme .banner-area-three .container-fluid{
    position: relative !important;
    height: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ✅ Remove the default big white/circular panel styles on mobile */
  .banner-slider.owl-carousel.owl-theme .banner-content-two{
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;

    /* ✅ Pin to top so it never drops onto products (all slides) */
    position: absolute !important;
    top: 96px !important;            /* adjust if header taller/shorter */
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;

    /* comfortable mobile gutters */
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* A premium top fade behind text (only top part, not full slide) */
  .banner-slider.owl-carousel.owl-theme .banner-area-three::before{
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0; right: 0; top: 0;
    height: 58% !important;
    background: linear-gradient(to bottom,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.58) 55%,
      rgba(0,0,0,0.00) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
  }

  /* Put content above gradient */
  .banner-slider.owl-carousel.owl-theme .banner-content-two{
    z-index: 6 !important;
  }

  /* Make each line a neat "chip" (no long bar) */
  .banner-slider.owl-carousel.owl-theme .banner-content-two span,
  .banner-slider.owl-carousel.owl-theme .banner-content-two h1,
  .banner-slider.owl-carousel.owl-theme .banner-content-two p{
    display: inline-block !important;
    width: auto !important;
    max-width: 92% !important;

    background: rgba(0,0,0,0.55) !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    margin: 6px 0 !important;
  }

  /* Typography tuning */
  .banner-slider.owl-carousel.owl-theme .banner-content-two span{
    font-size: 12px !important;
    letter-spacing: 1.6px !important;
  }

  .banner-slider.owl-carousel.owl-theme .banner-content-two h1{
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin-bottom: 6px !important;
  }

  .banner-slider.owl-carousel.owl-theme .banner-content-two p{
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 0 !important;

    /* prevent odd breaks */
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    text-wrap: balance;
  }

  /* Ensure <strong> doesn't force full-width blocks */
  .banner-slider.owl-carousel.owl-theme .banner-content-two p strong{
    font-weight: 700 !important;
  }

  /* If WOW/animate adds transforms that shift content, neutralize on mobile */
  .banner-slider.owl-carousel.owl-theme .banner-content-two .wow{
    transform: none !important;
  }
}
/* =========================================================
   MOBILE ONLY: Hide slider paragraph to avoid overlap issues
   ========================================================= */
@media (max-width: 575.98px){

  .banner-content-two p{
    display: none !important;
  }

}
/* =========================================================
   MOBILE ONLY: Hide the "Experience the richness..." paragraph on ALL slides
   ========================================================= */
@media (max-width: 575.98px){

  /* hide that specific animated paragraph everywhere inside the hero slider */
  .banner-slider p.wow.animate__animated.animate__fadeInDown[data-wow-delay="200ms"]{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

}
/* =========================================================
   MOBILE ONLY — Remove BLACK overlay but KEEP slider images
   (Safe: never touches elements that actually have background-image)
   ========================================================= */
@media (max-width: 575.98px){

  /* 1) Keep any element that has a background-image (very important) */
  .banner-slider [style*="background-image"]{
    background-repeat: no-repeat !important;
    background-position: center center !important;
  }

  /* 2) Remove overlay-only layers (only if they DO NOT have bg images) */
  .banner-slider [class*="overlay"]:not([style*="background-image"]),
  .banner-slider [class*="bg-"]:not([style*="background-image"]),
  .banner-slider [class*="bg_"]:not([style*="background-image"]),
  .banner-slider [class*="layer"]:not([style*="background-image"]){
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  /* 3) If theme uses pseudo overlay on slide/container, neutralize just the overlay look */
  .banner-slider .owl-item::before,
  .banner-slider .owl-item::after,
  .banner-slider .banner-area-three::before,
  .banner-slider .banner-area-three::after{
    background: transparent !important;
    opacity: 0 !important;
  }

  /* 4) Ensure text container isn't creating a big black panel */
  .banner-content-two{
    background: transparent !important;
    box-shadow: none !important;
  }
}

