@import "global.css";
@import "wishlist.css";
@import "onepagecheckoutps.css";

/****************************** HEADER *******************************/
#header {
    position: sticky !important;
    top: 0;
    z-index: 99;
    transition: transform 0.3s ease;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

#header .header-top {
    padding: var(--spaces-sm) 0;
}

#header.hidden {
    transform: translateY(-100%);
}

/* Top bar */
.displayNav {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: var(--spaces-xs) 0;
}

.displayNav * {
    font-size: var(--font-sm);
}

.displayNav p,
.displayNav a {
    margin-bottom: 0;
    text-align: center;
}

.displayNav a {
    margin: 0 auto;
}

/* Logo */
#header .logo {
    display: flex;
    width: 240px;
    height: 70px;
    object-fit: contain !important;
    object-position: left;
}

/* Buscador */
#search-desktop {
    flex: 1;
    margin: 0;
    max-width: 1000px;
    display: flex;
    justify-content: center;
}

.searchbar-desktop {
    display: flex;
    align-items: center;
    padding: 0 0 0 var(--spaces-md);
    background-color: var(--color-grey);
    height: 45px;
    cursor: pointer;
    border-radius: var(--border-radius-xl);
    justify-content: space-between;
    max-width: 700px;
    margin: 0 var(--spaces-md);
}

.searchbar-desktop>div {
    background-color: var(--color-primary);
    height: 45px;
    width: 60px;
    border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbar-desktop>div:hover {
    background-color: var(--color-secondary);
}

.searchbar-desktop>div:hover svg * {
    stroke: var(--color-black);
}

.searchbar-desktop span {
    color: var(--color-text-2)
}

#content_search {
    background: transparent;
    position: relative;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

#content_search form .input-button-search {
    position: absolute;
    right: var(--spaces-sm);
    top: 50% !important;
    transform: translateY(-50%);
    display: flex;
    outline: none;
    background-color: transparent;
    border: none;
    padding: 0;
}

#content_search form .input-search {
    padding-right: 40px !important;
}

#content_search .result_searchbar #js-product-list {
    margin-top: var(--spaces-md);
}

#content_search .result_searchbar #js-product-list .products {
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: min-content;
    gap: var(--spaces-md);
    align-items: start;
    overflow: hidden;
}

#content_search .result_searchbar #js-product-list .products .product-flags {
    display: none;
}

/* Iconos */
#header #icons .blockcart .block-icon-header {
    position: relative;
}

#header #icons .blockcart .block-icon-header {
    width: fit-content;
    padding: 0 var(--spaces-md);
    border-radius: var(--border-radius-xl);
}

#header #icons .blockcart .block-icon-header span {
    color: var(--color-primary-50);
}

#header #icons .blockcart .cart-products-count-absolute {
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary);
    color: var(--color-black) !important;
    font-size: 11px;
    width: 18px;
    height: 18px;
    position: absolute;
    top: -4px;
    right: -2px;
}

/* Menu */
#menu-icon {
    display: flex;
    align-items: center;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content {
    row-gap: 0;
    align-items: center;
    justify-content: start;
    height: 100%;
}

.menu-content {
    row-gap: 0 !important;
}

.menu-content .menu-item {
    border-radius: 12px 12px 0 0;
    transition: all .3s linear;
}

.menu-content .menu-item>a {
    padding: var(--spaces-sm) !important;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-item:hover {
    background-color: var(--color-primary-100);
}

.menu-title-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spaces-sm);
}

.menu-title {
    text-transform: uppercase;
    font-size: var(--font-md);
    font-weight: 600;
}

.mainmenu .menu-title {
    color: var(--color-primary);
}

.mainmenu .menu-content .menu-item:hover {
    background-color: var(--color-secondary);
}

.mainmenu .menu-content .menu-item:hover .menu-title {
    color: var(--color-text);
}

.menu-title-submenu {
    font-size: var(--font-md);
    font-weight: 600;
    position: relative;
}

.menu-title-submenu.title-line {
    margin-bottom: var(--spaces-sm);
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-title-submenu.title-line {
    font-size: var(--font-lg);
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .submenu-item-full {
    grid-column: span 5;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown {
    left: 0 !important;
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--border-color);
    max-height: calc(100dvh - 180px);
    overflow-y: auto;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .pos-sub-inner {
    padding: var(--spaces-2md) 0;
    background-color: inherit;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .submenu-item {
    display: flex;
    gap: var(--spaces-md);
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .submenu-item>.img-menu {
    width: 65px;
    height: 65px;
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .submenu-item>div,
#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .submenu-item:not(.submenu-item-full)>a:not(.img-menu) {
    width: calc(100% - (65px + var(--spaces-md)));
}

#_desktop_megamenu .pos-menu-horizontal .menu-content .menu-dropdown .category-sub-menu2 {
    padding-left: var(--spaces-sm);
}

/* Menu modal */
#menu-modal .custom-modal-content {
    padding: 0 !important;
}

#menu-modal .menu-content {
    flex-direction: column;
    align-items: start;
    gap: 0;
}

#menu-modal .menu-content .menu-item {
    padding: var(--spaces-md);
    width: 100%;
    position: relative;
    border-bottom: var(--border-width) solid var(--border-color);
    border-radius: 0;
}

#menu-modal .menu-content .menu-item>a {
    padding: 0 !important;
}

#menu-modal .menu-title-link {
    flex-direction: row;
    text-align: left;
    gap: var(--spaces-md);
}

#menu-modal .pos-menu-horizontal .icon-drop-mobile i {
    right: 20px;
    top: 5px;
    z-index: 1;
    width: fit-content;
    height: 30px;
    padding-top: 16px;
}

#menu-modal .pos-menu-horizontal .pos-sub-menu>div {
    padding: 0 !important;
}

#menu-modal .pos-menu-horizontal .pos-sub-inner {
    padding-top: var(--spaces-md);
    padding-left: var(--spaces-sm);
}

#menu-modal .pos-menu-horizontal .pos-sub-inner .grid-template {
    grid-template-columns: repeat(1, 1fr) !important;
}

#menu-modal .pos-menu-horizontal .pos-sub-inner .img-menu {
    display: none;
}

#menu-modal .pos-menu-horizontal .pos-sub-inner .submenu-item.submenu-item-full {
    margin: var(--spaces-sm) 0 !important;
}

#menu-modal .pos-menu-horizontal .pos-sub-inner .category-sub-menu {
    padding-left: var(--spaces-md);
}

#menu-modal #top-menu {
    gap: 0;
}

#menu-modal #top-menu .menu-title-link {
    color: var(--color-primary);
}

#menu-modal #top-menu .menu-item:last-of-type {
    border-bottom: none !important;
}

/****************************** HOME *******************************/
/* Carrusel de imagenes */
#carousel figure img {
    width: 100%;
    height: auto;
}

/* Reassurance home */
#blockreassurancehome>div {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: var(--spaces-2md) var(--spaces-md);
}

#blockreassurancehome .blockreassurancehome-item>.item-product {
    width: 40px;
}

#blockreassurancehome .blockreassurancehome-item>.item-product img,
#blockreassurancehome .blockreassurancehome-item>.item-product svg {
    width: 25px;
    height: 25px;
}

#blockreassurancehome .blockreassurancehome-item>.blockreassurancehome-text {
    width: calc(100% - calc(40px + var(--spaces-sm)));
}

#blockreassurancehome .blockreassurancehome-item:not(:last-of-type) {
    border-right: var(--border-width) solid var(--color-text-2);
}

/* Categorias destacadas */
#homecategories-2,
#slider-homecategories .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spaces-md);
}

#slider-homecategories .swiper-slide {
    width: auto;
}

#slider-homecategories .swiper-button {
    display: none;
}

