
@font-face {
    font-family: 'TradeGothicLT';
    src: url('../fonts/TradeGothic/TradeGothicLT-Bold.woff2') format('woff2'),
        url('../fonts/TradeGothic/TradeGothicLT-Bold.woff') format('woff'),
        url('../fonts/TradeGothic/TradeGothicLT-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TradeGothicLT';
    src: url('../fonts/TradeGothic/TradeGothicLT.woff2') format('woff2'),
        url('../fonts/TradeGothic/TradeGothicLT.woff') format('woff'),
        url('../fonts/TradeGothic/TradeGothicLT.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TradeGothicLT';
    src: url('../fonts/TradeGothic/TradeGothicLT-CondEighteen.woff2') format('woff2'),
        url('../fonts/TradeGothic/TradeGothicLT-CondEighteen.woff') format('woff'),
        url('../fonts/TradeGothic/TradeGothicLT-CondEighteen.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}





body {
    --ff-roboto: 'Roboto', 'TradeGothicLT', sans-serif;
    --ff-tradeGothicLT:  'TradeGothicLT', 'Roboto', sans-serif;
    --color-sorra: #EFEAE4;
    --color-gris: #8F8F8F;
    --color-oliva: #9D9F90;
    --color-gris-suau: #F0EFEB;
    --color-blau-teyder: #013E52;
    --color-negro: #000;
    --color-negro-1A: #1A1A14;

    font-family: var(--ff-roboto);
}

:root {
    --active-color: #C58A79;
}

button {
    font-family: var(--ff-roboto);
}

#cms main {
    /* h2 {
        font-size: 55px;
    } */
    /* h2 {
        font-weight: 300;
    } */
}

.text-upper {
    text-transform: uppercase;
}

/* HEADER */
header#header {
    @media (min-width: 1025px) {
        .elementor-widget-pksearch {
            margin: 0 auto;
        }
    }
    @media(max-width: 1024px) {
        & {
            position: fixed !important;
            top: 0;
            width: 100%;
            z-index: 9;
        }
    }
    #logo-teyder {
        margin-bottom: 0;
    }
    .icon-header-like {
        svg {
            color: transparent;
            stroke: #000;
            width: 29px;
            height: 29px;
        }
    }
    .mi-cuenta-header {
        margin-bottom: 0px;
        width: auto;
        display: flex;
        align-items: center;

        .elementor-image img {
            width: 24px;
            height: 24px;
        }
    }
    .cart-header .pk-cart > div {
        flex-direction: initial !important;
        svg {
            color: #000;
            margin-top: 1px;
            width: 29px;
            height: 29px;
        }
    }

    .header-menu-category-col img {
        aspect-ratio: 267 / 200;
        object-fit: cover;
        object-position: center;
    }
}


.logos-footer .elementor-widget-wrap {

    gap: 80px;
    
    > div {
        width: auto;
    }

    #logo-teyder-footer {
        margin-bottom: 0;
    }
    
    > div:last-child {
        align-self: flex-end;
    }
}

#footer-copy-legal .elementor-widget-wrap {
    flex-direction: row;
    justify-content: space-between;

    .elementor-widget-text-editor {
        flex: 1 1 0;
    }
    #footer-legal .elementor-widget-container p {

    }
}

.jGrowl .jGrowl-notification {
    font-family: var(--ff-roboto) !important;

    &.error {
        background-color: #C58A79 !important;
    }
    &.success {
        background-color: var(--color-negro) !important;
    }
    &.info {
        background-color: #3B5F6E !important;
    }
}

/* Cookie */
.pk-fixed-bottom {
    flex-direction: row-reverse;
    width: auto;

    .pk-cookie-toggler {
        position: relative;
    }
    .pk-scroll-totop {
        position: relative;
    }
}


/* HOME */
#index {
    #header {
        position: relative;
        z-index: 99;
        background-color: transparent;

        .mobile-header-wrapper,
        .desktop-header-wrapper {
            .header-sticky.header-transparent {
                background-color: transparent;
                box-shadow: none;

                .pk-search-widget fieldset button,
                .pk-search-widget input[type="search"],
                .header-item-counter,
                .cart-header svg,
                .pk-menu-icon svg,
                .pk-nav-link {
                    color: #fff;
                }
                .icon-header-like svg {
                    stroke: #fff;
                }

                .logo-teyder img:not(.logo-teyder-white),
                .mi-cuenta-header img:not(.icon-account-white) {
                    display: none;
                }
            }
            .logo-teyder-white {
                max-width: 165px;
            }
            .header-sticky:not(.header-transparent) {
                .logo-teyder-white,
                .icon-account-white {display: none;}
            }
        }
    }
}
.category-home h4 {
    margin: 0;
    font-family:  var(--ff-roboto);

    a {
        font-size: 17px;
    }
}

.title-slider-home {
    font-family:  var(--ff-tradeGothicLT) !important;
}
.btn-slider-home {
    font-family:  var(--ff-roboto) !important;
}

.categorias-populares-home {

    &.two-cols img {
        aspect-ratio: 760 / 508;
        object-fit: cover;
        width: 100%;
    }
    &.three-cols img {
        aspect-ratio: 500 / 430;
        object-fit: cover;
    }
    &.four-cols img {
        aspect-ratio: 315 / 430;
        object-fit: cover;
        width: 100%;
    }
    /* &.four-cols .col-dormitorio-home img {
        aspect-ratio: 546 / 430;
    }

    .col-dormitorio-home {
        min-width: 550px;
    } */
}

#col-cta-home {
    .elementor-widget-wrap {
        max-width: 600px;
    }
}

.widget-blog {
    .pk-ce-widget.view_grid.pk-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;

        @media (max-width: 800px) {
            & {
                grid-template-columns: repeat(1, 1fr);
            }
        }
    }
}

/* POPUP FAVORITOS */
.pk-el-products {
    header {
        display: none;
    }

    .pk-aside-tabs .pktabswrap > ul {
        border-bottom: 0;
        & li a[data-pktabname*="el-favorites"] {
            border: 0;
            cursor: default;
            font-family: var(--ff-tradeGothicLT);
            font-weight: 300;
            font-size: 55px;
            letter-spacing: 0;
            text-transform: none;
        }
    }

    .tab-pane .products {
        grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
    }
}



/* PAGINA CATEGORIA */
#category h1.h1.category-title {
    color: var(--color-blau-teyder);
    font-weight: bold;
    text-transform: uppercase;
}
#products .product_list_top #js-product-list-top {
    margin-bottom: 36px;

    .pk-filter-button {
        margin-right: auto;
        background-color: transparent;
        color: #000;
        border: 0;
        display: flex;
        align-items: center;

        svg {
            margin-right: 15px;
            margin-bottom: 4px;
            order: -1;
        }
    }
}

#products .product_list_top {

    .product-description-short {
        font-family: var(--ff-roboto);
    }
}


/* PAGINA PROFESIONALES */
#ventajas {

    .elementor-row {
        gap: 20px;
    }

    .ventajas-col {
        /* line-break: anywhere; */
        > .elementor-column-wrap {
            margin: 0;
        }
    
        .elementor-widget-wrap {
            flex-direction: column;
    
            @media (max-width: 1300px) {
                h3 {
                    font-size: 18px;
                }
            }
    
            .ventajas-text {
                margin-top: auto !important;
                p {
                    margin-bottom: 0;
                    line-break: auto;
                    font-size: 12px !important;
                }
            }
        }

        @media(max-width: 1024px) {
            & {
                width: 31%;
            }
        }
        @media (max-width: 766px) {
            & {
                width: 100%;
            }
        }
    }
}

.nuestros-servicios-pro {
    .elementor-column > .elementor-column-wrap {
        padding: 15px !important;
        margin: 10px;
        min-height: 350px;
    }
}

.carrusel-clientes {
    .slick-track {
        display: flex;

        .slick-slide {
            margin: auto 0;
        }
    }
}
.col-info-project {
    .info-projecte-title {
        margin-bottom: 0;
        p {
            margin-bottom: 0;
        }
    }

    p {
        margin-top: 0;
    }
}

