/*
Theme Name: itt
Theme URI: http://www.planatec.es
Description: Tema WP personalizado para la web de ITT
Author: Julio Colás - Planatec
Author URI: -
Version: 1.0

 */

 
.zona-privada {
    /* display: none !important; */
}

body {
    overflow-y: scroll;
}

html,
body,
footer,
#page {
    background-color: #000000;
}

#primary {
    margin-top: 10px;
}

h1, h2, h3, h4 {
    font-family: 'Open Sans Condensed', sans-serif !important;
    font-weight: 700 !important;
}

@media only screen and (max-width: 991px) {
    img {
        width: 100%;
        height: 100%;
    }

    .wp-caption {
        width: 100% !important;
    }
}

.gallery-item .gallery-icon a img {
    width: 100%;
    height: 100%;
}

/* TITLES */
.featured-notice .notice-wrapper .notice-detail h3,
.company-sub-menu h3,
.qs-content-wrapper h3,
.news-sub-menu h3,
.catalog-title h3,
.filter-sub-menu h3,
.menu.menu-section .menu-item .menu-title h3 {
    font-weight: 700;
    margin: 0 auto;
    padding-bottom: 10px;
    text-transform: uppercase;
    width: 90%;
}

@media only screen and (max-width: 991px) {
    .featured-notice .notice-wrapper .notice-detail h3,
    .company-sub-menu h3,
    .qs-content-wrapper h3,
    .news-sub-menu h3,
    .catalog-title h3,
    .filter-sub-menu h3,
    .menu.menu-section .menu-item .menu-title h3 {
        font-size: 16px;
        padding-bottom: 4px;
    }
}

.featured-notice .notice-wrapper .notice-detail .notice-detail-title-wrapper h3 {
    display: flex;
    height: 100%;
    justify-content: center;
    flex-direction: column;
    font-size: 20px;
    padding-bottom: 0;
    position: absolute;
    width: 100%;
}

.company-sub-menu h3,
.news-sub-menu h3,
.filter-sub-menu h3,
.menu.menu-section .menu-item .menu-title h3 {
    font-size: 16px;
    padding-bottom: 5px;
    padding-top: 5px;
}

.qs-content-wrapper h3 {
    padding: 30px 30px 0 30px;
    width: 100%;
}

.qs-content {
    max-width: 512px;
    margin: 0 auto;
}

.catalog-title h3 {
    color: #000000;
    font-size: 18px;
    min-height: 60px;
    padding: 10px 0;
}

/* MAIN MENU */
.page-header-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
}

.page-header-wrapper .page-header {
    border: none;
    margin: 20px 0 20px;
}

.page-header-wrapper .page-header .menu-container {
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.page-header-wrapper .page-header #logo-container {
    height: 169px;
}

.page-header-wrapper .page-header #logo-container img {
    height: 169px;
}

.page-header-wrapper .page-header #menu-container {
    background-color: #000000;
    height: 130px;
}

.page-header-wrapper .page-header .page-header-menu-wrapper,
.page-header-menu-wrapper .menu .menu-item {
    display: inline-block;
}

.page-header-wrapper .page-header .page-header-menu-wrapper,
.page-header-wrapper .page-header .page-header-top {
    position: relative;
    width: 100%;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu,
.page-header-wrapper .page-header .page-header-top .section-top {
    bottom: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: 30%;
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -o-justify-content: space-around;
    -ms-justify-content: space-around;
    justify-content: space-around;
    left: 0;
    margin: auto;
    padding: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.page-header-wrapper .page-header .page-header-top .section-top .wpml-ls .wpml-ls-item.wpml-ls-current-language span,
.page-header-wrapper .page-header .page-header-top .section-top .wpml-ls .wpml-ls-item span:hover {
    color: #ffffff;
}

.page-header-wrapper .page-header .page-header-top .section-top .wpml-ls .wpml-ls-item span {
    color: #b4b4b4;
}

.page-header-wrapper .page-header .page-header-top .section-top .wpml-ls-legacy-list-horizontal {
    border: none;
    clear: inherit;
    padding: 0;
}

.wpml-ls-legacy-list-horizontal > ul {
    padding: 0;
    margin: 0 !important;
    list-style-type: none;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: inline-block;
}

.wpml-ls-legacy-list-horizontal a {
    display: block;
    text-decoration: none;
    padding: 5px 10px;
    line-height: 1;
}

.page-header-wrapper .page-header .page-header-top .section-top .social-links-menu img,
.contact-down .contact-down-social-nets .social-links-menu img {
    border: 1px solid #ffffff;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    height: 25px;
    opacity: .5;
}

.page-header-wrapper .page-header .page-header-top .section-top .social-links-menu img:hover {
    opacity: 1;
}

.page-header-wrapper .page-header .page-header-top .section-top .search-box span {
    color: #ffffff;
}

.page-header-wrapper .page-header .page-header-top .section-top .search-box form {
    display: inline-block;
}

.page-header-wrapper .page-header .page-header-top .section-top .search-box form input {
    background-color: transparent;
    border-bottom: 1px solid #ffffff;
    border-left: none;
    border-right: none;
    border-top: none;
    color: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.current-menu-item a,
.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.current-page-parent a {
    color: #ffffff
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a {
    color: #b4b4b4;
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a:hover,
.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a:focus {
    color: #ffffff;
    text-decoration: none;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a img,
footer .page-footer-menu-wrapper .menu .menu-item a img {
    height: 13px;
    margin-bottom: 3px;
    width: auto;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.menu-item-3517 a img,
.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.menu-item-3518 a img,
footer .page-footer-menu-wrapper .menu .menu-item.menu-item-3517 a img,
footer .page-footer-menu-wrapper .menu .menu-item.menu-item-3518 a img {
    height: 35px;
    position: relative;
    top: -6px;
}



.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.menu-item-7578 a img,
footer .page-footer-menu-wrapper .menu .menu-item.menu-item-7578 a img,
.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item.menu-item-7584 a img,
footer .page-footer-menu-wrapper .menu .menu-item.menu-item-7584 a img {
    height: 40px;
    position: relative;
    top: -10px;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .sub-menu {
    display: none;
}

.page-header-wrapper .page-header .page-header-top,
.page-header-wrapper .page-header .page-header-menu-wrapper {
    height: 65px;
}

@media only screen and (max-width: 991px) {
    .page-header-wrapper .page-header .menu-container {
        width: 970px;
    }

    .page-header-wrapper .page-header #logo-container,
    .page-header-wrapper .page-header #logo-container img {
        height: 90px;
    }
}

@media only screen and (max-width: 768px) {
    .page-header-wrapper .page-header .menu-container {
        width: 750px;
    }
}

/* SLIDER */
#page .metaslider .flexslider {
    margin: 0;
}

#page .metaslider .caption-wrap {
    background: none;
    bottom: 33%;
    opacity: 1;
    text-align: center;
}

#page .metaslider .caption-wrap .caption .slider-title {
    border-top: 2px solid #000000;
    border-bottom: 2px solid #000000;
    color: #000000;
    display: inline-block;
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 30px;
    padding: 20px 90px;
}

#page .metaslider .caption-wrap .caption .slider-text {
    color: #000000;
    font-size: 18px;
    padding-top: 10px;
}

#page .metaslider .flex-control-nav,
#page #my-slider-wrapper .flex-control-nav {
    bottom: 10px;
    z-index: 100;
}

#page .metaslider .flex-direction-nav .flex-prev,
#page #my-slider-wrapper .flex-direction-nav .flex-prev {
    display: none;
    left: 10px;
}

#page .metaslider .flex-direction-nav .flex-next,
#page #my-slider-wrapper .flex-direction-nav .flex-next {
    display: none;
    right: 10px;
}


#page .metaslider:hover .flex-direction-nav .flex-prev,
#page .metaslider:hover .flex-direction-nav .flex-next {
    display: block;
}

#page .metaslider .flexslider .flex-direction-nav li a {
    background-image: url('https://desarrollos.digitalsquare.es/ittceramic/wp-content/uploads/2025/10/bg_direction_nav-1.png');
}



#page .metaslider .ms-image img {
    /* display: block;                  */
    /* height: 100vh;                   */
    /* object-position: center;         */
    /* width: 100%;                     */
    /* -webkit-transition: all 1s ease; */
    /* -moz-transition: all 1s ease;    */
    /* -ms-transition: all 1s ease;     */
    /* -o-transition: all 1s ease;      */
    /* transition: all 1s ease;         */
}

@media only screen and (max-width: 991px) {
    #page .metaslider .ms-image img {
        height: 350px;
        object-fit: cover;
    }
}

.flexslider {
    border-radius: 0 !important;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

#page .metaslider.small-slider .ms-image img {
    height: 210px;
}

.single #page .slider-wrapper {
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
}

.single #page .slider-wrapper .metaslider .ms-image img {
    width: 100%;
}

#my-slider-wrapper {
    margin: 0 5px 10px 5px;
}

#my-slider-wrapper .flexslider {
    border: none;
    margin: 0;
    position: relative;
}

#my-slider-wrapper .flexslider .slidesjs-previous,
#my-slider-wrapper .flexslider .slidesjs-next {
    height: 30px;
    position: absolute;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    width: 30px;
    margin: -20px 0 0;
    display: block;
    background: url("img/bg_direction_nav.png") no-repeat 0 0;
    top: 50%;
    z-index: 10;
    cursor: pointer;
    text-indent: -9999px;
    opacity: 0;
}

#my-slider-wrapper .flexslider .slidesjs-previous {
    left: 10px;
}

#my-slider-wrapper .flexslider .slidesjs-next {
    right: 10px;
    background-position: 100% 0;
}

@media only screen and (max-width: 991px) {
    #page .metaslider.small-slider .ms-image img {
        height: 125px;
    }

    .slidesjs-container,
    .slidesjs-control,
    .slidesjs-slide {
        width: 100% !important;
        height: 50vw !important;
    }
}

/* FOOTER */
footer {
    margin-bottom: 30px;
}

footer .footer {
    border: 2px solid #b4b4b4;
    margin: 5px;
    padding: 20px;
}

footer .page-footer-menu-wrapper,
footer .page-footer-menu-wrapper .menu .menu-item,
footer .page-footer-legal-menu-wrapper .menu .menu-item {
    display: inline-block;
}

footer .page-footer-menu-wrapper {
    position: relative;
    width: 100%;
}

footer .page-footer-menu-wrapper .menu,
footer .page-footer-legal-menu-wrapper .menu {
    display: flex;
    justify-content: space-around;
    -moz-padding-start: 0;
    -webkit-padding-start: 0;
}

footer .page-footer-menu-wrapper .menu .menu-item a {
    color: #b4b4b4;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

footer .page-footer-menu-wrapper .menu .menu-item a:hover {
    color: #ffffff;
}

footer .footer .page-footer-menu-wrapper .sub-menu {
    display: table-row;
}

footer .footer .page-footer-menu-wrapper .sub-menu .menu-item {
    display: block;
}

footer .footer .page-footer-menu-wrapper .sub-menu .menu-item a {
    font-weight: 400;
    font-size: 13px;
    text-transform: inherit;
}

footer .footer .footer-text-right {
    color: #ffffff;
    font-size: 12px;
}

footer .page-footer-legal-menu-wrapper {
    margin-left: 150px;
    margin-right: 150px;
}

footer .page-footer-legal-menu-wrapper .menu .menu-item a,
footer .page-footer-legal-menu-wrapper .menu .menu-item {
    color: #b4b4b4;
    font-size: 11px;
    text-decoration: none;
}

footer .page-footer-legal-menu-wrapper .menu .menu-item a:hover {
    color: #ffffff
}

footer .newsletter {
    align-items: center;
    background-color: #ffffff;
    display: flex;
    height: auto;
    padding: 2em 0; 
    margin: 0 5px 10px 5px;
}

footer .newsletter p {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 0;
}

footer .newsletter .newsletter-title {
    margin: 0;
}

footer .newsletter form input {
    border: 1px solid #b4b4b4;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    font-size: 12px;
    padding: 10px;
    width: 60%;
}

footer .newsletter .mc4wp-form-fields .itt-mc-form-fields {
    display: flex;
}

footer .newsletter #newsletter-button {
    width: 20%;
    margin-left: 10px;
}

