/* V6.19.8: únicamente acciones en tarjetas, sin tocar encabezado, galería ni compra. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex-wrap:nowrap!important}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover > a,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover > .button,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover > .yith-wcwl-add-to-wishlist,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover > .yith-wcwl-add-to-wishlist > a{
 width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;box-sizing:border-box!important;padding:0!important;margin:0!important;flex:0 0 44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover .dt-v6198-cart-button{position:relative!important;overflow:visible!important}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover .dt-v6198-count{position:absolute!important;top:-9px!important;right:-8px!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:19px!important;height:19px!important;padding:0 4px!important;box-sizing:border-box!important;border-radius:99px!important;background:#123c59!important;color:#fff!important;border:2px solid #fff!important;font:700 10px/1 Arial,sans-serif!important;z-index:9!important;pointer-events:none!important;box-shadow:0 1px 4px #0002!important}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover .dt-v6198-count[hidden]{display:none!important}
@media(max-width:480px){body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.single-product) .products .product .container-buttons-hover{gap:6px!important}}

/* V6.19.9: reglas más específicas que los estilos estabilizados; catálogo solamente. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper ul.products li.product .container-buttons-hover,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover {display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover > *,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover > a,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover > .button,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover > .yith-wcwl-add-to-wishlist {width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;padding:0!important;margin:0!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover > * a {max-height:44px!important;}
/* Icono de favoritos visible sobre cualquier enlace/estructura del plugin, sin interceptar clics. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist {position:relative!important;overflow:visible!important;}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist::after {content:'\2661'!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font:400 26px/1 Arial,sans-serif!important;color:#194663!important;pointer-events:none!important;z-index:20!important;opacity:1!important;visibility:visible!important;}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist.exists::after {content:'\2665'!important;color:#f47721!important;}
/* Compatibilidad con contador añadido por JS en enlaces WooCommerce. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover a.dt-v6198-cart-button {position:relative!important;overflow:visible!important;}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-buttons-hover a.dt-v6198-cart-button .dt-v6198-count:not([hidden]) {display:flex!important;}

/* V6.19.11: selector real verificado en DevTools: container-buttons-hover. */
body.dt-catalog-v6178 .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;overflow:visible!important}
body.dt-catalog-v6178 .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist::after{content:"\2661"!important;position:absolute!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;font:400 26px/1 Arial,sans-serif!important;color:#194663!important;pointer-events:none!important;z-index:8!important;opacity:1!important;visibility:visible!important}
body.dt-catalog-v6178 .products .product .container-buttons-hover .yith-wcwl-add-to-wishlist a{display:block!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
body.dt-catalog-v6178 .products .product .container-buttons-hover>a{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;padding:0!important;margin:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}
body.dt-catalog-v6178 .products .product .container-buttons-hover a.dt-v6198-cart-button{position:relative!important;overflow:visible!important}
body.dt-catalog-v6178 .products .product .container-buttons-hover .dt-v6198-count[hidden]{display:none!important}


/* V6.19.12: solo favoritos del catálogo, sin tocar encabezado ni checkout. */
body.dt-catalog-v6178 .products .product .container-buttons-hover .dt-own-fav,
body.dt-catalog-v6178 .products .product .container-bottons-hover .dt-own-fav,
.products .product .container-buttons-hover .dt-own-fav,
.products .product .container-bottons-hover .dt-own-fav{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;margin:0!important;padding:0!important;border:1px solid #d7e7f0!important;border-radius:10px!important;background:#edf7fc!important;color:#0b3554!important;font:normal 30px/1 Arial,sans-serif!important;cursor:pointer!important;opacity:1!important;visibility:visible!important}
.products .product .dt-own-fav.is-active{color:#f47721!important}
#dt-fav-open{border:1px solid #d7e7f0;background:#fff;color:#0b3554;border-radius:9px;padding:10px 14px;cursor:pointer;margin:8px 12px 12px 0;font-weight:600}
.dt-fav-dialog[hidden]{display:none!important}.dt-fav-dialog{position:fixed;inset:0;z-index:999999;background:rgba(4,23,40,.6);display:flex;justify-content:center;align-items:center;padding:18px;box-sizing:border-box}
.dt-fav-panel{background:#fff;border-radius:15px;padding:22px;width:min(520px,100%);max-height:85vh;overflow:auto;color:#0b3554}.dt-fav-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.dt-fav-head h2{margin:0 0 12px;font-size:22px}.dt-fav-close{border:0;background:#eef7fc;border-radius:9px;font-size:25px;width:44px;height:44px;cursor:pointer}.dt-fav-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5edf2;padding:12px 0}.dt-fav-row a{display:flex;align-items:center;gap:12px;min-width:0;color:#0b608f}.dt-fav-row img{width:52px;height:52px;object-fit:contain}.dt-fav-row button{border:1px solid #d7e7f0;border-radius:7px;background:#fff;padding:8px;cursor:pointer}.dt-fav-note{font-size:12px;color:#64798b}

/* V6.19.13: control directo en la plantilla real (bottons), sin tocar el resto del sitio. */
body.dt-catalog-v6178 .products>div.product .container-bottons-hover > .dt-own-fav {width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;margin:0!important;flex:0 0 44px!important;font-size:28px!important;color:#0b3554!important;background:#edf7fc!important;border:1px solid #d7e7f0!important;}
body.dt-catalog-v6178 .products>div.product .container-bottons-hover > .dt-own-fav.is-active{color:#f47721!important;}
body.dt-catalog-v6178 .products>div.product .container-bottons-hover > a {width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;flex:0 0 44px!important;padding:0!important;margin:0!important;}
body.dt-catalog-v6178 .products>div.product .container-bottons-hover .dt-v6198-count[hidden]{display:none!important;}
body.dt-catalog-v6178 .products>div.product .container-bottons-hover a.dt-v6198-cart-button{overflow:visible!important;}
body.dt-catalog-v6178 .products>div.product .container-bottons-hover .dt-v6198-count:not([hidden]){display:flex!important;}

/* V6.19.17: acceso a favoritos junto al contador, sin tocar tarjetas ni checkout. */
body.dt-catalog-v6178 #topbar-order.dt-shop-toolbar #dt-fav-open,
#topbar-order.dt-shop-toolbar #dt-fav-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;width:auto!important;min-width:0!important;height:40px!important;min-height:40px!important;max-height:40px!important;flex:0 0 auto!important;padding:0 14px!important;margin:0!important;background:#fff!important;color:#0b3554!important;border:1px solid #d7e7f0!important;border-radius:10px!important;font-size:14px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important;cursor:pointer!important}
#dt-fav-dialog .dt-fav-close{color:#0b3554!important;background:#eef7fc!important;opacity:1!important;font-size:25px!important;line-height:1!important}
@media(max-width:600px){#topbar-order.dt-shop-toolbar #dt-fav-open{height:38px!important;min-height:38px!important;max-height:38px!important;padding:0 11px!important;font-size:13px!important}}

/* V6.19.18 — barra de catálogo: controles explícitos, sin mover nodos por JS. */
body.woocommerce-shop #topbar-order.dt-shop-toolbar,
body.post-type-archive-product #topbar-order.dt-shop-toolbar {display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;min-height:44px!important;margin:12px 0 22px!important;padding:0!important;}
#topbar-order.dt-shop-toolbar .woocommerce-result-count{margin:0!important;float:none!important;flex:0 0 auto!important;}
#topbar-order.dt-shop-toolbar #dt-fav-open.dt-fav-toolbar-button{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:static!important;align-items:center!important;justify-content:center!important;order:1!important;width:auto!important;min-width:0!important;height:40px!important;padding:0 14px!important;margin:0!important;color:#0b3554!important;background:#fff!important;border:1px solid #d7e7f0!important;border-radius:10px!important;font-size:14px!important;line-height:1.2!important;font-weight:600!important;white-space:nowrap!important;cursor:pointer!important;}
#topbar-order.dt-shop-toolbar .woocommerce-ordering{order:2!important;margin:0 0 0 auto!important;float:none!important;}
#dt-fav-dialog .dt-fav-close{color:#0b3554!important;}
@media(max-width:640px){#topbar-order.dt-shop-toolbar .woocommerce-ordering{margin-left:0!important;width:100%!important;}#topbar-order.dt-shop-toolbar #dt-fav-open.dt-fav-toolbar-button{font-size:13px!important;}}

/* V6.19.28 — Encabezado del catálogo y jerarquía de precios.
   Solo CSS: sin cambios en WooCommerce, favoritos ni botones. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header{
  box-sizing:border-box!important;
  margin:10px auto 12px!important;
  padding:0 20px!important;
  max-width:1250px!important;
  min-height:0!important;
  border-radius:16px!important;
  background:#073a59!important;
  overflow:hidden!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header .woocommerce-products-header__title,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header h1.page-title{
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:15px 0 16px!important;
  border:0!important;
  background:transparent!important;
  color:#fff!important;
  font-size:clamp(25px,2.6vw,36px)!important;
  font-weight:800!important;
  line-height:1.2!important;
  letter-spacing:-.025em!important;
  text-align:left!important;
  text-indent:0!important;
  transform:none!important;
}
/* El precio vigente es el protagonista; el anterior queda secundario y tachado. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:3px 8px!important;
  margin:4px 0 2px!important;
  font-size:19px!important;
  font-weight:800!important;
  line-height:1.35!important;
  color:#073a59!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price del{
  display:inline-block!important;
  margin:0!important;
  color:#8a9ba8!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.4!important;
  text-decoration:line-through!important;
  opacity:1!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price ins{
  display:inline-block!important;
  margin:0!important;
  padding:0!important;
  color:#0872aa!important;
  background:transparent!important;
  font-size:20px!important;
  font-weight:850!important;
  line-height:1.3!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price ins .amount,
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price ins bdi{
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
}
@media(max-width:760px){
 body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header{margin:8px 8px 12px!important;padding:0 15px!important;border-radius:12px!important}
 body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header h1.page-title{padding:13px 0!important;font-size:25px!important}
 body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price{font-size:15px!important;gap:2px 5px!important}
 body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price del{font-size:11px!important}
 body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) #main__wrapper .products .product .container-bottom .price ins{font-size:16px!important;white-space:normal!important}
}


/* V6.19.31 — Jerarquía de precios del catálogo (CSS exclusivamente).
   Selector adaptado a la estructura real .products > div.product .container-bottom.
   Sin reglas para botones, favoritos, galería o ficha individual. */
body.dt-catalog-v6178 .products > div.product .container-bottom span.price,
body.woocommerce-shop .products > div.product .container-bottom span.price,
body.post-type-archive-product .products > div.product .container-bottom span.price {
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  column-gap:10px!important;
  row-gap:3px!important;
  margin:9px 0 12px!important;
  line-height:1.3!important;
}
body.dt-catalog-v6178 .products > div.product .container-bottom span.price del,
body.woocommerce-shop .products > div.product .container-bottom span.price del,
body.post-type-archive-product .products > div.product .container-bottom span.price del {
  color:#8798a6!important;
  opacity:1!important;
  font-size:clamp(12px, .95vw, 14px)!important;
  font-weight:400!important;
  text-decoration:line-through!important;
  text-decoration-color:#8798a6!important;
}
body.dt-catalog-v6178 .products > div.product .container-bottom span.price del *,
body.woocommerce-shop .products > div.product .container-bottom span.price del *,
body.post-type-archive-product .products > div.product .container-bottom span.price del * {
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  text-decoration:line-through!important;
}
body.dt-catalog-v6178 .products > div.product .container-bottom span.price ins,
body.woocommerce-shop .products > div.product .container-bottom span.price ins,
body.post-type-archive-product .products > div.product .container-bottom span.price ins {
  color:#006da8!important;
  background:transparent!important;
  text-decoration:none!important;
  font-size:clamp(19px,1.5vw,23px)!important;
  font-weight:800!important;
  line-height:1.25!important;
}
body.dt-catalog-v6178 .products > div.product .container-bottom span.price ins *,
body.woocommerce-shop .products > div.product .container-bottom span.price ins *,
body.post-type-archive-product .products > div.product .container-bottom span.price ins * {
  color:inherit!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  text-decoration:none!important;
}
@media(max-width:760px){
 body.dt-catalog-v6178 .products > div.product .container-bottom span.price,
 body.woocommerce-shop .products > div.product .container-bottom span.price,
 body.post-type-archive-product .products > div.product .container-bottom span.price{column-gap:6px!important;margin:6px 0 9px!important}
 body.dt-catalog-v6178 .products > div.product .container-bottom span.price ins,
 body.woocommerce-shop .products > div.product .container-bottom span.price ins,
 body.post-type-archive-product .products > div.product .container-bottom span.price ins{font-size:clamp(15px,3.9vw,19px)!important}
}

/* V6.19.32 — Acabado de cabecera y ruta de navegación del catálogo.
   Exclusivamente breadcrumb y título; no alterar precios, tarjetas o favoritos. */
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-breadcrumb {
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:5px!important;
  width:calc(100% - 40px)!important;
  max-width:1210px!important;
  margin:14px auto 16px!important;
  padding:10px 15px!important;
  border:1px solid #e3edf4!important;
  border-radius:11px!important;
  background:#f7fafc!important;
  color:#58728a!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.5!important;
  box-shadow:none!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-breadcrumb a {
  color:#0b496c!important;
  font-weight:650!important;
  text-decoration:none!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-breadcrumb a:hover {
  color:#f47719!important;
  text-decoration:underline!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header {
  padding-left:clamp(22px,3vw,40px)!important;
  padding-right:clamp(22px,3vw,40px)!important;
}
body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header h1.page-title {
  padding:19px 0 20px!important;
  font-size:clamp(27px,2.6vw,39px)!important;
  line-height:1.16!important;
  letter-spacing:-.025em!important;
}
@media(max-width:760px) {
  body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-breadcrumb {
    width:calc(100% - 24px)!important;
    margin:10px auto 12px!important;
    padding:8px 12px!important;
    font-size:12px!important;
  }
  body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header {
    padding-left:19px!important;
    padding-right:19px!important;
  }
  body:is(.woocommerce-shop,.post-type-archive-product,.tax-product_cat,.tax-product_tag) .woocommerce-products-header h1.page-title {
    padding:15px 0 16px!important;
    font-size:clamp(25px,6vw,31px)!important;
  }
}