/* Boscopro */
.boscopro-tabs {
    display: none;
    justify-content: space-around;
    background: var(--color-sorra);
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 2;

    @media (max-width: 768px) {
        & {display: flex;}
    }
    
    .tab {
        cursor: pointer;
        padding: 10px;
        /* font-weight: bold; */
        border-bottom: 2px solid transparent;

        &.active {
            border-bottom: 3px solid var(--color-negro);
            font-weight: bold;

            &.bronze { border-color: #BC8E5F; }
            &.silver { border-color: #C5D2D8; }
            &.gold { border-color: #E6B80B; }
            &.platinum { border-color: #C0C0C0; }

        }
    }
}
#tabla-comparativa {
    width: 100%;
    border-collapse: collapse;
    /* background: #fff; */
    /* background: var(--color-oliva); */
    
    th, td {
        border: 1px solid #ddd;
        padding: 15px;
        text-align: center;
    }
    thead {
        @media (min-width: 768px) {
            th {border: 0;}
        }        
        th:not(.empty) {
            background-color: var(--color-sorra);
        }
        /* font-weight: bold; */
        position: sticky;
        top: 0;
        z-index: 2;
    }
    tr td:first-child {
        text-align: left;
    }
    tr.row-title {
        font-weight: bold;
        border: 1px solid #ddd;
        z-index: 1;
        position: sticky;
        top: 0;
        background-color: #fff;
        td { border: 0; }
    }
    /* .category {
        background-color: #f4f4f4;
        font-weight: bold;
        text-align: left;
    } */
    .badge {
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: 400;
        color: white;
        display: none;

        &.bronze { background-color: #BC8E5F; }
        &.silver { background-color: #C5D2D8; }
        &.gold { background-color: #E6B80B; }
        &.platinum { background-color: #C0C0C0; }
    }

    .checkmark {
        color: green;
        font-size: 20px;
        font-weight: bold;
    }
    .cross {
        color: gray;
        font-size: 20px;
        font-weight: bold;
    }
    
    @media (max-width: 768px) {
        thead {
            position: relative;
        }
        td, th {
            display: none;

            &.active {

                display: table-cell;
            }
            &:first-child {
                display: table-cell;
            }
        }
        tr.row-title {
            position: relative;
        }
    }

}

/* PROYECTOS */
.filters-proyectos {

    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;

    .filter-proyecto {
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        color: #909090;
        padding: 5px 15px 2px;
        transition: color 0.3s ease-in-out;
        line-height: 1;
        text-transform: uppercase;
        
        &.active {
            color: var(--color-negro);
            background: var(--color-gris-suau);
        }
        &:hover {
            color: var(--color-negro);
        }
    }

    @media (max-width: 600px) {
        & {
            gap: 10px;
        }
        .filter-proyecto {
            padding: 5px 10px 2px;
        }
    }

}
#proyectos-bosco .elementor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    width: 100%;

    .elementor-element {
        width: 100%;

        img {
            aspect-ratio: 592 / 425;
            object-fit: cover;
        }
        .widget-image-caption {
            margin-top: 14px;
        }
    }

    @media (max-width: 600px) {
        & {
            gap: 5px;
        }

        .elementor-element .widget-image-caption {
            margin-top: 5px;
            margin-bottom: 5px;
            font-size: 14px;
            line-height: 1;
        }
    }
}
.about-nature-meets {
    figure.slick-slide-inner figcaption.elementor-image-carousel-caption {
        
        margin-top: 10px;
        @media (max-width: 600px) {
            & {font-size: 13px !important;}
        }
    }
}


/* BREADCUMS */
.breadcrumb ol li {
    /* text-transform: lowercase; */
    color: #53534C;
    font-size: 12px;
}



/* PRODUCTOS */
#product-images-cont {
    &.thumb-vertical {
        flex-direction: column !important;
        
        .image-grid-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;

            .thumb-container{
                cursor: pointer;
                position: relative;
                
                &.hidden-image {display: none;}
            }
        }
    
    }
}
#product #ficha-producto h1 {
    margin: 0;
}

#product #ficha-producto .short-desc {
    font-size: 14px;
    color: var(--color-negro);
    margin: 0;
}
#product .product-variants > .product-variants-item select {
    width: 100%;
}

.product-flags {
    position: relative;
    display: flex;
    top: 0;
    right: 0;
    gap: 10px;

    .product-flag {
        padding: 7px 7px 5px;
        margin-bottom: 6px;
        font-weight: 500;
        font-size: 11px;
        background-color: var(--color-sorra);
        color: var(--color-negro-1A);
    }
}
.product-brand {
    margin-bottom: 15px;
}
#product h2.h2.product-category {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 1.3rem;
    color: var(--color-negro);
}

#product .product-information {
    h2.h2.product-category {
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    .short-desc {
        color: var(--color-negro);
        font-size: 14px;
        /* max-width: 500px; */
        padding-right: 30px;
        line-height: normal;
        margin-bottom: 1rem;
    }

    .product-reference-top {
        color: var(--color-negro);
        font-size: 11px;
        margin-bottom: 2rem;
    }
}

#product .product-flags-btns {
    margin-bottom: 16px;

    .icon-button span{
        display: none;
    }
}
#product .productButtons, 
#product .product-additional-info > * {
    margin-top: 0;
}

#product .product-additional-info .product-comments-additional-info {

    margin: 0 0 16px 0;

    .comments-note > span,
    .additional-links {
        display: none;
    }

    #productReviews {
        flex: 1;

        .comments-note {
            margin-bottom: 0;
        }

        #productNumReviews {
            .avg {
                margin-right: 10px;
            }
        }
    }

    #productEcological {
        flex: 1;

        .eco-rating {
        }
        
        .icons {
            display: inline-flex;
            margin-right: 10px;
        }
        
        .leaf-icon {
            font-size: 1.5rem;
            margin-right: 5px;
            cursor: default;
        }
        
        /* Estil del text "Nota ecològica" */
        .eco-text {
            text-decoration: underline;
            /* border-bottom: 1px solid var(--color-negro); */
            cursor: pointer;
            position: relative;
        }
        
        /* Tooltip amb HTML dins de la classe tooltip-content */
        .tooltip-content {
            display: none;
            position: absolute;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            color: #fff;
            padding: 10px;
            border-radius: 5px;
            width: max-content;
            z-index: 1;
            white-space: nowrap;
            text-align: left;
            font-size: 0.9rem;
        }
        
        .tooltip-content a {
            color: #fff;
            text-decoration: underline;
        }
        
        /* Fletxa del tooltip */
        .tooltip-content::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 50%;
            transform: translateX(-50%);
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
        }
        
        /* Mostrar el tooltip quan es passa per sobre del text "Nota ecològica" */
        .eco-text:hover .tooltip-content {
            display: block;
        }
    }
}


#product .product-actions {

    .control-label {
        display: none;
    }

    .product-variants {
        display: flex;
        margin-bottom: 34px;

        .product-variants-item {
            margin-bottom: 0;
            
            ul li {

                span {
                    margin: 0;border: 1px solid var(--color-gris-suau) !important;
                }
    
                & input:checked + span {
                    border-color: var(--color-negro) !important;
                }
            }
        }

        /* .product-variants-item ul li input:checked + span {
            border-color: var(--color-negro) !important;
            margin: 0;
        } */
    
        #product-availability-custom {
            font-size: 80%;
            text-transform: uppercase;
            
            svg {max-height: 15px;}
        
            &.available svg {fill: #039000; }
            &.last_remaining_items svg {fill: #ffb300; }
            &.not-available svg {fill: #A80000; }
        }
    }
}

.combination-thumbnails {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.combination-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.combination-thumbnail:hover {
    opacity: 0.7;
}


#product .product-info-section {
    padding-top: 0;
    position: sticky;
    top: 10px;

    .product-add-to-cart {
        margin-bottom: 15px;
    
        .add {
            width: 100%;
    
            .add-to-cart {
                font-size: 12px;
                margin-left: 20px;
                width: 100%;
                display: flex;
                justify-content: center;
            }
        }
        /* .qty {
            .input-group-btn-vertical {
                display: flex;
            }
        } */
    }
    
}
#product #product-availability {
    display: none;
}

.delivery-estimate {
    margin-bottom: 30px;

    span {
        margin-left: 12px;
        font-size: 12px;
    }
}

#product .tabs-container {
    background-color: transparent;
    border: 1px solid var(--color-gris-suau);
    margin-top: 135px;

    .nav-tabs {
        display: none;
        padding-bottom: 3.75rem;
    }

    .tab-pane {padding-top: 0;}

    @media(max-width: 1024px) {
        & {
            padding: 50px;
        }
    }
}

