/*TOP BAR*/

.whb-color-light .slide-topbar {
    color: #fff;
}

.whb-color-dark #slider-topbar button,
.whb-color-dark #slider-topbar__mobile button {
    color: var(--wd-text-color);
}

.theme-woodmart .whb-top-bar .wd-header-text {
    font-size: 14px;
    line-height: 1;
}

.whb-top-bar .wpb_content_element {
    margin-bottom: 0;
}

.whb-top-bar p {
    margin-bottom: 0px;
}

.wd-header-html {
    width: 100%;
}

.whb-top-bar #slider-topbar,
.whb-top-bar #slider-topbar__mobile {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    text-align: center;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .125em;
    font-size: 12px;
}

.whb-top-bar #slider-topbar .slide-topbar,
.whb-top-bar #slider-topbar__mobile .slide-topbar {
    opacity: 0;
    transition: opacity .25s ease-in-out;
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    pointer-events: none;
    line-height: 1;
}

.whb-top-bar #slider-topbar .slide-topbar.active,
.whb-top-bar #slider-topbar__mobile .slide-topbar.active {
    opacity: 1;
}

.whb-top-bar button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    min-width: auto;
    min-height: 100%;
    font-size: 0 !important;
    font-weight: 400;
    line-height: 1;
    background-color: transparent;
}

.whb-top-bar button:hover {
    background-color: transparent;
}

.whb-top-bar #prev-topbar,
.whb-top-bar #prev-topbar__mobile {
    left: 8%;
}

.whb-top-bar #prev-topbar:before,
.whb-top-bar #prev-topbar__mobile:before {
    content: '\f177';
    font-family: 'Font Awesome 6 Pro';
    font-size: 11px;
}

.whb-top-bar #next-topbar,
.whb-top-bar #next-topbar__mobile {
    right: 8%;
}

.whb-top-bar #next-topbar:before,
.whb-top-bar #next-topbar__mobile:before {
    content: '\f178';
    font-family: 'Font Awesome 6 Pro';
    font-size: 11px;
}

.whb-top-bar.whb-color-light #next-topbar,
.whb-top-bar.whb-color-light #next-topbar__mobile,
.whb-top-bar.whb-color-light #prev-topbar,
.whb-top-bar.whb-color-light #prev-topbar__mobile {
    color: #fff;
}

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

    .whb-top-bar #slider-topbar,
    .whb-top-bar #slider-topbar__mobile {
        font-size: 10px;
    }

}

/*MEGAMENÚ*/

header .wd-dropdown-menu.wd-design-sized:not(.wd-scroll),
header .wd-dropdown-menu.wd-design-sized.wd-scroll .wd-dropdown-inner {
    padding: 35px;
}

.enova-megamenu {
    margin: 0;
}

.megamenu .wpb_content_element {
    margin-bottom: 0;
}

.enova-megamenu .wd-sub-menu.mega-menu-list {
    padding: 35px;
}

.megamenu {
    display: flex;
    flex-wrap: wrap;
}

.megamenu .columna {
    width: max-content;
    display: flex;
    flex-direction: column;
}

.megamenu-links {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-column-gap: 125px;
    white-space: initial;
    flex: 0;
}

.megamenu-custom-blocks {
    overflow: hidden;
    flex: 1;
    margin-left: 125px;
}

.megamenu-custom-blocks .mega-menu-promotion:hover img {
    transform: scale(1.05);
}

.megamenu .columna h3 {
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 14px;
    width: 100%;
    font-weight: 600;
}

.megamenu .columna h3~a {
    line-height: 1.35;
    padding: 7px 0;
    position: relative;
    width: max-content;
    max-width: 115px;
    font-size: 13px;
    letter-spacing: .0875em;
}

.megamenu .columna h3~a:hover {
    opacity: 0.975;
}

.megamenu .columna h3~a:first-child {
    padding-top: 0;
}

.megamenu .columna.custom-block {
    width: 100%;
    height: 100%;
    gap: 25px;
}

.mega-menu-promotion--cover {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 100%;
    white-space: normal;
    padding: 0 50px 50px;
}

.mega-menu-promotion--cover .heading-font,
.mega-menu-promotion--cover .text-button.white {
    color: #fff;
    position: relative;
}

.mega-menu-promotion--cover .heading-font {
    text-transform: uppercase;
    letter-spacing: 0.85px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
}

.text-button:after,
.text-button:before {
    content: "";
    display: block;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
}

.mega-menu-promotion--cover .text-button.white:before {
    background: rgba(255, 255, 255, .2);
    top: calc(100% + 2px);
}

.mega-menu-promotion--cover .text-button:after {
    top: calc(100% + 2px);
}

