:root {
    --bs-body-font-family: "Acumin Pro Condensed", sans-serif;
    min-width: 350px;
}
/* div, section, header, footer, main, nav, span, a, p {
    border: 1px solid red;
} */
h1, h2, h3, h4, h5, h6 {
    font-family: "Ethnocentric V2", sans-serif !important;
}
header {
    position: sticky !important;
    top: 0;
    height: 70px !important;
    padding: 10px;
    z-index: 9999;
}

header .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
}
header img {
    height: 44px;
    width: auto; /* mejor que forzar width */
    object-fit: contain;
}
header div a img {
    height: 43px;
    width: 190px !important;
}

header nav a{
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    cursor: pointer;
}


.custom-button{
    background-color: red;
    padding:8px 22px;
    text-decoration: none;
    color: white;
}

.custom-button:hover{
    background-color: rgb(255, 84, 84);
}

.menu-container-grid {
  min-height: 0;
  max-height: 420px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar - WebKit */
.menu-container::-webkit-scrollbar { width: 8px; }
.menu-container::-webkit-scrollbar-track { background: transparent; }
.menu-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 6px; }

/* Firefox */
@supports (scrollbar-width: thin) {
    .menu-container { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.25) transparent; }
}

.mega-menu {
    position: absolute;
    top: 100%;   /* justo debajo del header */
    left: 0;
    width: 100%;
    background: rgb(207, 207, 207);
    z-index: 9999;
    padding: 20px 0;

    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    font-weight: 400;
    text-transform: uppercase;
}

/* Hide mega-menu on small screens and keep it for md+ only */
@media (max-width: 767.98px) {
    .menu-container, .mega-menu {
        display: none !important;
    }
    .navbar-collapse{
        background-color: #808080be;
    }
}

/* Limit height of the products row inside the mega menu and enable scrolling */
.mega-menu .container > .d-flex.row {
    max-height: 380px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Scrollbar styling for mega-menu product list */
.mega-menu .container > .d-flex.row::-webkit-scrollbar { width: 8px; }
.mega-menu .container > .d-flex.row::-webkit-scrollbar-track { background: transparent; }
.mega-menu .container > .d-flex.row::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 6px; }

@supports (scrollbar-width: thin) {
    .mega-menu .container > .d-flex.row { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.25) transparent; }
}

.mega-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Arrow icon for mega-menu triggers */
.mega-arrow {
    transition: transform 0.18s ease;
    font-size: 0.9rem;
    vertical-align: middle;
}

/* When the trigger anchor has .open, rotate the chevron to point up */
a.open .mega-arrow,
button.open .mega-arrow {
    transform: rotate(180deg);
}

.mega-menu-header{
    color:black;    
}

.mega-menu-header span{
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 18px;
    cursor: pointer;
}

.mega-menu-header span:hover{
    color: rgb(63, 63, 63);
}

.mm-nav span {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-size: 18px;
}

.producto-item a{
    font-family: "Ethnocentric V2", sans-serif !important;
    cursor: pointer;
    color: #000;
    text-decoration: none;
    font-weight: 200 !important;
}


#newsletter{
font-weight: 500;
margin: 100px auto;
}

#newsletter p{
    margin: 0;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 1.5px;
}

#newsletter input{
    margin: 0;
    padding: 22px 7px;
    height: 24px;
    width: 70%;
    border: solid 1px #000000;
}

#newsletter button {
    height: 46px;
    padding: 0 20px;       /* controla ancho interno */
    line-height: 46px;     /* centra texto vertical */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -5px;
    border: solid 1px red;
}

.footer-logo-container{
    height: 207px;
}

#footer a{
    text-decoration: none;
    color: white;
}




/* EXTRA CLASE BOTON INCLUDE */
.banner-link {
    border: solid 1px #fff;
    padding: 20px 42px;
    color: #fff;
    text-decoration: none;
    width: 114px;
    height: 15px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: transparent;

    transition: all 0.5s ease;
}

.banner-link:hover {
    background-color: red;
    text-decoration: none;
    color: white;
    border: solid 1px red;
}

/* 360-view carousel frames */
#360-view-carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel-frame { display: none; width: 100%; height: auto; object-fit: contain; }
.carousel-frame.active { display: block; }
.main-360-view { max-height: 420px; width: auto; }


#accesories-distribuitor{
    min-height: 550px;
    
    padding: 0;
}
#accesories-distribuitor p{
    font-size: 18px;  
    font-weight: 400;
    line-height: 28px;  
    letter-spacing: 0.7px;
}

#accesories{
    background-image: url("/static/images/index/Accesories.webp");
}

#distribuitor{
    background-image: url("/static/images/index/Manual-de-usuario.webp");
}

#accesories,
#distribuitor {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra vertical */
    align-items: center;     /* centra horizontal */
    text-align: center;      /* centra texto */

    background-size: cover;        /* que cubra todo */
    background-position: center;   /* centrada */
    background-repeat: no-repeat;  /* sin repetir */

    height: 100%;            /* importante */
    min-height: 550px;
    max-height: 700px;
    color: white;
}