#product .section-product-banner {

    &.con-montaje {
        display: none;
    }
    .elementor-container.elementor-column-gap-wide { 
        margin: 0;
        width: 100%;

        & > div {
            gap: 30px;
        }
        @media(max-width: 1024px) {

            & > div {
                gap: 10px;

            }
        }
    }

    .col-banner-last-element-bottom > div > div {
        flex-direction: column;
    }

    .title-product-banner > div {
        max-width: 160px;
    }
    .text-product-banner > div {
        max-width: 220px;
    }

    .tiempo-montaje {
        margin-top: auto;

        .elementor-container {
            margin: 0;

            .elementor-column {
                width: auto;
            }
        }
        .tiempo-montaje-title {
            margin: 0;
        }

        p {
            margin: 0;
        }
    }
    .caracteristicas {

        .item {
            display: flex;
            align-items: center;
            /* margin: 8px 0; */

            img {
                margin-right: 10px;
            } 
            span {
                line-height: 1;
                margin-bottom: -2px;
            }
        }
        
        /* .item img {
            width: 20px;
            height: 20px;
            margin-right: 10px;
        } */
    }
    
}
#product #main .product-categories {
    margin-top: 120px;
    padding: 0 !important;

    .module-title {
        font-size: 45px;
        font-family: var(--ff-tradeGothicLT);
        font-weight: bold;
        margin-bottom: 25px;
        text-align: left;
        letter-spacing: normal;
        text-transform: uppercase;

        span {
            padding: 0;
            border-bottom: 0;
        }
    }

    /* article {
        margin: 0 !important;
    } */
}

.info-section {

    margin-bottom: 20px;

    .info-item {
        border-bottom: 1px solid var(--color-gris-suau);

      .info-header {
        /* font-size: 12px; */
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 8px;

        &::after {
            color: #9B9B9B;
            content: '+';
            font-size: 22px;
            transition: transform 0.3s ease;
          }
      }
    

      &.active {
        .info-header[aria-expanded="true"]::after,
        .info-header::after {
            content: '-';
        }
        .info-content {
            display: block;
        }
      }

    }
    .info-link {
        font-size: 12px;
        text-decoration: none;
        display: block;
        padding: 15px 0;
    }

    details summary {
        font-size: 12px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    details .info-content{
        display: inherit !important;
    }

    summary::after {
        color: #9B9B9B;
        content: '+';
        font-size: 22px;
        transition: transform 0.3s ease;
    }

    details[open] summary::after {
        content: '-';
    }

    .info-content {
        /* padding-top: 10px; */
        /* padding: 10px; */
        display: none;

        p {
            line-height: 1.2;
            font-size: 12px;
            margin-bottom: 10px;
        }
    }
}

#product .same-category-products {
    h3 {
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
        margin-top: 40px;
        margin-bottom: 16px;
        font-family: var(--ff-roboto);
    }
    h4, .price {
        font-size: 14px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;

        @media (max-width: 1300px) {
            & {
                grid-template-columns: repeat(2, 1fr);
            }
        }

    }

    .image-same-prod {
        border: 1px solid var(--color-gris-suau);
        text-align: center;
        margin-bottom: 12px;
        /* aspect-ratio: 156/199; */
        img {
            aspect-ratio: 156 / 199;
            max-height: 200px;
            object-fit: contain;
        }
    }

    .short-desc.product-description-short {
        font-size: 12px;
    }

    .product-description {
        padding: 0 4px 0 6px;

        .short-description {
            line-clamp: 2;
        }
    }
}

#tab-content .product-description {
    display: flex;
    gap: 80px; /* Espai entre les columnes */
    align-items: flex-start; /* Assegura que els continguts estiguin alineats a la part superior */

    .col-product-description {
        flex: 1 0 60%;
    }

    h2 {
        font-size: 24px;
        font-family: var(--ff-roboto);
        line-height: 1;
        font-weight: 500;
        margin: 0 0 20px 0;
    }
    p {
        margin-bottom: 40px;
    }

    .col-product-description-img {
        /* flex: 34%; */

        img {
            max-width: 100%; /* Assegura que la imatge no surti del div */
            height: auto; /* Manté la proporció de la imatge */
        }
    }

    #view-3d-btn {
        background-color: transparent;
        color: var(--color-negro);
        border-color: #ccc;
        display: none;
        
        &:hover {
            background-color: var(--color-negro);
            border-color: var(--color-negro);
            color: var(--color-sorra);
        }
    }

}


#product .glide .product-miniature,
/* .elementor-widget-pkproducts .product-miniature { */
.product-miniature {
    padding: 24px;
    border: 1px solid var(--color-gris-suau);

    .thumbnail-container {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .product-desc-wrap {
        
        height: 100%;

        .product-description {
            height: 100%;
            display: flex;
            flex-direction: column;

            .short-desc.product-description-short.shown {
                margin-top: auto;
                display: initial;
                color: var(--color-negro);
                opacity: .5;
                margin-bottom: 0;
                font-size: 11px;
                /* line-height: 1; */
            }
        }
    }
}


/* Oculta el checkbox */
.modal-toggle {
    display: none;
}

/* Estils bàsics del modal */
#blockcart-modal.pk-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    display: none;
    outline: 0;
    -webkit-overflow-scrolling: touch;
    max-width: 90%;
    max-height: 90%;
    width: 1000px;
    height: fit-content;
    background-color: #fff;
    padding: 0 !important;

    
    .modal-header {
        margin-bottom: 40px;

        .modal-title {
            font-size: 32px;
            line-height: 1;
            margin-right: 40px;
        }
        .close-modal {
            top: 30px;
        }
    }

    .product-card {
        display: flex;
        flex-direction: column;

        picture {
            width: 100%;
            max-width: 400px;
            margin: auto;
            order: 1;
        }
        .product-info {
            .product-name {
                font-size: 24px;
                color: #000;
                margin-bottom: 0;
            }
            .price, .product-properties {
                display: none;
            }
        }
    }
    .cart-content {
        width: 100%;
        max-width: 370px;

        .font-weight-bold.m-0 {
            font-size: 20px;
        }

        .media-list {
            text-transform: uppercase;
            margin-bottom: 20px;

            li {
                padding: 12px 0;

                .label, .value {
                    font-size: 14px;
                    color: #000;
                    font-weight: normal;
                }

                &.product-total {
                    .label, .value {
                        font-size: 16px;
                        font-weight: bold;
                    }
                }

                &:not(:last-child) {
                    border-bottom-style: solid !important;
                }
            }
        }

        .cart-actions {
            .btn {
                font-size: 13px;
                font-weight: normal;
                width: 100%;
                padding: 15px 26px;
            }
        }
    }

}
.modal {
    display: none;
    position: fixed;
    /* position: relative; */
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);

    .close-modal {
        position: absolute;
        top: 15px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        z-index: 9;

        .close-icon {
            position: relative;
            display: inline-block;
            width: 20px;
            height: 20px;
        
            &::before,
            &::after {
                content: '';
                position: absolute;
                top: 9px;
                left: 0;
                width: 20px;
                height: 2px;
                background-color: black;
            }
            
            &::before {
                transform: rotate(45deg);
            }
            
            &::after {
                transform: rotate(-45deg);
            }
        }

    }

    .modal-content {
        background-color: #fff;
        padding: 20px;    
        width: auto;
        max-width: 90vw;
        margin: auto;
        /* max-height: 90vh; */
        /* border-radius: 8px; */
        position: relative;

        #modal-iframe-container iframe {
            width: 100% !important;
            height: 80vh !important;
        }
    }
}


/* Mostrar el modal quan el checkbox està seleccionat */
.modal-toggle:checked + .modal {
    display: flex;
}