.homecategories .category:not(.category-featured),
.homecategories .category:not(.category-featured)>div,
.homecategories .category:not(.category-featured)>div>div {
    height: 100%;
}

.homecategories .category img {
    height: fit-content;
    min-height: 150px;
}

.homecategories .category.category-featured .btn {
    width: 100%;
    background-color: color-mix(in srgb, var(--color-primary-100) 85%, transparent);
    position: absolute;
    bottom: 0;
}

.homecategories .category:not(.category-featured) h2 {
    word-break: break-word;
    hyphens: auto;
}

/* Carrusel de productos */
.products-tabs {
    width: fit-content;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: var(--spaces-md);
}

.products-tabs-item {
    height: auto !important;
    min-height: 45px !important;
    border: var(--border-width) solid var(--border-color-2);
    border-radius: var(--border-radius-xl);
    padding: var(--spaces-sm);
    color: var(--color-primary);
    font-weight: 400;
}

.products-tabs-item.active,
.products-tabs-item:hover {
    background-color: var(--color-primary);
}

.products-tabs-item.active span,
.products-tabs-item:hover span {
    color: var(--color-white) !important;
}

/* Miniatura de productos */
.product-miniature {
    height: 100%;
}

.product-miniature .thumbnail-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.product-miniature .thumbnail-container .product-thumbnail {
    overflow: hidden;
}

.product-miniature .thumbnail-container .product-thumbnail img {
    height: auto;
    width: 100%;
    padding: var(--spaces-2md) 0;
    transition: all .2s linear;
}

.product-miniature .thumbnail-container .product-thumbnail.multiple-img .second-img {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
}

.product-miniature .thumbnail-container .product-thumbnail.multiple-img:hover .second-img {
    opacity: 1;
}

.product-miniature .thumbnail-container .product-thumbnail.multiple-img:hover .first-img {
    opacity: 0;
}

.product-miniature .thumbnail-container .product-description {
    padding: var(--spaces-sm);
    align-items: start;
}

.product-miniature .thumbnail-container .product-description>.product-info>.product-info-title {
    width: calc(100% - calc(40px + var(--spaces-sm)));
}

.product-miniature .thumbnail-container .product-reviews {
    height: 20px;
}

.product-miniature .thumbnail-container .product-description .product-price:not(.regular-price) {
    color: var(--color-primary) !important;
}

.product-miniature .thumbnail-container .product-description .product-price-and-shipping {
    row-gap: var(--spaces-xs);
}

.product-miniature .thumbnail-container .product-description .regular-price {
    font-size: var(--font-md) !important;
}

.product-miniature .thumbnail-container .product-description .add {
    display: flex;
    justify-content: space-between;
}

.product-miniature .thumbnail-container .product-description .bg-discount {
    padding: 3px 10px !important;
}

.product-miniature .thumbnail-container .product-flags .product-flag {
    padding: 8px;
}

.product-miniature .wishlist-button-add {
    display: none !important;
}

.product-miniature .attributes-colors .attr-color {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-size: 20px;
    position: relative;
    border: var(--border-width) solid var(--border-color);
}

.product-miniature .attributes-colors .attr-color.see-more {
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-width) solid var(--border-color-4);
    color: var(--color-text-2);
    font-weight: 500;
    width: fit-content;
    min-width: 30px;
    border-radius: 20px;
    font-size: var(--font-xs)
}

/* Bloques home */
.homeblocks .container-blocks {
    display: grid;
    grid-template-columns: 1.4fr 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "left top right"
        "left bottom right";
    overflow: hidden;
    border-radius: var(--border-radius);
}

.homeblocks .container-blocks .homeblock {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.homeblocks .container-blocks .homeblock>a>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s linear;
}

.homeblocks .container-blocks .homeblock:hover>a>img {
    transform: scale(1.1);
}

.homeblocks .container-blocks .homeblock .homeblock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: color-mix(in srgb, var(--color-primary) 90%, transparent);
}

.homeblocks .container-blocks .homeblock>a>.homeblock-info {
    padding: var(--spaces-2md);
}

.homeblocks .container-blocks .homeblock>a>.homeblock-info * {
    z-index: 1;
    margin-left: 0;
}

.homeblocks .container-blocks .homeblock>a>.homeblock-info *:not(.btn) {
    color: var(--color-white);
}

.homeblocks .container-blocks .homeblock>a>.homeblock-info .btn {
    min-width: 120px;
}

.homeblocks .container-blocks .homeblock:nth-child(1) {
    grid-area: left;
}

.homeblocks .container-blocks .homeblock:nth-child(2) {
    grid-area: top;
}

.homeblocks .container-blocks .homeblock:nth-child(3) {
    grid-area: bottom;
}

.homeblocks .container-blocks .homeblock:nth-child(4) {
    grid-area: right;
}

/* Carrusel de marcas */
/* Instalaciones */
#hometext .hometext-img {
    max-height: 400px;
}

#hometext .hometext-img img {
    width: 90%;
}

#hometext .hometext-img>div {
    position: absolute;
    box-shadow: var(--box-shadow);
    max-width: 400px;
    right: 30px;
    bottom: -30px;
    background-color: var(--color-white);
}

#hometext .hometext-img>div p {
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

#hometext .hometext-img>div p span {
    color: var(--color-secondary);
}

#hometext .hometext-info {
    background-image: url('/themes/dfd-hosdecora/assets/img/map.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#hometext .hometext-info p:not(.title-2) {
    line-height: 1.6;
}

#hometext .hometext-info h2{
    margin-left: 0 !important;
}

/* Blog */
.wbp-widget {
    background-color: transparent;
}

.wbp-widget .post-featured {
    position: relative;
    background-image: url('/themes/dfd-hosdecora/assets/img/blog-default.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 380px;
    border-radius: var(--border-radius);
}

.wbp-widget .post-outbound {
    width: 100%;
    margin: var(--spaces-md);
    padding: var(--spaces-md);
    background-color: rgb(from var(--color-white) r g b / 0.8);
    border-radius: var(--border-radius);
}

.wbp-widget .post-outbound .post-title {
    height: 37px;
}


/* Google Reviews */
#google-reviews .reviews {
    padding-left: var(--spaces-md);
}

#google-reviews .google-reviews-total-rating {
    background-color: var(--color-primary);
    border-radius: var(--border-radius-xs);
    flex: 1;
    justify-content: center;
}

#google-reviews .google-reviews-total-rating>.stars>span {
    color: var(--color-white);
    font-size: var(--font-2xl);
    font-weight: 600;
}

#google-reviews .reviews .review-item {
    background-color: var(--color-primary-50);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}

#google-reviews .reviews .review-stars {
    margin-top: 0;
}

#google-reviews .reviews .review-author {
    color: var(--color-text) !important;
}

/* Texto SEO */



/****************************** FOOTER *******************************/
body:not(#index) #footer {
    margin-top: var(--spaces-xl);
}

.footer-general>div {
    margin: 0 var(--spaces-md) var(--spaces-md) var(--spaces-md);
    border-radius: var(--border-radius);
}

/* Newsletter */
.footer-before .block_newsletter .alert {
    margin-bottom: var(--spaces-sm);
}

.footer-before .block_newsletter .newsletter-info {
    max-width: 400px;
}

.footer-before .block_newsletter .form_newsletter {
    max-width: 600px;
}

.block_newsletter form .input-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: var(--spaces-md);
    row-gap: var(--spaces-sm);
}

.block_newsletter .form-control {
    border-radius: var(--border-radius-xl) !important;
}

/* Enlaces */
.footer-general .container::after {
    display: none;
}

.footer-general .footer-general-container {
    margin: 0 calc(var(--spaces-sm)/-1);
}

.footer-general .footer-general-container>div.links {
    padding: 0 var(--spaces-sm) !important;
}

