



/* =====================================
   CONTATTO HOME - NAVBAR GLASS OSCURO
   Solo al hacer scroll
===================================== */

/* Contenedor del encabezado fijo */
body.page-id-20425 .whb-sticky-header.whb-clone.whb-sticked {
    background: transparent !important;
}

/* Fondo negro translucido con blur */
body.page-id-20425 .whb-sticky-header.whb-clone.whb-sticked
.whb-row.whb-sticky-row {
    background: rgba(0, 0, 0, 0.28) !important;
    background-image: none !important;

    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;

    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.12) !important;
}

/* Textos blancos del menu */
body.page-id-20425 .whb-sticky-header.whb-sticked .wd-nav {
    --nav-color: #ffffff !important;
    --nav-color-hover: #ffffff !important;
    --nav-color-active: #ffffff !important;
    --nav-chevron-color: #ffffff !important;
}

body.page-id-20425 .whb-sticky-header.whb-sticked
.wd-nav > li > a {
    color: #ffffff !important;
}

/* Iconos blancos */
body.page-id-20425 .whb-sticky-header.whb-sticked
.wd-tools-element {
    --wd-header-el-color: #ffffff !important;
}

body.page-id-20425 .whb-sticky-header.whb-sticked
.wd-tools-icon,
body.page-id-20425 .whb-sticky-header.whb-sticked
.wd-tools-element > a {
    color: #ffffff !important;
}

/* Logo blanco en el menu fijo */
body.page-id-20425 .whb-sticky-header.whb-sticked
.site-logo img {
    filter: brightness(0) invert(1) !important;
}



/* CONTATTO HOME - TEXTOS DE TODOS LOS DESPLEGABLES */

@media (min-width: 1025px) {

  /* Colores internos de WoodMart */
  body.page-id-20425 .wd-dropdown-menu {
    --wd-text-color: #ffffff !important;
    --wd-title-color: #ffffff !important;
    --wd-link-color: #ffffff !important;
    --wd-link-color-hover: #ffffff !important;
    --sub-menu-color: #ffffff !important;
    --sub-menu-color-hover: #ffffff !important;
  }

  /* Enlaces de todos los submenus */
  body.page-id-20425 .whb-header
  .wd-dropdown-menu .wd-sub-menu li > a,
  body.page-id-20425 .whb-sticky-header
  .wd-dropdown-menu .wd-sub-menu li > a {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  /* Textos internos de los enlaces */
  body.page-id-20425 .wd-dropdown-menu
  .wd-sub-menu a span {
    color: #ffffff !important;
  }

  /* Titulos de las columnas */
  body.page-id-20425 .wd-dropdown-menu h2,
  body.page-id-20425 .wd-dropdown-menu h3,
  body.page-id-20425 .wd-dropdown-menu h4,
  body.page-id-20425 .wd-dropdown-menu h5,
  body.page-id-20425 .wd-dropdown-menu .widgettitle,
  body.page-id-20425 .wd-dropdown-menu .widget-title {
    color: #ffffff !important;
  }

  /* Enlaces de bloques HTML del megamenu */
  body.page-id-20425 .wd-dropdown-menu a {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  }

  /* Color al pasar el mouse */
  body.page-id-20425 .wd-dropdown-menu a:hover {
    color: #ffffff !important;
    opacity: 0.8 !important;
  }

}

/* NAVBAR Y BARRA SUPERIOR - EFECTO GLASS */

/* PÁGINAS INTERIORES */
body:not(.home) .whb-top-bar,
body:not(.home) .whb-general-header,
body:not(.home) .whb-sticky-header .whb-row {
    background: rgba(0, 0, 0, 0.35) !important;

    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;

    transition: background 0.3s ease !important;
}

/* TEXTO BARRA SUPERIOR */
body:not(.home) .whb-top-bar,
body:not(.home) .whb-top-bar a {
    color: #FFFFFF !important;
}

/* TEXTO DEL MENÚ */
body:not(.home)
.whb-header .wd-nav > li:not(.menu-ofertas) > a {
    color: #FFFFFF !important;
}

/* HOVER CREMA */
body:not(.home)
.whb-header .wd-nav > li:not(.menu-ofertas):hover > a {
    color: #D5C1AC !important;
}

/* LOGO BLANCO */
body:not(.home) .whb-header .wd-logo img,
body:not(.home) .whb-header .site-logo img {
    filter: brightness(0) invert(1) !important;
}

/* ICONOS BLANCOS */
body:not(.home) .whb-header .wd-tools-element,
body:not(.home) .whb-header .wd-tools-icon,
body:not(.home) .whb-header .wd-tools-icon::before,
body:not(.home) .whb-header .wd-tools-text,
body:not(.home) .whb-header .wd-tools-text * {
    color: #FFFFFF !important;
}

/* ICONOS SVG */
body:not(.home) .whb-header .wd-tools-icon svg {
    color: #FFFFFF !important;
}

/* PRECIO DEL CARRITO */
body:not(.home) .whb-header .wd-cart-subtotal,
body:not(.home) .whb-header .wd-cart-subtotal * {
    color: #FFFFFF !important;
}

/* VER CARRO DE COMPRA */
.cart-widget-side .woocommerce-mini-cart__buttons .btn-cart {
    background: #F5F4F3 !important;
    color: #292929 !important;
}

/* HOVER VER CARRO */
.cart-widget-side .woocommerce-mini-cart__buttons .btn-cart:hover {
    background: #E5E0DC !important;
    color: #292929 !important;
}

/* FINALIZAR COMPRA */
.cart-widget-side .woocommerce-mini-cart__buttons .checkout {
    background: #292929 !important;
    color: #FFFFFF !important;
}

/* HOVER FINALIZAR COMPRA */
.cart-widget-side .woocommerce-mini-cart__buttons .checkout:hover {
    background: #444444 !important;
    color: #FFFFFF !important;
}

/* OCULTAR BOTÓN SEGUIR COMPRANDO */

.cart-widget-side .wc-proceed-to-checkout.rick-backward {
    display: none !important;
}

/* CONTATTO - MEGAMENU OSCURO EN PAGINAS INTERIORES */

@media (min-width: 1025px) {

  /* Fondo completo del desplegable */
  body:not(.home) .whb-header
  .wd-dropdown-menu.wd-dropdown {
    background: rgba(20, 20, 20, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
  }

  /* Evitar fondos blancos interiores */
  body:not(.home) .whb-header
  .wd-dropdown-menu > .container {
    background: transparent !important;
  }

  /* Textos blancos */
  body:not(.home) .whb-header
  .wd-dropdown-menu .wd-sub-menu a,
  body:not(.home) .whb-header
  .wd-dropdown-menu .wd-sub-menu a span {
    color: #FFFFFF !important;
  }

  /* Hover crema */
  body:not(.home) .whb-header
  .wd-dropdown-menu .wd-sub-menu a:hover,
  body:not(.home) .whb-header
  .wd-dropdown-menu .wd-sub-menu a:hover span {
    color: #D5C1AC !important;
  }
}

/* DECO HOME - BANNER ANCHO COMPLETO */

.deco-banner-principal {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}

/* CONTENEDOR */
.deco-banner-principal > .elementor-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* IMAGEN COMPLETA SIN DEFORMAR */
.deco-banner-principal .elementor-widget-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* OCULTAR TITULO DEL BANNER BLACK FRIDAY */

.wd-page-title .title,
.wd-page-title .wd-back-btn {
    visibility: hidden !important;
}