/* Botó de tancar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    color: #000;
    cursor: pointer;
    text-decoration: none;
}

#modal-3d {
    .modal-content {
        display: flex;
        padding: 0;

        .close-modal {
            top: 25px;
            right: 25px;
        }

        .modal-3d-viewer-wrapper {
            flex: 3;
            display: flex;
            align-items: center;
            justify-content: center;

            #model-3d-viewer {
                width: 100%;
                height: 87dvh;

                .custom-ar-button.btn-3d-view {
                    position: absolute;
                    width: 100%;
                    max-width: 300px;                    
                    bottom: 16px;
                    left: 50%;
                    transform: translateX(-50%);
                    cursor: pointer;
                }
                  
            }
          }
          
          .modal-qr-wrapper {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            text-align: center;
            background-color: var(--color-sorra);

            #qr-code-container {
              margin-top: 0.5rem;
            }
            h3 {
                margin-bottom: 0;
            }
          }
          
    }
}
button.btn-3d-view {
    max-width: 140px;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    /* background-color: #EFEAE4; */
    background-color: #ffffff80;
    border: 1px solid var(--color-sorra);
    color: #1A1A14;
    padding: 17px 25px;
    /* margin-left: auto; */

    img {
        margin-right: 10px;
        margin-bottom: -4px;
        width: 16px;
    }

    &.desktop {
        position: absolute;
        bottom: 0;
        left: 0;
    }
    &.mobile {
        display: none;
    }
}


.historia-titulo-ano {
    position: relative;
    margin-top: 10px !important;

    h3 {
        padding-top: 15px !important;
        font-family: var(--ff-roboto);
        font-size: 24px;
        font-weight: bold;
    }

    p {
        padding-left: 0 !important;
    }

    &::before {
        content: '';
        position: absolute;
        z-index: 2;
        top: -10px;
        left: 10px;
        width: 16px;
        height: 16px;
        border-radius: 8px;
        border: 1px solid #000;
        background: #fff;
    }

    &::after {
        content: '';
        position: absolute;
        z-index: 1;
        top: -2px;
        left: 20px;
        width: 100vw;
        height: 1px;
        background: #000;
        /* transform: translateY(-50%); */
    }
}

/* Menu mobil */
aside.pk-aside {
    padding: 40px 30px;
    header h3 {
        font-size: 40px !important;
        font-weight: 400;
        font-family: var(--ff-roboto);
    }

    .sin-desplegable {
        &.pk-nav-li {

        }
        .pk-dropdown-toggler {
            display: none;
        }

        &.first-element-menu {
            padding-top: 40px;
            border-top: 1px solid #D7D6D2;
        }
        &.item-space-bottom {
            padding-bottom: 40px;
        }
        
    }
}

aside.pk-aside.pk-el-cart {
    header {
        margin-bottom: 30px;

        h3 {
            font-size: 32px !important;
            line-height: 1;
        }
    }
    .shopping_cart {
        article.mini-product {
            border: 0;
            border-top: 1px solid #D7D6D2;
            padding: 20px 0 0;

            .product-title {
                font-size: 17px;
                color: #000;
                margin-top: 0;
            }
        }
    }
}

/* carrito */
.payment-methods-img {
    display: none;
}
/* ocultamos precio transporte */
#checkout #cart-subtotal-shipping,
.cart-total .flex-container:first-child {
    display: none !important;
}
#cart {
    #main .page-header h1 {
        font-size: 55px;
        font-weight: bolder;
        text-align: center;
        margin: 100px 0 60px;
        color: var(--color-blau-teyder);
        /* text-transform: initial; */
        letter-spacing: 0;
        line-height: 1;
    }
    .cart-items, .cart-summary {
        border: 1px solid var(--color-sorra);
        padding: 20px;

        .label {
            font-size: 17px;
            color: #000;
        }
    }

    .cart-items {
        .cart-item {
            padding: 16px 0;

            &.header {
                
                h4 {
                    font-family: var(--ff-roboto);
                    font-size: 14px;
                    text-transform: uppercase;
                    margin: 0;
                    font-weight: normal;
                }
            }

            .product-price strong {
                font-weight: 500;
            }

            .product-line-grid-left {
                width: 100%;
                align-items: center;
                max-width: 300px;
                /* min-width: 250px; */
                flex: 2 1 auto;
            }
            .product-line-grid-otros-items {
                flex: 1 1 auto;
                .qty {
                    input {
                        width: 50px;
                        height: 48px;
                        padding: 16px;
                        text-align: center;
                    }
                    button {
                        height: 50%;
                    }
                }
                .price {
                    flex: auto;
                    font-size: 16px;
                }
            }

            .product-image img {
                max-width: 78px;
                margin-right: 16px;
            }

            @media (max-width: 800px) {
                &.header {display: none;}

                .product-line-grid {
                    display: flex;
                    flex-wrap: wrap;
                
                    /* & > div {
                        display: flex;
                        flex: 1;
                    } */
                    
                    .product-line-grid-left {
                        flex: 2;
                    }
                    
                    .product-line-grid-otros-items {
                        flex: 50%; 
                    }
                    
                    .product-line-grid-body {
                        flex: 1;
                        padding: 0;
                        margin: 0; 
                    }
                }
                


                /* .product-line-grid {
                    display: grid;
                    grid-template-columns: 2fr 1fr;
                    gap: 10px;
                }
                
                .product-line-grid-left {
                    grid-column: 1 / 2;
                    display: flex;
                    flex-direction: column;
                }
                
                .product-line-grid-body {
                    grid-column: 2 / 3;
                }
                
                .product-line-grid-otros-items {
                    grid-column: span 2;
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                }
                
                .product-line-grid-otros-items > * {
                    width: 50%;
                } */
            }
        }
    }

    .cart-summary {
        .cart-summary-line {
            margin: 0;
            padding: 12px 0;

            .label {
                font-size: 14px;
            }
        }
        #cart-subtotal-products .value {
            font-weight: bold;
        }
        #cart-subtotal-shipping {
            display: none;
            border-top: 1px solid var(--color-sorra);
        }
        .cart-total {
            font-size: 20px;
            font-weight: bold;
            
            .label {
                font-size: 16px;
                font-weight: bold;
            }
        }
        .checkout.cart-detailed-actions.card-block a.button.btn.btn-big {
            width: 100%;
            font-size: 13px;
            padding-top: 15px;
        }
    }
}