.footer-general a:not(.btn):hover {
    color: var(--color-primary);
}

.footer-general .h3 {
    display: block;
    margin-bottom: var(--spaces-md);
}

.footer-general .footer_list>div>div {
    line-height: normal;
}

.footer-general .footer_list>div>div:not(:last-of-type) {
    margin-bottom: var(--spaces-sm);
}

.contact-info-item>a,
.contact-info-item>div {
    display: flex;
    align-items: start;
    gap: var(--spaces-sm);
    line-height: 1.6;
    width: fit-content;
}

.footer-general .methods-images {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spaces-md);
    width: 95%;
}

.footer-general .methods-images>img {
    height: 20px;
    width: fit-content;
}

.reassurance-footer>img {
    max-width: calc(200px - var(--spaces-md));
    width: 100%;
    height: 100%;
    margin: 0 var(--spaces-sm);
}

/****************************** CATEGORIA *******************************/
/* Top categoria */
#slider-subcategories .category img {
    width: 80px;
    height: 80px;
}

#slider-subcategories .category h2 {
    width: calc(100% - 90px);
    text-transform: none;
}

#slider-subcategories .category {
    border: var(--border-width) solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

#slider-subcategories .category:hover {
    padding: 0 var(--spaces-sm);
    filter: var(--filter-bg);
    background-color: var(--color-white);
}

#slider-subcategories .category:hover * {
    color: var(--color-primary);
}

/* Arbol de categorías */
#categorytree.collapse {
    display: inherit;
}

.categorytree-submenu.depth-0 {
    gap: var(--spaces-sm);
}

.categorytree-submenu:not(.depth-0) {
    padding: var(--spaces-sm) 0 var(--spaces-sm) 30px;
}

.categorytree-title {
    min-height: 25px;
}

.categorytree-title a {
    display: flex;
    align-items: center;
    gap: var(--spaces-sm);
    width: calc(100% - 40px);
}

.categorytree-title>a>span.categorytree-circle:first-of-type {
    display: flex;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    border: var(--border-width) solid var(--border-color-4);
}

.categorytree-title>a.categorytree-active {
    color: var(--color-primary)
}

.categorytree-title>a.categorytree-active>span.categorytree-circle {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.categorytree-title .collapse-icons {
    width: 30px;
    height: 25px;
}

.categorytree-submenu a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Filtrado */
#search_filters .facet {
    width: 100%;
    background-color: var(--color-white);
}

#search_filters .facet .select-title {
    width: 100%;
    position: relative;
}

#search_filters .facet .facet-dropdown {
    padding: 0;
}

#search_filters .facet-hidden-modal {
    display: block;
}

#search_filters .facet-show-modal {
    display: none;
}

#search_filters .facet .facet-dropdown .collapse-icons-2 {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    cursor: pointer;
}

#search_filters .facet .facet-dropdown .dropdown-facet {
    max-height: 400px;
    overflow-y: auto;
}

#search_filters .facet .facet-dropdown .dropdown-facet>div {
    padding: var(--spaces-sm);
    margin-top: var(--spaces-sm);
}

#search_filters .facet .facet-dropdown .dropdown-facet.collapse {
    display: inherit;
}

#search_filters .facet>ul {
    margin-bottom: 0;
}

#search_filters .facet li .facet-label {
    width: 100%;
    text-align: left;
    display: flex !important;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--spaces-xs);
    cursor: pointer;
    margin-bottom: 0;
}

#search_filters .facet li .facet-label:not(:last-of-type) {
    margin-bottom: var(--spaces-sm);
}

#search_filters .facet li .facet-label:hover .js-search-link {
    color: var(--color-primary);
    text-decoration: underline;
}

#search_filters .facet li .facet-label .custom-facet-check {
    top: 0 !important;
    display: flex;
    align-items: center;
}

#search_filters .facet li .facet-label .custom-facet-check>span {
    margin: 0 5px 0 0;
    border-radius: 100%;
}

#search_filters .facet li .facet-label .custom-facet-check>input {
    margin-top: 0;
    position: absolute;
    cursor: pointer;
    opacity: 0;
}

#search_filters .facet li .facet-label .custom-facet-check input+span {
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
    cursor: pointer;
}

#search_filters .facet li .facet-label .custom-facet-check>input,
#search_filters .facet li .facet-label .custom-facet-check input+span {
    width: 20px;
    height: 20px;
}

#search_filters .facet li .facet-label .custom-facet-check--color>input,
#search_filters .facet li .facet-label .custom-facet-check--color input+span {
    width: 20px;
    height: 20px;
}

#search_filters .facet li .facet-label .custom-facet-check--box:not(.custom-facet-check--color)>input,
#search_filters .facet li .facet-label .custom-facet-check--box:not(.custom-facet-check--color) input+span {
    border-radius: 0 !important;
}


#search_filters .facet li .facet-label .custom-facet-check input:checked+span {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    border-radius: 100%;
}

#search_filters .facet li .facet-label .custom-facet-check input:checked+span.color::before {
    content: "\f00c";
    font-family: 'Font Awesome 6 Free';
    color: var(--color-primary) !important;
    font-size: 22px !important;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

#search_filters .facet li .facet-label .custom-facet-check .ps-shown-by-js {
    border: var(--border-width) solid var(--border-color-4);
    border-radius: 100%;
}

#search_filters .facet select {
    background-color: var(--color-bg) !important;
}

#search_filters .ui-slider-horizontal {
    height: 2px !important;
    border: 0;
    max-width: 95%;
    background: #E0E0E0;
}

#search_filters .ui-slider-horizontal .ui-widget-header {
    background: var(--color-primary);
}

#search_filters .ui-slider-horizontal.ui-slider .ui-slider-handle {
    top: -6px;
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.active_filters .filter-block>span {
    font-size: var(--font-sm);
    display: flex;
    gap: var(--spaces-sm);
    align-items: center;
    line-height: 1;
    cursor: pointer;
    background-color: var(--color-bg);
    padding: var(--spaces-xs) var(--spaces-sm);
    border-radius: var(--border-radius-xs);
    background-color: var(--color-primary-50);
}

.active_filters .filter-block>span:hover {
    color: var(--color-primary);
}

.active_filters .filter-block>span:hover svg path {
    stroke: var(--color-primary);
}

.active_filters .js-search-filters-clear-all {
    cursor: pointer;
}

.active_filters .js-search-filters-clear-all:hover {
    color: var(--color-primary) !important;
}

.buttons-filters>* {
    width: calc(50% - var(--spaces-sm)) !important;
    min-width: auto !important;
}

.count-filters {
    background-color: var(--color-secondary-100);
    border-radius: 100%;
    color: var(--color-text);
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-xs);
}

#filters_category #search_filters {
    padding-right: 0;
    margin-bottom: 0 !important;
}

#filters_category #search_filters .facet:not(:first-of-type) .select-title,
#filters_category #search_filters .facet:not(:first-of-type) .dropdown-menu {
    margin-left: 0;
}

#filters_category #search_filters .facet-hidden-modal {
    display: none;
}

#filters_category #search_filters .facet-show-modal {
    display: block;
}

#filters_category #search_filters .dropdown-menu {
    position: relative;
    width: 100%;
    border: none;
    max-height: none;
    margin-top: var(--spaces-md) !important;
    outline: none;
}

#filters_category #search_filters .dropdown-menu:not(.widget-slider) {
    padding: 0;
}

#filters_category #search_filters .facet .facet-dropdown .collapse-icons-2 {
    display: block;
}

#filters_category #search_filters .facet .facet-dropdown .dropdown-facet.collapse {
    display: none;
}

#filters_category #search_filters .facet .facet-dropdown .dropdown-facet.collapse.in {
    display: block;
}

.js-search-link {
    cursor: pointer;
}