footer .newsletter #newsletter-button:hover {
    opacity: .5;
}

@media only screen and (max-width: 991px) {
    footer {
        margin-bottom: 0;
    }

    footer .newsletter {
        display: block;
        height: auto;
    }

    footer .newsletter .newsletter-title {
        font-size: 18px;
        padding-top: 10px;
        padding-bottom: 5px;
    }

    footer .newsletter > div {
        margin-bottom: 15px;
    }

    footer .newsletter > div:first-child a {
        padding: 0 !important;
        text-align: center;
        margin-top: 15px;
    }

    footer .newsletter #newsletter-button {
        width: 35%;
    }

    footer .newsletter p {
        font-size: 11px;
    }

    footer .newsletter form {
        margin-top: 10px;
    }

    footer .newsletter form input {
        width: 100%;
        margin-bottom: 10px;
    }

    footer .footer > div:first-child {
        display: none;
    }

    footer .page-footer-legal-menu-wrapper {
        margin-left: 5px;
        margin-right: 5px;
    }

    footer .page-footer-legal-menu-wrapper .menu {
        display: block;
    }

    footer .page-footer-legal-menu-wrapper .menu .menu-item {
        display: block;
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
    }
}

/* FEATURED NOTICES */
.featured-notice {
    background-color: #000000;
    margin-bottom: 5px;
    padding-left: 5px !important;
    padding-right: 5px !important;
    padding-bottom: 5px !important;
}

.featured-notice a {
    color: #000000;
}

.featured-notice .notice:hover {
    color: #000000;
    opacity: 1;
    text-decoration: none;
}

.featured-notice .notice:hover,
.single-gallery:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    opacity: .8;
    transition: all .5s ease;
    z-index: 100;
}

.featured-notice .notice-wrapper .notice-detail:hover,
.section-catalogs .catalog-title:hover {
    background-color: #000000;
    color: #ffffff;
}

.featured-notice .notice-wrapper {
    height: 425px;
    overflow: hidden;
    position: relative;
}

.featured-notice .notice {
    height: 425px;
    padding: 0 !important;
    position: relative;
}

@media only screen and (max-width: 991px) {
    .featured-notice .notice-wrapper,
    .featured-notice .notice {
        height: 200px;
    }
}

.featured-notice .notice-wrapper .notice-detail {
    background-color: rgba(222, 222, 222, .8);
    bottom: 0;
    font-size: 12px;
    min-height: 60px;
    position: absolute;
    width: 100%;
    z-index: 100;
}

@media only screen and (max-width: 991px) {
    .featured-notice .notice-wrapper .notice-detail {
        min-height: 81px;
    }
}

.featured-notice .notice-wrapper .notice-detail .notice-detail-title-wrapper {
    min-height: 32px;
    position: relative;
}

.featured-notice.next-fair .notice-wrapper .notice-detail {
    min-height: 60px;
}

.featured-notice.previous-fair .notice-wrapper .notice-detail {
    min-height: 60px;
}

.featured-notice .notice-wrapper .notice-detail p {
    margin: 0 auto;
    width: 60%;
}

@media only screen and (max-width: 991px) {
    .featured-notice .notice-wrapper .notice-detail p {
        font-size: 11px;
        width: 80%;
    }
}


.featured-notice .notice-wrapper .notice-detail hr,
.company-sub-menu hr,
.news-sub-menu hr,
.catalog-title hr,
.filter-sub-menu hr,
.menu.menu-section .menu-item .menu-title hr {
    border: 1px solid #000000;
    margin-bottom: 6px;
    margin-top: 6px;
    width: 15%;
}

@media only screen and (max-width: 991px) {
    .featured-notice .notice-wrapper .notice-detail hr,
    .company-sub-menu hr,
    .news-sub-menu hr,
    .catalog-title hr,
    .filter-sub-menu hr,
    .menu.menu-section .menu-item .menu-title hr {
        width: 20%;
    }
}

.catalog-title hr,
.filter-sub-menu hr,
.menu.menu-section .menu-item .menu-title hr {
    width: 30%;
}

.menu.menu-section .menu-item.current .menu-title hr {
    border: 1px solid #ffffff;
}

/* COMPANY SUBMENU & NEWS SUBMENU */
.company-sub-menu,
.news-sub-menu,
.filter-sub-menu {
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
}

.company-sub-menu {
    margin: 0 0 10px 0;
}

.company-sub-menu a,
.news-sub-menu a,
.filter-sub-menu a {
    color: #000000;
}

.news-sub-menu hr {
    width: 10%;
}

.company-sub-menu .sub-menu-left {
    padding-left: 0;
    padding-right: 5px;
}

.news-sub-menu .sub-menu-left {
    padding-left: 0;
    padding-right: 7px;
}

.news-sub-menu .sub-menu-center {
    padding-left: 3px;
    padding-right: 3px;
}

.company-sub-menu .sub-menu-right {
    padding-left: 5px;
    padding-right: 0;
}

.news-sub-menu .sub-menu-right {
    padding-left: 7px;
    padding-right: 0;
}

.filter-sub-menu .sub-menu-left {
    padding-left: 0;
    padding-right: 5px;
}

.filter-sub-menu .sub-menu-center {
    padding-left: 5px;
    padding-right: 5px;
}

.filter-sub-menu .sub-menu-right {
    padding-left: 5px;
    padding-right: 0;
}

.company-sub-menu .sub-menu-left > div:hover,
.company-sub-menu .sub-menu-right > div:hover,
.news-sub-menu .sub-menu-left > div:hover,
.news-sub-menu .sub-menu-center > div:hover,
.news-sub-menu .sub-menu-right > div:hover {
    background-color: #000000;
    color: #ffffff;
}

.filter-sub-menu .sub-menu-left > div:hover,
.filter-sub-menu .sub-menu-center > div:hover,
.filter-sub-menu .sub-menu-right > div:hover {
    background-color: #000000;
    color: #848484;
}

.company-sub-menu .sub-menu-left > div,
.company-sub-menu .sub-menu-right > div,
.news-sub-menu .sub-menu-left > div,
.news-sub-menu .sub-menu-center > div,
.news-sub-menu .sub-menu-right > div,
.filter-sub-menu .sub-menu-left > div,
.filter-sub-menu .sub-menu-center > div,
.filter-sub-menu .sub-menu-right > div {
    background-color: #848484;
    padding-bottom: 2px;
    padding-top: 2px;
}

.company-sub-menu .active > div,
.news-sub-menu .active > div,
.filter-sub-menu .active > div {
    background-color: #ffffff;
}

@media only screen and (max-width: 991px) {
    .company-sub-menu .sub-menu-left {
        padding-right: 2.5px;
    }

    .company-sub-menu .sub-menu-right {
        padding-left: 2.5px;
    }

    .news-sub-menu .sub-menu-left,
    .news-sub-menu .sub-menu-center {
        padding: 0;
        margin-bottom: 5px;
    }

    .news-sub-menu .sub-menu-right {
        padding: 0;
    }
}

/* COMPANY ABOUT US */

.section-row {
    margin-bottom: 10px;
}

.section-row hr {
    border: 1px solid #000000;
    margin-bottom: 6px;
    margin-top: 6px;
    width: 10%;
}

.section-row h3 {
    text-transform: uppercase;
}

.section-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    font-size: 1em;
}

.section-flex > .section-column {
    background-color: #ffffff;
    flex: 1;
}

.section-flex > .section-column + .section-column {
    margin-left: 10px;
}

.section-flex > .section-column > .inner {
    height: 100%;
    padding: 45px;

    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-flex > .section-column hr {
    margin-top: 30px;
    margin-bottom: 30px;
}

.section-flex > .image-column {
    background: #e4e2e3;
}

.section-flex > .image-column > .inner {
    padding: 0;
}

.section-flex > .strengths-column hr {
    width: 100%;
}

.section-flex > .strengths-column .strengths {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    flex-direction: row;
    align-items: stretch;
}

.section-flex > .strengths-column .strength {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    flex-direction: column;
    justify-content: flex-start;

    flex: 1;

    padding: 10px;
    max-width: 512px;
    margin: 0 auto;
}

.section-flex > .strengths-column .strength .strength-heading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    flex-direction: row;
    align-items: center;

    margin-bottom: 20px;
}

.section-flex > .strengths-column .strength .strength-number {
    background-color: #747474;
    border: 2px solid #747474;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    color: #ffffff;
    font-size: 30px;
    line-height: 50px;
    font-weight: 700;
    text-align: center;
    height: 50px;
    width: 50px;

    flex: 0 0 50px;
}

.section-flex > .strengths-column .strength .strength-title {
    margin: 0 0 0 20px;
}

.section-flex > .strengths-column .strength .strength-content {
    align-self: flex-end;
    width: calc(100% - 70px);
}

@media only screen and (max-width: 991px) {
    .section-flex {
        display: block;
    }

    .section-flex img {
        width: 100%;
        height: auto;
    }

    .section-flex > .section-column + .section-column {
        margin-left: 0;
    }

    .section-flex > .section-column > .inner {
        padding: 25px 15px;
    }

    .section-flex > .strengths-column .strengths {
        display: block;
    }

    .section-flex > .strengths-column .strength {
        max-width: 100%;
        width: 100%;
    }
}

@media (min-width: 1440px) {
    .section-flex {
        font-size: 1.15em;
    }
}

@media (min-width: 1920px) {
    .section-flex {
        font-size: 1.25em;
    }
}

@media (min-width: 2560px) {
    .section-flex {
        font-size: 1.5em;
    }
}

@media (min-width: 3840px) {
    .section-flex {
        font-size: 1.75em;
    }
}

/* GOOGLE MAPS */
.map-container {
    height: 0;
    overflow: hidden;
    padding-bottom: 100%;
}

.map-container * {
    transition: none;
}

/* DÓNDE ESTAMOS */
.de-content-wrapper .mapaiframe iframe{
    width: 100%;
    height: 100%;
}
.de-content-wrapper .mapaiframe{
    height: 100%;
}
.de-content-wrapper {
    background-color: #ffffff;
    height: auto;
    margin: 10px 5px 10px 5px;
    overflow: hidden;
    padding: 40px 40px 40px 0;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
}

.de-content-wrapper .de-content-left {
    margin-left: -15px;
}

.de-content-wrapper h2 {
    border-left: 85px solid #000000;
    font-size: 32px;
    margin-bottom: 50px;
    padding-left: 20px;
}

.de-content-wrapper .de-content-block {
    margin-bottom: 60px;
    margin-left: 105px;
}

.de-content-wrapper .de-content-block h4 {
    font-size: 24px;
    margin-bottom: 20px;
}

.de-content-wrapper .de-content-block p {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    opacity: .75;
}

@media only screen and (max-width: 991px) {
    .de-content-wrapper .mapaiframe iframe{
            aspect-ratio: 916 / 500;
    }
    .de-content-wrapper {
        padding: 15px 15px 15px 0;
        margin-top: 0;
        flex-direction: column;
    }

    .de-content-wrapper h2 {
        font-size: 22px;
        border-left: 40px solid #000000;
        margin-bottom: 30px;
    }

    .de-content-wrapper .de-content-block {
        margin-bottom: 30px;
        margin-left: 60px;
    }

    .de-content-wrapper .de-content-block h4 {
        font-size: 20px;
    }

    .de-content-wrapper .de-content-block p {
        font-size: 18px;
    }

    .de-content-wrapper .de-content-map {
        padding: 0;
        margin: 7px;
        width: 100%;
    }
}

/* FERIAS */
.fair-section-title {
    background-color: #ffffff;
    padding: 5px;
    margin: 5px 5px 10px 5px;
    overflow: hidden;
    text-transform: uppercase;
}

/* DETALLE DE NOTICIA */
.section-breadcrumb-title {
    background: #ffffff;
    padding: 5px;
    margin: 0 5px 10px 5px;
    overflow: hidden;
}