/* CHECKOUT */
#checkout {
    .breadcrumb {
        display: none;
    }
    #wrapper h1.category-title {
        color: var(--color-blau-teyder);
        font-weight: bold;
        text-transform: uppercase;
        font-size: 55px;
        line-height: 1;
        margin-top: 100px;
        margin-bottom: 50px;
        text-align: center;
        border: 0;
        letter-spacing: normal;
    }
    form#form_ets_onepagecheckout {
        background: #fff;
        padding: 0;
        box-shadow: none;
        margin-bottom: 0;
        font-family: var(--ff-roboto);
        #main {margin-bottom: 0;}

        .block-onepagecheckout .title-heading, .ets_pr_gift_products .card-block {
            font-family: var(--ff-roboto);
            font-weight: normal;
        }
        label {
            font-family: var(--ff-roboto);
            font-weight: 400;
            color: #000;
            /* font-size: 14px; */
        }

        .block-customer {
            margin-top: 10px;
            padding-bottom: 30px;
        
            .customer-information {
                display: flex; 
                padding: 0 10px;
                margin-top: -60px;
                justify-content: flex-end;
        
                ul.type-checkout-options {
                    display: flex;
                    margin-bottom: 70px;

                    li {
                        margin: 0;
        
                        label {
                            display: flex;
                            align-items: center;
                            height: 100%;
                            font-size: 14px;
                            line-height: 1.4;
                            border: 1px solid var(--color-sorra);
                            padding: 20px 25px;
                            cursor: pointer;
                            transition: background-color 0.3s ease, color 0.3s ease;
        
                            span {
                                text-transform: uppercase;
                                font-size: 14px;
                                font-weight: bold;
                            }
                        }
                        label:has(input[type="radio"]:checked), label:hover {
                            background-color: var(--color-sorra);
                        }
                        label:has(input[type="radio"]:checked) {
                            text-decoration: underline;
                        }
                    }
                }
                & + .create.sugguest {
                    p {
                        text-align-last: left;
                        font-size: 14px;
                    }
                }

                @media (max-width: 1439px) {
                    & {
                        margin-top: 50px;
                        justify-content: flex-start;

                        ul.type-checkout-options {
                            margin-bottom: 30px;
                        }
                    }
                }
            }
            #customer-login {
                .login.sugguest {display: none !important;}

                .type-checkout-option.create {
                    font-style: 10px;

                    #captcha-box {margin-bottom: 0;}

                    .form_desc {display: none;}
                }
            }
        }

        .onepagecheckout-right {
            position: sticky;
            top: 110px;
            
            @media (max-width: 991px) {
                & {
                    position: relative;
                    top: 0;
                    margin-bottom: 60px;
                }
            }

            /* @media (max-width: 600px) {
                & {
                    margin-right: 0;
                    padding-right: 0;
                }
            } */
        }
        
        .block-onepagecheckout {
            border: 0 !important;
            border-bottom: 1px solid var(--color-gris) !important;
            border-radius: 0;

            .title-heading {
                font-size: 20px;
                text-transform: uppercase;
                .ets_icon_svg {
                    display: none;
                }

            }

            .form-group > label.form-control-label {
                display: none;
            }
            .ets_checkinput {
                font-size: 10px;
            }
            
        }
        .block-onepagecheckout.block-address {
            padding-bottom: 40px;

            div#delivery-addresses .col-md-6,
            div#invoice-addresses .col-md-6 {
                padding-left: 10px;
            }
            
            #delivery-addresses {
                padding: 0 5px;
                font-size: 14px;
                /* text-transform: uppercase;
                font-weight: bold; */
                .shipping_address_customer_type_invoice, .dni {
                    /* display: none; */
                }

                .shipping_address {overflow: hidden;}

                .quieres_factura {
                    margin-top: 30px;

                    /* .no_invoice_address {
                        margin-top: 40px;
                        margin-bottom: 0;
                        text-transform: none;
                        font-size: 14px;
                        font-style: normal;
                    } */
                    .no_invoice_address {
                        display: none !important;
                    }

                    .ets_checkinput {
                        font-size: 18px;
                    }
                }
            }
            #invoice-addresses {
                padding: 0 5px;
                .invoice_address {
                    overflow: hidden;
                }

                > .form-group .opc_field_right {
                    width: 100%;
                }
            }
            #delivery-addresses, 
            #invoice-addresses {

                .yes_invoice_address {
                    font-family: var(--ff-roboto);
                    text-transform: uppercase;
                    font-weight: normal;
                }
            }
        }
        .block-onepagecheckout.block-payment {

            section#checkout-payment-step {
                margin-bottom: 15px;
            }
        }
        .block-onepagecheckout.block-comment {
            div#delivery {
                margin-bottom: 25px;
            }
        }

        .onepagecheckout-footer {
            #conditions-to-approve {
                label {font-size: 10px;}
            }
            .checkout {
                padding-bottom: 0;
                button {
                    width: 100%;
                }
            }
            
            @media (max-width: 991px) {

                #conditions-to-approve {
                    margin-bottom: 0;
                }
            }
        }

        .block-onepagecheckout .title-heading, 
        .ets_pr_gift_products .card-block, 
        #invoice-addresses .title, 
        #delivery-addresses .title, 
        .block-onepagecheckout.block-displayReassurance #block-reassurance > ul > li:not(:last-child), 
        .block-onepagecheckout ul.cart-items {
            border-bottom: 1px solid var(--color-gris) !important;
        }
        .block-onepagecheckout .title-heading {
            border-bottom: 0 !important;
        }

        .block-onepagecheckout.block-shopping-cart {
            border: 1px solid var(--color-gris) !important;
            margin-bottom: 0;
            padding: 15px;

            .card.cart-container {
                margin-right: 0;

                .cart-items {
                    padding-bottom: 0;
        
                    .cart-item {
                        padding: 5px 0;
        
                        .product-line-grid {
                            .product-line-grid-left {
                                max-width: 60px;
                                .product-image {
                                    margin-bottom: 0;
                                    margin-right: 10px;

                                    @media (max-width: 600px) {
                                        & {
                                            margin-right: 0;
                                            padding-right: 0;
                                        }
                                    }

                                }
                            }
                            .product-line-grid-body {
                                display: flex;
                                align-items: center;
                                width: auto;
            
                                .product_info_name {
                                    margin-bottom: 0;
                                    a {
                                        font-size: 17px;
                                        font-weight: 500;
                                        margin-bottom: 0;
                                    }
                                }
                                .attribute {
                                    display: none;
                                }
                            }
                            .product-line-actions {
                                width: auto;
                                flex: auto;
                                justify-content: space-between;

                                @media (max-width: 600px) {
                                    & {
                                        width: 100%;
                                    }
                                }
            
                                .form_info_price_mobile {
                                    display: flex;
                                    width: 100%;
                                }
            
                                .row {
                                    margin: 0;
                                    display: flex;
                                    justify-content: space-between;
                                }
                                .qty {
                                    max-width: 50px;
            
                                    .js-cart-line-product-quantity {
                                        height: 36px;
                                        border: 0 !important;
                                        font-size: 14px;
                                        font-weight: normal;
                                        padding-left: 20px;
                                        padding-right: 0;
                                    }
                                }
                                .form_total_price {
                                    margin-left: auto;
                                }
                            }
                            .ets_remove_cart {
                                padding-left: 10px;
                                
                                @media (max-width: 600px) {
                                    & {
                                        margin-top: 20px;
                                    }
                                }
                                .cart-line-product-actions {
                                    .ets_icon_svg {
                                        width: 13px;
                                        height: 13px;
                                    }
                                }
                            }
                        }
                    }
                }
            }

            .card.cart-total-action {
                .cart-summary { margin-left: 0;
                    .cart-detailed-totals {
                        margin-top: 20px;

                        .cart-summary-line {
                            display: flex;
                            justify-content: space-between;
                            .value {margin-left: auto;}
                            /* span {
                                display: inline;
                            } */
                        }
                        }
                }

                .block-promo .cart-voucher {
                    button {
                        padding: 5px 10px;
                        min-width: 100px;
                    }
                }
            }
        }

        .block-onepagecheckout .title-heading, .ets_pr_gift_products .card-block {
            border-top: 0;
        }
        .input-group-btn-vertical {
            display: none;
        }

        .onepagecheckout-left .custom-radio input[type=radio]:checked+span {
            width: 11.2px;
            height: 11.2px;
            margin-left: 7px;
            margin-top: 7px;
        }

        .product-line-grid-left, .product-line-grid-right .price, .product-line-grid-right .qty {
            margin-right: 0;
        }

        .product-line-grid-right .cart-line-product-actions .remove-from-cart svg {
            width: inherit;
            height: inherit;
            margin-top: 0;
            margin-bottom: -3px;
        }
        /* .block-onepagecheckout .input-group.bootstrap-touchspin input.js-cart-line-product-quantity {
            height: 36px;
        } */
        .block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down:before,
        .block-onepagecheckout .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up:before {
            content: '';
        }

        .block-onepagecheckout .product-line-info.product_info_name .label {
            font-weight: 400;
        }

        #delivery-addresses > .form-group.row, #invoice-addresses > .form-group.row {
            padding-right: 0;
        }
        .block-onepagecheckout.block-address div#delivery-addresses input.form-control, .block-onepagecheckout.block-address div#invoice-addresses input.form-control, .block-onepagecheckout.block-address div#delivery-addresses select.form-control, .block-onepagecheckout.block-address div#invoice-addresses select.form-control, .block-onepagecheckout .shipping_address_form, .type-checkout-option input.form-control, .block-onepagecheckout textarea#delivery_message, .block-onepagecheckout.block-additional-info textarea.form-control, .block-onepagecheckout select, .block-onepagecheckout textarea {
            border: 1px solid var(--color-gris);
        }
        .block-onepagecheckout .form-error:before {
            right: 25px;
            top: 17px;
        }
        .ets_opc_error {
            font-style: normal;
            font-weight: normal;
        }
        .form-control {
            color: #000;
            padding: 10px;
            height: 50px;
        }
        .block-onepagecheckout .form-ok:before {
            top: 14px;
        }
        .carrier-name-img img {
            display: none;
        }

    }
} 

.pk-search-results.pk-dropdown-results {
    .btn {
        font-size: 12px;
    }
}

/* CONTACTA */

#contact {
    h1.category-title {
        color: var(--color-blau-teyder);
        font-weight: bold;
        text-transform: uppercase;
        font-size: 55px;
        line-height: 1;
        margin-top: 100px;
        margin-bottom: 60px;
        text-align: center;
    }
    .contact-page {
        * {
            font-family: var(--ff-roboto);
            /* color: #000;
            font-family: var(--ff-roboto); */
        }
        h3{
            font-size: 20px;
            font-weight: normal;
        } 
        h4 {
            font-size: 9px;
            font-weight: 500;
            text-transform: uppercase;
        }
        p {
            font-size: 16px;
            max-width: 300px;
            margin-top: 0;
            margin-bottom: 20px;
        }
        a {
            font-size: 16px;
            color: #000;
        }
    }
}