.js-search-link-all:hover {
    color: var(--color-primary) !important;
}

/* Listado de productos */
#products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spaces-md);
    row-gap: var(--spaces-2md);
    align-items: start;
}

/* Miniatura de producto */
/* Paginacion */
/* Descripcion completa */
#description-content {
    transition: all 0.3s linear;
}

#description-content.see-more.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}

#description-content.see-more.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-bg-2));
}

#index #description-content.see-more.collapsed::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-bg));
}

/****************************** PRODUCTO *******************************/
#product .product_topview>div:last-of-type {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

/* Bloque izq. */
#product .product_topview .block_left {
    width: 40%;
}

#product .product_topview .block_left .product-flags {
    top: var(--spaces-md);
    left: var(--spaces-md);
    z-index: 1;
}

#product .product_topview .block_left .product-flags {
    gap: var(--spaces-sm);
}

#product .product_topview .block_left .product-flags .product-flag {
    font-size: var(--font-md) !important;
}

#product .product_topview .block_left .page-content,
#product .product_topview .block_left .page-content div:not(.swiper-slide, .swiper-button, .swiper-pagination) {
    display: flex;
    width: 100%;
}

/* Imagenes */
.images-container .thumb-item {
    width: 100%;
	height:fit-content;
    display: flex;
}

.product-thumbs-slider .swiper-slide {
    cursor: pointer;
}

.product-thumbs-slider .thumb-item {
    border: var(--border-width) solid var(--color-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    background-color: var(--color-white);
}

.product-thumbs-slider .swiper-slide.swiper-slide-thumb-active .thumb-item {
    border-color: var(--color-black);
}

.product-cover-slider .swiper-pagination {
    display: none !important;
}

/* Bloque central */
#product .product_topview .block_center {
    width: 35%;
    padding-left: var(--spaces-md);
    height: fit-content;
}

/* Titulo */
/* Precios */
.price_outstanding .product-prices {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--spaces-sm);
}

.price_outstanding .product-prices .show-discount {
    font-size: var(--font-lg);
}

.price_outstanding .product-prices .product-price .current-price {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spaces-md);
    row-gap: var(--spaces-sm);
    align-items: end;
}

.price_outstanding .product-prices .product-price .price {
    font-size: var(--font-2xl);
    font-weight: 600;
    line-height: 1;
}

.price_outstanding .product-prices .product-price .regular-price {
    font-size: var(--font-xl);
    font-weight: 400;
    margin-bottom: 4px;
}

/* Descripción */
#product .product_topview .product-description img {
    margin-top: var(--spaces-md);
    object-fit: contain;
}

#product .product_topview .product-description p {
    margin-bottom: var(--spaces-xs) !important;
}

/* Variantes */
.product-variants>.product-variants-item .ul-color {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spaces-sm);
}

.product-variants>.product-variants-item .input-container {
    position: relative;
    display: flex;
}

.product-variants>.product-variants-item select {
    border-radius: var(--border-radius-xs) !important;
    color: var(--color-text) !important;
}

.product-variants>.product-variants-item ul li label {
    width: 100%;
    margin-bottom: 0;
}

.product-variants>.product-variants-item .radio-label {
    font-weight: 500;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.product-variants>.product-variants-item .input-radio:checked+span {
    background-color: var(--color-primary-50);
    border-color: var(--color-primary-50);
    color: var(--color-primary);
}

.product-variants>.product-variants-item .input-radio:checked+span span {
    color: var(--color-primary);
}

.product-variants>.product-variants-item .radio-color {
    border-radius: 100%;
    width: 45px;
    height: 45px;
    display: flex;
    cursor: pointer;
    border: 2px solid var(--color-white);
}

.product-variants>.product-variants-item .input-color:checked+span,
.product-variants>.product-variants-item .input-color:hover+span {
    border-color: var(--color-primary);
}

/* Descuentos volumen */
.product-block-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spaces-sm);
}

.product-block {
    background-color: var(--color-white);
    border-radius: var(--border-radius-xs);
    padding: var(--spaces-md);
    border: var(--border-width) solid var(--border-color-4);
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: space-between;
    gap: var(--spaces-sm);
    cursor: pointer;
    height: 100%;
}

.product-block>.product-block-badge {
    position: absolute;
    top: -12px;
    right: 10px;
    background-color: var(--color-discount);
    border-radius: var(--border-radius-xs);
    padding: var(--spaces-xs) var(--spaces-sm);
    color: var(--color-white);
}

.product-block .prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spaces-sm);
}

.product-block .price {
    color: var(--color-text);
    font-size: var(--font-lg);
    line-height: 1;
}

.product-block:not(.product-block-active):hover {
    background-color: var(--color-primary-50);
}

.product-block.product-block-active {
    background-color: var(--color-primary-50);
    border-color: var(--color-primary-50);
}

.product-block.product-block-active *:not(.product-block-badge) {
    color: var(--color-primary) !important;
}

/* Campos personalizados */
.product-customization-item:not(:last-of-type) {
    border-bottom: 1px solid var(--border-color-3);
    margin-bottom: var(--spaces-md);
}

/* Packs */
.pack-product-container>a {
    width: 80px;
}

.pack-product-container>div {
    width: calc(100% - 100px);
}

/* Añadir al carrito */
.product-quantity .qty {
    width: 130px;
}

.product-quantity .add {
    width: calc(100% - 140px);
}

.product-quantity .add .add-to-cart {
    width: 100% !important;
    height: 45px;
}

.wishlist-button-add {
    display: flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

.wishlist-button-add:hover {
    opacity: .6;
}

/* Bloque der. */
#product .product_topview .block_right {
    width: 25%;
    padding-left: var(--spaces-md);
    height: fit-content;
}

/* Reassurance */
.blockreassurance_product>div {
    display: flex;
    align-items: center;
    gap: var(--spaces-xs);
}

.blockreassurance_product .item-product {
    width: 20px;
}

.blockreassurance_product .blockreassurance-info {
    width: calc(100% - calc(20px + var(--spaces-sm)));
}

.reassurance-contact {
    background: url('/themes/dfd-hosdecora/assets/img/contact-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--border-radius);
}

.reassurance-contact .contact-info * {
    color: var(--color-white);
    font-weight: 500;
}

.reassurance-contact .contact-info a:hover {
    text-decoration: underline;
}

.reassurance-contact .btn {
    background-color: var(--color-white);
    color: #25D366;
}

.reassurance-contact .btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Formulario pedir presupuesto */
#form-request-information .btn-accordion {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#form-request-information .btn-accordion:hover {
    background-color: var(--color-secondary-100);
}

#form-request-information .btn-accordion:hover * {
    color: var(--color-secondary) !important;
}

#form-request-information .alert {
    margin-top: var(--spaces-md);
}

/* Tabs producto */
.attachments .attach>div:last-of-type {
    width: calc(100% - 65px);
}

.attachments .attach:hover span {
    color: var(--color-primary);
}

/* Productos relacionados */
.product-footer>.featured-products:first-of-type {
    margin-top: 0 !important;
}

#product .featured-products .section-container-title>.title-5 {
    width: 100%;
    padding-bottom: var(--spaces-xs);
    border-bottom: 2px solid var(--color-secondary);
}

/* Productos misma categoría / Más vistos / Crosselling */
/* Comentarios de producto */
/* Carrito flotante */


/****************************** CMS *******************************/
#cms .page-content h2:not(.title-2) {
    font-size: var(--font-xl);
    line-height: var(--line-height);
    font-weight: 600 !important;
    margin-bottom: var(--spaces-md);
    color: var(--color-primary);
}

#cms .page-content h2:not(:first-of-type) {
    margin-top: var(--spaces-2md) !important;
}

