/* ==========================================================================
   Estilo de la web nueva aplicado al escaparate de la tienda (Divi + WooCommerce).
   Capa aislada: para desactivarla basta comentar la linea 'require_once ... unesdi-shop-style.php'
   en functions.php del tema hijo. No toca carrito, finalizar compra ni Mi cuenta (solo cabecera, pie y tipografia).
   ========================================================================== */

/* ---- Tipografia (Poppins) ---- */
body, p, li, a, input, select, textarea, label, td, th,
.et_pb_text, .woocommerce-loop-product__title, .price, .et_pb_menu .et-menu a {
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif !important;
}
h1,h2,h3,h4,h5,h6,.et_pb_module_header,.product_title,.entry-title {
  font-family:'Poppins',-apple-system,BlinkMacSystemFont,sans-serif !important;
  font-weight:700; color:#0d0d0d; letter-spacing:-.01em; line-height:1.15;
}
body { color:#59595c; }

/* ---- Cabecera blanca ---- */
html body #custom-header, html body .et-l--header #custom-header { background-color:#fff !important; box-shadow:0 1px 0 rgba(13,13,13,.08); }
.et-l--header .et_pb_menu .et-menu > li > a, .et-l--header .et_pb_menu .nav li a {
  color:#59595c !important; font-size:.8rem !important; letter-spacing:1px; text-transform:uppercase; font-weight:600 !important;
}
.et-l--header .et_pb_menu .et-menu > li > a:hover, .et-l--header .et_pb_menu .nav li a:hover { color:#0d0d0d !important; opacity:1 !important; }
html body #custom-header a.highlight_cat, html body #custom-header .current-menu-item > a { color:#0d0d0d !important; }
.et-l--header .et_pb_menu .et-menu-nav li ul.sub-menu { background:#fff !important; border-top:2px solid #0d0d0d; }
html body #custom-header .et-pb-icon, html body #custom-header .dwe_mini_cart_icon, html body #custom-header .et_pb_icon_wrap,
.et-l--header .mobile_menu_bar:before { color:#0d0d0d !important; }
html body #custom-header .dwe_mini_cart_product_count { background:#0d0d0d !important; color:#fff !important; border-radius:999px; }

/* ---- Pie oscuro ---- */
html body .et-l--footer .et_pb_section.et_pb_with_background { background-color:#111 !important; }
.et-l--footer, .et-l--footer p, .et-l--footer li, .et-l--footer a, .et-l--footer span { color:rgba(255,255,255,.7); }
.et-l--footer a:hover { color:#fff; }
.et-l--footer h1,.et-l--footer h2,.et-l--footer h3,.et-l--footer h4,.et-l--footer h5,.et-l--footer .et_pb_module_header { color:#fff; }

/* ---- Escaparate: botones, precios y tarjetas (no en carrito / pago / mi cuenta) ---- */
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container a.button,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container button.button,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container a.add_to_cart_button,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container .single_add_to_cart_button {
  background:#0d0d0d !important; color:#fff !important; border:1px solid #0d0d0d !important; border-radius:999px !important;
  font-family:'Poppins',sans-serif !important; font-size:.76rem !important; font-weight:600 !important; letter-spacing:1px !important; text-transform:uppercase !important;
}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container a.button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container a.add_to_cart_button:hover,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #page-container .single_add_to_cart_button:hover {
  background:#59595c !important; border-color:#59595c !important;
}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .dwe_single_woo_product_price,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .dwe_single_woo_product_price *,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .price,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .price * {
  font-family:'Poppins',sans-serif !important; color:#0d0d0d !important;
}
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .dwe_single_woo_product_price { font-weight:600; }
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .dwe_single_woo_product_title,
body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) .dwe_single_woo_product_title a {
  font-family:'Poppins',sans-serif !important; font-weight:600 !important; color:#0d0d0d !important; font-size:1rem !important; letter-spacing:-.01em;
}

/* Menu legible en fichas de producto */
html body #page-container #custom-header .et_pb_menu .et-menu > li > a, html body #page-container #custom-header .et_pb_menu .nav li > a{color:#59595c !important;font-size:.8rem !important;letter-spacing:1px;text-transform:uppercase;font-weight:600 !important}
html body #page-container #custom-header .et_pb_menu .et-menu > li > a:hover, html body #page-container #custom-header .et_pb_menu .et-menu > li.current-menu-item > a{color:#0d0d0d !important}
html body #page-container #custom-header .et-menu li ul.sub-menu a{color:#59595c !important;text-transform:none;letter-spacing:0}

/* Cabecera blanca en Theme Builder (fichas) */
html body #page-container .et-l--header #custom-header.et_pb_section{background-color:#fff !important;background-image:none !important}

/* Logo oscuro sobre cabecera blanca */
html body #custom-header .et_pb_menu__logo img, html body #custom-header #custom-logo img, html body #custom-header .et_pb_menu__logo-wrap img{filter:brightness(0) !important;opacity:.9}