/* pagina registre */
#authentication {
    #content-wrapper {
        margin-top: 60px;

        h2 {text-transform: none;}
    }
}


/* blog */
#module-ph_simpleblog-category, 
#module-ph_simpleblog-list {

    h2 {
        text-transform: capitalize;
        font-size: 55px;
        line-height: 1;
    }

    .simpleblog__listing__post__wrapper__content {
        display: flex;
        flex-direction: column;
        padding-top: 18px;
        
        .simpleblog__listing__post__wrapper__footer {
            order: 0;
            time {
                color: #333;
                text-transform: uppercase;
            }
        }
        
        .blog-headline {
            order: 1;
            a {
                font-size: 20px;
                /* color: var(--color-sorra); */
            }
        }
    }
}
#module-ph_simpleblog-single {

    .breadcrumb {
        margin-bottom: 80px;
    }
    #content-wrapper .page-header h1 {
        font-size: 54px !important;
        line-height: 68px;
        letter-spacing: 0;
        /* max-width: 1260px; */
        text-align: center;
        text-transform: none;
        font-weight: normal;
        margin-bottom: 24px;
    }
    .simpleblog__category {
        margin-bottom: 12px;
        text-align: center;
        font-size: 19px;
        font-family: var(--ff-tradeGothicLT);

        a {
            color: var(--color-oliva);
        }
    }
    .simpleblog__postInfo ul {
        margin-bottom: 80px;
        text-align: center;
        font-size: 10px;
        justify-content: center;
        span {color: var(--color-oliva);}
        li {width: 100%;}
    }

    #content-wrapper .simpleblog__post__content {
        max-width: 800px;
        float: none;
        margin: 80px auto;

        .short-content p {
            font-size: 32px;
            font-family: var(--ff-tradeGothicLT);
            line-height: 42px;
            font-style: italic;
            margin-bottom: 70px;
        }
        .content {
            margin-top: 20px;

            h2 {
                font-size: 36px;
                line-height: 1;
            }
            * {
                font-size: 18px;
            }
        }
    }
    .simpleblog-socialshare {
        max-width: 800px;
        margin: 80px auto;
    }
}

.simpleblog__listing .simpleblog__listing__post__wrapper img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
}


/* FAQS */
.preguntas-frequentes {
    .elementor-accordion .elementor-accordion-item {
        border-bottom-width: 1px !important;
    }
}


/* NOVEDADES */
#new-products #main-content {
    margin-top: 90px;

    h2#product-list-header {
        text-transform: none;
    }
    #products.view_grid .product_list .grid-container {
        grid-template-columns: repeat(4, minmax(130px, 1fr));
        column-gap: 16px;
        row-gap: 40px;

        > .product-miniature {margin-bottom: 0;}

        @media (max-width: 479px) {
            & {
                grid-template-columns: repeat(2, 2fr);
                column-gap: 5px;
                row-gap: 5px;
            }
        }
    }
}


/* RESPONSIVE */
@media (max-width: 1280px) {
    #cart {
        .cart-summary {
            margin: 20px 20px 0 0;
        }
    }
}

@media(max-width: 1024px) { 
    .tablet-last {
        order: 999;
    }
    .image-shop-look-home {
        img {
            max-height: 400px;
            aspect-ratio: 293 / 332;
            object-fit: cover;
            object-position: bottom;
        }
    }
    #module-pkfavorites-account {
        #main-content {
            margin-top: 90px;
        }
    }
    #product {
        #main-content {
            margin-top: 120px;
        }
    }
    #authentication {
        #main-content {
            margin-top: 150px;
        }
    }
    #checkout #wrapper {
        margin-top: 70px;
    }
    
    #category {
        #main-content {
            margin-top: 120px;        
        }
    }
    .nature-mets-img {
        .elementor-image {
            text-align: left;
            margin-left: -10px;
        }
        img {
            max-height: 450px;
        }   
    }
}

@media (max-width: 800px) {
    #header .page-width, #footer .page-width, #main-content .page-width, body .elementor-section.elementor-section-boxed > .elementor-container {
        width: 98%;
    }
    .movil-last {
        order: 999;
    }
    #category {
        #main-content {
            .category-title {
                font-size: 40px !important;
            }
        
        }
    }
    #product .product-page-col > .col-md-6 {
        width: 100%;
        padding: 0;
    }
    #product .product-page-col > .col-md-6.product-info-section {
        /* padding-top: 40px; */
        margin: 0 -15px;
        padding: 40px 15px 0;
        width: calc(100% + 30px);
        box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
        /* box-shadow: inset 0 5px 5px -5px rgba(0, 0, 0, 0.1); */

        &::before {
            background-color: #a1a19b;
            content: "";
            height: 4px;
            left: 43%;
            position: absolute;
            top: 20px;
            width: 14%;
        }
    }
    #product .tabs-container {
        margin-top: 40px;
        padding: 20px;

        .tab-pane {
            padding: 0;
        }

        #tab-content .product-description {
            flex-direction: column;
            gap: 0;
    
            .col-product-description {order: 1;}
        }
    }
    #modal-3d {
        .modal-content {
            
            .modal-3d-viewer-wrapper {
    
                #model-3d-viewer {
                    aspect-ratio: 1 / 1;
                    height: auto;
                }
            }
              
            .modal-qr-wrapper {
                display: none;
            }
        }
    }
    button.btn-3d-view {
        /* padding: 7px 21px; */

        &.desktop {display: none;}
        &.mobile {
            display: block;
            margin-left: auto;
            margin-top: 10px;
        }
    }

    .elementor-section.elementor-section-height-full {
        height: calc(100vh - 88px);
        > .elementor-container.elementor-column-gap-default {height: 100%;}
    }

    body .container-proyectos.elementor-section.elementor-section-boxed > .elementor-container {
        width: calc(100% - 5px);
        margin: 0;
    }

    body #filtros-productos.elementor-section.elementor-section-boxed > .elementor-container {
        width: 100%;
    }
    #product .glide .product-miniature, .product-miniature {
        padding: 15px;

        .product-title {
            margin-bottom: 5px;
        }
    }

    /* #imagen-categorias .pk-ce-widget.view_grid.pk-grid {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
        gap: 10px;
    } */

    #product .same-category-products {
        margin-bottom: 30px;
    }

    #product-images-cont {
        max-height: 59vw;

        .image-grid-container {
            /* aspect-ratio: .8; */
            aspect-ratio: 1;
            flex-direction: column;
            overflow-x: hidden;
            overflow-y: auto;
            scroll-snap-type: y mandatory;
            scrollbar-width: none;
    
            .thumb-container {
                scroll-snap-align: center;
                aspect-ratio: inherit;
                scroll-snap-align: start;
                scroll-snap-stop: always;
                aspect-ratio: 1 / 1;
            }
        }
        
        #show-more-images {
            display: none;
        }
    }

    #module-ph_simpleblog-single {
        .breadcrumb {
            margin-bottom: 40px;
        }
        #content-wrapper .page-header h1 {
            font-size: 32px !important;
            line-height: 1;
            letter-spacing: 0;
            padding: 0 20px;
        }
        .simpleblog__category {
            font-size: 16px;
        }
        .simpleblog__postInfo ul {
            margin-bottom: 30px;
            font-size: 10px;
        }
    
        #content-wrapper .simpleblog__post__content {
            margin: 0;
            padding: 0 20px;
    
            .short-content p {
                font-size: 25px;
                line-height: 1;
                margin-bottom: 30px;
            }
            .content {
                margin-top: 20px;
    
                h2 {
                    font-size: 20px;
                }
                * {
                    font-size: 14px;
                    line-height: 1.1;
                }
            }
        }
        .simpleblog-socialshare {
            margin: 40px 20px 0;
        }
    }

    #blockcart-modal.pk-modal {
        .cart-content {
            max-width: 100%;

            .cart-actions {
                position: sticky;
                bottom: 0;
                background-color: #fff;
                padding-top: 20px;
                margin-top: -20px;
            }
        }
    }

    .logos-footer {
        .elementor-widget-wrap {
            gap: 10px;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }
        .logo-footer {
            max-width: calc(50% - 20px);
        }
        #logo-prim-footer img {
            max-width: 150px;
        }
    }
    #footer-copy-legal .elementor-widget-wrap {
        flex-direction: column;
        .elementor-widget-text-editor {
            flex: auto;
            padding-right: 160px;
        }
        #footer-legal .elementor-widget-container p {
            text-align: left;
        }
    }
}