#cms .page-content h3 {
    margin-top: var(--spaces-md);
    font-size: var(--font-lg);
    line-height: var(--line-height);
    font-weight: 600 !important;
    margin-bottom: var(--spaces-md);
}

#cms .page-content h4 {
    font-size: var(--font-md);
    text-decoration: underline;
    font-weight: 600 !important;
}

#cms .page-content>h2,
#cms .page-content>h3 {
    margin-top: 0 !important;
}

#cms .page-content ul {
    list-style: disc;
    padding-left: 20px
}

#cms .page-content li:not(:last-of-type) {
    margin-bottom: var(--spaces-xs);
}

#cms .page-content .table-container {
    width: 100%;
    overflow: auto;
    margin-bottom: var(--spaces-md);
}

#cms .page-content table {
    margin-bottom: var(--spaces-md);
    width: 100%;
}

#cms .page-content table thead th,
#cms .page-content table tbody td {
    border: 1px solid var(--border-color-4);
    padding: var(--spaces-sm);
}

#cms .page-content table * {
    background-color: transparent;
}

#cms .page-content table p {
    margin-bottom: 0;
}

#cms .page-content a:not(.button-cookies):not(.btn) {
    text-decoration: underline;
    word-break: break-all;
}

#cms .page-content a:not(.button-cookies):not(.btn):hover {
    color: var(--color-primary);
}

#cms .page-content img:not(.swiper-slide-image) {
    object-fit: contain;
    height: auto;
    width: 100%;
    max-width: 800px;
    margin: var(--spaces-md) auto;
    display: flex;
    justify-content: center;
    border-radius: var(--border-radius-xs);
}

/****************************** PAGINA CONTACTO *******************************/
.contact-blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spaces-md);
}

.contact-block {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-4);
    padding: var(--spaces-md);
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: var(--spaces-sm);
}

a.contact-block:hover {
    border-color: var(--color-primary-50);
    background-color: var(--color-primary-50);
}

a.contact-block:hover p {
    color: var(--color-primary);
}

.contact-block .block-icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background-color: var(--color-primary);
}

.contact-block img,
.contact-block svg {
    height: auto;
    width: 25px;
}


.contact-form form {
    background: var(--color-bg-2);
    padding: var(--spaces-2md);
    border-radius: var(--border-radius);
}

.contact-form .gdpr_consent {
    padding: 0 15px;
}

/****************************** PAGINA TIENDAS *******************************/
.stores-images {
    padding-right: var(--spaces-2md);
}

.stores-images>img {
    width: 90%;
    height: fit-content;
    border-radius: var(--border-radius);
    object-fit: contain;
}

.stores-images>img:nth-of-type(even) {
    margin-top: -100px;
    width: 80%;
    margin-left: auto;
}

.stores-accordion .accordion-item .accordion-content>div {
    padding: var(--spaces-2md) !important;
}

.stores-accordion .accordion-content svg {
    width: 30px;
    height: 30px;
}

.stores-accordion .accordion-content .contact-info-item>a,
.stores-accordion .accordion-content .contact-info-item>div {
    gap: var(--spaces-md);
}

.stores-accordion .accordion-content .contact-info-item>a>span,
.stores-accordion .accordion-content .contact-info-item>div>span {
    width: calc(100% - calc(var(--spaces-md) + 30px));
}


/****************************** MARCAS *******************************/
#manufacturer:not([class*="manufacturer-id-"]) #left-column {
    display: none;
}

#manufacturer:not([class*="manufacturer-id-"]) #content-wrapper {
    width: 100%;
}

#dfdmanufacturers-carousel a {
    width: 100%;
    height: 100px;
    padding: var(--spaces-xs);
    background-color: var(--color-white);
    filter: brightness(0.96);
    background-color: var(--color-white);
    border-radius: var(--border-radius);
}

#dfdmanufacturers-carousel a img {
    object-fit: contain !important;
}

#manufacturer #main .listing-brands {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spaces-md);
}

#manufacturer #main .brand {
    display: flex;
}

#manufacturer #main .brand a {
    border: var(--border-width) solid var(--border-color-4);
    border-radius: var(--border-radius-xs);
    background-color: var(--color-white);
    padding: var(--spaces-md);
    width: 100%;
}

#manufacturer #main .brand a img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

#manufacturer #main .brand a:hover {
    border-color: var(--color-primary);
}

#manufacturer #main .brand h2 {
    word-break: break-word;
}

#dfdmanufacturers-list .manufacturer-filter {
    padding-top: 0;
    padding-bottom: var(--spaces-sm);
    border-bottom: var(--border-width) solid var(--border-color-4);
}

#module-dfdmanufacturers-manufacturer .manufacturer-list ul {
    padding-bottom: var(--spaces-md);
    margin-bottom: var(--spaces-md);
    border-bottom: var(--border-width) solid var(--border-color-4);
}

#module-dfdmanufacturers-manufacturer .brand {
    display: flex;
    width: 100%;
}

#module-dfdmanufacturers-manufacturer .brand a {
    border: var(--border-width) solid var(--border-color-4) !important;
    border-radius: var(--border-radius-xs);
    background-color: var(--color-white);
    padding: var(--spaces-md);
    width: 100%;
}

#module-dfdmanufacturers-manufacturer .brand a:hover {
    border-color: var(--color-primary) !important;
}

#dfdmanufacturers-list .manufacturer-search-wrapper .manufacturer-search input {
    border-radius: var(--border-radius-xs);
    border: var(--border-width) solid var(--border-color-4);
    padding: 0 var(--spaces-md);
    height: 40px;
    font-size: var(--font-sm);
    color: var(--color-text) !important;
}

#dfdmanufacturers-list .manufacturer-search-wrapper .manufacturer-search input::placeholder {
    color: var(--color-text) !important;
}



/****************************** PÁGINAS MI CUENTA  *******************************/
/* Iniciar sesión / Crear cuenta / Contraseña */
.page-authentication #content hr {
    margin-bottom: var(--spaces-md);
    border: 0;
    border-top: 1px solid var(--border-color-4);
}

.section-account-info {
    padding: 0 !important;
}

.section-account-info>div {
    padding: var(--spaces-2md);
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    background-color: var(--color-bg-2);
}

.page-authentication #content .no-account-text {
    text-align: center;
    margin-top: var(--spaces-2md);
}

.page-authentication #content .no-account-text span {
    display: flex;
    justify-content: center;
    margin: -38px auto var(--spaces-md) auto;
    background-color: var(--color-bg-2);
    width: fit-content;
    padding: 5px;
}

.forgot-password a {
    text-decoration: underline;
}

/* Mi cuenta */
#my-account .breadcrumb {
    display: none;
}

.account-title {
    display: block;
    margin-bottom: var(--spaces-md);
}

.account-items {
    margin-bottom: var(--spaces-2md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spaces-md);
}

.account-items .account-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spaces-md);
    padding: var(--spaces-md);
    background-color: var(--color-white);
    border: var(--border-width) solid var(--border-color-4);
    border-radius: var(--border-radius);
    width: calc(50% - var(--spaces-sm));
}

.account-items .account-item>div {
    display: flex;
    align-items: center;
    gap: var(--spaces-md);
    width: calc(100% - 60px);
}

.account-items .account-item>div svg,
.account-items .account-item>div i,
.account-items .account-item>div img {
    width: 40px;
    height: 40px;
}

.account-items .account-item>div * {
    margin-bottom: 0;
}

.account-items .account-item>div>p {
    width: calc(100% - 60px);
}

.account-items .account-item:hover {
    background-color: var(--color-primary-50);
    border-color: var(--color-primary-50);
}

.container-account {
    width: 100%;
}

.container-account>div {
    width: 100%;
}

.container-account h2,
.container-account h2 * {
    margin-bottom: var(--spaces-md);
    text-transform: uppercase;
    font-size: var(--font-lg);
    font-weight: 600;
}