.single-breadcrumb {
    font-size: 12px;
    font-weight: 700;
    /* margin-left: 5px;*/ 
    margin-right: 5px;
    /* position: absolute; */ 
    text-transform: uppercase;
    z-index: 1000;
}
p.single-breadcrumb {
    margin-bottom: 0px;
}

.single-breadcrumb a {
    color: #818181;
    text-decoration: none;
}

.single-breadcrumb a:hover {
    color: #000000;
    text-decoration: none;
}

.notice-detail-title {
    background: #ffffff;
    margin: 0;
    text-transform: uppercase;
}

img.single-thumbnail {
    height: auto;
    margin-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
    width: 100%;
}

.post-content {
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 5px 5px 5px 5px;
}

.container-gallery {
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: hidden;
}

.container-gallery .single-gallery-left,
.container-gallery .single-gallery-right {
    padding: 5px 0 5px 0 !important;
}

.container-gallery .single-gallery-center {
    padding: 5px 10px !important;
}

.container-gallery .single-gallery-wrapper .single-gallery-container {
    overflow: hidden;
    position: relative;
}

.container-gallery .single-gallery-wrapper:hover {
    opacity: .8;
}

.container-gallery .single-gallery-wrapper .single-gallery {
    min-height: 400px;
}

@media only screen and (max-width: 991px) {
    .single-breadcrumb {
        position: relative;
        font-size: 10px;
    }

    .post-content {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .container-gallery .single-gallery-wrapper .single-gallery {
        min-height: 196px;
    }

    .container-gallery .single-gallery-left,
    .container-gallery .single-gallery-center,
    .container-gallery .single-gallery-right {
        padding: 0 0 5px 0 !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .container-gallery .single-gallery-left-table {
        padding-right: 2.5px !important;
    }

    .container-gallery .single-gallery-right-table {
        padding-left: 2.5px !important;
    }
}

/* CONTACTO */
div.wpcf7,
.contact-down {
    background-color: #ffffff;
    margin-left: 5px;
    margin-right: 5px;
    padding: 10px;
}

div.wpcf7 .wpcf7-form {
    margin: 5% 10%;
    position: relative;
}

div.wpcf7 .wpcf7-form .border-left {
    border-left: 2px solid #000000;
    bottom: 10.8%;
    left: -45px;
    position: absolute;
    top: 0;
}

div.wpcf7 .wpcf7-form h3 {
    margin-bottom: 30px;
}

div.wpcf7 .wpcf7-form label {
    font-family: "Open Sans Condensed", sans-serif;
    text-transform: uppercase;
}

div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    margin-bottom: 20px;
    margin-top: -20px;
}

div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap,
div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
    margin-bottom: 30px;
    width: 100%;
}

div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-acceptance {
	border: none !important;
    width: initial;
}

div.wpcf7 .wpcf7-form .accept-this,
div.wpcf7 .wpcf7-form .wpcf7-submit {
    color: #000000;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
}

div.wpcf7 .wpcf7-form .accept-this a {
    color: #000000;
}

div.wpcf7 .wpcf7-form .accept-this a:hover {
    opacity: .8;
}

div.wpcf7 .wpcf7-form .wpcf7-submit {
    background: #a4a4a4;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 25px;
    text-transform: uppercase;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

div.wpcf7 .wpcf7-form .wpcf7-submit:hover {
    opacity: .8;
}

div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control {
    border-bottom: 1px solid #000000;
    border-left: none;
    border-right: none;
    border-top: none;
}

div.wpcf7 .wpcf7-form .wpcf7-form-control-wrap .wpcf7-form-control.wpcf7-textarea {
    border: 1px solid #000000;
}

.contact-down {
    padding: 0 calc(10% + 5px) 5% calc(10% - 45px);
}

.contact-down-social-nets,
.contact-down-newsletter {
    border: 2px solid #000000;
    display: table;
    padding: 20px;
    width: 100%;
}

.contact-down-social-nets span {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: middle;
}

.contact-down-social-nets span,
.contact-down .contact-down-social-nets .social-links-menu a {
    margin-right: 40px;
}

.contact-down .contact-down-social-nets .social-links-menu a:hover {
    opacity: .5;
    text-decoration: none;
}

.contact-down .contact-down-social-nets .social-links-menu {
    display: inline-flex;
    vertical-align: middle;
}

.contact-down .contact-down-social-nets .social-links-menu img {
    opacity: 1;
    height: 30px;
}

@media only screen and (max-width: 991px) {
    .contact-down .contact-down-social-nets .social-links-menu img {
        height: auto;
    }
}

/* CATÁLOGOS */
.section-catalogs {
    margin-bottom: 40px;
    margin-top: 40px;
}

.section-catalogs .catalog-wrapper {
    padding: 30px;
}

.section-catalogs .catalog-wrapper .catalog-content {
    overflow: hidden;
    position: relative;
}

.section-catalogs .catalog-wrapper .catalog-content:hover .catalog-image,
.section-catalogs .catalog-wrapper .catalog-content:focus .catalog-image {
    height: 315px;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.section-catalogs .catalog-wrapper .catalog-content:hover .catalog-image:before,
.section-catalogs .catalog-wrapper .catalog-content:focus .catalog-image:before {
    display: block;
}

.section-catalogs .catalog-wrapper .catalog-content .catalog-image {
    height: 315px;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.section-catalogs .catalog-title {
    background: #ffffff;
    margin-top: 10px;
    padding: 2px;
}

.section-catalogs a:hover {
    text-decoration: none;
}

/* FONDOS BOTONES AMBIENTES */
.producto-1 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_porcelanico_tecnico.jpg") no-repeat center center;
}

.producto-2 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_porcelanico.jpg") no-repeat center center;
}

.producto-3 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_revestimiento_pasta_blanca.jpg") no-repeat center center;
}

.producto-4 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_revestimiento_pasta_roja.jpg") no-repeat center center;
}

.producto-5 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_pavimento_pasta_roja.jpg") no-repeat center center;
}

.producto-6 > div {
    background: url("../../itt-b2b/res/itt/img/background_button_arklam.jpg") no-repeat center center;
}

.mobile-menu-toggle-wrapper,
.mobile-lang-toggle-wrapper {
    display: none;
}

.mobile-menu-toggle,
.mobile-lang-toggle {
    cursor: pointer;
}

@media only screen and (min-width: 992px) {
    .page-header-wrapper .page-header .wpml-ls,
    .page-header-wrapper .page-header .page-header-menu-wrapper {
        display: block !important;
    }
}

@media only screen and (max-width: 991px) {
    .container-fluid {
        margin-left: -10px !important;
        margin-right: -10px !important;
    }
}

@media only screen and (max-width: 1280px) {
    .page-header-wrapper .page-header #logo-container {
        width: 30%;
    }

    .page-header-wrapper .page-header #menu-container {
        width: 70%;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1072px) {
    .page-header-wrapper .page-header #logo-container {
        width: 35%;
    }

    .page-header-wrapper .page-header #menu-container {
        width: 65%;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a {
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .page-header-wrapper .page-header .menu-container {
        overflow: visible;
        position: relative;
        width: 100%;
    }

    .page-header-wrapper .page-header .section-top .search-box,
    .page-header-wrapper .page-header .social-links-menu {
        display: none;
    }

    .page-header-wrapper .page-header #logo-container {
        padding: 0;
        width: 160px;
    }

    .page-header-wrapper .page-header #logo-container img {
        width: auto;
        height: 90px;
    }

    .page-header-wrapper .page-header #menu-container {
        padding: 0;
        width: calc(200px);
        height: 70px;
        position: absolute;
        right: 0;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a {
        font-size: 16px;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu,
    .page-header-wrapper .page-header .page-header-top .section-top {
        -webkit-justify-content: space-between;
        -moz-justify-content: space-between;
        -o-justify-content: space-between;
        -ms-justify-content: space-between;
        justify-content: space-between;
        position: static;
    }

    .page-header-wrapper .page-header .page-header-top,
    .page-header-wrapper .page-header .page-header-menu-wrapper {
        height: auto;
    }

    .page-header-wrapper .page-header .mobile-lang-toggle-wrapper {
        display: block;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle-wrapper,
    .page-header-wrapper .page-header .mobile-menu-toggle-wrapper .search-box {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        -moz-align-items: center;
        -o-align-items: center;
        -ms-align-items: center;
        align-items: center;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle-wrapper .search-box {
        margin-left: 10px;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle-wrapper .search-box span {
        color: white;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle-wrapper .search-box input {
        background-color: transparent;
        border-bottom: 1px solid #ffffff;
        border-left: none;
        border-right: none;
        border-top: none;
        color: #ffffff;
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle {
        display: inline-block;
        width: auto;
    }

    .page-header-wrapper .page-header .mobile-lang-toggle {
        color: #fff;
        font-size: 12px;
        margin: .5em .5em 0;
        cursor: pointer;
    }

    .page-header-wrapper .page-header .wpml-ls {
        position: absolute;
        top: 25px;
        height: 45px;
        font-size: 12px;
        display: none;
        background-color: #000000;
        z-index: 999999;
        width: 100%;
    }

    .page-header-wrapper .page-header .wpml-ls li {
        display: block;
        width: 100%;
    }

    .page-header-wrapper .page-header .wpml-ls a {
        padding: .25em .5em;
    }

    .page-header-wrapper .page-header .mobile-menu-toggle::before {
        border: solid 1px #fff;
        color: #fff;
        content: '\f0c9';
        cursor: pointer;
        display: inline-block;
        font-family: 'FontAwesome';
        font-size: 1.25em;
        height: 1.5em;
        line-height: 1em;
        margin: .5em;
        padding: .25em;
        text-align: center;
        width: 1.5em;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper {
        display: none;
        background-color: #000000;
        margin-top: 10px;
        z-index: 999999;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu {
        display: block;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu-item {
        display: block;
    }

    .page-header-wrapper .page-header .page-header-menu-wrapper .menu-item a {
        display: inline-block;
        padding: 15px;
    }

    #page .metaslider .caption-wrap {
        bottom: 10%;
    }

    #page .metaslider .caption-wrap .caption .slider-title {
        border: none !important;
        padding: 0 !important;
    }

    .wpcf7-acceptance {
        margin-bottom: 0 !important;
    }

    .wpcf7-submit {
        margin-top: 30px;
    }

    .wpcf7-form .border-left {
        display: none;
    }

    .contact-down {
        padding: 0 calc(10% + 5px) 5% calc(10% + 5px);
    }

    .contact-down-social-nets > span,
    .social-links-menu {
        display: block;
        margin: 0;
    }

    .contact-down-social-nets span {
        margin-bottom: 15px;
    }

    .contact-down-social-nets span,
    .contact-down .contact-down-social-nets .social-links-menu a {
        margin-right: 0;
    }


    .contact-down .contact-down-social-nets .social-links-menu a + a {
        margin-left: 30px;
    }
}

@media only screen and (max-width: 460px) {
    .page-header-wrapper .page-header #menu-container {
        width: calc(100% - 200px);
    }

    #page .metaslider .caption-wrap .caption .slider-title {
        font-size: 37px;
    }


    .contact-down .contact-down-social-nets .social-links-menu a + a {
        margin-left: 5px;
    }
}

@media only screen and (max-width: 400px) {

    .page-header-wrapper .page-header .page-header-menu-wrapper {
        position: absolute;
        right: 0;
        width: 210px;
    }


    .contact-down .contact-down-social-nets .social-links-menu a + a {
        margin-left: 1px;
    }
}

.title {
    font-weight: 600;
    text-transform: uppercase;
}

.top-legend {
    background-color: #ffffff;
    color: #000000;
    margin: 0 5px 10px 5px;
    padding: 8px 64px;
}

.section.sync-in-progress {
    background-color: #ffffff;
    margin-left: 5px;
    margin-right: 5px;
    padding: 32px 64px;
}

.section.sync-in-progress h2 {
    margin-bottom: 32px;
}

.zona-privada a {
    color: #818181;
    text-decoration: none;
    text-transform: uppercase;
}

.zona-privada a:hover,
.zona-privada a:focus,
.zona-privada a:active {
    color: #ffffff;
    text-decoration: none;
}

.zona-privada a img {
    height: 1em;
    width: 1em;
    display: inline-block;
    margin-right: .25em;
    margin-bottom: .25em;
    vertical-align: middle;
    opacity: .7;
}

.zona-privada a:hover img,
.zona-privada a:focus img,
.zona-privada a:active img {
    opacity: 1;
}

@media only screen and (max-width: 991px) {
    .zona-privada {
        font-size: 12px;
        margin: .5em .5em 0;
    }
}

body.body-light .site-content > section > section.section {
    background-color: #ffffff;
    margin: 5px;
}

body.body-light .site-content > section > section.section .products-grid-container {
    padding: 0;
}

#informacion-basica-y-detallada-en-proteccion-de-datos-table {
	width: 100%;
}
#informacion-basica-y-detallada-en-proteccion-de-datos-table td {
	border: solid 1px black;
	padding: 6px 12px;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-content {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;

    padding: 10px;
    text-align: center;
}

body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content p {
    margin-bottom: 20px;
    font-weight: 400;
}

body #moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content,
#moove_gdpr_cookie_info_bar .moove-gdpr-cookie-notice {
    text-align: center;
}

/* 3D */
.section-3d {
    margin: 3rem 0;
}

.section-3d .wrapper-3d {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-3d .wrapper-3d a {
    display: block;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #b4b4b4;
    text-transform: uppercase;
    transition: background-color ease-in-out .25s;
    padding: 1rem 3rem;
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    font-weight: 700
}

.section-3d .wrapper-3d a:hover,
.section-3d .wrapper-3d a:active,
.section-3d .wrapper-3d a:focus {
    text-decoration: underline;
    color: white;
}

.section-3d .wrapper-3d a br {
    display: none;
}

.section-3d .wrapper-3d a img {
    display: inline-block;
    margin-right: 2rem;
    border-radius: 100%;
    box-shadow: 0px 0px 3px 0px #fff; 
}

div[id^="attachment_"].aligncenter {
    width: 100% !important;
    text-align: center;
}


/*Animaciones */ 
/* Animación con escala */
@keyframes fadeInUpScale {
    0% {
        opacity: 0;
        transform: translateY(20px) translateX(-10px) scale(0.8); /* empieza abajo, a la izquierda y más pequeño */
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);          /* termina en su posición normal y tamaño */
    }
}

/* Animaciones */


/* generales 2 */


.toggle-header i {
    display: none;
}

.toggle-list {
    display: block; /* visible por defecto */
}


/* Loader centrado con absolute + translate */
.loader-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centrado exacto */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    z-index: 999;
}

.loader-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 80px;
    margin-bottom: 30px;
}