@media (max-width: 479px) {
    button.pk-fixed-button.pk-scroll-totop.fixed {
        display: none;
    }
    .logo-teyder img {
        height: 30px !important;
    }
    .product-description > div{
        flex-direction: column;
    }
    .product-add-to-cart-mini, .favoritesButton, .touch .product-miniature .product-actions{
        display: none !important;
    }
    #product #product-images-cont.thumb-vertical {
        max-height: 60dvh;
        
        .image-grid-container {
            grid-template-columns: repeat(1, 1fr);
        }
        .glide .product-miniature, .product-miniature {
            padding: 10px;
        }
        .short-desc.product-description-short.shown {
            margin-top: 0 !important;
        }
        .grid-container article:nth-child(n+3) {
            display: none;
        }
    }
    #product #main .product-categories {
        margin-top: 60px;

        .module-title {
            padding: 0 !important;
            span {
                
                line-height: 1;
                font-size: 37px;
            }
        }
    }
    #modal-3d {
        .modal-content {
            
            .modal-3d-viewer-wrapper {
    
                #model-3d-viewer {
                    aspect-ratio: 1 / 1.5;
                }
            }
        }
    }

    #checkout #wrapper > .row {
        margin: 0;
    }

    .block-customer .customer-information ul.type-checkout-options li {
        label {
            padding: 10px 15px !important;

            span {
                font-size: 10px !important;
            }
        }
    }

    #blockcart-modal.pk-modal {
        .modal-header {
            margin-bottom: 30px;
            .modal-title {
                font-size: 21px;
            }
        }
        .product-card {
            gap: 0;
        }

        .cart-content {
            .media-list {
                margin-bottom: 0px;
            }
        }
    }
}





/* personalitzacio plantilla hover imatge productes */
.product-thumbnail {
    margin-bottom: 23px;
    flex-wrap: wrap;
    img {
        width: 100%;
    }
    & > a {
        width: 100%;
        z-index: 1;
    }
    .btn .svgic {
        /* color: #fff;
        stroke: #fff; */
        width: 16px;
        height: 16px;
        margin: 0 auto;
    }
    .add {
        margin: 0;
    }
    .subimage-true {
        .cover-image {
            &:not(:first-of-type) {
                top: 0;
                left: 0;
                opacity: 0;
                z-index: 0;
                width: 100%;
                position: absolute;
            }
            &.pmhovered {
                opacity: 1;
                z-index: 2;
            }
        }
        &:has(.pmhovered) .cover-image:not(.pmhovered) {
            opacity: 0;
            visibility: hidden;
        }
    }
    .cover-image:first-of-type + .pmimage-switcher {
        display: none;
    }
    .active-switcher span:after {
        transform: translateY(0);
    }
    .pmimage-switcher {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 12;
        align-items: stretch;
        &:hover:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease-in-out;
        }
        span {
            display: block;
            flex-grow: 1;
            position: relative;
            &:after {
                transform: translateY(5px);
                background: rgba(0, 0, 0, 0.1);
                content: '';
                display: block;
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 4px;
                transition: all 0.2s ease-in-out;
                z-index: 2;
            }
            &:hover:after {
                background: rgba(0, 0, 0, 0.4);
                transform: translateY(0);
            }
        }
    }
}





/* TEMP */

.active_filters {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
    padding-bottom: 10px;
}
.active_filters .active-filter-title {
    color: #444;
    margin: 0 0 0.5rem;
    font-family: Roboto, Tahoma;
}
.active_filters ul {
    display: inline;
}
.filter-block a {
    display: inline-block;
}
.active_filters .filter-block svg {
    width: 12px;
    height: 12px;
    margin-left: 6px;
}
.active_filters .filter-block {
    margin-right: 0.625rem;
    margin-bottom: 0.625rem;
    display: inline-block;
    font-size: 0.8125rem;
    line-height: 1em;
    padding: 10px 20px 10px 0;
    border: none;
}
.active_filters .filter-block .close {
    color: #414141;
    font-size: 0.9375rem;
    opacity: 1;
    margin-top: 0.1875rem;
    margin-left: 0.3125rem;
}
#search_filters .custom-radio input[type='radio'] + span,
#search_filters .custom-checkbox input[type='checkbox'] + span {
    margin-top: 0;
}
body #search_filters .facet .facet-label .custom-checkbox,
body #search_filters .facet .facet-label .custom-radio {
    top: 0;
}
#search_filters .clear-all-wrapper,
#search_filters .facet .collapse,
#search_filters_wrapper:empty,
#js-active-search-filters.hide {
    display: none;
}
#search_filters .facet .collapse.in,
.active_filters + #search_filters .clear-all-wrapper {
    display: block;
}
body #search_filters .facet .pkcolor.pkradio:not(.collapse),
body #search_filters .facet .pkradio.pkcolor.collapse.in {
    display: flex;
}
#search_filters .facet .pkradio {
    max-height: 350px;
    overflow: auto;
}
#search_filters .module-title {
    margin-bottom: 30px;
}
body #search_filters .facet .pkcolor.pkradio {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 3px;
    overflow: hidden;
}
#search_filters .facet .pkcolor.pkradio > li {
    width: 25px;
    height: 25px;
    padding: 0;
    background-size: contain;
    position: relative;
    margin: 0 10px 10px 0;
}
#search_filters .facet .pkcolor.pkradio > li * {
    height: 100%;
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
}
#search_filters .facet .pkcolor.pkradio > li .facet-label {
    cursor: pointer;
    position: relative;
    border: none;
    border-radius: 50%;
}
#search_filters .facet .pkcolor.pkradio > li input[type='checkbox']:checked + span {
    opacity: 1;
}
#search_filters .facet .pkcolor.pkradio > li .facet-label .custom-checkbox .color svg {
    color: #000;
    position: absolute;
    display: block;
    z-index: 9;
    width: 60%;
    height: 60%;
    top: 50%;
    left: 50%;
    padding: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
}
#search_filters .custom-radio input[type='radio'] + span > svg {
    opacity: 0;
}
#search_filters .custom-radio input[type='radio']:checked + span > svg {
    opacity: 1;
}
#search_filters .facet .pkcolor.pkradio > li .search-link {
    visibility: hidden;
}
#search_filters .facet .pkcolor.pkradio > li .color-tooltip {
    top: 0;
    left: 0;
    opacity: 1;
    position: absolute;
    border-radius: 50%;
    background-size: cover;
}
#search_filters .facet .pkcolor.pkradio > li .color-tooltip[style='background-color:#ffffff'] {
    border: 1px solid #ccc;
}
#search_filters .custom-radio input[type='radio'] + span,
#search_filters .custom-checkbox input[type='checkbox'] + span {
    width: 14px;
    height: 14px;
}
#search_filters .custom-radio input[type='radio'] + span svg,
#search_filters .custom-checkbox input[type='checkbox'] + span svg {
    width: 14px;
    height: 14px;
    color: #000;
    margin-top: -2px;
    margin-left: -1px;
}
#search_filters .ui-slider-horizontal {
    border: none;
    background: #eee;
    border-radius: 0;
    height: 4px;
}
#search_filters .ui-slider-range,
#search_filters .ui-slider .ui-slider-handle {
    background: #444;
}
#search_filters .ui-slider .ui-slider-handle {
    border-radius: 0;
    top: 4px;
    width: 10px;
    height: 17px;
    border: none;
    margin: 0;
    transform: translateX(-50%);
    clip-path: polygon(50% 0%, 100% 38%, 100% 100%, 0 100%, 0% 38%);
    /* display: block; */
}
#search_filters .ui-slider-range {
    border-radius: 0;
    border: none;
    /* height: 4px;
    position: relative; */
}
.faceted-slider > li > p {
    font-size: 14px;
    color: #333;
}
.sidebar .facet {
    color: #3a3a3a;
    font-size: 15px;
}
.sidebar .facet > ul {
    transition: all 0.2s linear;
}
.sidebar .facet ul li {
    border: none;
    padding-left: 0;
    padding-right: 0;
}
.sidebar .facet .collapse.in,
.sidebar .facet .collapsing {
    margin-bottom: 70px;
}
.sidebar .facet-title > .title {
    width: 30px;
    text-align: center;
    flex-grow: 0;
}
.facet .navbar-toggler {
    padding: 0;
    display: inline-block;
    width: 100%;
    cursor: pointer;
}
.facets-title {
    color: #414141;
}
#search_filters .facet > ul li {
    padding-top: 0;
    padding-bottom: 13px;
}
.facet > ul li:first-child {
    margin-top: 0;
}
.facet .magnitude {
    color: #c1c1c1;
    font-size: 0.75em;
    vertical-align: middle;
}
.facet .tooltip {
    position: absolute;
    top: 0;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    left: 0;
    margin: 0.3125rem;
}
.facet .facet-label {
    position: relative;
}
.facet-dropdown {
    border: 1px solid #ccc;
    padding: 5px 0;
    cursor: pointer;
}
.facet-dropdown > a {
    display: block;
    text-indent: 20px;
}
.facet-dropdown .dropdown-menu {
    padding: 0;
    max-height: 300px;
    overflow: auto;
}
.facet-dropdown .dropdown-menu .select-list {
    padding: 10px 20px;
}
.facet-dropdown .dropdown-menu .select-list:hover {
    background: #eee;
}
.facet-label {
    font-size: 0.938rem;
}
.facet-label:hover .color-tooltip,
.facet-label.active .color-tooltip,
.facet .facet-label a:hover ~ .tooltip {
    opacity: 1;
}