.min-section-account {
    max-width: var(--width-container-min-2);
    margin-left: auto;
    margin-right: auto;
}

.box-table-account {
    border: var(--border-width) solid var(--border-color-4);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
}

.table-account {
    width: 100%;
    margin-bottom: 0
}

.table-account tbody tr {
    background-color: transparent !important
}

.table-account tbody tr:not(:last-of-type) {
    border-bottom: none
}

.table-account thead tr {
    border-bottom: 1px solid var(--border-color-4);
}

.table-account tfoot tr {
    border-top: 1px solid var(--border-color-4);
}

.table-account td,
.table-account th {
    padding: var(--spaces-sm) var(--spaces-md);
    background-color: transparent;
    color: var(--color-text);
    font-size: var(--font-sm);
    border: none !important
}

.table-account th {
    font-weight: 600
}

.customer-addresses {
    display: flex;
    flex-wrap: wrap;
    row-gap: var(--spaces-md);
}

.customer-addresses .card-address {
    padding: 0 var(--spaces-sm);

}

.customer-addresses .card-address .address-body {
    padding: var(--spaces-md);
    background-color: var(--color-bg);
}

.customer-addresses .card-address>div {
    border: var(--border-width) solid var(--border-color-2);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.customer-addresses .address .address-footer {
    border-top: var(--border-width) solid var(--border-color-2);
    background-color: var(--color-bg);
}

.address-item .address-footer,
.address .address-footer {
    padding: var(--spaces-sm) var(--spaces-md);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.address-item .address .address-footer>a,
.address .address-footer>a {
    display: flex;
    align-items: center;
    gap: var(--spaces-xs);
}

.mail-alerts>.mail-alert>div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
    gap: var(--spaces-sm);
}

.mail-alert .mail-alert-img {
    width: 95px;
}

.mail-alert .mail-alert-name {
    width: calc(100% - calc(120px + var(--spaces-md)));
}

.mail-alert .mail-alert-btn {
    width: 20px;
}

.js-mailalert #gdpr_consent {
    margin-top: var(--spaces-sm);
}

.js-mailalert .btn {
    border-radius: var(--border-radius-xs);
}

.customer-discounts .promo-discounts {
    border-radius: var(--border-radius);
    background-color: transparent;
    border: var(--border-width) solid var(--color-discount);
    overflow: hidden;
}

.customer-discounts .promo-discounts * {
    color: var(--color-text);
}

.customer-discounts .promo-discounts .promo-discount-line {
    padding: var(--spaces-md);
    background-color: var(--color-bg)
}

.psgdprinfo17 {
    background-color: var(--color-bg);
}

/* Pedidos */
#history .order-history {
    background-color: var(--color-white);
}

#history .order-history:not(:last-of-type) {
    margin-bottom: var(--spaces-md);
}

#history .order-history .history-info {
    width: calc(100% - 60px);
}

.order-detail-block .order_resume .title {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spaces-sm);
}

.order-detail-block .order_summary>div {
    display: flex;
    justify-content: space-between;
}

.order-detail-block .order_summary>div:not(:last-of-type) {
    margin-bottom: var(--spaces-sm);
}

.order-detail-block .order-item:not(:last-of-type) {
    border-bottom: 1px solid var(--border-color-2);
    padding-bottom: var(--spaces-md);
    margin-bottom: var(--spaces-md);
}

.order-detail-block .order_summary>div.line-total {
    background-color: var(--color-primary-50);
}

.order-detail-block .messages .message:not(:last-of-type) {
    padding-bottom: var(--spaces-sm);
    margin-bottom: var(--spaces-sm);
    border-bottom: var(--border-width) solid var(--border-color)
}



/****************************** PÁGINAS CARRITO - CHECKOUT  *******************************/
/* Carrito lateral */
#blockcart-modal .modal-totals>p {
    display: flex;
    justify-content: space-between;
    margin: 0;
}

#blockcart-modal .modal-totals>p:not(.product-total) * {
    font-size: var(--font-sm);
    margin: 0;
}

.modal-product {
    display: flex;
    padding: var(--spaces-md) 0;
}

.modal-product:not(:last-of-type) {
    border-bottom: 1px solid var(--border-color-4);
}

.modal-product .product-image {
    display: block;
    width: 100%;
    height: fit-content;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.modal-product .product-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Carrito */
#cart #wrapper .btn-buy,
#checkout #wrapper .btn-buy {
    height: 45px !important;
}

.cart-item {
    border: var(--border-width) solid var(--border-color-4);
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    padding: var(--spaces-md);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spaces-md);
}

.cart-item>.cart__product-img {
    width: 120px;
    flex: 1;
}

.cart-item>.cart__product-info {
    width: calc(100% - calc(120px + var(--spaces-md)));
}

.cart-item>.cart__product-info>div:first-of-type {
    justify-content: space-between;
    align-items: start;
}

.cart-item>.cart__product-info .cart__product-name {
    width: calc(100% - calc(160px + var(--spaces-md)));
}

.cart-item>.cart__product-info .cart__product-price {
    width: 160px;
}

.cart-summary-container .cart-summary-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cart-summary-container .cart-summary-line:not(.cart-total) * {
    font-size: var(--font-sm);
    flex-wrap: wrap;
}

.cart-summary-container .cart-summary-line.promo-name * {
    color: var(--color-discount);
}

.cart-summary-container .cart-summary-line.cart-total {
    padding: var(--spaces-sm) 0;
    display: flex;
    justify-content: space-between;
}

.cart-summary-container .cart-summary-line.cart-total .value {
    display: flex;
    flex-direction: column;
    gap: var(--spaces-xs);
}

.cart-grid-right .cart-summary .card-block.cart-summary-totals .cart-summary-line.cart-total {
    border-top: 1px solid var(--border-color-4);
    margin-top: var(--spaces-md);
}

.block-promo .promo-code .alert-danger {
    background-color: var(--color-red) !important;
    position: relative;
    display: none;
}

.block-promo .promo-code .alert-danger::after {
    border-bottom-color: var(--color-red) !important;
}

.block-promo .promo-code-button {
    padding-top: 0 !important;
    padding-bottom: var(--spaces-md);
    border-bottom: 1px solid var(--border-color-4);
}

.block-promo .promo-code-button>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-promo .promo-code .btn {
    border-radius: var(--border-radius-xs);
}

.js-discount .promo-discounts {
    cursor: pointer;
}

.js-discount .promo-discounts * {
    font-weight: 400;
    margin-bottom: 0;
}

.promo-discounts {
    background: var(--color-discount);
    border: var(--border-width) solid var(--color-discount);
    border-radius: var(--border-radius-xs);
}

.promo-discounts .promo-discount-line {
    padding: var(--spaces-sm);
}

.promo-discounts .cart-summary-line {
    padding: var(--spaces-xs);
    cursor: pointer;
}

.promo-discounts * {
    color: var(--color-white);
    font-size: var(--font-sm);
}

/* Checkout */
body#checkout section.checkout-step {
    padding: var(--spaces-2md);
    margin: 0 0 var(--spaces-md) 0;
}

body#checkout section.checkout-step .address-item,
body#checkout section.checkout-step .delivery-option,
body#checkout section.checkout-step .payment-options .payment-option {
    border: var(--border-width) solid var(--border-color-4);
    border-radius: var(--border-radius-xs);
    background-color: var(--color-bg);
}

body#checkout section.checkout-step .address-item.selected {
    border: var(--border-width) solid var(--border-color-2);
}

body#checkout section.checkout-step .address-footer>a:hover {
    color: var(--color-primary-100) !important;
}

body#checkout section.checkout-step .address-item hr {
    border-top: var(--border-width) solid var(--border-color-4);
}

