

 

<!-- Separate CSS -->
{% require_css %}
<style type="text/css">
  .content-and-orm-section,
  .container-fluid { padding: 0px; }
  .product-details. .banner-area {
    padding: 60px 0px;
    background-color: rgba(, %);
  }
  
  .price-row {
    font-size: 16px;
    margin: 0;
  }

  .price-row strong {
    font-size: 16px;
  }

  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px;
    gap: 5px; /* Reduced gap to bring images and videos closer */
  }

  .gallery-row .col-lg-4, .gallery-row .col-sm-6, .gallery-row .col-12 {
    padding: 0px; /* Reduced padding to decrease spacing */
    flex: 0 0 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
  }

  .gallery-row img, .gallery-row .video-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0; /* Removed rounded edges */
  }

  .gallery-row .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #FFF;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gallery-row .play-button svg {
    width: 40px;
    height: 40px;
    color: white;
  }
</style>
{% end_require_css %}

<!-- Separate HTML -->
<!-- Gallery starts -->
{% if dynamic_page_hubdb_row.images|length > 0 or dynamic_page_hubdb_row.videos|length > 0 %}
  <div class="item-gallery gallery-container">
    <div class="row gallery-row popup-gallery">
      {% for image in dynamic_page_hubdb_row.images %}
        <div class="col-lg-4 col-sm-6 col-12 p-2">
          <a href="" class="image-link image-item">
            <img src="" alt="" loading="lazy" class="gallery-image">
          </a>
        </div>
      {% endfor %}
      {% for video in dynamic_page_hubdb_row.videos %}
        <div class="col-lg-4 col-sm-6 col-12 p-2 position-relative">
          <a class="popup-youtube d-block" href="">
            <span class="play-button d-flex align-items-center justify-content-center position-absolute">
              {% icon icon_set="fontawesome-5.14.0" name="Play Circle" style="SOLID" height="40" %}
            </span>
            {% set video_id = video.video|split('?v=')|last|split('&')|first %}
            <img src="https://img.youtube.com/vi//maxresdefault.jpg" alt="YouTube Video Thumbnail" loading="lazy" class="video-thumbnail">
          </a>
        </div>
      {% endfor %}
    </div>
  </div>
{% endif %}

.as-low-as-box {
    background-color: #000; /* Matching red from the button */
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase; /* Matches button text style */
    padding: 5px 10px; /* Adjusted for better balance */
    border-radius: 0px; /* Matches button's slight rounding */
    text-align: center;
    display: inline-block;
    box-shadow: none; /* Removes any unwanted shadow */
}

.as-low-as-box strong {
    font-size: 16px;
}

.as-low-as-box .price-highlight {
    font-size: 22px;
    font-weight: bold;
}
.disclaimer-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 20px;
}

.price-row {
    margin-bottom: 2px; /* Ensures 2px spacing between price rows */
}

.as-low-as-box {
    margin-top: 2px; /* Ensures it aligns well with the financing details */
}
