<?php if ($exibeModule) { ?>
    <?php if($positionModulo){ ?>
        <section class="products_slider special-action<?php echo $style ? ' ' . $style : ''; ?>">
          <div class="product-title">
            <?php if ($product_list_title_style == Type_ProductListTitleStyle::Left){ ?>
            <div class="flex flex-row nowrap-xs between-xs middle-xs">
              <h2 class="heading-2 flex-1"><?php echo $heading_title; ?></h2>
            </div>
            <?php } else { ?>
            <div class="flex flex-row nowrap-xs center-xs middle-xs">
              <div style="width: fit-content; <?php echo ($product_list_title_style == Type_ProductListTitleStyle::CenterWithLines) ? ' max-width: calc(100% - 164px) ' : '' ?>" class="rel">
                <h2 class="heading-2 flex-1 <?php echo ($product_list_title_style == Type_ProductListTitleStyle::CenterWithLines) ? ' product-title-with-lines ' : '' ?>"
                    <?php if ($style){ echo 'id="product-title-with-lines-special"'; } ?>>
                  <?php echo $heading_title; ?>
                </h2>
              </div>
            </div>
            <?php } ?>
          </div>
          <div class="carousel-container slide-special-action">
            <div class="carousel-wrapper grid">
              <div class="carousel-list">
                <?php echo $moduleSpecialAction;  ?>
              </div>
            </div>
          </div>
        </section>
        <script type="text/javascript">
          window.waitEvent('scripts_window', function() {
            $('.slide-special-action').carousel({
              resposive: true,
              ajaxLoading: false,
              columnLarge: window.columnLarge == 4,
            });
          });
        </script>
    <?php } else { ?> <!-- Para os modulos nas laterais (column_left, column_right) -->
      <div>
        <div class="bottom-border-gray vertical-padding-medium">
          <h2 class="heading-3"><?php echo $heading_title; ?></h2>
        </div>
        <div class="vertical-padding-medium">
          <?php echo $moduleSpecialAction; //productaside.twig ?>
        </div>
      </div>
    <?php } ?>
<?php } ?>

<style>
  #product-title-with-lines-special::before,
  #product-title-with-lines-special::after {
    background: <?php echo $this->config->get('wg24_menum_lcolor') ?>;
  }
</style>