.loader-bars span {
    display: inline-block;
    width: 10px;
    height: 30px;
    margin: 0 4px;    
    background: linear-gradient(to top,  #5f5f5f, #a3a3a3);
    animation: loader-bars 0.8s ease-in-out infinite;
}

.loader-bars span:nth-child(1) {
    animation-delay: 0s;
}

.loader-bars span:nth-child(2) {
    animation-delay: 0.1s;
}

.loader-bars span:nth-child(3) {
    animation-delay: 0.2s;
}

.loader-bars span:nth-child(4) {
    animation-delay: 0.3s;
}

.loader-bars span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes loader-bars {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.7;
    }
    50% {
        transform: scaleY(2);
        opacity: 1;
    }
}

.loader-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #5f5f5f;
}

.loader-sub {
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
    color: rgb(117, 117, 117);
}

/* Efectos adicionales */
.loader-overlay {
    animation: pulse 3s infinite alternate;
}


/* Responsive */
@media (max-width: 480px) {
    .loader-overlay {
        padding: 30px 20px;
    }
   
    .loader-title {
        font-size: 20px;
    }
   
    .loader-sub {
        font-size: 14px;
    }
}





/* generales 2 */


/* Sección menú */ 
section.menu {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-size: cover;
    gap: 5px;
    padding: 8px;
    background-color: black;
    font-family: 'Open Sans', sans-serif;
}

section.menu a {
    text-decoration: none;
}
section.menu .menu-item .menu-title.active {
    color: white;
    background-color: #131313;
    opacity: 1;
}
section.menu .menu-item {
    display: flex;
    flex-direction: row;
}

section.menu .menu-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    background-size: cover;
    background-repeat: no-repeat;


    position: relative;
    aspect-ratio: 3.9 / 3;
    max-height: 100%;
    width: 100%;
}

@media (max-width: 1000px) {
    section.menu .menu-item {
        display: flex;
        justify-content: flex-end;
        align-items: center;

        background-size: cover;
        background-repeat: no-repeat;


        position: relative;

        height: 100%;
        max-height: 10vh;
        width: 100%;
    }
}

@media (max-width: 800px) {
        section.menu .menu-item {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;

        background-size: cover;
        background-repeat: no-repeat;


        position: relative;

        height: 100%;
        max-height: 10vh;
        width: 100%;
    }
}



section.menu a.menu-item .overlay {
    background: radial-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 80%, rgba(0, 0, 0, .6) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: opacity 0.5s;
}



section.menu a.menu-item .overlay:hover {
    opacity: 1;
}


section.menu .menu-item .menu-title {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    align-items: center;
    opacity: 0.8;
    font-weight: bold;
    text-decoration: none;
    color: black;
    z-index: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
    transition: color 0.15s, background-color 0.15s, opacity 0.15s;
    text-transform: uppercase;
    font-size: 14px;
}


section.menu .menu-item:hover .menu-title {
    color: white;
    background-color: #131313;
    opacity: 1;
}



section.menu .menu-item .menu-title hr:first-child {
    margin-top: 12px;
    margin-bottom: 5px;
}

section.menu .menu-item .menu-title hr:last-child {
    margin-top: 5px;
    margin-bottom: 12px;
}

section.menu .menu-item:hover .menu-title hr:first-child {
    border: 1px solid white;
    width: 30%;
    transition: border 0.15s;

}
section.menu .menu-item:hover .menu-title hr:last-child {
    border: 1px solid white;
    width: 30%;
    transition: border 0.15s;
}







section.menu .menu-item .menu-title p {
    font-size: 14px;
}



section.menu .menu-item .menu-title.active hr {
    border: 1px solid white;
    width: 30%;

}

section.menu .menu-item .menu-title hr {
    border: 1px solid black;
    width: 30%;
}


section.menu .menu-item .menu-title p {
    margin-top: 4px;
    margin-bottom: 4px;
}


@media (max-height: 480px) {


    section.menu .menu-item .menu-title p {
        font-size: 14px;
    }


}
@media (max-height: 300px) {
    section.menu .menu-item .menu-title p {
        font-size: 10px;
    }
}
@media (max-height: 200px) {
    section.menu .menu-item .menu-title p {
        font-size: 8px;
    }
}


/* Sección menú fin */ 

/* Sección menú 2 */


section.menu-landing {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-size: cover;
    gap: 5px;
    padding: 8px;
    background-color: black;
    font-family: 'Open Sans', sans-serif;
}

section.menu-landing a {
    text-decoration: none;
}
section.menu-landing .menu-item .menu-title.active {
    color: white;
    background-color: #131313;
    opacity: 1;
}
section.menu-landing .menu-item {
    display: flex;
    flex-direction: row;
}

section.menu-landing .menu-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    background-size: cover;
    background-repeat: no-repeat;


    position: relative;
    max-height: 100%;
}



section.menu-landing a.menu-item .overlay {
    background: radial-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 80%, rgba(0, 0, 0, .6) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: opacity 0.5s;
}



section.menu-landing a.menu-item .overlay:hover {
    opacity: 1;
}


section.menu-landing .menu-item .menu-title {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    align-items: center;
    opacity: 0.8;
    font-weight: bold;
    text-decoration: none;
    color: black;
    z-index: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
    transition: color 0.15s, background-color 0.15s, opacity 0.15s;
    text-transform: uppercase;
}


section.menu-landing .menu-item:hover .menu-title {
    color: white;
    background-color: #131313;
    opacity: 1;
}
section.menu-landing .menu-item:hover .menu-title hr {
    border: 1px solid white;
    width: 30%;
    margin: 10px;
    transition: border 0.15s;
    
}







section.menu-landing .menu-item .menu-title p {
    font-size: 14px;
}



section.menu-landing .menu-item .menu-title.active hr {
    border: 1px solid white;
    width: 30%;

}
section.menu-landing .menu-item .menu-title hr {
    border: 1px solid black;
    width: 30%;
    margin: 10px;
}


section.menu-landing .menu-item .menu-title p {
    margin-top: 4px;
    margin-bottom: 4px;
}



@media (max-width: 1250px) {
    section.menu-landing.single {
        display: flex;
        flex-direction: column;
    }
}


@media (max-height: 480px) {


    section.menu-landing .menu-item .menu-title p {
        font-size: 14px;
    }


}
@media (max-height: 300px) {
    section.menu-landing .menu-item .menu-title p {
        font-size: 10px;
    }
}
@media (max-height: 200px) {
    section.menu-landing .menu-item .menu-title p {
        font-size: 8px;
    }
}



/* Sección menú 2 fin */






/* Sección productos */ 


section.productos {
    display: flex;
    flex-direction: row;
    background-color: black;
    gap: 5px;
    font-family: 'Open Sans', sansactive-serif;
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
}

section.productos .sidebar {
    display: inline-flex;       /* en vez de flex, se adapta al contenido */
    flex-direction: column;
    color: white;
    padding: 40px;

    border: 2px solid #ffffff;
    margin: 4px;
    font-family: 'Open Sans Condensed', sans-serif;

    width: fit-content;         /* el ancho se ajusta al contenido */
    align-self: flex-start;     /* evita que se estire en el contenedor padre */
}





section.productos .sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}


section.productos .sidebar ul.formatos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}


/*
section.productos .sidebar ul.formatos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;

}
    */

section.productos .sidebar ul p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0px;
    text-transform: uppercase;
}

section.productos .sidebar li {
    padding-left: 10px;
}
section.productos .sidebar a {
    text-decoration: none;
    margin-bottom: 5px;
    font-weight: 700;
    color: #b4b4b4;
    font-size: 18px;
}
section.productos .sidebar a:hover {
    color: white;
}



section.productos .container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: start;
    overflow-y: hidden;
    flex: 1;
    width: auto;
    height: fit-content;
}

section.productos .producto-item {
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-repeat: no-repeat;

    height: 30vh;
    transition: all 0.3s ease;

    min-height: 0;
    overflow: hidden;

    opacity: 0; /* empieza invisible */
    animation: fadeInUpScale 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s); /* delay escalonado */
}





@media (max-width: 1200px) {
    section.productos {
        display: flex;
        flex-direction: row; /* sidebar a un lado */
        gap: 20px;
        font-family: 'Open Sans', sans-serif; /* corregido */
    }

    section.productos .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; /* 3 columnas */
        flex: 1;
        gap: 10px;
        margin: 0 10px;
    }

    section.productos .container-grid a.producto-item .producto-title p {
        font-size: 16px;
        margin: 4px 0;
    }

    section.productos .producto-item {
        height: 40vh;
    }
    
    section.productos .container-grid a.producto-item {
        aspect-ratio: 1.4/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.productos .sidebar {
        display: flex;
        flex-direction: column;
        color: white;
        padding: 40px;
        width: 25%;
    }
}


@media (max-width: 1000px) {
    section.productos {
        display: flex;
        flex-direction: column; /* apila sidebar debajo */
        gap: 20px;
        font-family: 'Open Sans', sans-serif; /* corregido */
    }

    section.productos .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columnas en móvil */
        flex: 1;
        gap: 8px;
        margin: 0 10px;
    }

    section.productos .container-grid a.producto-item {
        aspect-ratio: 1.5/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.productos .container-grid a.producto-item .producto-title p {
        font-size: 14px;
        margin: 2px 0;
    }

    section.productos .sidebar {
        width: 100%; /* ocupa todo el ancho */
        padding: 20px;
        color: white;
    }

    section.productos .sidebar ul.formatos ul {
        display: none;
    }

    .toggle-header i {
        display: inline-block;
        transition: transform 0.3s;
    }

    p.toggle-header {
        cursor: pointer;
    }
}