.megamenu .columna a:is(.item, .text-button):after {
    content: "";
    background: currentColor;
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    will-change: transform;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.megamenu .columna a:is(.item):after {
    top: auto;
    bottom: 4px;
}

.megamenu .columna a:is(.text-button):after {
    top: calc(100% + 2px);
}

.megamenu .columna a:is(.item, .text-button):hover:after {
    transform: scale(1);
}

.theme-woodmart .wd-header-nav,
.theme-woodmart .wd-header-nav .wd-nav[class*="wd-style-"],
.theme-woodmart .wd-header-nav .wd-nav[class*="wd-style-"]>li,
.theme-woodmart .wd-header-nav .wd-nav[class*="wd-style-"]>li>a,
.theme-woodmart .wd-header-nav .wd-nav[class*="wd-style-"]>li>a>span {
    height: 100%;
    display: flex;
    align-items: center;
}

.megamenu .products[class*="wd-stretch-cont"] .product-wrapper {
    display: flex;
    gap: 10px;
    padding: 20px;
    background-color: #f9fafb;
}

.megamenu .product-grid-item .product-element-top {
    width: 89.75% !important;
}

.megamenu .vc_row:after,
.megamenu .vc_row:before {
    display: none;
}

.megamenu .products.wd-stretch-cont-lg .product {
    margin: 0;
    padding: 0;
}

.megamenu .megamenu-custom-blocks p {
    display: none;
}

.megamenu .wpb_single_image .vc_single_image-wrapper {
    height: 100%;
    width: 100%;
}

.megamenu .product-wrapper .product-element-bottom .wd-add-btn {
    display: none;
}

.megamenu .product-grid-item.product.wd-hover-fw-button .wd-add-btn>a {
    background-color: var(--wd-primary-color);
    color: #fff;
}

.megamenu .wd-swatches-grid {
    display: none;
}

.megamenu .megamenu-links .columna {
    max-width: 160px;
}

#menu-item-9021 .megamenu-custom-blocks{
    margin-left: 0;
    flex: auto;
}

#menu-item-9021 .megamenu .columna.custom-block{
    width: 100%;
}

/*GENERALES*/

body .wd-nav.wd-gap-m {
    --nav-gap: 40px;
}

#menu-item-2284 span {
    font-size: 0;
    padding-inline: 10px;
}

li#menu-item-2284 span:before {
    content: "\f146";
    font-family: "woodmart-font";
    font-weight: 400;
    font-size: 21px;
    line-height: 1.05;
    color: #1A1818;
    transition: color .25s ease;
}

li#menu-item-2284 span:hover:before {
    color: rgba(51, 51, 51, .6);
}

.wd-header-secondary-nav.text-right {
    justify-content: flex-end;
    padding: 0;
}

.whb-header-bottom .wd-header-nav.wd-header-secondary-nav a {
    padding: 0 25px;
    background-color: #DB2434;
    transform: translateX(-10px);
}

body .wd-nav-img,
body .mega-menu-list img {
    max-height: 23px;
    width: 23px !important;
}

.searchform.wd-style-default {
    width: 50%;
    min-width: 250px;
}

.theme-woodmart [class*="wd-header-search-form"] input[type='text'] {
    min-width: initial;
    background-color: transparent;
    border: 0;
    padding-left: var(--wd-search-btn-w);
    padding-right: 15px;
}

body .whb-color-dark [class*="wd-header-search-form"] :is(.wd-style-default, .wd-style-with-bg-2) {
    --wd-form-color: #313131;
}

header .searchform .searchsubmit {
    left: 0;
    line-height: 1;
}

.whb-general-header.whb-flex-flex-middle .site-logo {
    margin-inline-end: 25px;
}

.whb-general-header .nav-link-text {
    text-transform: none;
}

.whb-general-header .wd-nav[class*="wd-style-underline"] .nav-link-text:after {
    height: 1px;
    background-color: currentColor;
    transition: width 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

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

    .theme-woodmart .wd-nav-sticky>li>a .wd-nav-img {
        width: 25px !important;
        height: 25px;
    }

    .theme-woodmart .wd-nav-img,
    .theme-woodmart .mega-menu-list img {
        margin-right: 10px;
        max-height: 20px;
        width: 20px !important;
    }

    .theme-woodmart .wd-nav-mobile li a {
        min-height: 60px;
    }

    .mobile-nav.wd-side-hidden {
        width: 100%;
        max-width: 100%;
    }

    .mobile-nav .wd-nav>li>a {
        font-size: 14px;
    }

    .mobile-nav .wd-nav-opener {
        width: 60px;
    }

    .whb-top-bar #prev-topbar__mobile {
        left: 0;
        height: 40px;
        width: 40px;
        padding: 0;
        justify-content: flex-start;
    }

    .whb-top-bar #next-topbar__mobile {
        right: 0;
        height: 40px;
        width: 40px;
        padding: 0;
        justify-content: flex-end;
    }

    body [class*="wd-header-search-form"] {
        padding: 0;
    }

    body .searchform.wd-style-default {
        width: 100%;
        min-width: auto;
    }

    .wd-header-search-form-mobile .searchform input[type="text"] {
        padding: 0 10px;
    }

    body .searchform .searchsubmit {
        left: auto;
    }

    body .wd-nav-mobile .wd-with-icon>a:before {
        font-weight: bold;
    }

}

@media (min-width: 1025px) {

    body .whb-full-width .whb-row>.container,
    body .whb-full-width+.whb-clone .whb-row>.container {
        max-width: 100%;
        width: clamp(var(--wd-container-w), 100%);
        padding: 0 50px;
    }

}