/* Confirmacion de compra*/
#order-confirmation .page-order-confirmation #order-details li {
    margin: var(--spaces-sm) 0 0 0;
}

#order-confirmation .page-order-confirmation .order-return {
    font-size: var(--font-md);
}

#order-confirmation .page-order-confirmation .order-return a {
    text-decoration: underline;
}



/* RESPONSIVE */
@media(max-width:1440px) {

    /****************************** HOME *******************************/
    /* Carrusel de imagenes */
    #carousel figure img {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }

    /* Categorias destacadas */
    #homecategories-2,
    #slider-homecategories .swiper-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Blog */
    .wbp-widget .post-outbound>.post-link {
        flex-direction: column;
        align-items: start;
    }

    /****************************** CATEGORIA *******************************/
    /* Listado de productos */
    #products .products {
        grid-template-columns: repeat(4, 1fr);
    }

    /****************************** PRODUCTO *******************************/
    #product .product_topview>div:last-of-type {
        justify-content: end;
    }

    /* Bloque izq. */
    #product .product_topview .block_left {
        width: 40%;
        padding-bottom: var(--spaces-md);
    }

    /* Bloque central */
    #product .product_topview .block_center {
        width: 60%;
    }

    /* Bloque der. */
    #product .product_topview .block_right {
        width: 60%;
        margin-top: var(--spaces-md);
    }

    /****************************** FOOTER *******************************/
    /* Enlaces */
    .footer-general .footer-general-container {
        display: flex;
        flex-wrap: wrap;
        row-gap: var(--spaces-2md);
    }

    .footer-general .footer-general-container .footer_block {
        width: 25%;
    }

    .footer-general .footer-general-container .footer_block:nth-of-type(5),
    .footer-general .footer-general-container .footer_block:nth-of-type(6) {
        width: 50%;
    }

}

@media(max-width:1200px) {

    /****************************** HEADER *******************************/
    /* Menu */
    .menu-content {
        gap: var(--spaces-xs);
    }

    /****************************** HOME *******************************/
    /* Google Reviews */
    #google-reviews .reviews {
        padding-left: 0;
        padding-top: var(--spaces-md);
    }

    /****************************** CATEGORIA *******************************/
    /* Arbol de categorías */
    .categorytree-container {
        padding: var(--spaces-sm) 0 0 0 !important;
    }

    #categorytree.collapse {
        display: none;
    }

    #categorytree.collapse.in {
        display: block;
    }

    .categorytree-title>.title-icons .navbar-toggler .remove {
        display: flex;
    }

    .categorytree-title>.title-icons .navbar-toggler .add {
        display: none;
    }

    .categorytree-title.collapsed>.title-icons .navbar-toggler .add {
        display: flex;
    }

    .categorytree-title.collapsed>.title-icons .navbar-toggler .remove {
        display: none;
    }

    /****************************** PRODUCTO *******************************/
    #product .all-columns {
        margin-top: var(--spaces-md) !important;
    }

    #product .product_topview {
        margin-top: 0 !important;
    }


    /****************************** PAGINA CONTACTO *******************************/
    .contact-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:991px) {

    /****************************** HEADER *******************************/
    #logo-menu {
        width: fit-content;
    }

    /* Iconos */
    #header #icons .blockcart .block-icon-header {
        padding: 0;
        width: 45px;
    }

    /* Menu */
    #menu-icon {
        display: flex !important;
    }

    .header-bottom {
        display: none;
    }


    /****************************** HOME *******************************/
    /* Reassurance home */
    #blockreassurancehome .blockreassurancehome-item:not(:last-of-type) {
        border: none;
    }

    /* Categorias destacadas */
    #homecategories-2,
    #slider-homecategories .swiper-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Bloques home */
    .homeblocks .container-blocks {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "left"
            "top"
            "bottom"
            "right";
    }

    /* Instalaciones */
    #hometext>div {
        padding-bottom: var(--spaces-lg);
        gap: var(--spaces-2md);
        grid-template-areas:
            "a"
            "b";
    }

    #hometext .hometext-img {
        grid-area: b;
    }

    #hometext .hometext-info {
        grid-area: a;
    }

    #hometext .hometext-img img {
        width: 100%;
        height: fit-content;
    }

    #hometext .hometext-img>div {
        right: 0;
        bottom: -60px;
    }


    /****************************** FOOTER *******************************/
    /* Newsletter */
    .block_newsletter>div {
        flex-direction: column;
        align-items: start;
        gap: var(--spaces-2md);
    }

    .footer-before .block_newsletter .form_newsletter {
        max-width: none;
    }

    /* Enlaces */
    .footer-general .footer-general-container .footer_block {
        width: 50%;
    }

    /****************************** CATEGORIA *******************************/
    /* Listado de productos */
    #products .products {
        grid-template-columns: repeat(2, 1fr);
    }

    /****************************** PRODUCTO *******************************/
    /* Bloque izq. */
    #product .product_topview .block_left {
        width: 100%;
    }

    /* Bloque central */
    #product .product_topview .block_right,
    #product .product_topview .block_center {
        width: 100%;
        padding-left: 0;
    }

    /* Bloque der. */

    /****************************** CMS *******************************/
    .contact-blocks.contact-blocks-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    /****************************** PAGINA TIENDAS *******************************/
    .stores-container {
        display: flex;
        flex-direction: column-reverse;
        gap: var(--spaces-2md);
    }

    .stores-accordion {
        margin-top: 0 !important;
    }

    .stores-images {
        padding-right: 0;
    }

    .stores-images>img:nth-of-type(even) {
        margin-top: -40px;
    }

    /****************************** MARCAS *******************************/
    #manufacturer #main .listing-brands {
        grid-template-columns: repeat(3, 1fr);
    }

    /****************************** PÁGINAS CARRITO - CHECKOUT  *******************************/
    /* Carrito */
    #cart .cart-grid {
        display: flex;
        flex-direction: column-reverse;
    }

    #cart .cart-grid::after {
        display: none;
    }
}