@media (max-width: 800px) {

    section.menu {
        display: flex;
        flex-direction: column;
    }




    section.productos .container-grid a.producto-item {
        aspect-ratio: 1.4 / 1;
        height: 100%;
        max-height: none;
    }

    section.productos .container-grid {
        display: grid;
        grid-template-columns: 1fr; 
        flex: 1;
        gap: 8px;
        margin: 0 10px;
    }

}

/* Media queries móvil */ 









section.productos .container-grid h2 {
    color: white;
}







section.productos a.producto-item {
    width: 100%;
    text-decoration: none;
    position: relative;
    
}


section.productos .container-grid a.producto-item .overlay {
    background: radial-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 80%, rgba(0, 0, 0, .6) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: color 0.4s, background-color 0.4s, opacity 0.4s;
}
section.productos a.producto-item .overlay:hover {
    opacity: 1;
}


section.productos a.producto-item:hover .producto-title {
    color: white;
    background-color: #131313;
    opacity: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
}

section.productos .sidebar ul ul li a.active {
    text-decoration: underline;
    color: white;
}




/*
section.productos .menu-item:hover .menu-title hr {
    border: 1px solid white;
    width: 40%;
    margin: 10px;
    transition: border 0.15s;
    
}
    */
/*TEST */





section.productos a.producto-item .producto-title  {
    display: flex;
    color: black;
    width: 100%;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s, opacity 0,3s;
    background: rgba(222, 222, 222, 0.8);
}


section.productos .producto-item .producto-title h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
}




/* Sección productos fin */



section.busqueda-filtro {
    background-color: black;
    color: white;
    padding: 2px;
}

section.busqueda-filtro .filtros form {
    display: flex;
    border: 2px solid #ffffff;
    margin: 10px 5px;
}

section.busqueda-filtro .filtros form .filtros-principales {
    display: flex;
    padding: 20px;
    font-family: 'Open Sans Condensed', sans-serif;
    gap: 15px;
    width: 100%;
    font-weight: bold;
}



section.busqueda-filtro .filtros .filtro2 {
    color: #b4b4b4;
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 20px;

}

section.busqueda-filtro .filtros .filtro {
    display: flex;
    gap: 10px;
    flex-direction: column;
    background-color: #000000;
    border: none;
    color: #b4b4b4;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    width: 100%;
    justify-content: center;
}


section.busqueda-filtro .filtros .filtro label { 
    color: #ffffff;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

section.busqueda-filtro .filtros .filtro2 button.filtrar {
    background-color: black;
    color: gray;
    border: 2px solid transparent; /* borde reservado, invisible */
    padding: 0em 1em;
    border-radius: 4px;
    transition: border 0.2s;
    width: 150px;
    font-size: 24px;
}

/* Cuando el botón se mantiene pulsado */
section.busqueda-filtro .filtros .filtro2 button.filtrar:active {
    border-color: #fff; /* solo cambias el color, no el tamaño */
}
section.busqueda-filtro .filtros .filtro2 button.filtrar:hover {
    color: white;
}

section.busqueda-filtro .filtros .filtro2 button.limpiar {
    background-color: black;
    color: gray;
    border: 2px solid transparent; /* borde reservado, invisible */
    padding: 0em 1em;
    border-radius: 4px;
    transition: border 0.2s;
    width: 150px;
    font-size: 14px;
}

/* Cuando el botón se mantiene pulsado */
section.busqueda-filtro .filtros .filtro2 button.limpiar:active {
    border-color: #fff; /* solo cambias el color, no el tamaño */
}
section.busqueda-filtro .filtros .filtro2 button.limpiar:hover {
    color: white;
}



section.busqueda-filtro .filtros .filtro select {
    background-color: #000000;
    border: none;
    width: 100%;
    border-bottom: 1px solid #b4b4b4;
}

section.busqueda-filtro .filtros .filtro2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}


section.busqueda-filtro .filtros .filtro2 a {
    text-decoration: none;
    color: gray;
}
section.busqueda-filtro .filtros .filtro2 a:hover {
    color: white;
}

@media (max-width: 1250px) {
    section.busqueda-filtro .filtros form .filtros-principales {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    section.busqueda-filtro .filtros .filtro2 {
        display: flex;
        flex-direction: row;
        gap: 0px;
        justify-content: space-around;
        margin-bottom: 5px;
    }
    section.busqueda-filtro .filtros form {
        display: flex;
        flex-direction: column;
    }
    section.busqueda-filtro .filtros .filtro2 button.limpiar {
        font-size: 24px;
        width: fit-content;
    }
    .swiper-wrapper .swiper-slide a {
        display: none;
    }
    .hcontent h2 {
        font-size: 20px;
    }

}






/* Seccion creative */


section.creative {
    display: flex;
    flex-direction: row;
    background-color: white;
    font-family: 'Open Sans', sansactive-serif;
    margin: 8px;
    overflow: hidden;
}

section.creative .sidebar ul p {
    color: black;
    font-size: 18px;
    font-weight: 600;
    margin: 0px;
    text-transform: uppercase;
}

section.productos .sidebar ul.formatos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}


section.creative .sidebar {
    display: flex;
    flex-direction: column;
    color: black;
    width: 16.66666667%;
    background-image: url('https://ittceramic.com/itt-b2b/res/itt/img/background-creative-sidebar.jpg');
    background-size: 2048px;
	font-family: 'Open Sans Condensed', sans-serif;
}
section.creative .sidebar img {
    transform: rotate(-15deg);
    position: relative;
    top: -15px;
    left: -15px;
    max-width: 250px;
    height: auto;
}

section.creative .sidebar .creative-text {
    padding-left: 4em;
    padding-top: 1em;
    padding-right: 1em;
    padding-bottom: 1em;
    font-size: 1.1em;
    font-family: Lato;
}

section.creative .sidebar .products-filter {
    border: 2px solid black;
    padding: 20px;
    margin: 4px;
}


section.creative .sidebar .products-filter ul li span {
    font-weight: bold;
    font-size: 20px;
}

section.creative .sidebar .products-filter h3 {
    padding-left: 25px;
    font-size: 20px;
}
section.creative .sidebar .products-filter ul.filtros {
    display: flex;
    flex-direction: column;
    gap: 15px;
        padding: 35px;
}


section.creative .sidebar p.creative-title::before {
    content: '>>>';
    position: relative;
    top: -6px;
    font-size: .85em;
    padding-right: .5em;
    margin-right: -2.5em;
    left: -2.5em;
}
section.creative .sidebar p.creative-title {
    color: #00aaa7;
    font-family: 'Better Saturday';
    font-size: 1.5em;
    margin-top: 2em;
    padding-left: 2.5em;
    line-height: 1.85;
}

section.creative .sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
section.creative .sidebar li {
    padding-left: 10px;
}
section.creative .sidebar a {
    text-decoration: none;
    color: rgb(90, 90, 90);
    font-weight: bold;
    font-size: 18px;
}
section.creative .sidebar a:hover {
    color: rgb(71, 71, 71);;
}

section.creative .container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex: 1;
    gap: 8px;
    height: 100%;
    grid-template-columns: repeat(4, 1fr); 
    margin: 4px;
    width: auto;
    height: fit-content;
}

section.creative .producto-item {
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-repeat: no-repeat;

    height: 30vh;
    transition: all 0.3s ease;

    min-height: 0;
    overflow: hidden;

    opacity: 0; /* empieza invisible */
    animation: fadeInUpScale 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s); /* delay escalonado */
}









@media (max-width: 1200px) {
    section.creative .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        flex: 1;
        gap: 5px;
        margin-right: 10px;

    }
    section.creative .container-grid a.producto-item .producto-title p {
        font-size: 16px;
        margin-top: 4px;
        margin-bottom: 4px;
    }


    section.creative .producto-item {
        height: 40vh;
    }
    section.creative .container-grid a.producto-item {
        aspect-ratio: 1.4/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }
    


    section.creative .sidebar {
        display: flex;
        flex-direction: column;
        color: black;

    }

}
@media (max-width: 1000px) {
    section.creative .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex: 1;
        gap: 4px;
        margin-right: 10px;
    }

    section.creative .container-grid a.producto-item {
        aspect-ratio: 1.5/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.creative .container-grid a.producto-item .producto-title p {
        font-size: 14px;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    section.creative .sidebar {
        width: 100%;
    }
    section.productos .sidebar ul.formatos ul {
        display: none;
    }

    section.creative {
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-family: 'Open Sans', sansactive-serif;
    }

}

@media (max-width: 800px) {

    section.menu {
        display: flex;
        flex-direction: column;
    }



    section.creative .container-grid a.producto-item {
        aspect-ratio: 1.4 / 1;
        height: 100%;
        max-height: none;
    }

    section.creative .container-grid {
        display: grid;
        grid-template-columns: 1fr; 
        flex: 1;
        gap: 8px;
        margin: 0 10px;
    }

}




section.creative .container-grid h2 {
    color: white;
}




section.creative a.producto-item {
    width: 100%;
    text-decoration: none;
    position: relative;
}

section.creative .container-grid a.producto-item .overlay {
   background: radial-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0.3) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: color 0.4s, background-color 0.4s, opacity 0.4s;
}
section.creative a.producto-item .overlay:hover {
    opacity: 1;
}
section.creative a.producto-item:hover .producto-title {
    color: white;
    background-color: #131313;
    opacity: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
}
section.creative a.producto-item:hover .producto-title h3 {
    color: white;
}






section.creative a.producto-item .producto-title  {
    display: flex;
    background-color: rgba(222, 222, 222, .8);
    width: 100%;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s, opacity 0,3s;
}
section.creative .producto-item .producto-title h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 24px;
    font-family: steelfish !important;
    font-weight: 500 !important;
    color: #000;
}



section.creative .sidebar ul ul li a.active {
    text-decoration: underline;
    color: black;
}


/* Seccion creative fin */


/* Seccion can terra */


section.can-terra {
    display: flex;
    flex-direction: row;
    background-color: white;
    gap: 5px;
    font-family: 'Open Sans', sansactive-serif;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 20px;
}



section.can-terra .sidebar ul.formatos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}





section.can-terra .sidebar ul p {
    color: black;
    font-size: 18px;
    font-weight: 600;
    margin: 0px;
    text-transform: uppercase;
}


section.can-terra .sidebar .canterra-text {
    padding: 10%;
    font-family: 'Lato';
    font-size: 1.1em;
    color: #333;
}

section.can-terra .sidebar {
    display: flex;
    flex-direction: column;
    color: black;
    width: 16.66666667%;
    font-family: 'Open Sans Condensed', sans-serif;
}

section.can-terra .sidebar-content {
    display: flex;
    flex-direction: column;
}

section.can-terra .sidebar img {
    padding: 15%;
}

section.can-terra .sidebar .products-filter {
    border: 2px solid black;
    padding: 20px 20px 20px 32px;
    margin: 4px;
}
section.can-terra .sidebar .products-filter h3 {
    margin-bottom: 40px;
}

section.can-terra .sidebar .products-filter ul li span {
    font-weight: bold;
    font-size: 20px;
    font-family: 'Open Sans', sans-serif;
}
section.can-terra .sidebar .products-filter ul.filtros {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


section.can-terra .sidebar p.creative-title {
    color: blue;
}

section.can-terra .sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
section.can-terra .sidebar li {
    padding-left: 10px;
}
section.can-terra .sidebar a {
    text-decoration: none;
    color: rgb(90, 90, 90);
    font-weight: bold;
    font-size: 18px;
}
section.can-terra .sidebar a:hover {
    color: rgb(71, 71, 71);;
}

section.can-terra .container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex: 1;
    gap: 8px;
    height: 100%;
    grid-template-columns: repeat(4, 1fr); 
    margin: 4px;
    width: auto;
    height: fit-content;
}



