/**
* 2007-2021 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2021 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/
#megaslider .transparentdiv {
    position: absolute;
    background: transparent;
    top: 0;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
}

#megaslider .mobilevideo {
    display: none;
}


ul#megaslider {
    /* margin: 0px -15px; */
    width: auto;
    clear: left;
}

#megaslider figure {
    margin-bottom: 0px;
}
#megaslider figcaption.caption h1 {
    font-size: 18px;
    color: white;
    font-weight: 500;
}

#megaslider figcaption.caption {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    left: 0px;
    right: 0px;
    padding: 15px;
}
#megaslider li.type1 .caption {
    text-align: left;
}
#megaslider li.type3 .caption {
    text-align: center;
}
#megaslider li.type3 .caption {
    text-align: right;
}

#megaslider video {
    display: inline-block;
    margin-bottom: -5px;
}

#megaslider .megaslider-iframe-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
#megaslider .megaslider-iframe-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
}

#megaslider.centerstyle  div.owl-next {
    right: 25%;
}

#megaslider.centerstyle  div.owl-prev {
    left: 25%;
}

@media(max-width: 767px){
    #megaslider .mobilevideo {
        display: block;
    }
    #megaslider .desktopvideo {
        display: none;
    }
}


/* ============================================================
   Herdasa override (tema): megaslider full-width + flechas preview
   ============================================================ */

/* Full-bleed: romper el .container centrado y ocupar el viewport */
.owl-carousel-content.fullwidth,
.page-home .owl-carousel-content {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
ul#megaslider {
    width: 100%;
}
#megaslider li img,
#megaslider .owl-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Flechas del hero: circulos navy translucidos a los lados, chevron blanco */
.owl-carousel-content .owl-nav {
    margin: 0;
}
.owl-carousel-content .owl-nav button.owl-prev,
.owl-carousel-content .owl-nav button.owl-next {
    position: absolute !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%);
    margin: 0 !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    background-color: var(--color3) !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 26px rgba(13, 27, 54, .18) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px 20px !important;
    z-index: 10;
    transition: background-color .2s ease;
    cursor: pointer;
}
.owl-carousel-content .owl-nav button.owl-prev {
    left: 24px !important;
    right: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'm15%2018-6-6%206-6'%2F%3E%3C%2Fsvg%3E") !important;
}
.owl-carousel-content .owl-nav button.owl-next {
    right: 24px !important;
    left: auto !important;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%20fill%3D'none'%20stroke%3D'%23ffffff'%20stroke-width%3D'2.2'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%3Cpath%20d%3D'm9%2018%206-6-6-6'%2F%3E%3C%2Fsvg%3E") !important;
}
.owl-carousel-content .owl-nav button.owl-prev:hover,
.owl-carousel-content .owl-nav button.owl-next:hover {
    background-color: rgba(13, 27, 54, .95) !important;
}
.owl-carousel-content .owl-nav .owl-icon-left,
.owl-carousel-content .owl-nav .owl-icon-right {
    display: none !important;
}


/* --- Fix: eliminar chevron/arrow secundario (icono original + pseudos) y outline --- */
.owl-carousel-content .owl-nav .owl-icon-left,
.owl-carousel-content .owl-nav .owl-icon-right {
    display: none !important;
}
.owl-carousel-content .owl-nav button.owl-prev::before,
.owl-carousel-content .owl-nav button.owl-next::before,
.owl-carousel-content .owl-nav button.owl-prev::after,
.owl-carousel-content .owl-nav button.owl-next::after {
    content: none !important;
    display: none !important;
    background: none !important;
    border: 0 !important;
}
.owl-carousel-content .owl-nav button.owl-prev:focus,
.owl-carousel-content .owl-nav button.owl-next:focus,
.owl-carousel-content .owl-nav button.owl-prev:active,
.owl-carousel-content .owl-nav button.owl-next:active,
.owl-carousel-content .owl-nav button.owl-prev:focus-visible,
.owl-carousel-content .owl-nav button.owl-next:focus-visible {
    outline: none !important;
}


/* --- Fix: hueco header-slider + scroll horizontal del full-width --- */
/* Matar el overflow horizontal que provoca el slider a 100vw (header no es sticky) */
html,
body {
    overflow-x: clip;
}
/* Quitar el espacio (padding-top del #wrapper) entre header y slider en la home */
body#index #wrapper {
    padding-top: 0;
}
