/* Empieza menu filtrado */
.hover:hover{
  color:#22b5c4
}

.gallery__imagesubcat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    max-height: 25vw;
    padding: 1rem;
    aspect-ratio: 1;
}

.gallery__imagesubcat {
    position: relative;
    height: max-content;
    text-decoration: none;
}

.subname {
  cursor: pointer;
}

.d-none-sub{
  display: none !important;
}

.subarrow-right {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    height: 0;
    margin-left: 15px;
    position: relative;
    top: 15px;
    -webkit-transform: rotate(270deg)translate(5px);
    -moz-transform: rotate(270deg)translate(5px);
    transform: rotate(270deg)translate(5px);
    width: 0;
  z-index:-1;
}
.subarrow-down {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid;
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
    height: 0;
    margin-left: 15px;
    position: relative;
    top: 10px;
    width: 0;
  z-index:-1;
}
.title,.arrow{
  display: inline-block;
  color: black;
  font-size: 24px;
  font-family: Avenir!important;
    font-weight: 600;
    width: 100%!important;
}

.prueba label {
  cursor:pointer;
}

.subcategory-container{
  max-width:1400px !important;
}

.productmenus{
  position: sticky;
  top:0;
  z-index: 101;
}

.titulo-categ{
  margin-bottom:40px;
}

.menu-subcategories {
    margin-right: auto;
    margin-left: auto;
    display: inline-flex;
    width: 100%;
  justify-content: center;
}

.menu-prodsub{
  position: sticky;
    top: 80px;
    z-index: 1;
}

.menu-prodsub{
  padding-bottom:20px;
  padding-top: 20px;
  background-color: #efefef;
  border-bottom: 1px solid black;
  width: 100%;
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.5s;
  margin:auto;
  margin-top: -5px;
}

.menu-spec{
 font-size: 16px !important;
}

.product-sub-container{
  width: calc(33.33% - 5px);
}

@media screen and (max-width:1000px){
  .product-menu{
  font-size: 14px;
  }
}

@media screen and (max-width:1049px){
  .menu-prodsub {
    position: sticky;
    top: 40px;
    z-index: 10000;
}
  
  .product-sub-container{
  width: calc(50% - 5px);
}
  
  .gallery__imagesubcat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    max-height: 300px !important;
    padding: 1rem;
    aspect-ratio: 1;
}
}

@media screen and (max-width:700px){
  .menu-prodsub{
  padding-top: 20px;
    padding-bottom: 20px;
    background-color: #efefef;
    border-bottom: 1px solid black;
    width: 100%;
    overflow-x: scroll !important;
    padding-left: 10px;
  }
  
  .menu-prodsub::-webkit-scrollbar {
  display: none;
}
  
  .product-menu{
 font-size: 14px;
}
}

html { scroll-behavior: smooth; }

/* Termina menu filtrado */
.mobile-filter {
    display: none;
}

.checkbox-sub{
  display:none;
}

.general-container {
    display: flex;
    justify-content: center;
}

.filter-container {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    flex-basis: 25%;
    padding: 0.5em
}

.checkbox-card {
    padding: 0.5em;
    border: 4px solid grey;
    border-radius: 20px;
}

.checkbox-container {
    padding: 0.5em 1em;
  
}

.checkbox-container>label {
    padding: 0 0 0 0.5em;
    font-size: 15px;
}

.checkbox-container > input[type='checkbox'] {
    margin-right: 0px !important;
}

.product-hidden {
    display: none;
}

/* Styles from template */

.gallery__text {

    display: none;
}

.gallery-linebent {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    margin-right: 2vw;
    margin-left: 2vw;
    row-gap: 0px;

    margin-top: 50px;
    max-width: 1000px;
    margin: auto;
    padding: 1rem 0;
}

.gallery__imagesubcat {
    position: relative;
    height: max-content;
    text-decoration: none;
}

.gallery__imagesubcat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    max-height: 20vw;
    padding: 1rem;
    aspect-ratio: 1;
}