.product-list-container {
    margin-bottom: 40px;
    .elementor.col-xl-4 {
        width: 100%;
    }
}

body:has(.pk-sidebar-open) {
    overflow: hidden;
    header {
        filter: blur(2px);
    }
}
.content-wrapper {
    transition: all 0.5s ease-out;
}
.sidebar-toggler {
    display: none;
}
#main-content:after {
    opacity: 0;
    background: #000;
    transition: all 0.5s ease-out;
}
#main-content:has(.pk-sidebar-open) {
    overflow: hidden;
    height: 100%;
    max-height: 100%;
    .content-wrapper {
        filter: blur(2px);
        pointer-events: none;
    }
    &:after {
        opacity: 0.6;
        content: '';
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        pointer-events: none;
    }
}
.listing_view {
    gap: 10px;
    .svgic {
        width: 22px;
        color: #999;
    }
    & > div {
        width: 34px;
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid transparent;
        cursor: pointer;
        &:focus {
            outline: none;
        }
        &.active,
        &:hover {
            border-color: #444;
        }
        &.active .svgic,
        &:hover .svgic {
            color: #444;
        }
    }
}
.brands-list {
    ul {
        list-style: none;
        flex-wrap: wrap;
        li {
            width: 250px;
            text-align: center;
            margin-bottom: 30px;
        }
    }
    h3 {
        margin: 0;
    }
    .brand-products a {
        color: #bbb;
        font-size: 13px;
        &:nth-child(2) {
            display: none;
        }
    }
}
@media (min-width: 1600px) {
    .products-selection {
        gap: 60px;
    }
}
@media (max-width: 800px) {
    .pksidebar {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        background: #fff;
        padding: 42px 25px 25px;
        box-sizing: border-box;
        z-index: 100;
        width: 100%;
        max-width: 400px;
        max-height: 100%;
        &:has(.pk-sidebar-open) {
            transform: translateX(0);
            overflow: auto;
            .sidebar-toggler {
                top: 0;
                right: 0;
                left: auto;
                border-color: transparent;
                transform: translateY(0%);
            }
        }
        .sidebar-toggler {
            position: absolute;
            top: 50%;
            left: -49px;
            width: 50px;
            height: 50px;
            background: #fff;
            transform: translateY(-50%);
            border: 1px solid #333;
            z-index: 9;
            cursor: pointer;
            opacity: 0.5;
            display: flex;
            justify-content: center;
            align-items: center;
            &:hover {
                opacity: 1;
            }
        }
    }
    div.products-selection {
        margin-bottom: 20px;
        flex-direction: row;
        gap: 15px;
        .col-md-6 {
            width: 100%;
            margin: 0;
            padding: 0;
        }
        .pk-filter-button {
            order: 0;
        }
        .compare-form {
            order: 1;
        }
        .sort-by-row {
            order: 2;
        }
        > .products-sort-order {
            order: 3;
        }
        > .sort-by-row,
        > .products-sort-order,
        > .sort-by-row > .products-sort-order,
        .products-sort-order .dropdown-menu {
            width: 100%;
        }
        .select-title {
            max-width: 100%;
            width: 100% !important;
        }
    }
    body .view_list .product-thumbnail {
        min-width: 180px;
    }

    body #main-content .view_list .product-miniature {
        margin-bottom: 30px;
    }
}
.pagination {
    .pagination-info {
        line-height: 2.5rem;
        font-size: 14px;
    }
    .page-list {
        gap: 5px;
        li {
            &.current a {
                color: #585858;
                border: 2px solid #585858;
            }
        }
        a,
        .spacer {
            display: flex;
            line-height: 34px;
            width: 34px;
            height: 34px;
            border: 1px solid #dfdfdf;
            text-align: center;
            justify-content: center;
            align-items: center;
            color: #585858;
            font-size: 0.75em;
            &:hover {
                border-width: 2px;
            }
        }
        svg {
            width: 8px;
        }
    }
}

.perpage-selector {
    max-width: 150px;
}

.products-selection {
    gap: 30px;
    margin-bottom: 50px;
    > :last-child {
        /* margin-left: auto; */
    }
    &.dropdown:after {
        pointer-events: none;
        top: 0;
    }
    .title {
        color: #878787;
    }
    .filter-button .btn-secondary,
    .filter-button .btn-tertiary {
        padding: 0.75rem 0.5rem 0.6875rem;
    }
    .compare-form {
        order: 9;
        margin-right: 0;
    }
    .sort-by {
        margin-right: 10px;
        display: none;
    }
}

.products-sort-order {
    color: #878787;
    .select-title {
        width: 100%;
        color: #414141;
        background: #fff;
        padding: 4px 44px 4px 15px;
        font-size: 0.875rem;
        line-height: 1.5rem;
        border: 1px solid #dfdfdf;
        min-height: 32px;
    }
    .select-list {
        color: #414141;
        padding: 0.625rem 1.25rem;
        &:hover {
            background: #313537;
            color: #fff;
        }
    }
    .dropdown-menu {
        left: auto;
        width: 16.875rem;
        background: #f6f6f6;
        border: none;
        margin: 0;
        padding: 0;
        box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.13);
    }
}

.view_grid .product_list .grid-container > article,
.view_list .grid-container > article {
    width: 100%;
    margin-right: 0;
}

.view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    column-gap: 40px;
    grid-auto-flow: dense;
}

.product-grid-2 .view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.product-grid-3 .view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-grid-4 .view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.product-grid-5 .view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.product-grid-6 .view_grid .product_list .grid-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

#main-content #products.view_grid.view_grid2 .product_list #js-product-list .grid-container {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
}

#main-content #products.view_grid.view_grid3 .product_list #js-product-list .grid-container {
    grid-template-columns: repeat(3, minmax(100px, 1fr));
}

#main-content #products.view_grid.view_grid4 .product_list #js-product-list .grid-container {
    /* grid-template-columns: repeat(4, minmax(100px, 1fr)); */
}

#main-content #products.view_grid.view_grid5 .product_list #js-product-list .grid-container {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
}

#main-content #products.view_grid.view_grid6 .product_list #js-product-list .grid-container {
    grid-template-columns: repeat(6, minmax(100px, 1fr));
}

#products {
    .up {
        margin-bottom: 1rem;
        .btn-secondary,
        .btn-tertiary {
            color: #acaaa6;
            text-transform: inherit;
        }
    }
    .products {
        justify-content: space-around;
    }
}

#products.view_grid .pm_desk_false {
    display: none;
}

@media (max-width: 1600px) {
    #view_grid6 {
        display: none;
    }
}
@media (max-width: 1300px) {
    #view_grid5 {
        display: none;
    }
}
@media (min-width: 1300px) {
    #view_grid2 {
        display: none;
    }
}