section.can-terra .producto-item {
    display: flex;
    justify-content: center;
    align-items: flex-end;

    background-size: cover;
    background-repeat: no-repeat;

    height: 30vh;
    width: 100%;

    transition: all 0.3s ease;
}





@media (max-width: 1200px) {
    section.can-terra .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        flex: 1;
        gap: 5px;
        margin-right: 10px;

    }
    section.can-terra .container-grid a.producto-item .producto-title p {
        font-size: 16px;
        margin-top: 4px;
        margin-bottom: 4px;
    }
    section.can-terra .sidebar .products-filter {
        width: 96.5%;
    }


    section.can-terra .producto-item {
        height: 40vh;
    }

    section.can-terra .container-grid a.producto-item {
        aspect-ratio: 1.4/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.can-terra {
        display: flex;
        gap: 20px;
        font-family: 'Open Sans', sansactive-serif;
    }


    section.can-terra .sidebar {
        display: flex;
        flex-direction: column;

    }

}
@media (max-width: 1000px) {
    section.can-terra .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex: 1;
        gap: 4px;
        margin-right: 10px;
    }

    section.can-terra .container-grid a.producto-item {
        aspect-ratio: 1.5/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }
    

    section.can-terra .sidebar ul.formatos ul {
        display: none;
    }

    section.can-terra .container-grid a.producto-item .producto-title p {
        font-size: 14px;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    section.can-terra .sidebar {
        display: flex;
        align-items: center;
        width: 100%;
    }
    section.can-terra .sidebar img {
        padding: 15%;
        max-width: 300px;
    }

    section.can-terra {
        display: flex;
        flex-direction: column;
    }

}



@media (max-width: 800px) {

    section.menu {
        display: flex;
        flex-direction: column;
    }



    section.can-terra .container-grid a.producto-item {
        aspect-ratio: 1.4 / 1;
        height: 100%;
        max-height: none;
    }


    section.can-terra .container-grid {
        display: grid;
        grid-template-columns: 1fr; 
        flex: 1;
        gap: 8px;
        margin: 0 10px;
    }

}


section.can-terra .container-grid h2 {
    color: white;
}




section.can-terra a.producto-item {
    width: 100%;
    text-decoration: none;
    position: relative;
}

section.can-terra .container-grid a.producto-item .overlay {
    background: radial-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0.3) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: color 0.4s, background-color 0.4s, opacity 0.4s;
}
section.can-terra a.producto-item .overlay:hover {
    opacity: 1;
}

section.can-terra a.producto-item:hover .producto-title {
    color: white;
    background-color: #131313;
    opacity: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
}




section.can-terra a.producto-item .producto-title  {
    display: flex;
    color: black;
    background-color: rgba(222, 222, 222, .8);
    width: 100%;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s, opacity 0,3s;
}
section.can-terra .producto-item .producto-title h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
}


section.can-terra .sidebar ul ul li a.active {
    text-decoration: underline;
    color: black;
}



/* Seccion can terra fin */




/* Seccion pasta blanca inicio */ 


section.pasta-blanca {
    display: flex;
    flex-direction: row;
    background-color: black;
    gap: 5px;
    font-family: 'Open Sans', sansactive-serif;
    margin-bottom: 8px;
    margin-left: 8px;
    margin-right: 8px;
}





section.pasta-blanca .sidebar {
    display: inline-flex;       /* en vez de flex, se adapta al contenido */
    flex-direction: column;
    color: white;
    padding: 40px;

    border: 2px solid #ffffff;
    margin: 4px;
    font-family: 'Open Sans Condensed', sans-serif;

    width: fit-content;         /* el ancho se ajusta al contenido */
    align-self: flex-start;     /* evita que se estire en el contenedor padre */
}
section.pasta-blanca .sidebar ul.formatos ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}




section.pasta-blanca .sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

section.pasta-blanca .sidebar ul p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0px;
    text-transform: uppercase;
}

section.pasta-blanca .sidebar li {
    padding-left: 10px;
}
section.pasta-blanca .sidebar a {
    text-decoration: none;
    margin-bottom: 5px;
    font-weight: 700;
    color: #b4b4b4;
    font-size: 18px;

}
section.pasta-blanca .sidebar a:hover {
    color: white;
}


section.pasta-blanca .container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    flex: 1;
    gap: 10px;
    width: auto;
    margin-right: 10px;
    height: fit-content;
}


section.pasta-blanca .producto-item {
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-repeat: no-repeat;

    height: 30vh;
    transition: all 0.3s ease;

    min-height: 0;
    overflow: hidden;

    opacity: 0; /* empieza invisible */
    animation: fadeInUpScale 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s); /* delay escalonado */
}



@media (max-width: 1200px) {
    section.pasta-blanca .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        flex: 1;
        gap: 5px;
        margin-right: 10px;
        margin-left: 10px;

    }
    section.pasta-blanca .container-grid a.producto-item .producto-title p {
        font-size: 16px;
        margin-top: 4px;
        margin-bottom: 4px;
    }

    section.pasta-blanca .producto-item {
        height: 40vh;
    }
    section.pasta-blanca .container-grid a.producto-item {
        aspect-ratio: 1.4/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.pasta-blanca {
        display: flex;
        flex-direction: row;
        gap: 20px;
        font-family: 'Open Sans', sansactive-serif;
    }


    section.pasta-blanca .sidebar {
        display: flex;
        flex-direction: column;
        color: white;
        padding: 40px;
    }

}
@media (max-width: 1000px) {
    section.pasta-blanca .container-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex: 1;
        gap: 4px;
        margin-right: 10px;
        margin-left: 10px;
    
    }

    section.pasta-blanca .container-grid a.producto-item {
        aspect-ratio: 1.5/1; /* más equilibrado visualmente */
        height: auto;
        max-height: 65vh;
    }

    section.pasta-blanca .container-grid a.producto-item .producto-title p {
        font-size: 14px;
        margin-top: 2px;
        margin-bottom: 2px;
    }
    section.pasta-blanca .sidebar {
        width: 100%;    
    }
    section.pasta-blanca .sidebar ul.formatos ul {
        display: none;
    }


    section.pasta-blanca {
        display: flex;
        flex-direction: column;
        gap: 20px;
        font-family: 'Open Sans', sansactive-serif;
    }
    .toggle-list {
        display: none;
    }
}



@media (max-width: 800px) {

    section.menu {
        display: flex;
        flex-direction: column;
        height: auto;
    }




    section.pasta-blanca .container-grid a.producto-item {
        aspect-ratio: 1.4 / 1;
        height: 100%;
        max-height: none;
    }

    section.pasta-blanca .container-grid {
        display: grid;
        grid-template-columns: 1fr; 
        flex: 1;
        gap: 8px;
        margin: 0 10px;
    }

}

section.pasta-blanca .container-grid h2 {
    color: white;
}





section.pasta-blanca a.producto-item {
    width: 100%;
    text-decoration: none;
    position: relative;
}

section.pasta-blanca .container-grid a.producto-item .overlay {    
    background: radial-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .5) 80%, rgba(0, 0, 0, .6) 100%);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    transition: color 0.4s, background-color 0.4s, opacity 0.4s;
}
section.pasta-blanca a.producto-item .overlay:hover {
    opacity: 1;
}


section.pasta-blanca a.producto-item:hover .producto-title {
    color: white;
    background-color: #131313;
    opacity: 1;
    pointer-events: none; /* permite que el overlay reciba hover */
}


section.pasta-blanca a.producto-item .producto-title  {
    display: flex;
    color: black;
    background: rgba(222, 222, 222, 0.8);
    width: 100%;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    z-index: 1;
    transition: background-color 0.3s, color 0.3s, opacity 0,3s;
}
section.pasta-blanca .producto-item .producto-title h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 24px;
    font-family: "Open Sans Condensed", sans-serif;
    font-weight: 700;
}

section.pasta-blanca .sidebar ul ul li a.active {
    text-decoration: underline;
    color: white;
}
section.pasta-blanca .sidebar ul ul li a.active {
    text-decoration: underline;
    color: white;
}
/* Seccion pasta blanca fin */ 



/* Seccion previsualizar productos */



.content .header-post {
    background: url('https://desarrollos.digitalsquare.es/ittceramic/wp-content/uploads/2025/09/background-creative-sidebar-scaled.jpg') 0% 0% / 2048px;
    padding: 15px 0px;
    width: 100%;
}


/* Seccion previsualizar productos */




/* Seccion landing porcelanico */ 

section.landing-porcelanico {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 5px;
    margin: 0 5px 10px 5px;
    overflow: hidden;
}

section.landing-porcelanico .swiper-backface-hidden .swiper-slide {
    display: flex;
    align-items: center;
}

section.landing-porcelanico .title {
    display: flex;
}
section.landing-porcelanico .title h3 {
    margin: 0px;
    padding-left: 20px;
}

section.landing-porcelanico .title nav {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    align-items: center;
}

section.landing-porcelanico .title nav button {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 22px;
    color: #848484;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent; /* ✅ */
    border: none;
    line-height: 1;    /* evita que se vean altos por la fuente */
}


section.landing-porcelanico .formatos-grid a {
    text-decoration: none;
}

section.landing-porcelanico .formatos-grid p {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}
section.landing-porcelanico .formatos-grid p.stock{
    font-weight: 300;
}

/*
section.landing-porcelanico .formatos-grid .modelo-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
    */



section.landing-porcelanico .title nav button:hover {
    color: black;
}

section.landing-porcelanico .title nav button.active  {
    color: black;
}



section.landing-porcelanico .formatos-grid {
    display: grid;
    grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
    gap: 40px;
    justify-content: center; /* centra las columnas en el contenedor */
    margin: 32px 0 64px;;
}

section.landing-porcelanico .formatos-grid img {
    width: 350px;
    height: auto;
    object-fit: cover; /* mantiene proporción y recorta si es necesario */
}
section.landing-porcelanico .info {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    gap: 112px;
}
section.landing-porcelanico .info h4 {
    margin-top: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}
section.landing-porcelanico hr {
    border: none;          /* quitamos el estilo por defecto */
    height: 3px;           /* grosor de la línea */
    background-color: #000; /* color negro */
    margin: 1em 0;         /* opcional, espacio arriba y abajo */
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

section.landing-porcelanico .swiper-main .swiper-slide img {
    height: auto;
}




section.landing-porcelanico .info h4 {
    position: relative;
    cursor: pointer;
    padding-left: 35px; /* un poco más para separar de la línea */
    margin: 10px 0;
    transition: color 0.3s;
}

section.landing-porcelanico .info h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 22px; /* un poco más larga */
    background: black;
    border-radius: 6px 0 0 6px; /* borde izquierdo redondeado, derecho recto */
    transition: width 0.3s ease;
}

section.landing-porcelanico .info h4.active::before {
    width: 30px; /* un poco más ancha al expandirse */
}

/* Contenedor de contenido */
section.landing-porcelanico .container-info .content {
    display: flex;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
}

section.landing-porcelanico .container-info .content.active {
    max-height: 400px; /* ajusta según contenido */
    opacity: 1;
}


section.landing-porcelanico .container-info .packing.content {
    display: flex;
    flex-direction: column;
    margin-left: 20%;
    margin-right: 20%;
}