.container {
    position: relative;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.gallery__text {
    border-bottom: 1px solid grey;
    margin-bottom: 0px;
    padding: 15px;
    color: black;
    margin-top: -2px;
}

.gallery__text-preview {
    color: black;
    padding: 13px 15px;
    margin-bottom: 0px !important;
    background: white;
}

.gallery__text-container {
    opacity: 1;
    background: #F7F7F7;
    margin-bottom: 20px;
    max-height: 100%;
}


.container:hover .gallery__text-container {
    opacity: 1 !important;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -ms-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    max-height: 1000px;
}

.container:hover .gallery__text-preview {
    /*   display:none; */
    /* background-color: #F7F7F7;*/
  background-color: white;
}

.gallery__paragraph {
    padding: 14px;
    min-height: 70px;
    color: black;
    margin-bottom: 0px;
    font-size: 15px;
    border-top: 1px solid black;
  display:none;
}

@media screen and (max-width:600px) {
    .gallery-linebent {
        display: grid;
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fit, minmax(33.33%, 1fr));
        margin-left: 2vw;
        margin-right: 2vw;
        row-gap: 0;
        min-height: 400px;
    }

    .gallery__text {
        font-size: 20px;
    }
    .menu-prodsub {
    position: sticky;
    top: 0px !important;
    z-index: 10000;
}
  
  .menu-subcategories {
    display: flex !important;
    flex-wrap: wrap;
}
}

.open .subarrow-right{
  display:none;
}

.closed .subarrow-down{
  display:none;
}


@media screen and (max-width:600px) {
  .subflex-container{
    column-gap:5px;
  }
  
    .gallery-linebent {
        display: grid;
        gap: 0.5rem !important;
        grid-template-columns: repeat(auto-fit, minmax(33.33%, 1fr));
        margin-left: 2vw;
        margin-right: 2vw;
        row-gap: 0;

    }

    .accesories-linebent {
        gap: 4rem 0.5rem !important;
    }

    .gallery__text {
        font-size: 20px;
    }

    .gallery__text-preview {
        background-color: #F7F7F7;
    }

    .gallery__text-container {
        opacity: 1;
    }


    .gallery__imagesubcat {
        height: max-content !important;
        display: flex;
        justify-content: flex-end;
        align-items: stretch;
        flex-wrap: initial;
        flex-direction: column-reverse;
    }

    .gallery__imagesubcat img {
        max-height: 35vw;
    }

}


.pictures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 50% 50%;
    grid-gap: 1rem;
}

.gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery__image:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery__image:nth-child(2) {
    grid-column: span 1;
    grid-row: span 2;

}

.gallery__image:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;

}

.container {
    position: relative;
    height: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: .5s ease;
    background-color: #00b4c461;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.gallery__text-container {
    position: relative;
    width: 100%;
    height: auto !important;
    left: 0;
}

.container:hover .overlay {
    opacity: 1;
}

.gallery__text-container .text {
    color: white;
    font-size: 20px;
    position: absolute;
    text-align: left;
    padding: 40px;
    width: 240px;
}

@media screen and (max-width:850px) {
  .mobile-filter{
    display: flex;
    justify-content: center;
  }
  
  .checkbox-sub{
  display:none;
}
  
  .general-container{
    flex-direction: column;
  }
  .filter-container{
    display: none;
  }
  .checkbox-card{
    padding: 1em;
  }

    .pictures {
        padding: unset !important;
        grid-gap: 1rem;
        grid-template-columns: repeat(2, 1fr);
    }

    @media screen and (max-width: 500px) {
        .gallery__text-container .text {
            width: 100px;
        }
    }

    @media screen and (max-width: 900px) {
        .gallery__text-container .text {
            font-size: 18px !important;
        }
    }

    .gallery__image:nth-child(1) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery__image:nth-child(2) {
        grid-column: span 1;
        grid-row: span 2;

    }

    .gallery__image:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;

    }

}
}

.accesory-modal {}

.accesory .Line {
    width: 70%;
    margin-left: 4%;

}

.accesory .title {
    width: 25%;
    margin-top: 20px;
}

.accesory .hidden {
    /*   display: none; */
    margin-top: 0 !important;
}

.gallery__text {
    font-size: 14px;
    display: none;
}

.gallery__text-preview {
    font-size: 16px;
}

.drop-down.options .Line,
.drop-down.accesory .Line {
    display: none;
}

.arrow-block {
    cursor: no-drop;

}

@media screen and (max-width:600px) {
    .Line {
        display: none !important;
    }

    #ModalAccesories .modal-content {
        width: 90%;
    }

    .gallery__paragraph {
        background-color: #F7F7F7;
        height: 100%;
        overflow-y: scroll;
        font-size: 13px !important;
    }

    .gallery-linebent {
        display: flex;
        gap: 5% !important;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .gallery__imagebent {
        height: max-content !important;
        width: 47%;
        display: flex;
        justify-content: flex-end;
        align-items: stretch;
        flex-wrap: initial;
        flex-direction: column-reverse;
    }

    .gallery__text-preview {
        height: 70px;
        justify-content: center;
        align-items: center;
        display: flex;
    }

    .gallery__text-container {

        max-height: unset;
    }
}