@media(max-width:768px) {

    /****************************** HEADER *******************************/
    /* Logo */
    #header .logo {
        width: 170px;
        height: 50px;
    }

    /* Buscador */
    #content_search .result_searchbar #js-product-list .products {
        grid-template-columns: repeat(2, 1fr);
    }

    /****************************** HOME *******************************/
    /* Reassurance home */
    #blockreassurancehome>div {
        padding: var(--spaces-md);
    }

    #blockreassurancehome .blockreassurancehome-item {
        padding: 0;
    }

    #blockreassurancehome .blockreassurancehome-item:not(:last-of-type) {
        border-bottom: var(--border-width) solid var(--border-color);
        padding-bottom: var(--spaces-md);
    }

    /* Categorias destacadas */
    #slider-homecategories .swiper-wrapper {
        display: flex;
        gap: 0;
        transform: none;
    }

    #slider-homecategories .swiper-button {
        display: flex;
    }

    #homecategories-2 {
        grid-template-columns: repeat(2, 1fr)
    }


    /****************************** FOOTER *******************************/
    /* Enlaces */
    .footer-general .footer-general-container {
        row-gap: var(--spaces-md);
        margin: 0;
    }

    .footer-general .footer-general-container>div.links {
        width: 100% !important;
        justify-content: center;
        align-items: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .footer-general .links .h3 {
        margin-bottom: 0 !important;
    }

    .footer-general .links .title {
        display: flex;
        align-items: center;
        gap: var(--spaces-sm);
    }

    .footer-general .links .title::after {
        display: none;
    }

    .footer-general .links .title-icons {
        display: flex;
        height: 14px;
    }

    .footer-general .links .navbar-toggler {
        padding: 0;
    }

    .footer-general .links.footer_block .footer_list_collapse>div {
        padding-top: var(--spaces-md) !important;
    }

    .footer-general .footer-general-container .footer_block:nth-of-type(5) {
        text-align: center;
        padding-top: var(--spaces-2md) !important;
        margin-bottom: var(--spaces-md);
        margin-top: var(--spaces-md);
        border-top: var(--border-width) solid var(--color-primary);
    }

    .footer-general .methods-images {
        margin-top: var(--spaces-md);
        width: 100%;
        justify-content: center;
    }

    .reassurance-footer {
        align-items: center;
    }


    /****************************** CATEGORIA *******************************/
    #js-product-list-header {
        margin-top: var(--spaces-2md) !important;
        margin-bottom: var(--spaces-2md) !important;
    }

    /* Listado de productos */
    #products .products {
        grid-template-columns: repeat(2, 1fr);
    }

    /****************************** PRODUCTO *******************************/
    /* Bloque izq. */
    /* Imagenes */
    .product-cover-slider .swiper-pagination {
        display: block !important;
    }

    /* Bloque central */
    #product .product_topview .block_center {
        width: 100%;
    }

    /* Bloque der. */
    #product .product_topview .block_right {
        width: 100%;
        padding-left: 0;
    }

    #product-form-request .field-state {
        margin-top: var(--spaces-md);
    }

    /****************************** PAGINA CONTACTO *******************************/
    .contact-blocks,
    .contact-blocks.contact-blocks-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    /****************************** MARCAS *******************************/
    #manufacturer #main .listing-brands {
        grid-template-columns: repeat(2, 1fr);
    }

    /****************************** PÁGINAS MI CUENTA  *******************************/
    /* Mi cuenta */
    .account-items .account-item {
        width: 100%;
    }

    .table-account .thead-default {
        display: none;
    }

    .table-account tbody tr {
        flex-direction: column;
    }

    .table-account td {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        overflow: auto;
        line-height: normal;
        gap: var(--spaces-sm);
        text-align: end;
    }

    .table-account td,
    .table-account th {
        padding: var(--spaces-sm) var(--spaces-md);
    }

    .table-account td:first-of-type {
        padding: var(--spaces-md) var(--spaces-md) var(--spaces-sm) var(--spaces-md);
    }

    .table-account td:last-of-type {
        padding: var(--spaces-sm) var(--spaces-md) var(--spaces-md) var(--spaces-md);
    }


    .table-account td:before {
        content: attr(data-label);
        float: left;
        max-width: 65%;
        text-align: left;
        font-weight: 600;
    }

    .table-account tbody tr:not(:last-of-type) {
        border-bottom: 1px solid var(--border-color-2);
    }

    .table-account tbody tr>td:not(:last-of-type) {
        padding-bottom: var(--spaces-xs);
    }

    /* Pedidos */
    #order-detail .order_resume .item {
        margin-top: var(--spaces-md);
    }

    /****************************** PÁGINAS CARRITO - CHECKOUT  *******************************/
    /* Carrito */
    .cart-item>.cart__product-info>div:first-of-type>div {
        width: 100%;
        align-items: start !important;
    }

    .cart-item>.cart__product-info .cart__product-price>.product-totalprice {
        align-items: start !important;
    }

    .cart-item>.cart__product-img {
        width: 90px;
    }

    .cart-item>.cart__product-info {
        width: calc(100% - calc(90px + var(--spaces-md)));
    }
}

@media(max-width:576px) {

    /****************************** HEADER *******************************/
    /* Logo */
    #header .logo {
        width: 138px;
        height: 40px;
    }

    /* Iconos */
    #header #icons {
        gap: var(--spaces-sm) !important;
        flex-wrap: nowrap;
    }

    #header #icons .blockcart .block-icon-header {
        width: 35px;
    }

    /****************************** HOME *******************************/
    /* Miniatura de productos */
    .product-miniature .thumbnail-container .product-description>.product-info>.product-info-title {
        width: 100%;
    }

    .product-miniature .thumbnail-container .product-description .product-miniature-add-cart {
        position: absolute;
        top: -50px;
        right: 10px;
    }

    .product-miniature .thumbnail-container .product-description .product-miniature-add-cart .btn-icon {
        border-radius: var(--border-radius);
    }

    .product-miniature .thumbnail-container .product-thumbnail img {
        padding: var(--spaces-md) 0;
    }

    .product-miniature .thumbnail-container .product-thumbnail .product-flags .product-flag {
        font-size: var(--font-2xs);
    }

    /* Bloques home */
    .homeblocks .container-blocks .homeblock>a>.homeblock-info {
        padding: var(--spaces-2md) var(--spaces-md);
    }


    /****************************** FOOTER *******************************/
    body:not(#index) #footer {
        margin-top: var(--spaces-lg) !important;
    }

    /* Newsletter */
    .block_newsletter form .input-wrapper {
        flex-wrap: wrap;
    }

    .block_newsletter form .input-wrapper * {
        width: 100%;
    }

    /****************************** CATEGORIA *******************************/
    /* Listado de productos */
    #products .products {
        gap: var(--spaces-sm);
        row-gap: var(--spaces-md);
    }

    /* Filtrado */
    #js-product-list-top {
        flex-direction: column;
    }

    /****************************** PRODUCTO *******************************/
    /* Bloque central */
    /* Descuentos volumen */
    .product-block-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Añadir al carrito */
    #product .price_outstanding .product-quantity .bootstrap-touchspin input.input-group {
        width: calc(100% - 100px);
    }

    #product .price_outstanding .product-quantity .input-group-btn-vertical {
        width: 100%;
        position: absolute;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    #product .price_outstanding .product-quantity .input-group-btn-vertical .bootstrap-touchspin-up {
        right: 0;
        left: auto;
    }

    #product .price_outstanding .product-quantity .input-group-btn-vertical .bootstrap-touchspin-down {
        left: 0 !important;
    }

    #product .price_outstanding .product-quantity .qty,
    #product .price_outstanding .product-quantity .qty .bootstrap-touchspin,
    .product-quantity .add {
        width: 100%;
    }

    /****************************** CMS *******************************/
    #cms .page-content h3 {
        font-size: var(--font-md);
    }

    /****************************** PAGINA CONTACTO *******************************/
    .contact-form form {
        padding: var(--spaces-md);
    }

    .contact-block .contact-link p {
        word-break: break-word;
        font-size: var(--font-md) !important;
    }

    /****************************** PAGINA TIENDAS *******************************/
    .stores-accordion .accordion-item .accordion-content>div {
        padding: var(--spaces-md) !important;
    }

    /****************************** PÁGINAS CARRITO - CHECKOUT  *******************************/
    body#checkout section.checkout-step {
        padding: var(--spaces-md);
    }

    /****************************** MARCAS *******************************/
    #dfdmanufacturers-list .manufacturer-list ul {
        grid-template-columns: repeat(2, 1fr);
    }

    /****************************** PÁGINAS MI CUENTA  *******************************/
    /* Iniciar sesión / Crear cuenta / Contraseña */
    .section-account-info>div {
        padding: var(--spaces-2md) var(--spaces-md);
    }

    /* Mi cuenta */
    .mail-alert .mail-alert-img {
        width: 100%;
    }

    .mail-alert .mail-alert-name {
        width: calc(100% - calc(20px + var(--spaces-sm)));
    }

    /* Pedidos */
    .order-detail-block .oactions>a {
        width: 100%;
    }

    .order-detail-block .order-item .desc {
        display: flex;
        flex-direction: column;
        gap: var(--spaces-sm);
    }

    .order-detail-block .order-item .order_priceproduct {
        margin-top: var(--spaces-sm);
    }

}

@media(max-width:400px) {

    /****************************** HEADER *******************************/
    /* Logo */
    #header #logo-menu {
        gap: var(--spaces-sm) !important;
    }

    #header #logo-menu>a {
        width: calc(100% - 50px);
    }
}