section.landing-porcelanico .mi-tabla {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Estilos del encabezado */
section.landing-porcelanico .mi-tabla thead th {
    padding: 8px;
    border: 1px solid #999;
    background-color: #666;
    color: #fff;
    text-align: center;
}

/* Estilos de las filas de subtítulo */
section.landing-porcelanico .mi-tabla tbody tr.subtitulo {
    background-color: #ccc;
    font-weight: bold;
    text-align: left;
}

/* Estilos de las celdas del cuerpo */
section.landing-porcelanico .mi-tabla tbody td {
    padding: 8px;
    border: 1px solid #999;
    text-align: center;
}



@media (max-width: 1250px) {
    section.landing-porcelanico .formatos-grid {

        display: grid;
        grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
        gap: 0px;
        justify-content: center; /* centra las columnas en el contenedor */
        margin: 32px 0 64px;
    }
    section.landing-porcelanico .container-info .packing.content {
        display: flex;
        flex-direction: column;
        margin-left: 5%;
        margin-right: 5%;
    }

}



    

@media (max-width: 767px) {

    section.landing-porcelanico .formatos-grid {

        display: flex;
        flex-direction: column;
        align-items: center;

    }

    section.landing-porcelanico .container-info .packing.content {
        display: flex;
        flex-direction: column;
        overflow-x: auto;   
        overflow-y: auto;   
        margin-left: 1%;
        margin-right: 1%;
    }

}


@media (max-width: 580px) {
    section.landing-porcelanico .info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    section.landing-porcelanico .container-info .packing.content {
        margin-left: 0%;
        margin-right: 0%;
    }
}


/* Seccion landing porcelanico fin */ 






/* Seccion landing pasta-blanca inicio */ 

section.landing-pasta-blanca {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 5px;
    margin: 0 5px 10px 5px;
    overflow: hidden;
}

section.landing-pasta-blanca .swiper-backface-hidden .swiper-slide {
    display: flex;
    align-items: center;
}

section.landing-pasta-blanca h3 {
    color: #131313;
    font-size: 24px;
    font-weight: 600;
    margin: 64px 0 0;
    padding: 8px 16px;
}
section.landing-pasta-blanca hr.gray {
    background-color: #ccc;
    height: 1px;
}



section.landing-pasta-blanca .title {
    display: flex;
}
section.landing-pasta-blanca .title h3 {
    margin: 0px;
    padding-left: 20px;
}

section.landing-pasta-blanca .title nav {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    align-items: center;
}

section.landing-pasta-blanca .title nav button {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 22px;
    color: #848484;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent; /* ✅ */
    border: none;
    line-height: 1;    /* evita que se vean altos por la fuente */
}


section.landing-pasta-blanca .formatos-grid a {
    text-decoration: none;
}

section.landing-pasta-blanca .formatos-grid p {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

/*
section.landing-porcelanico .formatos-grid .modelo-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
    */



section.landing-pasta-blanca .title nav button:hover {
    color: black;
}

section.landing-pasta-blanca .title nav button.active  {
    color: black;
}





section.landing-pasta-blanca .formatos-grid {
    display: grid;
    grid-template-columns: auto auto auto; /* columnas que se ajustan al contenido */
    gap: 40px;
    justify-content: center; /* centra las columnas en el contenedor */
    margin: 32px 0 64px;
}

/* Contenedor relativo para miniaturas */
section.landing-pasta-blanca .swiper-thumbs .miniatura-container {
    position: relative;
    height: 100%; /* ocupa todo el alto del slide */
}

/* Imagen miniatura ocupa todo el slide */
section.landing-pasta-blanca .swiper-thumbs .miniatura-container img {
    display: block;
    width: 100%;
    height: 100%; /* ocupa todo el alto */
    object-fit: cover; /* mantiene proporción y recorta si es necesario */
}

/* Botón de play centrado */
section.landing-pasta-blanca .swiper-thumbs .miniatura-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    z-index: 10;
}

/* Triángulo de play dentro del círculo */
section.landing-pasta-blanca .swiper-thumbs .miniatura-container .play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 14px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}



section.landing-pasta-blanca .formatos-grid img {
    width: 350px;
    height: auto;
    object-fit: cover; /* mantiene proporción y recorta si es necesario */
}
section.landing-pasta-blanca .info {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    gap: 112px;
}
section.landing-pasta-blanca .info h4 {
    margin-top: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}
section.landing-pasta-blanca hr {
    border: none;          /* quitamos el estilo por defecto */
    height: 3px;           /* grosor de la línea */
    background-color: #000; /* color negro */
    margin: 1em 0;         /* opcional, espacio arriba y abajo */
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

section.landing-pasta-blanca .swiper-main .swiper-slide img {
    height: auto;
    
}




section.landing-pasta-blanca .info h4 {
    position: relative;
    cursor: pointer;
    padding-left: 35px; /* un poco más para separar de la línea */
    margin: 10px 0;
    transition: color 0.3s;
}

section.landing-pasta-blanca .info h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 22px; /* un poco más larga */
    background: black;
    border-radius: 6px 0 0 6px; /* borde izquierdo redondeado, derecho recto */
    transition: width 0.3s ease;
}

section.landing-pasta-blanca .info h4.active::before {
    width: 30px; /* un poco más ancha al expandirse */
}

/* Contenedor de contenido */
section.landing-pasta-blanca .container-info .content {
    display: flex;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
}

section.landing-pasta-blanca .container-info .content.active {
    max-height: 2000px; /* ajusta según contenido */
    opacity: 1;
}


section.landing-pasta-blanca .container-info .packing.content {
    display: flex;
    flex-direction: column;
    margin-left: 20%;
    margin-right: 20%;
}



section.landing-pasta-blanca .mi-tabla {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Estilos del encabezado */
section.landing-pasta-blanca .mi-tabla thead th {
    padding: 8px;
    border: 1px solid #999;
    background-color: #666;
    color: #fff;
    text-align: center;
}

/* Estilos de las filas de subtítulo */
section.landing-pasta-blanca .mi-tabla tbody tr.subtitulo {
    background-color: #ccc;
    font-weight: bold;
    text-align: left;
}

/* Estilos de las celdas del cuerpo */
section.landing-pasta-blanca .mi-tabla tbody td {
    padding: 8px;
    border: 1px solid #999;
    text-align: center;
}


@media (max-width: 1250px) {
    section.landing-pasta-blanca .formatos-grid {

        display: grid;
        grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
        gap: 0px;
        justify-content: center; /* centra las columnas en el contenedor */
        margin: 32px 0 64px;
    }
    section.landing-pasta-blanca h3 {
        display: flex;
        justify-content: center;
    }
    section.landing-pasta-blanca .info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

    section.landing-pasta-blanca .container-info .packing.content {
        display: flex;
        flex-direction: column;
        margin-left: 5%;
        margin-right: 5%;
    }

}

@media (max-width: 767px) {


    section.landing-pasta-blanca .formatos-grid {

        display: flex;
        flex-direction: column;
        align-items: center;

    }

    section.landing-pasta-blanca .container-info .packing.content {
        display: flex;
        flex-direction: column;
        overflow-x: auto;   
        overflow-y: auto;   
        margin-left: 1%;
        margin-right: 1%;
    }

}

/* Seccion landing pasta-blanca fin */ 



/* Seccion landing creative */ 

section.landing-creative {
    background-color: white;
    padding-bottom: 5px;
    margin: 0 5px 10px 5px;
    overflow: hidden;
}
section.landing-creative .title {
    display: flex;
}
section.landing-creative .title h3 {
    margin: 0px;
}
section.landing-creative .swiper-backface-hidden .swiper-slide {
    display: flex;
    align-items: center;
}

section.landing-creative .title nav {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    align-items: center;
}

section.landing-creative .title nav button {
    color: #848484;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent; /* ✅ */
    border: none;
    font-weight: 500;
    line-height: 1;    /* evita que se vean altos por la fuente */
}


section.landing-creative .formatos-grid a {
    text-decoration: none;
}

section.landing-creative .formatos-grid p {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

/*
section.landing-porcelanico .formatos-grid .modelo-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
    */



section.landing-creative .title nav button:hover {
    color: rgb(51, 51, 51);
}

section.landing-creative .title nav button.active  {
    color: black;
}



section.landing-creative .formatos-grid {
    display: grid;
    grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
    gap: 40px;
    justify-content: center; /* centra las columnas en el contenedor */
    margin: 32px 0 64px;;
}

section.landing-creative .formatos-grid img {
    width: 350px;
    height: auto;
    object-fit: cover; /* mantiene proporción y recorta si es necesario */
}
section.landing-creative .info {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    gap: 112px;
}
section.landing-creative .info h4 {
    margin-top: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}
section.landing-creative hr {
    border: none;          /* quitamos el estilo por defecto */
    height: 3px;           /* grosor de la línea */
    background-color: #000; /* color negro */
    margin: 1em 0;         /* opcional, espacio arriba y abajo */
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

section.landing-creative .swiper-main .swiper-slide img {
    height: auto !important;
}

section.landing-creative .title .header-post span {
    text-transform: uppercase;
    color: rgb(0, 195, 209);
}
section.landing-creative .title .header-post {
    display: flex;
    gap: 100px;
}
section.landing-creative .title .header-post .title2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 20px;
}
section.landing-creative .title .header-post .title2 h3 {
    margin-top: 0;
    font-family: steelfish !important;
    font-weight: 400 !important;
    font-size: 36px;
}
section.landing-creative .title .header-post .title2 span {
    font-size: 20px;
    font-weight: 400;
    color: #00aaa7;
}

section.landing-creative .info h4 {
    position: relative;
    cursor: pointer;
    padding-left: 35px; /* un poco más para separar de la línea */
    margin: 10px 0;
    transition: color 0.3s;
}

section.landing-creative .info h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 22px; /* un poco más larga */
    background: black;
    border-radius: 6px 0 0 6px; /* borde izquierdo redondeado, derecho recto */
    transition: width 0.3s ease;
}

section.landing-creative .info h4.active::before {
    width: 30px; /* un poco más ancha al expandirse */
}

/* Contenedor de contenido */
section.landing-creative .container-info .content {
    display: flex;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
}

section.landing-creative .container-info .content.active {
    max-height: 400px; /* ajusta según contenido */
    opacity: 1;
}


section.landing-creative .container-info .packing.content {
    display: flex;
    flex-direction: column;
    margin-left: 20%;
    margin-right: 20%;
}



section.landing-creative .mi-tabla {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Estilos del encabezado */
section.landing-creative .mi-tabla thead th {
    padding: 8px;
    border: 1px solid #999;
    background-color: #666;
    color: #fff;
    text-align: center;
}

/* Estilos de las filas de subtítulo */
section.landing-creative .mi-tabla tbody tr.subtitulo {
    background-color: #ccc;
    font-weight: bold;
    text-align: left;
}

/* Estilos de las celdas del cuerpo */
section.landing-creative .mi-tabla tbody td {
    padding: 8px;
    border: 1px solid #999;
    text-align: center;
}








@media (max-width: 1250px) {
    section.landing-creative .formatos-grid {

        display: grid;
        grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
        gap: 0px;
        justify-content: center; /* centra las columnas en el contenedor */
        margin: 32px 0 64px;
    }
    section.landing-creative .container-info .packing.content {
        display: flex;
        flex-direction: column;
        overflow-x: auto;   
        overflow-y: auto;   
        margin-left: 1%;
        margin-right: 1%;
    }

}



@media (max-height: 767px) {


    section.landing-creative .formatos-grid {

        display: flex;
        flex-direction: column;
        align-items: center;

    }
    
    section.landing-creative .info {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    

}



/* Seccion landing creative fin */ 






/* Generales */ 


.alert-warning2 {
    display: flex;
    align-items: center;
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
    padding: 15px;
    border: 1px solid #faebcc;
    text-transform: none;
    
}
.alert-warning2 p {
    margin: 0px;
}
.maring-alert {
    margin-top: 10px;
}
.alert-search {
    margin-top: 50px;
    font-size: 14px;
    font-weight: 700;
}

.page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a img {
    height: 42px;
    margin-top: -15px;
}
@media (max-width: 1000px) {
    .page-header-wrapper .page-header .page-header-menu-wrapper .menu .menu-item a img {
        height: 42px;
        margin-top: 0px;
    }

}


.swiper-wrapper .swiper-slide {
  position: relative; /* el padre relativo */
}
.swiper-wrapper .swiper-slide a {
  position: absolute;
  top: 50px;    /* distancia desde arriba */
  right: 20px;  /* pegado a la derecha */
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  padding: 0px 6px;
  text-decoration: none;
  text-align: center; /* 👈 centra el texto horizontalmente */
  z-index: 10; /* encima de la imagen */
  font-size: 16px;

      font-family: 'Open Sans Condensed', sans-serif;
background-color: #747474;
font-weight: 700;
padding-left: 15px;
padding-right: 15px;
text-transform: uppercase;
}





.sidebar ul ul li a {
    cursor: pointer;
}

.swiper-main {
width: 100%;
height: 86vh;
margin: 0 auto;
overflow: hidden;
}

.swiper-thumbs {
width: 100%;
height: 100px;
margin: 10px 0;
}

@media (max-width: 720px) {
    .swiper-main {
        height: 50vh;
    }
}


.swiper-main .swiper-slide img {
  width: 100%;
  height: calc(100% - 33px); /* 8px abajo */
  padding: 8px;
  box-sizing: border-box;
  object-fit: cover;
  display: block;
  user-select: none;
}



.swiper-thumbs .swiper-slide {
width: 150px;
height: 100px;
opacity: 0.3;
cursor: pointer;
border-radius: 4px;
transition: opacity 0.3s, border 0.3s;
}
.swiper-thumbs .swiper-slide:hover {
    opacity: 1;
}
.swiper-thumbs .swiper-slide-thumb-active {
opacity: 1;
}
.swiper-thumbs img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
pointer-events: none;
user-select: none;
}


.center-swipe {
    display: flex;
    justify-content: center;
}

.sliders {
    position: relative;
    background-color: white;
    padding-top: 20px;
}

.line-separator {
    background-color: black;
    height: 28px;
    width: 90px;
    margin-left: 0px; /* mueve 8px a la izquierda */
}

.hcontent {
    display: flex; 
    align-items: center;
    color: black;
}
.hcontent h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 20px;
}
.icons-series-extra-content {
    background: #b4b4b4;
    padding: 5px;
    color: white;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
.icons-series-extra-content:hover {
    background-color: black;
}

.container-info .tecnicas.content {
    display: flex;
    gap: 10px;
    align-items: center;
}

.container-info .tecnicas.content i.fa {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
footer .page-footer-menu-wrapper .menu .menu-item a img {
    height: 42px;
}



/* Generales fin */


/* search-container inicio */

section.search-container {
    background-color: white;
    display: flex;
    justify-content: center;
    margin: 10px 5px 10px 5px;
}
section.search-container .container {
    width: 1100px;
}
section.search-container .container h1 {
    font-size: 20px;
}

section.search-container nav.pagination {
    width: 100%;
    display: flex;
    justify-content: end;
}

section.search-container nav.pagination ul {
    list-style-type: none;
    display: flex;
    gap: 10px;
}


section.search-container nav.pagination ul li a {
    text-decoration: none;
    color: #818181;
    font-size: 16px;
}
section.search-container nav.pagination ul li strong {
        font-size: 16px;
}



section.search-container .container .container-grid {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 32px;
}

section.search-container .container .container-grid .item {
    display: flex;
    gap: 20px;
}



section.search-container .container .container-grid .item .sub-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.search-container .container .container-grid .item .sub-title span { 
    color: #777777;
    display: inline-block;
    font-size: 15px;
    font-style: italic;
    margin: 10px 0 0;
}
section.search-container .container .container-grid .item .sub-title a {
    color: #555555;
    font-size: 20px;
    font-weight: 700;
    font-family: "Open Sans Condensed", sans-serif;
}
section.search-container .container .container-grid .item .sub-title a.serie {
    text-decoration: underline;
}
section.search-container .container .container-grid .item .sub-title a.serie:hover {
    color: #3b3b3b;
}
section.search-container .container .container-grid .item .sub-title a.modelo {
    color: rgb(85, 85, 85);
    text-decoration: underline;
    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}
section.search-container .container .container-grid .item .sub-title a.modelo:hover {
    color: #292929;
}
section.search-container .container .container-grid .item .sub-title a.modelo2:hover {
    text-decoration: none;
}
section.search-container .container .container-grid .item .sub-title a.modelo2 > span.model-format {
    color: #777777;
    font-size: .8em;
    font-weight: normal;
    margin-left: 10px;
    vertical-align: baseline;
}

section.search-container .container .container-grid .item .img-item {
    overflow: hidden;
    height: 400px;
    width: 60%;
}

section.search-container .container .container-grid .item .img-item img {
    height: 400px;
    width: 100%;
    transition: transform 0.3s ease; /* Suaviza la animación */
    display: block;
}

section.search-container .container .container-grid .img-item img:hover {
    transform: scale(1.1); /* Zoom al 110% */
}
section.search-container .container .container-grid .img-item img.serie:hover {
    cursor: pointer;
}



section.search-container .container .container-grid hr {
    width: 100%;
}



/* search-container fin */


/* Seccion landing-barro  inicio */



section.landing-barro {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 5px;
    margin: 0 5px 10px 5px;
    overflow: hidden;
}
section.landing-barro .title {
    display: flex;
}

section.landing-barro .swiper-backface-hidden .swiper-slide {
    display: flex;
    align-items: center;
}

section.landing-barro .title h3 {
    margin: 0px;
    padding-left: 20px;
}

section.landing-barro .title nav {
    display: flex;
    gap: 15px;
    padding-left: 30px;
    align-items: center;
}

section.landing-barro .title nav button {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 22px;
    color: #848484;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent; /* ✅ */
    border: none;
    line-height: 1;    /* evita que se vean altos por la fuente */
}


section.landing-barro .formatos-grid a {
    text-decoration: none;
}

section.landing-barro .formatos-grid p {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 600;
    text-decoration: none;
}



section.landing-barro .title nav button:hover {
    color: black;
}

section.landing-barro .title nav button.active  {
    color: black;
}



section.landing-barro .formatos-grid {
    display: grid;
    grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
    gap: 40px;
    justify-content: center; /* centra las columnas en el contenedor */
    margin: 32px 0 64px;;
}

section.landing-barro .formatos-grid img {
    width: 350px;
    height: auto;
    object-fit: cover; /* mantiene proporción y recorta si es necesario */
}
section.landing-barro .info {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    gap: 112px;
}
section.landing-barro .info h4 {
    margin-top: 4px;
    margin-bottom: 4px;
    cursor: pointer;
}
section.landing-barro hr {
    border: none;          /* quitamos el estilo por defecto */
    height: 3px;           /* grosor de la línea */
    background-color: #000; /* color negro */
    margin: 1em 0;         /* opcional, espacio arriba y abajo */
    width: 100%;
    margin-top: 4px;
    margin-bottom: 4px;
}

section.landing-barro .swiper-main .swiper-slide img {
    height: auto;
    
}




section.landing-barro .info h4 {
    position: relative;
    cursor: pointer;
    padding-left: 35px; /* un poco más para separar de la línea */
    margin: 10px 0;
    transition: color 0.3s;
}

section.landing-barro .info h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 22px; /* un poco más larga */
    background: black;
    border-radius: 6px 0 0 6px; /* borde izquierdo redondeado, derecho recto */
    transition: width 0.3s ease;
}

section.landing-barro .info h4.active::before {
    width: 30px; /* un poco más ancha al expandirse */
}

/* Contenedor de contenido */
section.landing-barro .container-info .content {
    display: flex;
    justify-content: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    padding-left: 10px;
}

section.landing-barro .container-info .content.active {
    max-height: 400px; /* ajusta según contenido */
    opacity: 1;
}


section.landing-barro .container-info .packing.content {
    display: flex;
    flex-direction: column;
    margin-left: 20%;
    margin-right: 20%;
}



section.landing-barro .mi-tabla {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

/* Estilos del encabezado */
section.landing-barro .mi-tabla thead th {
    padding: 8px;
    border: 1px solid #999;
    background-color: #666;
    color: #fff;
    text-align: center;
}

/* Estilos de las filas de subtítulo */
section.landing-barro .mi-tabla tbody tr.subtitulo {
    background-color: #ccc;
    font-weight: bold;
    text-align: left;
}

/* Estilos de las celdas del cuerpo */
section.landing-barro .mi-tabla tbody td {
    padding: 8px;
    border: 1px solid #999;
    text-align: center;
}




section.landing-barro .miniatura-container {
  position: relative; /* necesario para posicionar ::before dentro */
  overflow: hidden;
    height: 100%;
}

section.landing-barro .miniatura-container .play-button::before {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  z-index: 10;
  color: white;      
  font-size: 20px;        
  display: flex;       
  align-items: center;
  justify-content: center;
  pointer-events: none;   
}





@media (max-width: 1250px) {
    section.landing-barro .formatos-grid {

        display: grid;
        grid-template-columns: auto auto; /* columnas que se ajustan al contenido */
        gap: 0px;
        justify-content: center; /* centra las columnas en el contenedor */
        margin: 32px 0 64px;
    }
    section.landing-barro .container-info .packing.content {
        display: flex;
        flex-direction: column;
        margin-left: 5%;
        margin-right: 5%;
    }

}


@media (max-height: 767px) {


    section.landing-barro .formatos-grid {

        display: flex;
        flex-direction: column;
        align-items: center;

    }
    section.landing-barro .container-info .packing.content {
        display: flex;
        flex-direction: column;
        overflow-x: auto;   
        overflow-y: auto;   
        margin-left: 1%;
        margin-right: 1%;
    }

}



/* Seccion landing-barro fin */


/* Previsualizaciones con flechas (general) */

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.lightbox-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  border-radius: 5px;
}
.caption {
  color: #fff;
  margin-top: 15px;
  font-size: 18px;
  text-align: center;
  max-width: 80%;
}
.content span.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff !important;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  opacity: 1 !important;
  transition: opacity 0.3s ease;
}
.content span.close:hover {
    color: #333 !important;
}
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  border-radius: 5px;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  opacity: 0;
  text-shadow: 2px 3px 4px rgba(0, 0, 0, 0.5);
  visibility: hidden;
}





.prev:hover, .next:hover {
  transform: translateY(-50%) scale(1.05);
}
.prev { 
  left: 20px; 
}
.next { 
  right: 20px; 
}

/* Efecto de aparición al pasar el ratón sobre el contenedor */
.lightbox-container:hover .prev,
.lightbox-container:hover .next {
  opacity: 1;
  visibility: visible;
}

/* Asegurar que el contenedor de la imagen tenga el tamaño adecuado */
.lightbox-container img {
  width: auto;
  height: auto;
  max-width: calc(100% - 100px);
  max-height: 85vh;
  transition: transform 0.3s ease;
}

/* Efecto sutil en la imagen al mostrar flechas */
.lightbox-container:hover .lightbox-img {
  transform: scale(1.01);
}

/* Responsive */
@media (max-width: 768px) {
  .prev, .next {
    font-size: 25px;
    height: 50px;
    padding: 10px 5px;
    opacity: 1;
    visibility: visible;
  }
  
  .content span.close {
    top: 10px;
    right: 15px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-container img {
    max-width: calc(100% - 60px);
  }
  
  .prev { 
    left: 10px; 
  }
  .next { 
    right: 10px; 
  }
  
  /* En móvil no necesitamos el efecto hover */
  .lightbox-container:hover .lightbox-img {
    transform: none;
  }
}

/* Animación de entrada para el lightbox */
@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox {
  animation: lightboxFadeIn 0.3s ease-out;
}

/* Animación de entrada para las flechas */
@keyframes arrowFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.lightbox-container:hover .prev,
.lightbox-container:hover .next {
  animation: arrowFadeIn 0.3s ease-out;
}
/* Previsualizaciones con flechas (general) fin */


.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-family: serif;
    font-size: 70px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.45);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    user-select: none;
    z-index: 10;
    opacity: 0.9;
    transform: translateY(-50%);
    transition: color 0.25s ease, transform 0.25s ease;
}

/* Hover: realce elegante */
.slider-prev:hover,
.slider-next:hover {
    color: rgba(0, 0, 0, 0.85);
    transform: translateY(-50%) scale(1.05);
}

/* Posición izquierda/derecha */
.slider-prev {
    left: 10px;
}
.slider-next {
    right: 10px;
}








/* Flechas */ 