:root{
  --adg-pink:#FF285D;
  --adg-cyan:#25C4DF;
  --adg-gold:#FFCB7F;
  --adg-bg:#FFF8EF;
  --adg-card:#fff;
  --adg-text:#17171d;
  --adg-muted:#8a8a94;
  --adg-border:rgba(23,23,29,.11);
  --adg-shadow:0 12px 28px rgba(17,24,39,.07);
}

body.post-type-archive-product,
body.tax-product_cat,
body.woocommerce-shop,
body.single-product{background:var(--adg-bg)!important;color:var(--adg-text)!important;}

/* Ocultar labels nativos / BeRocket */
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.ast-shop-product-out-of-stock,
.berocket_better_labels,
.berocket_better_labels_line,
.berocket_better_labels_position,
.berocket_better_labels_image,
.br_alabels,.br_alabel,.br_alabel_label,.berocket_alabel,.berocket_label,
[class*="berocket_better_labels"],[class*="berocket_alabel"],[class*="br_alabel"],[class*="bapf_lable"],[class*="brlabel"]{
  display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;
}

/* ================= CATÁLOGO ================= */
@media (min-width:922px){
  body.post-type-archive-product .site-content .ast-container,
  body.tax-product_cat .site-content .ast-container,
  body.woocommerce-shop .site-content .ast-container{
    max-width:1180px!important;
    padding-left:22px!important;
    padding-right:22px!important;
  }
  body.ast-left-sidebar.post-type-archive-product #secondary,
  body.ast-left-sidebar.tax-product_cat #secondary,
  body.ast-left-sidebar.woocommerce-shop #secondary{
    width:245px!important;
    padding-right:20px!important;
    border-right:1px solid var(--adg-border)!important;
  }
  body.ast-left-sidebar.post-type-archive-product #primary,
  body.ast-left-sidebar.tax-product_cat #primary,
  body.ast-left-sidebar.woocommerce-shop #primary{
    width:calc(100% - 245px)!important;
    padding-left:34px!important;
    border-left:0!important;
  }
}

body.post-type-archive-product .woocommerce-products-header__title,
body.tax-product_cat .woocommerce-products-header__title,
body.woocommerce-shop .woocommerce-products-header__title,
body.post-type-archive-product .entry-title,
body.tax-product_cat .entry-title,
body.woocommerce-shop .entry-title{
  color:var(--adg-pink)!important;
  font-size:38px!important;
  line-height:1.1!important;
  margin:0 0 18px!important;
}

.woocommerce .ast-shop-toolbar-container,.woocommerce-page .ast-shop-toolbar-container{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 24px!important;
}
.woocommerce .woocommerce-result-count,.woocommerce-page .woocommerce-result-count{margin:0!important;color:var(--adg-text)!important;font-weight:650!important;}
.woocommerce .woocommerce-ordering,.woocommerce-page .woocommerce-ordering{margin:0!important;}
.woocommerce .woocommerce-ordering select,.woocommerce-page .woocommerce-ordering select{
  min-height:42px!important;border:1px solid var(--adg-border)!important;border-radius:10px!important;background:#fff!important;color:var(--adg-text)!important;padding:8px 44px 8px 14px!important;
}

.woocommerce ul.products,.woocommerce-page ul.products{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 12px!important;clear:both!important;
}
.woocommerce ul.products:before,.woocommerce ul.products:after,.woocommerce-page ul.products:before,.woocommerce-page ul.products:after{display:none!important;}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product,.woocommerce ul.products[class*=columns-] li.product,.woocommerce-page ul.products[class*=columns-] li.product{
  width:auto!important;float:none!important;clear:none!important;margin:0!important;position:relative!important;
}
@media (min-width:922px){
  body:not(.single-product).woocommerce .site-main ul.products,
  body:not(.single-product).woocommerce-page .site-main ul.products,
  body:not(.single-product) .ast-woocommerce-container ul.products,
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.woocommerce-shop .woocommerce ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:24px 22px!important;
  }
}

.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{
  background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:15px!important;overflow:hidden!important;box-shadow:0 8px 20px rgba(0,0,0,.045)!important;transition:.18s ease!important;
}
.woocommerce ul.products li.product:hover,.woocommerce-page ul.products li.product:hover{transform:translateY(-2px)!important;box-shadow:var(--adg-shadow)!important;border-color:rgba(255,40,93,.22)!important;}

/* Imagen completa, sin recorte. Respeta tus portadas subidas. */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap,.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap{
  position:relative!important;background:#fff!important;overflow:hidden!important;aspect-ratio:auto!important;
}
.woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img{
  display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;margin:0!important;padding:0!important;background:#fff!important;border-radius:0!important;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap,.woocommerce-page ul.products li.product .astra-shop-summary-wrap{padding:12px 13px 14px!important;}
.woocommerce ul.products li.product .ast-woo-product-category,.woocommerce-page ul.products li.product .ast-woo-product-category{
  font-size:11px!important;line-height:1.2!important;color:var(--adg-muted)!important;text-transform:uppercase!important;letter-spacing:.045em!important;margin-bottom:7px!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-size:14.5px!important;line-height:1.28!important;font-weight:700!important;color:#1f1f26!important;margin:0 0 10px!important;min-height:38px!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;transition:color .18s ease!important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{color:var(--adg-pink)!important;}
.woocommerce ul.products li.product .price,.woocommerce-page ul.products li.product .price{
  font-size:13.5px!important;line-height:1.2!important;font-weight:800!important;color:var(--adg-pink)!important;margin:0!important;
}
.woocommerce ul.products li.product .button,.woocommerce-page ul.products li.product .button{display:none!important;}

/* Labels */
.adg-product-label{
  position:absolute!important;top:8px!important;right:8px!important;z-index:50!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;padding:6px 12px!important;border-radius:999px!important;color:#fff!important;font-size:10.5px!important;line-height:1!important;font-weight:950!important;letter-spacing:.05em!important;text-transform:uppercase!important;box-shadow:0 7px 15px rgba(0,0,0,.16)!important;white-space:nowrap!important;
}
.adg-label-oferta{background:linear-gradient(135deg,#FF285D,#ff6f94)!important;color:#fff!important;}
.adg-label-estreno{background:linear-gradient(135deg,#25C4DF,#69dded)!important;color:#06303a!important;}
.adg-label-nuevo{background:linear-gradient(135deg,#FFCB7F,#f7a92d)!important;color:#2b1700!important;}
.producto-alquiler-agotado .astra-shop-thumbnail-wrap:after,.producto-totalmente-agotado .astra-shop-thumbnail-wrap:after{
  position:absolute!important;left:8px!important;bottom:8px!important;z-index:45!important;max-width:calc(100% - 16px)!important;padding:5px 7px!important;border-radius:5px!important;color:#fff!important;font-size:9.5px!important;line-height:1!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 6px 14px rgba(0,0,0,.18)!important;
}
.producto-alquiler-agotado .astra-shop-thumbnail-wrap:after{content:"ALQUILER AGOTADO"!important;background:rgba(0,0,0,.72)!important;}
.producto-totalmente-agotado .astra-shop-thumbnail-wrap:after{content:"AGOTADO"!important;background:rgba(255,40,93,.90)!important;}

/* Sidebar / filtros */
#secondary .widget,.ast-left-sidebar #secondary .widget,.woocommerce-page #secondary .widget{
  background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:18px!important;padding:18px!important;margin-bottom:18px!important;box-shadow:0 10px 26px rgba(17,24,39,.055)!important;
}
#secondary .widget-title,#secondary h2,#secondary h3,#secondary h4,
#secondary .yith-wcan-filter .filter-title,
#secondary .yith-wcan-filter h4{
  color:var(--adg-text)!important;
  font-size:22px!important;
  line-height:1.1!important;
  font-weight:900!important;
  margin-bottom:14px!important;
}
#secondary .yith-wcan-filter .filter-title,
#secondary .yith-wcan-filter h4{font-size:17px!important;}
#secondary label{color:#34343b!important;font-weight:500!important;}
#secondary input[type=checkbox]{accent-color:var(--adg-pink)!important;width:14px!important;height:14px!important;}
#secondary a,#secondary .clear-selection{color:var(--adg-pink)!important;}
#secondary a:not(.clear-selection){color:var(--adg-text)!important;}
#secondary a:not(.clear-selection):hover{color:var(--adg-pink)!important;}
#secondary .yith-wcan-filter,#secondary .filter-item,#secondary li{margin-bottom:10px!important;}
body.post-type-archive-product #secondary .widget_products,body.tax-product_cat #secondary .widget_products,body.woocommerce-shop #secondary .widget_products,body.post-type-archive-product #secondary [id*="block-105"],body.tax-product_cat #secondary [id*="block-105"],body.woocommerce-shop #secondary [id*="block-105"]{display:none!important;}
.woocs_auto_switcher{z-index:20!important;transform:scale(.88);transform-origin:left center;}

/* ================= PRODUCTO INDIVIDUAL ================= */
@media (min-width:922px){
  body.single-product .site-content .ast-container{max-width:1120px!important;padding-left:18px!important;padding-right:18px!important;}
  body.single-product .site-main>.ast-woocommerce-container{padding-top:16px!important;}
  body.single-product div.product{
    display:grid!important;grid-template-columns:minmax(430px,520px) minmax(470px,560px)!important;column-gap:22px!important;justify-content:center!important;align-items:start!important;max-width:1100px!important;margin:0 auto!important;position:relative!important;
  }
  body.single-product div.product .woocommerce-product-gallery{
    width:100%!important;float:none!important;margin:0!important;max-width:520px!important;background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:16px!important;padding:8px!important;box-shadow:0 10px 22px rgba(0,0,0,.045)!important;position:relative!important;
  }
  body.single-product div.product .summary{
    width:100%!important;float:none!important;margin:0!important;max-width:560px!important;background:#fff!important;border:1px solid rgba(255,40,93,.12)!important;border-radius:16px!important;padding:14px 15px!important;box-shadow:0 10px 22px rgba(0,0,0,.045)!important;
  }
  body.single-product .product_title.entry-title{font-size:22px!important;line-height:1.08!important;margin:0 0 8px!important;color:#1f1f26!important;font-weight:900!important;}
  body.single-product .product_title.entry-title:hover{color:var(--adg-pink)!important;}
  body.single-product div.product p.price,body.single-product div.product span.price{color:var(--adg-pink)!important;font-size:21px!important;font-weight:950!important;line-height:1.15!important;margin:0 0 10px!important;}
  body.single-product .woocommerce-product-details__short-description{font-size:12.5px!important;line-height:1.34!important;padding:9px 11px!important;margin:0 0 9px!important;background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:12px!important;}
  body.single-product .woocommerce-product-details__short-description ul,body.single-product .summary ul{margin:0 0 0 15px!important;padding:0!important;}
  body.single-product .woocommerce-product-details__short-description li,body.single-product .summary li{margin:0 0 3px!important;}
}

body.single-product div.product .woocommerce-product-gallery__wrapper{background:#fff!important;border-radius:12px!important;overflow:hidden!important;}
body.single-product div.product .woocommerce-product-gallery img{object-fit:contain!important;object-position:center center!important;background:#fff!important;}
body.single-product div.product div.images .flex-control-thumbs li img{border-radius:9px!important;border:1px solid var(--adg-border)!important;background:#fff!important;}
body.single-product div.product div.images .flex-control-thumbs li img.flex-active{border-color:var(--adg-pink)!important;box-shadow:0 0 0 2px rgba(255,40,93,.16)!important;}

/* Label dentro de la galería */
body.single-product .woocommerce-product-gallery .adg-single-product-label,
body.single-product div.product>.adg-single-product-label{
  top:10px!important;right:10px!important;left:auto!important;font-size:12px!important;min-height:29px!important;padding:8px 15px!important;border-radius:999px!important;
}

/* Modalidad compacta */
body.single-product form.cart,body.single-product .variations_form{margin-top:4px!important;padding-top:8px!important;border-top:1px solid var(--adg-border)!important;}
body.single-product .variations,body.single-product table.variations{margin:0!important;width:100%!important;}
body.single-product .variations tbody,body.single-product .variations tr,body.single-product .variations th,body.single-product .variations td{display:block!important;width:100%!important;padding:0!important;border:0!important;}
body.single-product .variations th.label,body.single-product .variations label{font-size:15px!important;line-height:1.2!important;color:#111116!important;font-weight:900!important;margin:0 0 8px!important;}
body.single-product .variations td.value{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important;width:100%!important;}
body.single-product .variations td.value > *{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
body.single-product .variations td.value > label,
body.single-product .variations td.value .variable-item,
body.single-product .variations td.value .radio-variable-item,
body.single-product .variations td.value .wvs-variable-item,
body.single-product .variations td.value .button-variable-item,
body.single-product form.cart .variation,
body.single-product form.cart .variation-item,
body.single-product form.cart .option,
body.single-product form.cart .radio-option{
  min-height:74px!important;padding:10px 12px!important;border:1px solid var(--adg-border)!important;border-radius:13px!important;background:#fff!important;box-shadow:0 5px 12px rgba(0,0,0,.03)!important;color:#17171d!important;line-height:1.18!important;overflow:hidden!important;
}

/* Variaciones: que Alquiler / Principal ocupen todo el ancho disponible */
body.single-product .variations td.value label,
body.single-product .variations td.value .variable-item,
body.single-product .variations td.value .radio-variable-item,
body.single-product .variations td.value .wvs-variable-item,
body.single-product .variations td.value .button-variable-item{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
body.single-product .variations td.value label{
  display:block!important;
  cursor:pointer!important;
}
body.single-product .variations td.value label:hover,
body.single-product .variations td.value .selected,
body.single-product .variations td.value .variable-item.selected{
  border-color:rgba(255,40,93,.45)!important;
  box-shadow:0 0 0 2px rgba(255,40,93,.10)!important;
}

body.single-product .variations td.value img,body.single-product form.cart label img{width:34px!important;height:34px!important;object-fit:cover!important;border-radius:6px!important;vertical-align:middle!important;margin-right:6px!important;}
body.single-product .variations td.value .price,body.single-product form.cart .price,body.single-product .variations td.value bdi{color:var(--adg-pink)!important;font-weight:950!important;}
body.single-product form.cart input[type="radio"]{accent-color:var(--adg-pink)!important;}
body.single-product .stock,.woocommerce div.product .stock{color:#246d2f!important;font-weight:700!important;line-height:1.25!important;margin:3px 0 0!important;}
body.single-product .stock.out-of-stock,.woocommerce div.product .out-of-stock{color:var(--adg-pink)!important;}
body.single-product .single_add_to_cart_button,body.single-product button.single_add_to_cart_button.button,body.single-product .cart button.button{
  width:100%!important;margin-top:10px!important;border-radius:999px!important;background:#f3b2c4!important;color:#fff!important;font-size:12px!important;font-weight:900!important;letter-spacing:.04em!important;min-height:42px!important;border:0!important;box-shadow:none!important;transition:background-color .18s ease, transform .18s ease, box-shadow .18s ease!important;
}
body.single-product .single_add_to_cart_button:not(.disabled):not(:disabled),
body.single-product button.single_add_to_cart_button.button:not(.disabled):not(:disabled),
body.single-product .cart button.button:not(.disabled):not(:disabled){
  background:var(--adg-pink)!important;
  color:#fff!important;
  box-shadow:0 10px 18px rgba(255,40,93,.20)!important;
}
body.single-product .single_add_to_cart_button:not(.disabled):not(:disabled):hover,
body.single-product button.single_add_to_cart_button.button:not(.disabled):not(:disabled):hover,
body.single-product .cart button.button:not(.disabled):not(:disabled):hover{
  background:#e61f52!important;
  transform:translateY(-1px)!important;
}
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled,
body.single-product button.single_add_to_cart_button.button.disabled,
body.single-product button.single_add_to_cart_button.button:disabled,
body.single-product .cart button.button.disabled,
body.single-product .cart button.button:disabled{
  background:#f3b2c4!important;
  color:#fff!important;
  opacity:1!important;
  box-shadow:none!important;
  cursor:not-allowed!important;
}
body.single-product .product_meta{font-size:14px!important;line-height:1.25!important;color:#555!important;margin-top:10px!important;}
body.single-product .product_meta a{color:#555!important;text-decoration:none!important;}
body.single-product .product_meta a:hover{color:var(--adg-pink)!important;}

body.single-product .woocommerce-tabs{grid-column:1/-1!important;max-width:1040px!important;margin:30px auto 0!important;}
body.single-product .woocommerce-tabs .panel{background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:0 0 18px 18px!important;padding:18px 22px!important;box-shadow:0 8px 20px rgba(0,0,0,.035)!important;}
body.single-product .woocommerce-Tabs-panel{font-size:16px!important;line-height:1.65!important;}
body.single-product .woocommerce-Tabs-panel iframe,body.single-product .woocommerce-Tabs-panel embed{width:min(100%,720px)!important;min-height:360px!important;display:block!important;border-radius:14px!important;}
body.single-product section.related.products{grid-column:1/-1!important;max-width:1040px!important;margin:34px auto 0!important;}
body.single-product section.related.products>h2{color:var(--adg-pink)!important;font-size:25px!important;margin-bottom:18px!important;}
body.single-product section.related.products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;}
body.single-product section.related.products li.product .astra-shop-thumbnail-wrap:after{content:none!important;display:none!important;}
body.single-product section.related.products .woocommerce-loop-product__title{font-size:13.2px!important;min-height:36px!important;}

/* ================= MÓVIL ================= */
@media (max-width:921px){
  body.post-type-archive-product .site-content .ast-container,body.tax-product_cat .site-content .ast-container,body.woocommerce-shop .site-content .ast-container{padding-left:18px!important;padding-right:18px!important;}
  body.post-type-archive-product .woocommerce-products-header__title,body.tax-product_cat .woocommerce-products-header__title,body.woocommerce-shop .woocommerce-products-header__title,body.post-type-archive-product .entry-title,body.tax-product_cat .entry-title,body.woocommerce-shop .entry-title{font-size:38px!important;line-height:1.05!important;margin-top:18px!important;margin-bottom:18px!important;}
  .woocommerce .ast-shop-toolbar-container,.woocommerce-page .ast-shop-toolbar-container{flex-direction:column!important;align-items:stretch!important;gap:13px!important;margin-bottom:22px!important;}
  .woocommerce .woocommerce-result-count,.woocommerce-page .woocommerce-result-count{text-align:center!important;font-size:17px!important;}
  .woocommerce .woocommerce-ordering select,.woocommerce-page .woocommerce-ordering select{width:100%!important;font-size:17px!important;min-height:52px!important;border-radius:12px!important;}
  .yith-wcan-filters-opener{width:100%!important;min-height:54px!important;border-radius:10px!important;background:var(--adg-pink)!important;color:#fff!important;font-size:18px!important;font-weight:900!important;letter-spacing:.04em!important;border:0!important;}
  .yith-wcan-filters-opener i,.yith-wcan-filters-opener svg{color:#fff!important;fill:#fff!important;}
  .woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important;}
  .woocommerce ul.products li.product .astra-shop-thumbnail-wrap,.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap{aspect-ratio:auto!important;}
  .woocommerce ul.products li.product .woocommerce-loop-product__title,.woocommerce-page ul.products li.product .woocommerce-loop-product__title{color:#202026!important;font-size:14.5px!important;min-height:40px!important;}
  .woocommerce ul.products li.product:hover .woocommerce-loop-product__title,.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{color:var(--adg-pink)!important;}
  .woocommerce ul.products li.product .price,.woocommerce-page ul.products li.product .price{color:var(--adg-pink)!important;font-size:15px!important;}
  .woocommerce ul.products li.product .adg-product-label,.woocommerce-page ul.products li.product .adg-product-label{top:10px!important;right:10px!important;font-size:10.5px!important;min-height:26px!important;padding:6px 13px!important;}

  body.single-product .site-content .ast-container{padding-left:18px!important;padding-right:18px!important;}
  body.single-product .woocommerce-product-gallery{background:#fff!important;border-radius:18px!important;padding:0!important;overflow:hidden!important;}
  body.single-product .product_title.entry-title{color:#1f1f26!important;font-size:28px!important;line-height:1.08!important;margin-bottom:12px!important;}
  body.single-product div.product p.price,body.single-product div.product span.price{color:var(--adg-pink)!important;font-size:25px!important;line-height:1.15!important;margin-bottom:16px!important;}
  body.single-product .woocommerce-product-details__short-description{font-size:16px!important;line-height:1.45!important;padding:13px!important;margin-bottom:15px!important;background:#fff!important;border:1px solid var(--adg-border)!important;border-radius:16px!important;}
  body.single-product .woocommerce-product-gallery .adg-single-product-label,body.single-product div.product>.adg-single-product-label{top:12px!important;right:12px!important;font-size:13px!important;min-height:30px!important;padding:8px 16px!important;}
  body.single-product form.cart,body.single-product .variations_form{margin-top:8px!important;padding-top:12px!important;}
  body.single-product .variations th.label,body.single-product .variations label{font-size:18px!important;}
  body.single-product .variations td.value{grid-template-columns:1fr!important;gap:8px!important;}
  body.single-product .variations td.value > label,
  body.single-product .variations td.value .variable-item,
  body.single-product .variations td.value .radio-variable-item,
  body.single-product .variations td.value .wvs-variable-item,
  body.single-product .variations td.value .button-variable-item,
  body.single-product form.cart .variation,
  body.single-product form.cart .variation-item,
  body.single-product form.cart .option,
  body.single-product form.cart .radio-option{min-height:64px!important;padding:10px 12px!important;font-size:16px!important;}
  body.single-product .single_add_to_cart_button,body.single-product button.single_add_to_cart_button.button,body.single-product .cart button.button{min-height:54px!important;font-size:15px!important;margin-top:12px!important;}
  body.single-product .woocommerce-tabs{margin-top:30px!important;}
  body.single-product .woocommerce-tabs .panel{padding:18px 16px!important;}
  body.single-product .woocommerce-Tabs-panel iframe{min-height:240px!important;}
  body.single-product section.related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 12px!important;}
}


/* ===== Ajustes v2.2 ===== */
@media (min-width:922px){
  body.single-product .variations td.value{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.single-product .variations td.value > label,
  body.single-product .variations td.value > div,
  body.single-product .variations td.value > span{
    width:100%!important;
    max-width:none!important;
  }
  body.single-product .variations td.value label,
  body.single-product .variations td.value .variable-item,
  body.single-product .variations td.value .radio-variable-item,
  body.single-product .variations td.value .button-variable-item,
  body.single-product form.cart .variation,
  body.single-product form.cart .variation-item,
  body.single-product form.cart .option,
  body.single-product form.cart .radio-option{
    min-height:72px!important;
    display:block!important;
  }
}
#secondary .widget-title,
#secondary .wp-block-heading,
#secondary .yith-wcan-filter .filter-title,
#secondary .yith-wcan-filter h4{
  color:var(--adg-text)!important;
}
#secondary .clear-selection,
#secondary a.clear-selection,
#secondary .yith-wcan-reset-filters{
  color:var(--adg-pink)!important;
}

/* ===== Ajustes v2.3: producto individual y filtros ===== */
@media (min-width:922px){
  /* Más equilibrio: galería + resumen más a la par, sin estirar toda la página */
  body.single-product .site-content .ast-container{
    max-width:1200px!important;
  }
  body.single-product div.product{
    grid-template-columns:minmax(470px,560px) minmax(500px,560px)!important;
    column-gap:24px!important;
    max-width:1160px!important;
  }
  body.single-product div.product .woocommerce-product-gallery{
    max-width:560px!important;
  }
  body.single-product div.product .summary{
    max-width:560px!important;
    padding:14px 16px!important;
  }

  /* Ficha del producto: texto menos rosado, más premium */
  body.single-product .product_title.entry-title{
    color:#17171d!important;
  }
  body.single-product .product_title.entry-title a,
  body.single-product .summary a:not(.reset_variations):not(.button){
    color:#17171d!important;
  }
  body.single-product div.product p.price,
  body.single-product div.product span.price,
  body.single-product div.product p.price bdi,
  body.single-product div.product span.price bdi{
    color:var(--adg-pink)!important;
  }

  /* La descripción corta ya no debe dominar la columna */
  body.single-product .woocommerce-product-details__short-description{
    font-size:12.8px!important;
    padding:10px 12px!important;
    margin-bottom:10px!important;
  }

  /* Modalidad: ocupar todo el ancho real y no quedar como cajitas angostas */
  body.single-product form.cart,
  body.single-product .variations_form{
    width:100%!important;
    margin-top:2px!important;
    padding-top:10px!important;
  }
  body.single-product table.variations,
  body.single-product .variations,
  body.single-product .variations tbody,
  body.single-product .variations tr,
  body.single-product .variations td.value{
    width:100%!important;
    max-width:none!important;
  }
  body.single-product .variations td.value{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }

  /* Compatibilidad con plugins de swatches/radio: wrapper interno a 2 columnas */
  body.single-product .variations td.value ul,
  body.single-product .variations td.value .variable-items-wrapper,
  body.single-product .variations td.value .radio-variable-wrapper,
  body.single-product .variations td.value .wvs-variable-items-wrapper,
  body.single-product .variations td.value .tawcvs-swatches,
  body.single-product .variations td.value .rtwpvs-terms-wrapper{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.single-product .variations td.value li,
  body.single-product .variations td.value .variable-item,
  body.single-product .variations td.value .radio-variable-item,
  body.single-product .variations td.value .wvs-variable-item,
  body.single-product .variations td.value .button-variable-item,
  body.single-product .variations td.value label,
  body.single-product form.cart .variation,
  body.single-product form.cart .variation-item,
  body.single-product form.cart .option,
  body.single-product form.cart .radio-option{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:76px!important;
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    padding:12px 14px!important;
    border-radius:14px!important;
    font-size:14px!important;
    line-height:1.18!important;
  }

  /* Quitar mini foto en opciones: se ve más limpio y deja espacio al texto/precio */
  body.single-product .variations td.value img,
  body.single-product form.cart label img,
  body.single-product .variations td.value .variable-item-contents img,
  body.single-product .variations td.value .image-tooltip-wrapper{
    display:none!important;
  }

  /* Precio de cada opción más ordenado */
  body.single-product .variations td.value .price,
  body.single-product form.cart .price,
  body.single-product .variations td.value bdi{
    color:var(--adg-pink)!important;
    font-weight:950!important;
    white-space:nowrap!important;
  }
  body.single-product .stock,
  .woocommerce div.product .stock{
    display:block!important;
    margin-top:2px!important;
    font-size:13.5px!important;
    line-height:1.2!important;
  }

  /* Limpiar / reset: no debe quedarse flotando a la derecha */
  body.single-product .reset_variations{
    grid-column:1/-1!important;
    width:fit-content!important;
    max-width:100%!important;
    justify-self:start!important;
    align-self:center!important;
    display:inline-flex!important;
    margin:0 0 4px!important;
    padding:4px 9px!important;
    border-radius:999px!important;
    background:rgba(255,40,93,.08)!important;
    color:var(--adg-pink)!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:800!important;
    text-decoration:none!important;
    text-transform:uppercase!important;
    letter-spacing:.035em!important;
  }

  /* Separador y botón más cerca, menos espacio muerto */
  body.single-product .single_variation_wrap,
  body.single-product .woocommerce-variation-add-to-cart{
    margin-top:8px!important;
  }
  body.single-product .single_add_to_cart_button,
  body.single-product button.single_add_to_cart_button.button,
  body.single-product .cart button.button{
    margin-top:8px!important;
  }
}

/* Filtro lateral: texto negro; solo links de acción/hover en rosado */
#secondary,
#secondary .widget,
#secondary .widget *:not(a):not(.clear-selection):not(.yith-wcan-reset-filters),
#secondary label,
#secondary li,
#secondary .filter-item,
#secondary .term-label,
#secondary .yith-wcan-filter,
#secondary .yith-wcan-filter *:not(a):not(.clear-selection):not(.yith-wcan-reset-filters){
  color:#1f1f26!important;
}
#secondary a{
  color:#1f1f26!important;
}
#secondary a:hover,
#secondary .clear-selection,
#secondary a.clear-selection,
#secondary .yith-wcan-reset-filters{
  color:var(--adg-pink)!important;
}

/* En móvil mantenemos una sola columna, pero también quitamos mini foto para ordenar */
@media (max-width:921px){
  body.single-product .variations td.value img,
  body.single-product form.cart label img,
  body.single-product .variations td.value .variable-item-contents img,
  body.single-product .variations td.value .image-tooltip-wrapper{
    display:none!important;
  }
  body.single-product .variations td.value label,
  body.single-product .variations td.value .variable-item,
  body.single-product .variations td.value .radio-variable-item,
  body.single-product .variations td.value .button-variable-item,
  body.single-product form.cart .variation,
  body.single-product form.cart .variation-item,
  body.single-product form.cart .option,
  body.single-product form.cart .radio-option{
    gap:8px!important;
  }
  body.single-product .reset_variations{
    display:inline-flex!important;
    margin:0 0 8px!important;
    padding:5px 10px!important;
    border-radius:999px!important;
    background:rgba(255,40,93,.08)!important;
    color:var(--adg-pink)!important;
    font-size:12px!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
}

/* ===== Ajustes v2.5: revertimos modalidad rota y dejamos diseño limpio ===== */
/* Catálogo: título negro normal, hover rosado, precio rosado */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  color:#1f1f26!important;
  font-weight:600!important;
  letter-spacing:0!important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{
  color:var(--adg-pink)!important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  color:var(--adg-pink)!important;
  font-weight:700!important;
}

/* Producto individual: proporción estable, sin estirar raro */
@media (min-width:922px){
  body.single-product .site-content .ast-container{
    max-width:1200px!important;
  }
  body.single-product div.product{
    grid-template-columns:minmax(500px,560px) minmax(520px,600px)!important;
    column-gap:28px!important;
    max-width:1180px!important;
    align-items:start!important;
  }
  body.single-product div.product .woocommerce-product-gallery{
    max-width:560px!important;
  }
  body.single-product div.product .summary{
    max-width:600px!important;
    width:100%!important;
    padding:14px 16px!important;
  }
}

body.single-product .product_title.entry-title{
  color:#17171d!important;
  font-weight:650!important;
}
body.single-product div.product p.price,
body.single-product div.product span.price,
body.single-product div.product p.price bdi,
body.single-product div.product span.price bdi{
  color:var(--adg-pink)!important;
  font-weight:700!important;
}

/* Modalidad: filas limpias a ancho completo. Sin mini foto y sin círculos gigantes. */
body.single-product form.cart,
body.single-product .variations_form{
  width:100%!important;
  margin-top:2px!important;
  padding-top:10px!important;
}
body.single-product table.variations,
body.single-product .variations,
body.single-product .variations tbody,
body.single-product .variations tr,
body.single-product .variations th,
body.single-product .variations td{
  width:100%!important;
  max-width:none!important;
}
body.single-product .variations th.label,
body.single-product .variations th.label label{
  color:#17171d!important;
  font-size:15px!important;
  font-weight:700!important;
  margin:0 0 8px!important;
}
body.single-product .variations td.value{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.single-product .variations td.value ul,
body.single-product .variations td.value .variable-items-wrapper,
body.single-product .variations td.value .woo-variation-items-wrapper,
body.single-product .variations td.value .wvs-variable-items-wrapper,
body.single-product .variations td.value .radio-variable-wrapper,
body.single-product .variations td.value .tawcvs-swatches,
body.single-product .variations td.value .rtwpvs-terms-wrapper,
body.single-product .variations td.value .cfvsw-swatches-container{
  display:flex!important;
  flex-direction:column!important;
  gap:8px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
body.single-product .variations td.value > label:not(.reset_variations),
body.single-product .variations td.value li,
body.single-product .variations td.value .variable-item,
body.single-product .variations td.value .radio-variable-item,
body.single-product .variations td.value .wvs-variable-item,
body.single-product .variations td.value .button-variable-item,
body.single-product .variations td.value .cfvsw-swatches-option,
body.single-product form.cart .variation,
body.single-product form.cart .variation-item,
body.single-product form.cart .option,
body.single-product form.cart .radio-option{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:54px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:10px 14px!important;
  border:1px solid var(--adg-border)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 4px 10px rgba(0,0,0,.025)!important;
  color:#17171d!important;
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:500!important;
  white-space:normal!important;
  overflow:hidden!important;
  text-align:left!important;
}
body.single-product .variations td.value input[type="radio"],
body.single-product form.cart input[type="radio"]{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  margin:0 8px 0 0!important;
  padding:0!important;
  flex:0 0 16px!important;
  transform:none!important;
  accent-color:var(--adg-pink)!important;
}
body.single-product .variations td.value img,
body.single-product form.cart label img,
body.single-product .variations td.value .variable-item-contents img,
body.single-product .variations td.value .image-tooltip-wrapper{
  display:none!important;
}
body.single-product .variations td.value label:hover,
body.single-product .variations td.value li:hover,
body.single-product .variations td.value .selected,
body.single-product .variations td.value .variable-item.selected,
body.single-product .variations td.value .cfvsw-selected-swatch{
  border-color:rgba(255,40,93,.45)!important;
  box-shadow:0 0 0 2px rgba(255,40,93,.10)!important;
}
body.single-product .variations td.value .price,
body.single-product form.cart .price,
body.single-product .variations td.value bdi{
  color:var(--adg-pink)!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
body.single-product .stock,
.woocommerce div.product .stock{
  color:#246d2f!important;
  font-weight:600!important;
  font-size:13.5px!important;
  line-height:1.25!important;
  margin:0!important;
}
body.single-product .stock.out-of-stock,
.woocommerce div.product .out-of-stock{
  color:var(--adg-pink)!important;
}
body.single-product .reset_variations{
  display:inline-flex!important;
  width:fit-content!important;
  margin:4px 0 0!important;
  padding:4px 9px!important;
  border-radius:999px!important;
  background:rgba(255,40,93,.08)!important;
  color:var(--adg-pink)!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:700!important;
  text-decoration:none!important;
  text-transform:uppercase!important;
  letter-spacing:.035em!important;
  position:static!important;
  transform:none!important;
}
body.single-product .single_variation_wrap,
body.single-product .woocommerce-variation-add-to-cart{
  margin-top:8px!important;
}

/* Filtro: texto negro, solo limpiar/hover rosado */
#secondary,
#secondary .widget,
#secondary .widget *:not(a):not(.clear-selection):not(.yith-wcan-reset-filters),
#secondary label,
#secondary li,
#secondary .filter-item,
#secondary .term-label,
#secondary .yith-wcan-filter,
#secondary .yith-wcan-filter *:not(a):not(.clear-selection):not(.yith-wcan-reset-filters){
  color:#1f1f26!important;
  font-weight:400!important;
}
#secondary .widget-title,
#secondary .wp-block-heading,
#secondary .yith-wcan-filter .filter-title,
#secondary .yith-wcan-filter h4{
  color:#17171d!important;
  font-weight:650!important;
}
#secondary a{color:#1f1f26!important;}
#secondary a:hover,
#secondary .clear-selection,
#secondary a.clear-selection,
#secondary .yith-wcan-reset-filters{color:var(--adg-pink)!important;}

/* Móvil: mantener compacto */
@media (max-width:921px){
  body.single-product .variations td.value{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  body.single-product .variations td.value > label:not(.reset_variations),
  body.single-product .variations td.value li,
  body.single-product .variations td.value .variable-item,
  body.single-product .variations td.value .radio-variable-item,
  body.single-product .variations td.value .wvs-variable-item,
  body.single-product .variations td.value .button-variable-item,
  body.single-product form.cart .variation,
  body.single-product form.cart .variation-item,
  body.single-product form.cart .option,
  body.single-product form.cart .radio-option{
    min-height:62px!important;
    padding:10px 12px!important;
    font-size:15px!important;
    font-weight:500!important;
  }
  body.single-product .variations td.value input[type="radio"],
  body.single-product form.cart input[type="radio"]{
    width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;max-width:17px!important;max-height:17px!important;
  }
}


/* ================= v2.7 ajustes finales ================= */
/* Variaciones lado a lado en escritorio */
@media (min-width: 922px){
  body.single-product .variations td.value{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:12px!important;
    align-items:stretch!important;
  }
  body.single-product .variations td.value > label,
  body.single-product .variations td.value > .variable-item,
  body.single-product .variations td.value > .radio-variable-item,
  body.single-product .variations td.value > .wvs-variable-item,
  body.single-product .variations td.value > .button-variable-item,
  body.single-product .variations td.value > .variation,
  body.single-product .variations td.value > .variation-item,
  body.single-product .variations td.value > .option,
  body.single-product .variations td.value > .radio-option{
    flex:1 1 calc(50% - 6px)!important;
    width:calc(50% - 6px)!important;
    max-width:calc(50% - 6px)!important;
    min-width:0!important;
  }
  body.single-product .variations td.value .reset_variations,
  body.single-product .variations td.value .reset_variations[style],
  body.single-product .variations td.value .clear-selection,
  body.single-product .variations td.value .variations-reset,
  body.single-product .variations td.value a.reset_variations{
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
    order:99!important;
    display:block!important;
    margin:2px 0 0!important;
    padding:0!important;
    text-align:left!important;
    color:#b7a2a8!important;
    font-size:12px!important;
    font-weight:600!important;
    letter-spacing:.03em!important;
    text-transform:uppercase!important;
  }
}

/* En móvil, las modalidades siguen apiladas */
@media (max-width: 921px){
  body.single-product .variations td.value{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
}

/* Modalidades más limpias, sin miniatura */
body.single-product .variations td.value img,
body.single-product form.cart label img{
  display:none!important;
}

/* Contenido interno de cada modalidad */
body.single-product .variations td.value > label,
body.single-product .variations td.value > .variable-item,
body.single-product .variations td.value > .radio-variable-item,
body.single-product .variations td.value > .wvs-variable-item,
body.single-product .variations td.value > .button-variable-item{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:4px!important;
}

/* Título del loop negro y hover rojo; precio rojo */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  color:#1f1f26!important;
  font-weight:700!important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product:hover .woocommerce-loop-product__title{
  color:var(--adg-pink)!important;
}
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  color:var(--adg-pink)!important;
}


/* ===== v2.8: variaciones lado a lado en desktop ===== */
@media (min-width:922px){
  body.single-product .variations td.value,
  body.single-product td.value .alg-wc-pvr-radios,
  body.single-product td.value .alg_wc_pvr_radiobuttons,
  body.single-product td.value .variable-items-wrapper,
  body.single-product td.value .woo-variation-items-wrapper,
  body.single-product td.value .thwvsf-wrapper-ul,
  body.single-product td.value .thwvsf-rad-li-wrapper,
  body.single-product td.value ul,
  body.single-product td.value .radio-options,
  body.single-product td.value .radio-variable-wrapper{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  body.single-product td.value > div,
  body.single-product td.value > ul,
  body.single-product td.value .alg-wc-pvr-radios > label,
  body.single-product td.value .alg-wc-pvr-radios > span,
  body.single-product td.value .alg_wc_pvr_radiobuttons > label,
  body.single-product td.value .variable-items-wrapper > li,
  body.single-product td.value .woo-variation-items-wrapper > li,
  body.single-product td.value .thwvsf-wrapper-ul > li,
  body.single-product td.value .thwvsf-rad-li-wrapper > li,
  body.single-product td.value ul > li,
  body.single-product td.value .radio-options > label,
  body.single-product td.value .radio-variable-wrapper > label,
  body.single-product td.value > label{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    align-self:stretch!important;
    box-sizing:border-box!important;
  }

  body.single-product td.value .alg-wc-pvr-radios > label,
  body.single-product td.value .alg_wc_pvr_radiobuttons > label,
  body.single-product td.value .variable-items-wrapper > li,
  body.single-product td.value .woo-variation-items-wrapper > li,
  body.single-product td.value .thwvsf-wrapper-ul > li,
  body.single-product td.value .thwvsf-rad-li-wrapper > li,
  body.single-product td.value ul > li,
  body.single-product td.value .radio-options > label,
  body.single-product td.value .radio-variable-wrapper > label,
  body.single-product td.value > label{
    min-height:92px!important;
    border:1px solid var(--adg-border)!important;
    border-radius:14px!important;
    background:#fff!important;
    padding:14px 16px!important;
    box-shadow:0 5px 12px rgba(0,0,0,.03)!important;
    overflow:hidden!important;
    display:block!important;
  }

  body.single-product td.value .reset_variations,
  body.single-product td.value .reset_variations_alert,
  body.single-product td.value .clear-selection,
  body.single-product td.value .clear{
    grid-column:1 / -1!important;
    display:block!important;
    width:100%!important;
    margin:0!important;
    text-align:left!important;
  }
}

@media (max-width:921px){
  body.single-product td.value .alg-wc-pvr-radios,
  body.single-product td.value .alg_wc_pvr_radiobuttons,
  body.single-product td.value .variable-items-wrapper,
  body.single-product td.value .woo-variation-items-wrapper,
  body.single-product td.value .thwvsf-wrapper-ul,
  body.single-product td.value .thwvsf-rad-li-wrapper,
  body.single-product td.value ul,
  body.single-product td.value .radio-options,
  body.single-product td.value .radio-variable-wrapper{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
}


/* ===== v2.9: modalidad realmente en 2 columnas + limpiar visible ===== */
@media (min-width:922px){
  body.single-product .adg-modalidad-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    width:100%!important;
    align-items:stretch!important;
  }

  body.single-product .adg-modalidad-grid > .adg-modalidad-card,
  body.single-product .adg-modalidad-card{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:92px!important;
    margin:0!important;
    padding:15px 16px!important;
    box-sizing:border-box!important;
    border:1px solid var(--adg-border)!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 5px 12px rgba(0,0,0,.03)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:left!important;
    overflow:hidden!important;
  }

  body.single-product .adg-modalidad-card.selected,
  body.single-product .adg-modalidad-card.variable-item-selected,
  body.single-product .adg-modalidad-card.thwvsf-selected,
  body.single-product .adg-modalidad-card:has(input[type="radio"]:checked){
    border-color:var(--adg-pink)!important;
    box-shadow:0 0 0 2px rgba(255,40,93,.10)!important;
  }
}

@media (max-width:921px){
  body.single-product .adg-modalidad-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    width:100%!important;
  }
  body.single-product .adg-modalidad-card{
    width:100%!important;
    max-width:none!important;
  }
}

/* Oculta miniaturas internas solo dentro de modalidad */
body.single-product .adg-modalidad-card img{
  display:none!important;
}

/* El link limpiar ya no queda como barra pálida */
body.single-product .reset_variations,
body.single-product .adg-reset-variations{
  display:inline-block!important;
  width:auto!important;
  max-width:none!important;
  margin:8px 0 0!important;
  padding:0!important;
  background:transparent!important;
  color:#9b8c92!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  opacity:1!important;
}
body.single-product .reset_variations:hover,
body.single-product .adg-reset-variations:hover{
  color:var(--adg-pink)!important;
}

/* Fecha de oferta limpia */
body.single-product .fecha-oferta{
  margin:6px 0 0!important;
  color:#17171d!important;
  font-size:13px!important;
  line-height:1.25!important;
}
body.single-product .fecha-oferta strong{
  color:var(--adg-pink)!important;
  font-weight:800!important;
}


/* ===== v3.0: Woo Variation Swatches exacto para Modalidad ===== */

/* El wrapper real es UL.variable-items-wrapper dentro de TD.value */
body.single-product table.variations td.value > ul.variable-items-wrapper,
body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  align-items:stretch!important;
}

/* Cada LI es la tarjeta real */
body.single-product table.variations td.value > ul.variable-items-wrapper > li.variable-item,
body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid > li.variable-item,
body.single-product table.variations td.value ul.variable-items-wrapper > li.radio-variable-item{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  min-height:96px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--adg-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 12px rgba(0,0,0,.03)!important;
  display:block!important;
  overflow:hidden!important;
  transform:none!important;
}

/* Quita los estilos de tarjeta duplicados que el JS anterior pudo meter al label interno */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-contents,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item label.variable-item-radio-input-wrapper,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item label.adg-modalidad-card{
  width:100%!important;
  height:100%!important;
  min-height:96px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}

/* Espaciado interno del contenido */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-value-wrapper{
  width:100%!important;
  display:block!important;
  padding:15px 18px 15px 42px!important;
  box-sizing:border-box!important;
  line-height:1.18!important;
  color:#17171d!important;
  font-weight:500!important;
}

/* Radio a la izquierda */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item input[type="radio"]{
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
  accent-color:var(--adg-pink)!important;
}

/* Seleccionado */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item.selected,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item.variable-item-selected,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item:has(input[type="radio"]:checked){
  border-color:var(--adg-pink)!important;
  box-shadow:0 0 0 2px rgba(255,40,93,.10)!important;
}

/* Oculta mini imagen solo en las modalidades */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item img{
  display:none!important;
}

/* Precio rosado, sin exagerar */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .price,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item bdi,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .woocommerce-Price-amount{
  color:var(--adg-pink)!important;
  font-weight:800!important;
  font-size:18px!important;
}

/* Stock */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .ast-stock-detail{
  margin:3px 0 0!important;
  line-height:1.15!important;
}
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .ast-stock-avail{
  color:#17171d!important;
  font-weight:650!important;
}
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .stock{
  display:block!important;
  color:#246d2f!important;
  font-weight:650!important;
}

/* Limpiar visible y debajo de las dos tarjetas */
body.single-product table.variations td.value > a.reset_variations,
body.single-product table.variations td.value .adg-reset-variations{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  margin:8px 0 0!important;
  padding:0!important;
  background:transparent!important;
  color:#9b8c92!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
}
body.single-product table.variations td.value > a.reset_variations:hover,
body.single-product table.variations td.value .adg-reset-variations:hover{
  color:var(--adg-pink)!important;
}

/* Mobile: una columna */
@media (max-width:921px){
  body.single-product table.variations td.value > ul.variable-items-wrapper,
  body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
}


/* ===== v3.1: estirar correctamente ALQUILER / PRINCIPAL ===== */

/* El TD no debe ser grid: estaba metiendo el UL en una sola columna y por eso se veía angosto */
body.single-product table.variations td.value.woo-variation-items-wrapper,
body.single-product table.variations td.value.adg-modalidad-grid,
body.single-product table.variations td.value{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
}

/* El UL real de Woo Variation Swatches sí es la grilla de 2 columnas */
body.single-product table.variations td.value > ul.variable-items-wrapper,
body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid,
body.single-product table.variations td.value.woo-variation-items-wrapper > ul.variable-items-wrapper{
  display:grid!important;
  grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  box-sizing:border-box!important;
}

/* Cada modalidad ocupa el 50% real */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item,
body.single-product table.variations td.value ul.variable-items-wrapper > li.radio-variable-item{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:96px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Contenido interno: no duplicar tarjeta en el label */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item label,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-contents,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-input-wrapper{
  width:100%!important;
  max-width:100%!important;
  height:100%!important;
  min-height:96px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  box-sizing:border-box!important;
}

/* Alineación de texto dentro de cada cuadro */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-value-wrapper{
  width:100%!important;
  min-height:96px!important;
  padding:17px 18px 17px 46px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  box-sizing:border-box!important;
  text-align:left!important;
}

/* Quitar guiones sueltos tan marcados */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-value-wrapper{
  color:#17171d!important;
}

/* Radio bien colocado */
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item input[type="radio"]{
  position:absolute!important;
  left:18px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  margin:0!important;
}

/* Limpiar debajo de toda la grilla */
body.single-product table.variations td.value > a.reset_variations,
body.single-product table.variations td.value a.reset_variations.adg-reset-variations{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  max-width:100%!important;
  margin:8px 0 0!important;
  padding:0!important;
  background:transparent!important;
  text-align:left!important;
}

/* Móvil: una columna */
@media (max-width:921px){
  body.single-product table.variations td.value > ul.variable-items-wrapper,
  body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid,
  body.single-product table.variations td.value.woo-variation-items-wrapper > ul.variable-items-wrapper{
    grid-template-columns:1fr!important;
  }
}


/* ===== v3.2: ajuste final de proporciones ===== */

/* No recomiendo ancho completo: mejor mantener contenedor centrado y compacto */
@media (min-width:922px){
  body.single-product .site-main>.ast-woocommerce-container{
    padding-top:28px!important;
  }

  /* Información del juego un poco más legible */
  body.single-product .woocommerce-product-details__short-description{
    font-size:13.5px!important;
    line-height:1.42!important;
    padding:11px 13px!important;
  }

  body.single-product .woocommerce-product-details__short-description li,
  body.single-product .summary li{
    margin-bottom:4px!important;
  }

  /* Modalidad más compacta para que no sea más grande que la info */
  body.single-product table.variations td.value > ul.variable-items-wrapper,
  body.single-product table.variations td.value ul.variable-items-wrapper.adg-modalidad-grid,
  body.single-product table.variations td.value.woo-variation-items-wrapper > ul.variable-items-wrapper{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }

  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item,
  body.single-product table.variations td.value ul.variable-items-wrapper > li.radio-variable-item{
    min-height:82px!important;
  }

  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item label,
  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-contents,
  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-input-wrapper{
    min-height:82px!important;
  }

  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .variable-item-radio-value-wrapper{
    min-height:82px!important;
    padding:13px 16px 13px 42px!important;
    font-size:13.5px!important;
    line-height:1.16!important;
  }

  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .price,
  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item bdi,
  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .woocommerce-Price-amount{
    font-size:17px!important;
  }

  body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .ast-stock-detail{
    font-size:13px!important;
    margin-top:2px!important;
  }
}

/* Quitar visualmente guiones sueltos si quedan como texto */
body.single-product .variable-item-radio-value-wrapper{
  word-spacing:0!important;
}

/* Mejor lectura del título interno de modalidad */
body.single-product .variable-item-radio-value{
  font-weight:700!important;
  color:#17171d!important;
}

/* Limpiar más discreto */
body.single-product table.variations td.value > a.reset_variations,
body.single-product table.variations td.value a.reset_variations.adg-reset-variations{
  margin-top:7px!important;
  color:#9d8f95!important;
}


/* ===== v3.3: catálogo menos negrita + precio centrado ===== */

/* Cards de catálogo: título más normal */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-weight:600!important;
  color:#1f1f26!important;
}

/* Precio del catálogo centrado */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  display:block!important;
  text-align:center!important;
  color:var(--adg-pink)!important;
  font-weight:700!important;
  margin-top:8px!important;
}

/* Mantener categoría y título alineados a la izquierda */
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce-page ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  text-align:left!important;
}

/* Producto individual: título con peso más natural */
body.single-product .product_title.entry-title{
  font-weight:700!important;
}

/* Short description no tan pesada */
body.single-product .woocommerce-product-details__short-description,
body.single-product .woocommerce-product-details__short-description li,
body.single-product .summary li{
  font-weight:400!important;
}

body.single-product .woocommerce-product-details__short-description strong{
  font-weight:650!important;
}

/* Modalidad: texto un poco más compacto y menos pesado */
body.single-product .variable-item-radio-value{
  font-weight:650!important;
}

body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .ast-stock-avail,
body.single-product table.variations td.value ul.variable-items-wrapper > li.variable-item .stock{
  font-weight:600!important;
}


/* ===== v3.4: catálogo + filtros finales ===== */

/* Menos espacio entre título y precio en las cards */
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap{
  padding:11px 12px 13px!important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-weight:600!important;
  min-height:34px!important;
  margin-bottom:4px!important;
  line-height:1.23!important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  display:block!important;
  text-align:center!important;
  margin-top:3px!important;
  font-size:13.5px!important;
  font-weight:700!important;
  color:var(--adg-pink)!important;
}

/* Evita circulitos / loaders raros cuando filtra por AJAX */
.yith-wcan-loader,
.yith-wcan-loading:after,
.yith-wcan-filters .blockUI,
.woocommerce .blockUI.blockOverlay:before,
.woocommerce .loader:before{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
}

/* Sidebar filtro más tipo tienda moderna */
#secondary .widget,
.ast-left-sidebar #secondary .widget,
.woocommerce-page #secondary .widget{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-radius:18px!important;
  padding:18px 18px 20px!important;
  box-shadow:0 12px 26px rgba(17,24,39,.06)!important;
}

#secondary .widget-title,
#secondary h2,
#secondary h3,
#secondary h4,
#secondary .yith-wcan-filter .filter-title,
#secondary .yith-wcan-filter h4{
  color:#17171d!important;
  font-weight:750!important;
  font-size:20px!important;
  margin:0 0 14px!important;
}

#secondary .yith-wcan-filter{
  margin:0!important;
  padding:0!important;
}

#secondary .yith-wcan-filter .filter-items,
#secondary .yith-wcan-filter ul,
#secondary ul{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}

#secondary .yith-wcan-filter .filter-item,
#secondary .yith-wcan-filter li,
#secondary li{
  margin:0!important;
  padding:9px 0!important;
  border-bottom:1px solid rgba(23,23,29,.07)!important;
}

#secondary .yith-wcan-filter .filter-item:last-child,
#secondary .yith-wcan-filter li:last-child,
#secondary li:last-child{
  border-bottom:0!important;
}

#secondary label,
#secondary .term-label,
#secondary .filter-item label,
#secondary .yith-wcan-list label,
#secondary a:not(.clear-selection):not(.yith-wcan-reset-navigation){
  color:#24242b!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.25!important;
}

#secondary label:hover,
#secondary .filter-item:hover label,
#secondary a:not(.clear-selection):not(.yith-wcan-reset-navigation):hover{
  color:var(--adg-pink)!important;
}

#secondary input[type=checkbox]{
  width:15px!important;
  height:15px!important;
  margin-right:7px!important;
  accent-color:var(--adg-pink)!important;
}

/* Flechitas del acordeón más sutiles */
#secondary .toggle-handle,
#secondary .filter-title:after,
#secondary .yith-wcan-filter .filter-title .icon,
#secondary .yith-wcan-filter .filter-title svg{
  color:#666!important;
  fill:#666!important;
}

/* Limpiar filtro */
#secondary .clear-selection,
#secondary .reset-filters,
#secondary .yith-wcan-reset-navigation,
#secondary .yith-wcan-filters .reset-filters,
#secondary a[href*="yith_wcan"],
#secondary button[type="reset"]{
  color:var(--adg-pink)!important;
  font-size:14px!important;
  font-weight:600!important;
  text-decoration:none!important;
}

/* Botón grande de restablecer filtros */
#secondary .yith-wcan-reset-navigation.button,
#secondary .yith-wcan-reset-navigation,
#secondary .reset-filters.button,
#secondary button.reset-filters,
#secondary button[type="reset"],
#secondary .yith-wcan-filters .reset-filters{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:46px!important;
  margin-top:16px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--adg-pink)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 18px rgba(255,40,93,.18)!important;
}

#secondary .yith-wcan-reset-navigation.button:hover,
#secondary .yith-wcan-reset-navigation:hover,
#secondary .reset-filters.button:hover,
#secondary button.reset-filters:hover,
#secondary button[type="reset"]:hover{
  background:#e61f52!important;
  color:#fff!important;
}

/* Si el botón queda vacío por el plugin, ponemos texto */
#secondary .yith-wcan-reset-navigation:empty:before,
#secondary .reset-filters:empty:before,
#secondary button[type="reset"]:empty:before{
  content:"RESTABLECER FILTROS";
}

/* En móvil, filtro más cómodo */
@media (max-width:921px){
  .yith-wcan-filters,
  .yith-wcan-filters .yith-wcan-filter{
    background:#fff!important;
  }

  .yith-wcan-filters .yith-wcan-filter{
    border:1px solid rgba(23,23,29,.10)!important;
    border-radius:14px!important;
    padding:16px!important;
    margin-bottom:12px!important;
  }

  .yith-wcan-filters .filter-title{
    color:#17171d!important;
    font-size:20px!important;
    font-weight:750!important;
  }

  .yith-wcan-filters label,
  .yith-wcan-filters .term-label{
    font-size:18px!important;
    color:#24242b!important;
  }
}


/* ===== v3.5: filtros más limpios desktop/mobile ===== */

/* Desktop: filtro tipo menú, menos caja pesada */
@media (min-width:922px){
  body.ast-left-sidebar.post-type-archive-product #secondary,
  body.ast-left-sidebar.tax-product_cat #secondary,
  body.ast-left-sidebar.woocommerce-shop #secondary{
    width:230px!important;
    padding-right:22px!important;
  }

  body.ast-left-sidebar.post-type-archive-product #primary,
  body.ast-left-sidebar.tax-product_cat #primary,
  body.ast-left-sidebar.woocommerce-shop #primary{
    width:calc(100% - 230px)!important;
    padding-left:34px!important;
  }

  #secondary .widget,
  .ast-left-sidebar #secondary .widget,
  .woocommerce-page #secondary .widget{
    padding:16px 17px!important;
    border-radius:16px!important;
    box-shadow:0 10px 22px rgba(17,24,39,.045)!important;
  }

  #secondary .widget-title,
  #secondary h2,
  #secondary h3,
  #secondary h4,
  #secondary .yith-wcan-filter .filter-title,
  #secondary .yith-wcan-filter h4{
    font-size:18px!important;
    font-weight:700!important;
    margin-bottom:12px!important;
  }

  #secondary label,
  #secondary .term-label,
  #secondary .filter-item label,
  #secondary .yith-wcan-list label,
  #secondary a:not(.clear-selection):not(.yith-wcan-reset-navigation){
    font-size:15px!important;
    font-weight:400!important;
  }

  #secondary .yith-wcan-filter .filter-item,
  #secondary .yith-wcan-filter li,
  #secondary li{
    padding:8px 0!important;
  }

  #secondary input[type=checkbox]{
    width:14px!important;
    height:14px!important;
    border-radius:4px!important;
  }
}

/* Botón restablecer: si no hay texto visible, que no quede solo una píldora vacía */
#secondary .yith-wcan-reset-navigation:empty,
#secondary .reset-filters:empty,
#secondary button[type="reset"]:empty{
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

#secondary .yith-wcan-reset-navigation:not(:empty),
#secondary .reset-filters:not(:empty),
#secondary button[type="reset"]:not(:empty){
  min-height:42px!important;
}

/* Mobile: que no se vea gigante */
@media (max-width:921px){
  .yith-wcan-filters-opener,
  .filters-button,
  .yith-wcan-filters-button{
    border-radius:14px!important;
    min-height:48px!important;
    font-size:17px!important;
    font-weight:700!important;
    background:var(--adg-pink)!important;
    color:#fff!important;
  }

  .yith-wcan-filters .filters-modal,
  .yith-wcan-filters.open,
  .yith-wcan-filters-modal,
  .yith-wcan-filters{
    background:#fffaf4!important;
  }

  .yith-wcan-filters .filters-modal .filters-title,
  .yith-wcan-filters .mobile-filter-title,
  .yith-wcan-filters h3,
  .yith-wcan-filters h2{
    font-size:28px!important;
    line-height:1.1!important;
    font-weight:750!important;
    color:#17171d!important;
    text-align:center!important;
    margin:0!important;
    padding:18px 46px 18px!important;
    background:#f7f7f7!important;
  }

  .yith-wcan-filters .yith-wcan-filter{
    background:#fff!important;
    border:1px solid rgba(23,23,29,.10)!important;
    border-radius:14px!important;
    padding:14px!important;
    margin:12px!important;
  }

  .yith-wcan-filters .filter-title,
  .yith-wcan-filters .yith-wcan-filter h4{
    font-size:21px!important;
    font-weight:700!important;
    color:#17171d!important;
    margin-bottom:10px!important;
  }

  .yith-wcan-filters .filter-items,
  .yith-wcan-filters ul{
    margin:0!important;
    padding:0!important;
  }

  .yith-wcan-filters .filter-item,
  .yith-wcan-filters li{
    padding:10px 0!important;
    border-bottom:1px solid rgba(23,23,29,.07)!important;
    min-height:44px!important;
    display:flex!important;
    align-items:center!important;
  }

  .yith-wcan-filters .filter-item:last-child,
  .yith-wcan-filters li:last-child{
    border-bottom:0!important;
  }

  .yith-wcan-filters label,
  .yith-wcan-filters .term-label,
  .yith-wcan-filters a{
    font-size:18px!important;
    line-height:1.25!important;
    font-weight:400!important;
    color:#2b2b31!important;
  }

  .yith-wcan-filters input[type=checkbox]{
    width:22px!important;
    height:22px!important;
    margin-right:12px!important;
    accent-color:var(--adg-pink)!important;
  }

  .yith-wcan-filters .clear-selection,
  .yith-wcan-filters .reset-filters,
  .yith-wcan-filters .yith-wcan-reset-navigation{
    color:var(--adg-pink)!important;
    font-size:16px!important;
    font-weight:600!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin:8px 0!important;
    min-height:0!important;
    text-transform:none!important;
  }
}

/* Deja el catálogo con precio centrado y nombre más limpio */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-weight:600!important;
  margin-bottom:3px!important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  text-align:center!important;
  margin-top:2px!important;
}


/* ===== v3.6: checkout Adremy más limpio ===== */
body.woocommerce-checkout{
  background:var(--adg-bg)!important;
  color:var(--adg-text)!important;
}

body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-checkout .site-main .ast-container{
  max-width:1120px!important;
  padding-left:22px!important;
  padding-right:22px!important;
}

body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .woocommerce-products-header{
  display:none!important;
}

body.woocommerce-checkout .woocommerce{
  max-width:1040px!important;
  margin:42px auto 70px!important;
}

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  max-width:1040px!important;
  margin:0 auto 14px!important;
}

body.woocommerce-checkout .woocommerce-info{
  border:0!important;
  border-top:3px solid var(--adg-pink)!important;
  background:#fff!important;
  border-radius:14px!important;
  box-shadow:0 8px 22px rgba(17,24,39,.05)!important;
  color:#33333a!important;
  padding:16px 18px!important;
  font-size:15px!important;
}

body.woocommerce-checkout .woocommerce-info:before{
  color:var(--adg-pink)!important;
}

body.woocommerce-checkout .woocommerce-info a{
  color:var(--adg-pink)!important;
  font-weight:650!important;
}

/* Desktop: datos izquierda, pedido derecha */
@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) 390px!important;
    gap:28px!important;
    align-items:start!important;
  }

  body.woocommerce-checkout #customer_details{
    grid-column:1!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    grid-column:2!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
  }

  body.woocommerce-checkout #order_review{
    position:sticky!important;
    top:95px!important;
  }
}

/* Caja izquierda */
body.woocommerce-checkout #customer_details{
  background:#fff!important;
  border:1px solid var(--adg-border)!important;
  border-radius:18px!important;
  padding:24px!important;
  box-shadow:0 12px 28px rgba(17,24,39,.055)!important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2{
  width:100%!important;
  float:none!important;
  padding:0!important;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading{
  color:var(--adg-pink)!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:800!important;
  margin:0 0 16px!important;
  padding:0 0 12px!important;
  border-bottom:1px solid var(--adg-border)!important;
}

/* Campos */
body.woocommerce-checkout form .form-row{
  margin:0 0 12px!important;
  padding:0!important;
}

@media (min-width:700px){
  body.woocommerce-checkout form .form-row-first,
  body.woocommerce-checkout form .form-row-last{
    width:calc(50% - 7px)!important;
  }

  body.woocommerce-checkout form .form-row-first{
    float:left!important;
    margin-right:14px!important;
  }

  body.woocommerce-checkout form .form-row-last{
    float:right!important;
  }
}

body.woocommerce-checkout form .form-row-wide{
  clear:both!important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection--single{
  width:100%!important;
  min-height:44px!important;
  border:1px solid rgba(23,23,29,.20)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17171d!important;
  font-size:14px!important;
  padding:10px 12px!important;
  box-shadow:none!important;
}

body.woocommerce-checkout .select2-container .select2-selection--single{
  display:flex!important;
  align-items:center!important;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single{
  border-color:var(--adg-pink)!important;
  box-shadow:0 0 0 3px rgba(255,40,93,.08)!important;
  outline:0!important;
}

/* Caja derecha */
body.woocommerce-checkout #order_review_heading{
  background:#fff!important;
  border:1px solid var(--adg-border)!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  padding:22px 22px 12px!important;
  margin:0!important;
  box-shadow:0 12px 28px rgba(17,24,39,.055)!important;
}

body.woocommerce-checkout #order_review{
  background:#fff!important;
  border:1px solid var(--adg-border)!important;
  border-top:0!important;
  border-radius:0 0 18px 18px!important;
  padding:0 22px 22px!important;
  box-shadow:0 12px 28px rgba(17,24,39,.055)!important;
}

body.woocommerce-checkout table.shop_table{
  border:0!important;
  margin:0 0 16px!important;
  font-size:14px!important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td{
  border-color:rgba(23,23,29,.12)!important;
  padding:11px 0!important;
}

body.woocommerce-checkout table.shop_table th{
  color:#17171d!important;
  font-weight:750!important;
}

body.woocommerce-checkout table.shop_table td,
body.woocommerce-checkout table.shop_table td strong{
  color:#222!important;
  font-weight:500!important;
}

body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td,
body.woocommerce-checkout table.shop_table .order-total .amount{
  color:var(--adg-pink)!important;
  font-weight:850!important;
  font-size:16px!important;
}

/* Métodos de pago */
body.woocommerce-checkout #payment{
  background:#fff!important;
  border-radius:14px!important;
}

body.woocommerce-checkout #payment ul.payment_methods{
  border:0!important;
  padding:0!important;
}

body.woocommerce-checkout #payment ul.payment_methods li{
  padding:10px 0!important;
  border-bottom:1px solid rgba(23,23,29,.08)!important;
}

body.woocommerce-checkout #payment ul.payment_methods li:last-child{
  border-bottom:0!important;
}

body.woocommerce-checkout #payment div.payment_box{
  background:#ffe0ea!important;
  color:#333!important;
  border-radius:12px!important;
  font-size:14px!important;
  line-height:1.35!important;
  margin:10px 0 0!important;
}

body.woocommerce-checkout #payment div.payment_box:before{
  border-bottom-color:#ffe0ea!important;
}

body.woocommerce-checkout #payment img{
  max-height:32px!important;
  width:auto!important;
  margin:4px 6px 4px 0!important;
}

/* Términos y botón */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{
  font-size:14px!important;
  line-height:1.45!important;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a{
  color:var(--adg-pink)!important;
}

body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order{
  width:100%!important;
  min-height:46px!important;
  border-radius:999px!important;
  background:var(--adg-pink)!important;
  color:#fff!important;
  border:0!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 18px rgba(255,40,93,.20)!important;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button#place_order:hover{
  background:#e61f52!important;
  transform:translateY(-1px)!important;
}

body.woocommerce-checkout .woocommerce-checkout-payment a,
body.woocommerce-checkout .return-to-shop a{
  color:var(--adg-pink)!important;
}

/* Mobile checkout */
@media (max-width:921px){
  body.woocommerce-checkout .woocommerce{
    margin:24px auto 50px!important;
  }

  body.woocommerce-checkout form.checkout{
    display:block!important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 18px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  body.woocommerce-checkout #order_review_heading{
    margin-bottom:0!important;
  }

  body.woocommerce-checkout #order_review{
    padding-bottom:18px!important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout #order_review_heading{
    font-size:23px!important;
  }

  body.woocommerce-checkout form .form-row-first,
  body.woocommerce-checkout form .form-row-last{
    float:none!important;
    width:100%!important;
    margin-right:0!important;
  }
}


/* ===== v3.7: checkout más arriba + producto con imagen ===== */

/* Quita el espacio exagerado superior del checkout */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main{
  padding-top:0!important;
  margin-top:0!important;
}

body.woocommerce-checkout .woocommerce{
  margin:18px auto 55px!important;
}

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  margin-top:0!important;
  margin-bottom:12px!important;
}

/* El bloque principal empieza más arriba y más ordenado */
body.woocommerce-checkout form.checkout{
  margin-top:18px!important;
}

@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    grid-template-columns:minmax(0, 1fr) 410px!important;
    gap:30px!important;
  }

  body.woocommerce-checkout #order_review{
    top:78px!important;
  }
}

/* Header de checkout menos alto */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading{
  font-size:24px!important;
  margin-bottom:12px!important;
  padding-bottom:10px!important;
}

/* Imagen del producto en Tu pedido */
body.woocommerce-checkout .adg-checkout-product-line{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
}

body.woocommerce-checkout .adg-checkout-thumb{
  width:54px!important;
  height:54px!important;
  object-fit:cover!important;
  border-radius:10px!important;
  border:1px solid rgba(23,23,29,.10)!important;
  background:#fff!important;
}

body.woocommerce-checkout .adg-checkout-product-name{
  display:block!important;
  min-width:0!important;
  color:#17171d!important;
  font-size:14px!important;
  line-height:1.28!important;
  font-weight:550!important;
}

body.woocommerce-checkout table.shop_table .product-name{
  width:66%!important;
}

body.woocommerce-checkout table.shop_table .product-total{
  width:34%!important;
  text-align:right!important;
  white-space:nowrap!important;
}

/* Caja de pedido un poco más elegante */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #customer_details{
  box-shadow:0 10px 24px rgba(17,24,39,.05)!important;
}

/* Mobile */
@media (max-width:921px){
  body.woocommerce-checkout .woocommerce{
    margin:12px auto 45px!important;
  }

  body.woocommerce-checkout form.checkout{
    margin-top:12px!important;
  }

  body.woocommerce-checkout .woocommerce-info{
    padding:14px 15px!important;
    font-size:14px!important;
  }

  body.woocommerce-checkout .adg-checkout-product-line{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:9px!important;
  }

  body.woocommerce-checkout .adg-checkout-thumb{
    width:48px!important;
    height:48px!important;
  }
}


/* ===== v3.8: corrección checkout muy angosto ===== */

/* Fuerza que la página checkout use ancho real y no el ancho estrecho del tema/página */
body.woocommerce-checkout #primary,
body.woocommerce-checkout #main,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce{
  width:min(1120px, calc(100vw - 56px))!important;
  max-width:min(1120px, calc(100vw - 56px))!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Astra/Elementor a veces dejan el contenido en columna angosta */
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-checkout .site-main .ast-container{
  max-width:1180px!important;
  width:100%!important;
  display:block!important;
}

/* La caja gris no debe comprimir el checkout */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce{
  background:#fafafa!important;
  padding:36px 52px!important;
  border-radius:0!important;
}

/* Formulario y resumen en dos columnas reales */
@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) 390px!important;
    gap:30px!important;
    align-items:start!important;
    margin-top:18px!important;
  }

  body.woocommerce-checkout .woocommerce-NoticeGroup,
  body.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
  body.woocommerce-checkout .woocommerce-form-login-toggle,
  body.woocommerce-checkout .woocommerce-form-coupon-toggle{
    width:100%!important;
    max-width:100%!important;
    grid-column:1 / -1!important;
  }

  body.woocommerce-checkout #customer_details{
    min-width:0!important;
    width:100%!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:390px!important;
    max-width:390px!important;
  }
}

/* Inputs con tamaño normal */
body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container{
  font-size:15px!important;
}

/* Mobile vuelve a full width sin padding exagerado */
@media (max-width:921px){
  body.woocommerce-checkout #primary,
  body.woocommerce-checkout #main,
  body.woocommerce-checkout .site-main,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    width:100%!important;
    max-width:100%!important;
  }

  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    padding:20px 14px!important;
  }

  body.woocommerce-checkout form.checkout{
    display:block!important;
    width:100%!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
  }
}


/* ===== v3.9: checkout corregido, sin layout roto ===== */

/* Quitar el espacio gigante superior */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout #content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main{
  padding-top:0!important;
  margin-top:0!important;
}

body.woocommerce-checkout .entry-header,
body.woocommerce-checkout .woocommerce-products-header{
  display:none!important;
}

/* Contenedor de checkout normal, centrado y arriba */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce{
  width:min(1080px, calc(100vw - 48px))!important;
  max-width:min(1080px, calc(100vw - 48px))!important;
  margin:22px auto 55px!important;
  padding:26px 34px!important;
  background:#fafafa!important;
  box-sizing:border-box!important;
}

/* Login/cupón arriba y no enorme */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 14px!important;
}

body.woocommerce-checkout .woocommerce-info{
  margin:0!important;
  padding:14px 17px!important;
  min-height:0!important;
}

/* Grid real: izquierda datos, derecha heading + pedido juntos */
@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) 390px!important;
    grid-template-areas:
      "customer ordertitle"
      "customer orderreview"!important;
    grid-template-rows:auto auto!important;
    column-gap:28px!important;
    row-gap:0!important;
    align-items:start!important;
    margin-top:16px!important;
  }

  body.woocommerce-checkout #customer_details{
    grid-area:customer!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
  }

  body.woocommerce-checkout #order_review_heading{
    grid-area:ordertitle!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
  }

  body.woocommerce-checkout #order_review{
    grid-area:orderreview!important;
    width:100%!important;
    float:none!important;
    margin:0!important;
    position:static!important;
  }
}

/* Cajas */
body.woocommerce-checkout #customer_details{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-radius:18px!important;
  padding:22px!important;
  box-shadow:0 10px 24px rgba(17,24,39,.045)!important;
}

body.woocommerce-checkout #order_review_heading{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  padding:20px 22px 12px!important;
  box-shadow:0 10px 24px rgba(17,24,39,.045)!important;
}

body.woocommerce-checkout #order_review{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-top:0!important;
  border-radius:0 0 18px 18px!important;
  padding:0 22px 20px!important;
  box-shadow:0 10px 24px rgba(17,24,39,.045)!important;
}

/* Títulos */
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading{
  color:var(--adg-pink)!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:800!important;
  margin-bottom:14px!important;
  padding-bottom:10px!important;
  border-bottom:1px solid rgba(23,23,29,.12)!important;
}

/* Evitar labels encima de valores: en checkout usamos placeholders/valores */
body.woocommerce-checkout #customer_details .form-row > label{
  display:none!important;
}

/* Campos más altos y legibles */
body.woocommerce-checkout form .form-row{
  margin:0 0 12px!important;
  padding:0!important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:46px!important;
  height:auto!important;
  border:1px solid rgba(23,23,29,.22)!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#17171d!important;
  font-size:15px!important;
  line-height:1.3!important;
  padding:11px 13px!important;
  box-shadow:none!important;
}

body.woocommerce-checkout .select2-container .select2-selection--single{
  display:flex!important;
  align-items:center!important;
}

body.woocommerce-checkout input.input-text:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection--single{
  border-color:var(--adg-pink)!important;
  box-shadow:0 0 0 3px rgba(255,40,93,.08)!important;
  outline:0!important;
}

/* Pedido */
body.woocommerce-checkout table.shop_table{
  border:0!important;
  margin:0 0 16px!important;
  font-size:14px!important;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td{
  border-color:rgba(23,23,29,.12)!important;
  padding:11px 0!important;
}

body.woocommerce-checkout table.shop_table .product-total,
body.woocommerce-checkout table.shop_table td.product-total{
  text-align:right!important;
  white-space:nowrap!important;
}

body.woocommerce-checkout table.shop_table .order-total th,
body.woocommerce-checkout table.shop_table .order-total td,
body.woocommerce-checkout table.shop_table .order-total .amount{
  color:var(--adg-pink)!important;
  font-weight:850!important;
}

/* Imagen producto en checkout */
body.woocommerce-checkout .adg-checkout-product-line{
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:start!important;
}

body.woocommerce-checkout .adg-checkout-thumb{
  width:52px!important;
  height:52px!important;
  object-fit:cover!important;
  border-radius:9px!important;
  border:1px solid rgba(23,23,29,.10)!important;
}

body.woocommerce-checkout .adg-checkout-product-name{
  display:block!important;
  font-size:14px!important;
  line-height:1.28!important;
  font-weight:550!important;
}

/* Pago */
body.woocommerce-checkout #payment{
  background:#fff!important;
  border-radius:14px!important;
}

body.woocommerce-checkout #payment ul.payment_methods{
  border:0!important;
  padding:0!important;
}

body.woocommerce-checkout #payment ul.payment_methods li{
  padding:10px 0!important;
  border-bottom:1px solid rgba(23,23,29,.08)!important;
}

body.woocommerce-checkout #payment div.payment_box{
  background:#ffe0ea!important;
  color:#333!important;
  border-radius:12px!important;
  font-size:14px!important;
  line-height:1.35!important;
}

body.woocommerce-checkout #payment div.payment_box:before{
  border-bottom-color:#ffe0ea!important;
}

body.woocommerce-checkout #payment img{
  max-height:30px!important;
  width:auto!important;
}

/* Botón */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order{
  width:100%!important;
  min-height:46px!important;
  border-radius:999px!important;
  background:var(--adg-pink)!important;
  color:#fff!important;
  border:0!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  box-shadow:0 10px 18px rgba(255,40,93,.20)!important;
}

body.woocommerce-checkout #place_order:hover{
  background:#e61f52!important;
}

/* Mobile */
@media (max-width:921px){
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    width:100%!important;
    max-width:100%!important;
    margin:12px auto 45px!important;
    padding:18px 14px!important;
  }

  body.woocommerce-checkout form.checkout{
    display:block!important;
    margin-top:12px!important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    padding-left:16px!important;
    padding-right:16px!important;
  }

  body.woocommerce-checkout #order_review_heading{
    margin-bottom:0!important;
  }

  body.woocommerce-checkout #order_review{
    padding-bottom:18px!important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout #order_review_heading{
    font-size:23px!important;
  }

  body.woocommerce-checkout .adg-checkout-product-line{
    grid-template-columns:48px minmax(0,1fr)!important;
  }

  body.woocommerce-checkout .adg-checkout-thumb{
    width:48px!important;
    height:48px!important;
  }
}


/* ===== v4.0: checkout sin fondo gris descuadrado ===== */

/* Fondo general uniforme */
body.woocommerce-checkout,
body.woocommerce-checkout #page,
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content{
  background:var(--adg-bg)!important;
}

/* Quita el rectángulo gris que se veía descuadrado */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce{
  background:transparent!important;
  padding:22px 0 50px!important;
  width:min(1080px, calc(100vw - 48px))!important;
  max-width:min(1080px, calc(100vw - 48px))!important;
  margin:18px auto 55px!important;
}

/* El cupón queda como tarjeta blanca independiente */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  background:transparent!important;
}

body.woocommerce-checkout .woocommerce-info{
  background:#fff!important;
  border-radius:16px!important;
  border:1px solid rgba(23,23,29,.08)!important;
  border-top:3px solid var(--adg-pink)!important;
  box-shadow:0 10px 22px rgba(17,24,39,.045)!important;
}

/* Cards principales blancas */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  background:#fff!important;
}

/* Ajuste de altura superior */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout #primary{
  padding-top:0!important;
  margin-top:0!important;
}

/* Que no choque con el header */
body.woocommerce-checkout .woocommerce{
  padding-top:18px!important;
}

/* En customizer o escritorio grande, que el checkout se mantenga centrado */
@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    grid-template-columns:minmax(0, 1fr) 390px!important;
    gap:28px!important;
  }
}

/* Mobile también sin bloque gris */
@media (max-width:921px){
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    width:100%!important;
    max-width:100%!important;
    padding:14px 14px 42px!important;
    margin:8px auto 42px!important;
    background:transparent!important;
  }
}


/* ===== v4.1: revertir checkout agresivo + arreglar nav/mobile ===== */

/* Header/nav: no tocar ancho ni color por el checkout */
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .main-header-bar,
body.woocommerce-checkout .ast-primary-header-bar,
body.woocommerce-checkout header.site-header{
  background:#fff!important;
}

body.woocommerce-checkout .main-header-bar .ast-container,
body.woocommerce-checkout .ast-primary-header-bar .ast-container,
body.woocommerce-checkout .site-header .ast-container{
  max-width:100%!important;
  width:100%!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Quitar el bloque enorme y mantener checkout normal */
body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .woocommerce{
  background:transparent!important;
  width:min(1060px, calc(100vw - 48px))!important;
  max-width:min(1060px, calc(100vw - 48px))!important;
  margin:24px auto 55px!important;
  padding:0!important;
  box-sizing:border-box!important;
}

/* Cupón/login más compacto */
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
  margin:0 0 14px!important;
}

body.woocommerce-checkout .woocommerce-info{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-top:3px solid var(--adg-pink)!important;
  border-radius:14px!important;
  box-shadow:0 8px 18px rgba(17,24,39,.04)!important;
  padding:13px 16px!important;
  font-size:14px!important;
}

/* Layout desktop estable */
@media (min-width:922px){
  body.woocommerce-checkout form.checkout{
    display:grid!important;
    grid-template-columns:minmax(0, 1fr) 380px!important;
    grid-template-areas:
      "customer ordertitle"
      "customer orderreview"!important;
    gap:0 26px!important;
    align-items:start!important;
    width:100%!important;
    margin-top:16px!important;
  }

  body.woocommerce-checkout #customer_details{
    grid-area:customer!important;
    width:100%!important;
    margin:0!important;
    float:none!important;
  }

  body.woocommerce-checkout #order_review_heading{
    grid-area:ordertitle!important;
    width:100%!important;
    margin:0!important;
    float:none!important;
  }

  body.woocommerce-checkout #order_review{
    grid-area:orderreview!important;
    width:100%!important;
    margin:0!important;
    float:none!important;
    position:static!important;
  }
}

/* Tarjetas sin exceso */
body.woocommerce-checkout #customer_details{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-radius:16px!important;
  padding:20px!important;
  box-shadow:0 8px 18px rgba(17,24,39,.035)!important;
}

body.woocommerce-checkout #order_review_heading{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-bottom:0!important;
  border-radius:16px 16px 0 0!important;
  padding:18px 20px 10px!important;
  box-shadow:none!important;
}

body.woocommerce-checkout #order_review{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-top:0!important;
  border-radius:0 0 16px 16px!important;
  padding:0 20px 18px!important;
  box-shadow:0 8px 18px rgba(17,24,39,.035)!important;
}

/* Campos: devolver lectura normal, sin texto montado */
body.woocommerce-checkout #customer_details .form-row > label{
  display:none!important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container .select2-selection--single{
  min-height:44px!important;
  font-size:15px!important;
  line-height:1.3!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
}

/* Resumen del pedido: en desktop con miniatura, en mobile sin romper */
body.woocommerce-checkout table.shop_table{
  table-layout:auto!important;
  width:100%!important;
  font-size:14px!important;
}

body.woocommerce-checkout .adg-checkout-product-line{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
}

body.woocommerce-checkout .adg-checkout-thumb{
  width:46px!important;
  height:46px!important;
  object-fit:cover!important;
  border-radius:8px!important;
}

body.woocommerce-checkout .adg-checkout-product-name{
  font-size:13.5px!important;
  line-height:1.22!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}

/* Mobile: más compacto y no cortado */
@media (max-width:921px){
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    width:100%!important;
    max-width:100%!important;
    margin:14px auto 42px!important;
    padding:0 18px!important;
    background:transparent!important;
  }

  body.woocommerce-checkout form.checkout{
    display:block!important;
    width:100%!important;
    margin-top:12px!important;
  }

  body.woocommerce-checkout .woocommerce-info{
    padding:13px 15px!important;
    font-size:15px!important;
    line-height:1.35!important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 16px!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }

  body.woocommerce-checkout #order_review_heading{
    margin-bottom:0!important;
    padding-top:18px!important;
  }

  body.woocommerce-checkout #order_review{
    padding-top:0!important;
    padding-bottom:18px!important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout #order_review_heading{
    font-size:24px!important;
    line-height:1.15!important;
  }

  body.woocommerce-checkout form .form-row-first,
  body.woocommerce-checkout form .form-row-last{
    float:none!important;
    width:100%!important;
    margin-right:0!important;
  }

  body.woocommerce-checkout input.input-text,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout select,
  body.woocommerce-checkout .select2-container .select2-selection--single{
    min-height:48px!important;
    font-size:16px!important;
  }

  body.woocommerce-checkout table.shop_table th,
  body.woocommerce-checkout table.shop_table td{
    padding:10px 0!important;
  }

  body.woocommerce-checkout .adg-checkout-product-line{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
  }

  body.woocommerce-checkout .adg-checkout-thumb{
    width:42px!important;
    height:42px!important;
  }

  body.woocommerce-checkout .adg-checkout-product-name{
    font-size:13px!important;
    line-height:1.2!important;
  }

  body.woocommerce-checkout table.shop_table .product-name{
    width:68%!important;
  }

  body.woocommerce-checkout table.shop_table .product-total{
    width:32%!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
}

/* En pantallas muy angostas, ocultar miniatura para que no parta el nombre */
@media (max-width:430px){
  body.woocommerce-checkout .adg-checkout-product-line{
    display:block!important;
  }
  body.woocommerce-checkout .adg-checkout-thumb{
    display:none!important;
  }
  body.woocommerce-checkout .adg-checkout-product-name{
    font-size:14px!important;
    line-height:1.25!important;
  }
}


/* ===== v4.2: checkout polish + header definitivo ===== */

/* Header checkout: restaurar comportamiento Astra normal */
body.woocommerce-checkout .ast-primary-header-bar,
body.woocommerce-checkout .main-header-bar,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .site-primary-header-wrap,
body.woocommerce-checkout .ast-builder-grid-row-container{
  background:#fff!important;
}

body.woocommerce-checkout .site-primary-header-wrap.ast-container,
body.woocommerce-checkout .main-header-bar .ast-container,
body.woocommerce-checkout .ast-primary-header-bar .ast-container{
  max-width:1240px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
  box-sizing:border-box!important;
}

body.woocommerce-checkout .ast-builder-grid-row{
  min-height:70px!important;
  align-items:center!important;
}

body.woocommerce-checkout .site-logo-img img,
body.woocommerce-checkout .custom-logo{
  max-height:64px!important;
  width:auto!important;
}

body.woocommerce-checkout .main-header-menu > .menu-item > .menu-link{
  color:#111!important;
  font-weight:700!important;
  letter-spacing:.02em!important;
}

body.woocommerce-checkout .main-header-menu > .menu-item > .menu-link:hover,
body.woocommerce-checkout .main-header-menu > .menu-item.current-menu-item > .menu-link{
  color:var(--adg-pink)!important;
}

body.woocommerce-checkout .ast-header-search .ast-icon,
body.woocommerce-checkout .ast-header-search svg{
  color:var(--adg-pink)!important;
  fill:var(--adg-pink)!important;
}

/* Quitar cuadrito/icono roto de WooCommerce info */
body.woocommerce-checkout .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-info::before{
  display:none!important;
  content:none!important;
}

body.woocommerce-checkout .woocommerce-info{
  padding-left:18px!important;
}

/* Cupón/login más limpio y alineado */
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{
  display:block!important;
  text-align:left!important;
}

/* Pedido: quitar hueco excesivo entre producto y subtotal */
body.woocommerce-checkout table.shop_table{
  table-layout:fixed!important;
  width:100%!important;
}

body.woocommerce-checkout table.shop_table th.product-name,
body.woocommerce-checkout table.shop_table td.product-name{
  width:72%!important;
  padding-right:12px!important;
}

body.woocommerce-checkout table.shop_table th.product-total,
body.woocommerce-checkout table.shop_table td.product-total{
  width:28%!important;
  text-align:right!important;
  white-space:nowrap!important;
  padding-left:8px!important;
}

body.woocommerce-checkout .adg-checkout-product-line{
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr)!important;
  gap:9px!important;
  align-items:start!important;
  max-width:100%!important;
}

body.woocommerce-checkout .adg-checkout-product-name{
  max-width:100%!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

body.woocommerce-checkout .product-quantity{
  display:block!important;
  margin-top:4px!important;
  color:#333!important;
}

/* Monto bien alineado */
body.woocommerce-checkout table.shop_table .amount{
  white-space:nowrap!important;
}

/* Mejorar métodos de pago en la tarjeta */
body.woocommerce-checkout #payment ul.payment_methods li > label{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  line-height:1.25!important;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type=radio]{
  margin-right:8px!important;
}

/* Mobile: compacto y sin corte raro en Tu pedido */
@media (max-width:921px){
  body.woocommerce-checkout .site-primary-header-wrap.ast-container,
  body.woocommerce-checkout .main-header-bar .ast-container,
  body.woocommerce-checkout .ast-primary-header-bar .ast-container{
    max-width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }

  body.woocommerce-checkout .woocommerce-info{
    padding:13px 15px!important;
    font-size:15px!important;
    line-height:1.35!important;
  }

  body.woocommerce-checkout table.shop_table{
    table-layout:fixed!important;
  }

  body.woocommerce-checkout table.shop_table th.product-name,
  body.woocommerce-checkout table.shop_table td.product-name{
    width:70%!important;
    padding-right:8px!important;
  }

  body.woocommerce-checkout table.shop_table th.product-total,
  body.woocommerce-checkout table.shop_table td.product-total{
    width:30%!important;
    padding-left:6px!important;
  }

  body.woocommerce-checkout .adg-checkout-product-line{
    display:block!important;
  }

  body.woocommerce-checkout .adg-checkout-thumb{
    display:none!important;
  }

  body.woocommerce-checkout .adg-checkout-product-name{
    font-size:14px!important;
    line-height:1.28!important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li > label{
    font-size:17px!important;
  }
}


/* ===== v4.3: checkout pagos más compactos + navbar Astra estable ===== */

/* Header Astra en checkout: una sola fila, sin romperse */
body.woocommerce-checkout .ast-primary-header-bar,
body.woocommerce-checkout .main-header-bar{
  background:#fff!important;
}

body.woocommerce-checkout .site-primary-header-wrap.ast-container,
body.woocommerce-checkout .main-header-bar .ast-container,
body.woocommerce-checkout .ast-primary-header-bar .ast-container{
  max-width:100%!important;
  width:100%!important;
  padding-left:22px!important;
  padding-right:22px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

body.woocommerce-checkout .ast-builder-grid-row,
body.woocommerce-checkout .ast-builder-grid-row-has-sides,
body.woocommerce-checkout .ast-builder-grid-row-no-center{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  min-height:70px!important;
  gap:14px!important;
}

body.woocommerce-checkout .site-header-primary-section-left{
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
  flex-wrap:nowrap!important;
  gap:16px!important;
}

body.woocommerce-checkout .site-header-primary-section-right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
}

body.woocommerce-checkout .site-branding,
body.woocommerce-checkout .ast-builder-layout-element[data-section="title_tagline"]{
  flex:0 0 auto!important;
}

body.woocommerce-checkout .custom-logo,
body.woocommerce-checkout .site-logo-img img{
  width:auto!important;
  max-width:126px!important;
  max-height:66px!important;
}

body.woocommerce-checkout .ast-builder-menu-1{
  flex:1 1 auto!important;
  min-width:0!important;
}

body.woocommerce-checkout .main-header-bar-navigation,
body.woocommerce-checkout .main-navigation,
body.woocommerce-checkout .main-header-menu{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}

body.woocommerce-checkout .main-header-menu > .menu-item{
  white-space:nowrap!important;
  flex:0 0 auto!important;
}

body.woocommerce-checkout .main-header-menu > .menu-item > .menu-link{
  padding-left:9px!important;
  padding-right:9px!important;
  font-size:13.5px!important;
  line-height:70px!important;
  height:70px!important;
  color:#111!important;
  font-weight:700!important;
}

body.woocommerce-checkout .main-header-menu > .menu-item > .menu-link:hover{
  color:var(--adg-pink)!important;
}

body.woocommerce-checkout .ast-header-search,
body.woocommerce-checkout .ast-header-account,
body.woocommerce-checkout .header-widget-area{
  flex:0 0 auto!important;
}

body.woocommerce-checkout .header-widget-area .menu-link{
  color:var(--adg-pink)!important;
  font-size:13.5px!important;
  font-weight:500!important;
  white-space:nowrap!important;
}

/* En pantallas medianas, compactar un poco más para que no baje NOSOTROS/BLOG */
@media (max-width:1180px) and (min-width:922px){
  body.woocommerce-checkout .site-primary-header-wrap.ast-container{
    padding-left:12px!important;
    padding-right:12px!important;
  }

  body.woocommerce-checkout .site-header-primary-section-left{
    gap:10px!important;
  }

  body.woocommerce-checkout .custom-logo,
  body.woocommerce-checkout .site-logo-img img{
    max-width:108px!important;
  }

  body.woocommerce-checkout .main-header-menu > .menu-item > .menu-link{
    padding-left:6px!important;
    padding-right:6px!important;
    font-size:12.5px!important;
    letter-spacing:0!important;
  }

  body.woocommerce-checkout .site-header-primary-section-right{
    gap:8px!important;
  }

  body.woocommerce-checkout .header-widget-area .menu-link{
    font-size:12.5px!important;
  }
}

/* Pagos: bajar tamaño para que no se vea gigante */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment *{
  font-size:14.5px!important;
  line-height:1.35!important;
}

body.woocommerce-checkout #payment ul.payment_methods li{
  padding:9px 0!important;
}

body.woocommerce-checkout #payment ul.payment_methods li > label{
  font-size:15px!important;
  line-height:1.3!important;
  font-weight:500!important;
  gap:5px!important;
}

body.woocommerce-checkout #payment .payment_box{
  font-size:13.5px!important;
  line-height:1.35!important;
  padding:12px 14px!important;
}

body.woocommerce-checkout #payment img{
  max-height:24px!important;
  width:auto!important;
}

/* Wallet/saldo: mismo tamaño que el resto */
body.woocommerce-checkout #payment .wallet-amount,
body.woocommerce-checkout #payment .amount,
body.woocommerce-checkout #payment strong{
  font-size:15px!important;
}

/* Términos compactos */
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper *{
  font-size:13.5px!important;
  line-height:1.4!important;
}

/* Mobile: pago legible, pero no enorme */
@media (max-width:921px){
  body.woocommerce-checkout #payment,
  body.woocommerce-checkout #payment *{
    font-size:15px!important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li > label{
    font-size:16px!important;
  }

  body.woocommerce-checkout #payment .payment_box{
    font-size:14px!important;
  }

  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper,
  body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper *{
    font-size:14px!important;
  }
}


/* ===== v4.4: cabecera Astra estable global + checkout más fino ===== */

/*
  La cabecera no conviene editarla desde checkout.
  La dejamos estable globalmente para que se vea igual en tienda, producto y pago.
*/
.site-header,
.ast-primary-header-bar,
.main-header-bar{
  background:#fff!important;
  border-bottom:1px solid var(--adg-pink)!important;
}

.site-primary-header-wrap.ast-container,
.main-header-bar .ast-container,
.ast-primary-header-bar .ast-container{
  width:100%!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:18px!important;
  padding-right:18px!important;
  box-sizing:border-box!important;
}

.ast-builder-grid-row,
.ast-builder-grid-row-has-sides,
.ast-builder-grid-row-no-center{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  min-height:68px!important;
  gap:14px!important;
}

.site-header-primary-section-left{
  display:flex!important;
  align-items:center!important;
  flex:1 1 auto!important;
  min-width:0!important;
  gap:18px!important;
  flex-wrap:nowrap!important;
}

.site-header-primary-section-right{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  gap:14px!important;
  flex-wrap:nowrap!important;
}

.site-branding,
.ast-builder-layout-element[data-section="title_tagline"]{
  flex:0 0 auto!important;
}

.custom-logo,
.site-logo-img img{
  width:auto!important;
  max-width:126px!important;
  max-height:64px!important;
}

.ast-builder-menu-1{
  flex:1 1 auto!important;
  min-width:0!important;
}

.main-header-bar-navigation,
.main-navigation,
.main-header-menu{
  display:flex!important;
  align-items:center!important;
  flex-wrap:nowrap!important;
  min-width:0!important;
}

.main-header-menu > .menu-item{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

.main-header-menu > .menu-item > .menu-link{
  height:68px!important;
  line-height:68px!important;
  padding-left:10px!important;
  padding-right:10px!important;
  color:#111!important;
  font-size:13.5px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .menu-item.current-menu-item > .menu-link,
.main-header-menu > .menu-item.current-menu-ancestor > .menu-link{
  color:var(--adg-pink)!important;
}

.ast-header-search,
.ast-header-account,
.header-widget-area,
.ast-builder-layout-element[data-section="section-header-search"],
.ast-builder-layout-element[data-section="section-header-account"]{
  flex:0 0 auto!important;
}

.ast-header-search .ast-icon,
.ast-header-search svg,
.ast-builder-layout-element[data-section="section-header-search"] svg{
  color:var(--adg-pink)!important;
  fill:var(--adg-pink)!important;
}

.header-widget-area .menu-link,
.header-widget-area a{
  color:var(--adg-pink)!important;
  font-size:13px!important;
  font-weight:500!important;
  white-space:nowrap!important;
}

/* Compactar solo en escritorio mediano para que no baje NOSOTROS/BLOG */
@media (max-width:1180px) and (min-width:922px){
  .site-primary-header-wrap.ast-container,
  .main-header-bar .ast-container,
  .ast-primary-header-bar .ast-container{
    max-width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .site-header-primary-section-left{
    gap:10px!important;
  }

  .custom-logo,
  .site-logo-img img{
    max-width:105px!important;
  }

  .main-header-menu > .menu-item > .menu-link{
    padding-left:6px!important;
    padding-right:6px!important;
    font-size:12.3px!important;
    letter-spacing:0!important;
  }

  .site-header-primary-section-right{
    gap:8px!important;
  }

  .header-widget-area .menu-link,
  .header-widget-area a{
    font-size:12.3px!important;
  }
}

/* Mobile: no forzar el builder de Astra; deja hamburguesa/logo/buscar normal */
@media (max-width:921px){
  .ast-builder-grid-row,
  .ast-builder-grid-row-has-sides,
  .ast-builder-grid-row-no-center{
    min-height:64px!important;
  }

  .site-primary-header-wrap.ast-container,
  .main-header-bar .ast-container,
  .ast-primary-header-bar .ast-container{
    max-width:100%!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .custom-logo,
  .site-logo-img img{
    max-width:118px!important;
    max-height:58px!important;
  }
}

/* Checkout: métodos de pago aún más proporcionados */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment *{
  font-size:13.8px!important;
  line-height:1.34!important;
}

body.woocommerce-checkout #payment ul.payment_methods li{
  padding:8px 0!important;
}

body.woocommerce-checkout #payment ul.payment_methods li > label{
  font-size:14.2px!important;
  font-weight:500!important;
  line-height:1.28!important;
}

body.woocommerce-checkout #payment .payment_box{
  font-size:13px!important;
  line-height:1.34!important;
  padding:11px 13px!important;
}

body.woocommerce-checkout #payment img{
  max-height:22px!important;
}

/* Saldo/monedero no gigante */
body.woocommerce-checkout #payment strong,
body.woocommerce-checkout #payment .amount,
body.woocommerce-checkout #payment .wallet-amount{
  font-size:14.2px!important;
  line-height:1.3!important;
}

/* Botón final mantiene presencia, no exagerado */
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button#place_order{
  min-height:42px!important;
  font-size:12.5px!important;
}

/* En celular los pagos pueden ser un poco más grandes, pero controlados */
@media (max-width:921px){
  body.woocommerce-checkout #payment,
  body.woocommerce-checkout #payment *{
    font-size:14.5px!important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li > label{
    font-size:15px!important;
  }

  body.woocommerce-checkout #payment .payment_box{
    font-size:13.8px!important;
  }
}


/* ===== v4.5: menú desplegable Astra bonito + pagos checkout realmente compactos ===== */

/* --- Dropdowns del menú principal --- */
.main-header-menu .sub-menu,
.ast-builder-menu .main-header-menu .sub-menu,
.ast-desktop .main-header-menu .sub-menu{
  background:#fff!important;
  border:1px solid rgba(23,23,29,.10)!important;
  border-top:3px solid var(--adg-pink)!important;
  border-radius:0 0 14px 14px!important;
  box-shadow:0 14px 30px rgba(17,24,39,.13)!important;
  padding:8px!important;
  min-width:215px!important;
  overflow:hidden!important;
}

.main-header-menu .sub-menu .menu-item,
.ast-builder-menu .main-header-menu .sub-menu .menu-item{
  border:0!important;
  background:transparent!important;
}

.main-header-menu .sub-menu .menu-link,
.ast-builder-menu .main-header-menu .sub-menu .menu-link,
.ast-desktop .main-header-menu .sub-menu .menu-link{
  height:auto!important;
  line-height:1.25!important;
  padding:10px 12px!important;
  color:#17171d!important;
  font-size:13.2px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  border-radius:9px!important;
  border-bottom:0!important;
  text-transform:none!important;
}

.main-header-menu .sub-menu .menu-link:hover,
.ast-builder-menu .main-header-menu .sub-menu .menu-link:hover,
.main-header-menu .sub-menu .current-menu-item > .menu-link{
  background:rgba(255,40,93,.08)!important;
  color:var(--adg-pink)!important;
}

/* Flechitas más limpias */
.main-header-menu .menu-item .ast-menu-toggle,
.main-header-menu .menu-item .sub-arrow{
  color:inherit!important;
}

/* --- Checkout: pago más pequeño aunque el plugin meta estilos propios --- */
body.woocommerce-checkout #order_review #payment,
body.woocommerce-checkout #order_review #payment p,
body.woocommerce-checkout #order_review #payment li,
body.woocommerce-checkout #order_review #payment label,
body.woocommerce-checkout #order_review #payment span,
body.woocommerce-checkout #order_review #payment div{
  font-size:13.2px!important;
  line-height:1.28!important;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods{
  padding:0!important;
  margin:0!important;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods > li{
  padding:7px 0!important;
  margin:0!important;
  border-bottom:1px solid rgba(23,23,29,.08)!important;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods > li > input[type="radio"]{
  transform:scale(.82)!important;
  margin:0 8px 0 0!important;
  vertical-align:middle!important;
}

body.woocommerce-checkout #order_review #payment ul.payment_methods > li > label{
  font-size:13.8px!important;
  line-height:1.25!important;
  font-weight:500!important;
  margin:0!important;
  vertical-align:middle!important;
}

/* TeraWallet / monedero */
body.woocommerce-checkout #order_review #payment .wc_payment_method.payment_method_wallet label,
body.woocommerce-checkout #order_review #payment .payment_method_wallet label,
body.woocommerce-checkout #order_review #payment .payment_method_woo-wallet label,
body.woocommerce-checkout #order_review #payment .wallet-payment label{
  font-size:13.8px!important;
  line-height:1.25!important;
}

body.woocommerce-checkout #order_review #payment .payment_box,
body.woocommerce-checkout #order_review #payment div.payment_box,
body.woocommerce-checkout #order_review #payment .wc_payment_method .payment_box{
  font-size:12.7px!important;
  line-height:1.32!important;
  padding:10px 12px!important;
  margin:8px 0 0!important;
  border-radius:10px!important;
  background:#ffe0ea!important;
}

/* Saldo demasiado grande */
body.woocommerce-checkout #order_review #payment strong,
body.woocommerce-checkout #order_review #payment b,
body.woocommerce-checkout #order_review #payment .amount,
body.woocommerce-checkout #order_review #payment .wallet-amount,
body.woocommerce-checkout #order_review #payment .woocommerce-Price-amount{
  font-size:13.8px!important;
  line-height:1.25!important;
  font-weight:700!important;
}

/* Logos en métodos de pago */
body.woocommerce-checkout #order_review #payment img,
body.woocommerce-checkout #order_review #payment label img{
  max-height:20px!important;
  width:auto!important;
  vertical-align:middle!important;
  margin-left:4px!important;
}

/* Términos y botón */
body.woocommerce-checkout #order_review .woocommerce-terms-and-conditions-wrapper,
body.woocommerce-checkout #order_review .woocommerce-terms-and-conditions-wrapper *{
  font-size:12.8px!important;
  line-height:1.35!important;
}

body.woocommerce-checkout #order_review #place_order,
body.woocommerce-checkout #order_review button#place_order{
  min-height:40px!important;
  font-size:12px!important;
  line-height:1!important;
  padding:12px 18px!important;
}

/* Tabla del pedido un poco más compacta */
body.woocommerce-checkout #order_review table.shop_table{
  font-size:13.2px!important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td{
  padding-top:9px!important;
  padding-bottom:9px!important;
}

/* Mobile: no enorme, pero legible */
@media (max-width:921px){
  body.woocommerce-checkout #order_review #payment,
  body.woocommerce-checkout #order_review #payment p,
  body.woocommerce-checkout #order_review #payment li,
  body.woocommerce-checkout #order_review #payment label,
  body.woocommerce-checkout #order_review #payment span,
  body.woocommerce-checkout #order_review #payment div{
    font-size:14px!important;
    line-height:1.3!important;
  }

  body.woocommerce-checkout #order_review #payment ul.payment_methods > li > label{
    font-size:14.5px!important;
  }

  body.woocommerce-checkout #order_review #payment .payment_box,
  body.woocommerce-checkout #order_review #payment div.payment_box{
    font-size:13.4px!important;
  }

  body.woocommerce-checkout #order_review #payment img,
  body.woocommerce-checkout #order_review #payment label img{
    max-height:20px!important;
  }
}


/* ===== v4.6: checkout centrado + producto individual más fino ===== */

/* --- Checkout: centrar el bloque completo, no pegado a la derecha --- */
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce{
  box-sizing:border-box!important;
}

body.woocommerce-checkout .site-content > .ast-container,
body.woocommerce-checkout .ast-woocommerce-container,
body.woocommerce-checkout article.page,
body.woocommerce-checkout .entry-content > .woocommerce{
  max-width:1120px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

body.woocommerce-checkout .entry-content > .woocommerce{
  padding-left:16px!important;
  padding-right:16px!important;
}

/* Evitar que algún estilo anterior empuje el checkout hacia la derecha */
body.woocommerce-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout .woocommerce-checkout{
  max-width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0, 1.55fr) minmax(320px, .95fr)!important;
  gap:28px!important;
  align-items:start!important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-login-toggle{
  grid-column:1 / -1!important;
  max-width:100%!important;
  width:100%!important;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout #customer_details{
  grid-column:1!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  grid-column:2!important;
  width:100%!important;
  max-width:100%!important;
  float:none!important;
  margin:0!important;
}

body.woocommerce-checkout #order_review_heading{
  margin-bottom:0!important;
}

/* Desktop pequeño: menos ancho para que no se sienta a la derecha */
@media (max-width:1180px) and (min-width:922px){
  body.woocommerce-checkout .site-content > .ast-container,
  body.woocommerce-checkout .ast-woocommerce-container,
  body.woocommerce-checkout article.page,
  body.woocommerce-checkout .entry-content > .woocommerce{
    max-width:1020px!important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout,
  body.woocommerce-checkout .woocommerce-checkout{
    grid-template-columns:minmax(0, 1.45fr) minmax(300px, .9fr)!important;
    gap:22px!important;
  }
}

/* Mobile checkout: una columna limpia */
@media (max-width:921px){
  body.woocommerce-checkout .entry-content > .woocommerce{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout,
  body.woocommerce-checkout .woocommerce-checkout{
    display:block!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    margin-top:22px!important;
  }
}

/* --- Producto individual: modalidad menos pesada y más elegante --- */
body.single-product .summary .variations,
body.single-product .summary .variations_form,
body.single-product .summary .single_variation_wrap,
body.single-product .summary .woocommerce-variation-add-to-cart{
  font-size:13.5px!important;
}

body.single-product .summary .adg-variation-card,
body.single-product .summary .adg-modalidad-card,
body.single-product .summary .variable-item,
body.single-product .summary .variable-item-span,
body.single-product .summary .woo-variation-items-wrapper .variable-item{
  font-size:13.2px!important;
  line-height:1.22!important;
  font-weight:500!important;
}

body.single-product .summary .adg-variation-card strong,
body.single-product .summary .adg-modalidad-card strong,
body.single-product .summary .variable-item strong,
body.single-product .summary .woo-variation-items-wrapper strong{
  font-size:13.5px!important;
  font-weight:600!important;
}

body.single-product .summary .adg-variation-card .price,
body.single-product .summary .adg-modalidad-card .price,
body.single-product .summary .variable-item .price,
body.single-product .summary .woocommerce-Price-amount{
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:600!important;
}

/* Disponibilidad más chica */
body.single-product .summary .stock,
body.single-product .summary .availability,
body.single-product .summary .adg-stock,
body.single-product .summary .adg-disponibilidad{
  font-size:12.7px!important;
  line-height:1.25!important;
  font-weight:500!important;
}

/* Categorías/tags debajo del botón: más discretas y con hover */
body.single-product .product_meta,
body.single-product .posted_in,
body.single-product .tagged_as{
  font-size:13.2px!important;
  line-height:1.35!important;
  color:#666!important;
}

body.single-product .product_meta a,
body.single-product .posted_in a,
body.single-product .tagged_as a{
  color:#333!important;
  text-decoration:none!important;
  font-weight:500!important;
  transition:color .18s ease, background .18s ease!important;
}

body.single-product .product_meta a:hover,
body.single-product .posted_in a:hover,
body.single-product .tagged_as a:hover{
  color:var(--adg-pink)!important;
  text-decoration:none!important;
}

/* Botón/lupa de búsqueda del header más proporcionado */
.ast-header-search,
.ast-builder-layout-element[data-section="section-header-search"]{
  transform:scale(.86)!important;
  transform-origin:center!important;
}

.ast-header-search .ast-icon,
.ast-header-search svg,
.ast-builder-layout-element[data-section="section-header-search"] svg{
  width:28px!important;
  height:28px!important;
}

/* En mobile mantener tamaño tocable */
@media (max-width:921px){
  .ast-header-search,
  .ast-builder-layout-element[data-section="section-header-search"]{
    transform:scale(.95)!important;
  }

  .ast-header-search .ast-icon,
  .ast-header-search svg,
  .ast-builder-layout-element[data-section="section-header-search"] svg{
    width:30px!important;
    height:30px!important;
  }

  body.single-product .summary .adg-variation-card,
  body.single-product .summary .adg-modalidad-card,
  body.single-product .summary .variable-item{
    font-size:13.6px!important;
  }

  body.single-product .summary .adg-variation-card .price,
  body.single-product .summary .adg-modalidad-card .price,
  body.single-product .summary .variable-item .price,
  body.single-product .summary .woocommerce-Price-amount{
    font-size:15.5px!important;
  }
}


/* ===== v4.7: checkout alineado, header estable, categorías con hover ===== */

/* 1) Checkout: quitar el efecto de que todo queda hacia la derecha */
body.woocommerce-checkout .site-content > .ast-container,
body.woocommerce-checkout .ast-woocommerce-container,
body.woocommerce-checkout article.page,
body.woocommerce-checkout .entry-content > .woocommerce{
  max-width:1180px!important;
  width:calc(100vw - 48px)!important;
  margin-left:max(24px, calc((100vw - 1180px) / 2))!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout,
body.woocommerce-checkout .woocommerce-checkout{
  max-width:1180px!important;
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  grid-template-columns:minmax(0, 1.48fr) minmax(360px, .92fr)!important;
  gap:28px!important;
}

/* Cuadro de pedido: mantener tamaño razonable */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  max-width:410px!important;
  justify-self:start!important;
}

/* El formulario sí puede respirar más */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout .col2-set{
  max-width:100%!important;
}

/* Evitar huecos raros en tabla de pedido */
body.woocommerce-checkout .woocommerce-checkout-review-order-table{
  table-layout:auto!important;
  width:100%!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{
  width:66%!important;
  padding-right:12px!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total{
  width:34%!important;
  text-align:right!important;
  white-space:nowrap!important;
}

/* Textos de métodos de pago más equilibrados */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment ul.payment_methods li,
body.woocommerce-checkout #payment label{
  font-size:14px!important;
  line-height:1.35!important;
}

body.woocommerce-checkout #payment .payment_box{
  font-size:13px!important;
  line-height:1.35!important;
}

/* 2) Header desktop: que no se centre raro en inicio/checkout */
@media (min-width:922px){
  .ast-primary-header-bar .site-primary-header-wrap,
  .ast-primary-header-bar .ast-builder-grid-row{
    max-width:none!important;
    width:100%!important;
  }

  .ast-primary-header-bar .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:auto minmax(0, 1fr) auto!important;
    align-items:center!important;
    column-gap:24px!important;
  }

  .site-header-primary-section-left{
    justify-self:start!important;
    margin-left:22px!important;
  }

  .site-header-primary-section-center{
    justify-self:start!important;
  }

  .site-header-primary-section-right{
    justify-self:end!important;
    margin-right:22px!important;
  }

  .main-header-menu,
  .ast-builder-menu-1 .main-header-menu{
    justify-content:flex-start!important;
  }
}

/* 3) Header search: bajar un poco el tamaño de la lupa, sin romper mobile */
@media (min-width:922px){
  .ast-header-search .ast-icon,
  .ast-header-search svg,
  .ast-builder-layout-element[data-section="section-header-search"] svg{
    width:24px!important;
    height:24px!important;
  }
}

/* 4) Links de categorías/tags del producto: hover visible */
body.single-product .product_meta,
body.single-product .posted_in,
body.single-product .tagged_as{
  color:#222!important;
  font-size:14px!important;
}

body.single-product .product_meta a,
body.single-product .posted_in a,
body.single-product .tagged_as a{
  display:inline-block!important;
  color:#222!important;
  background:transparent!important;
  border-radius:999px!important;
  padding:2px 4px!important;
  margin:0 1px!important;
  text-decoration:none!important;
  transition:color .18s ease, background-color .18s ease, transform .18s ease!important;
}

body.single-product .product_meta a:hover,
body.single-product .posted_in a:hover,
body.single-product .tagged_as a:hover{
  color:var(--adg-pink, #ff285d)!important;
  background:rgba(255,40,93,.08)!important;
  transform:translateY(-1px)!important;
}

/* 5) Producto individual: textos de modalidad un poco más chicos */
body.single-product .summary .variations label,
body.single-product .summary .adg-variation-card,
body.single-product .summary .adg-modalidad-card,
body.single-product .summary .variable-item,
body.single-product .summary .woo-variation-items-wrapper .variable-item{
  font-size:12.8px!important;
  line-height:1.2!important;
}

body.single-product .summary .adg-variation-card .price,
body.single-product .summary .adg-modalidad-card .price,
body.single-product .summary .variable-item .price,
body.single-product .summary .woocommerce-Price-amount{
  font-size:14.2px!important;
}

body.single-product .summary .stock,
body.single-product .summary .availability,
body.single-product .summary .adg-stock,
body.single-product .summary .adg-disponibilidad{
  font-size:12.2px!important;
}

/* Mobile checkout: que no se desborde */
@media (max-width:921px){
  body.woocommerce-checkout .site-content > .ast-container,
  body.woocommerce-checkout .ast-woocommerce-container,
  body.woocommerce-checkout article.page,
  body.woocommerce-checkout .entry-content > .woocommerce{
    width:calc(100vw - 28px)!important;
    max-width:none!important;
    margin-left:14px!important;
    margin-right:14px!important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout,
  body.woocommerce-checkout .woocommerce-checkout{
    display:block!important;
    width:100%!important;
    max-width:none!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    max-width:100%!important;
    width:100%!important;
  }

  body.woocommerce-checkout #payment,
  body.woocommerce-checkout #payment ul.payment_methods,
  body.woocommerce-checkout #payment ul.payment_methods li,
  body.woocommerce-checkout #payment label{
    font-size:14.5px!important;
  }
}


/* ===== v4.8: corrección fuerte checkout + header estable ===== */

/* El fix anterior de checkout usaba width + margin-left y podía desbordar hacia la derecha.
   Aquí se resetea para que el checkout quede centrado de verdad. */
body.woocommerce-checkout .site-content > .ast-container,
body.woocommerce-checkout .site-content .ast-container,
body.woocommerce-checkout .ast-woocommerce-container,
body.woocommerce-checkout article.page,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .entry-content > .woocommerce{
  box-sizing:border-box!important;
  max-width:1180px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:18px!important;
  padding-right:18px!important;
  float:none!important;
  transform:none!important;
}

/* En páginas full-width de Astra, el contenedor puede volverse enorme; lo amarramos solo en checkout. */
body.woocommerce-checkout.ast-full-width-layout .site-content .ast-container,
body.woocommerce-checkout.ast-full-width-layout .entry-content > .woocommerce{
  max-width:1180px!important;
  width:100%!important;
}

/* Layout de columnas checkout */
body.woocommerce-checkout form.checkout.woocommerce-checkout{
  display:grid!important;
  grid-template-columns:minmax(0, 1.55fr) minmax(360px, .95fr)!important;
  gap:28px!important;
  align-items:start!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
}

/* Cupón/login ocupan todo el ancho del checkout */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .checkout_coupon,
body.woocommerce-checkout .woocommerce-info{
  max-width:1180px!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Billing y pedido */
body.woocommerce-checkout #customer_details{
  min-width:0!important;
  width:100%!important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review{
  width:100%!important;
  max-width:420px!important;
  justify-self:start!important;
  margin-left:0!important;
  margin-right:0!important;
  box-sizing:border-box!important;
}

/* Quitar hueco fantasma dentro del pedido */
body.woocommerce-checkout .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tbody,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tr,
body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td{
  box-sizing:border-box!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table{
  width:100%!important;
  table-layout:fixed!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{
  width:68%!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total{
  width:32%!important;
  text-align:right!important;
  white-space:nowrap!important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name img,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name img{
  width:44px!important;
  height:44px!important;
  object-fit:cover!important;
  border-radius:6px!important;
  margin-right:8px!important;
}

/* Header: no tocar colores ni convertirlo en centro extraño */
@media (min-width:922px){
  body .ast-primary-header-bar,
  body .main-header-bar{
    background:#fff!important;
  }

  body .ast-primary-header-bar .site-primary-header-wrap,
  body .ast-primary-header-bar .ast-builder-grid-row-container{
    max-width:100%!important;
    width:100%!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body .ast-primary-header-bar .ast-builder-grid-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    gap:18px!important;
  }

  body .site-header-primary-section-left{
    flex:0 0 auto!important;
    margin-left:24px!important;
    justify-content:flex-start!important;
  }

  body .site-header-primary-section-center{
    flex:1 1 auto!important;
    justify-content:center!important;
    min-width:0!important;
  }

  body .site-header-primary-section-right{
    flex:0 0 auto!important;
    margin-right:24px!important;
    justify-content:flex-end!important;
  }

  body .main-header-menu,
  body .ast-builder-menu-1 .main-header-menu{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:0!important;
  }
}

/* Submenús más limpios */
@media (min-width:922px){
  body .main-header-menu .sub-menu{
    border:1px solid rgba(255,40,93,.18)!important;
    border-radius:12px!important;
    overflow:hidden!important;
    box-shadow:0 16px 35px rgba(20,20,20,.10)!important;
    padding:8px!important;
    background:#fff!important;
    min-width:220px!important;
  }

  body .main-header-menu .sub-menu .menu-link{
    border-radius:9px!important;
    padding:9px 12px!important;
    color:#1d1d1f!important;
    font-size:13px!important;
    font-weight:600!important;
    letter-spacing:.01em!important;
  }

  body .main-header-menu .sub-menu .menu-link:hover,
  body .main-header-menu .sub-menu .current-menu-item > .menu-link{
    color:#ff285d!important;
    background:rgba(255,40,93,.08)!important;
  }

  body .main-header-menu .sub-menu .ast-icon{
    display:none!important;
  }
}

/* Menos grande la lupa */
@media (min-width:922px){
  body .ast-header-search .ast-icon,
  body .ast-header-search svg,
  body .ast-builder-layout-element[data-section="section-header-search"] svg{
    width:22px!important;
    height:22px!important;
  }
}

/* Producto individual: modalidad e info un poco más compacta */
body.single-product .summary .adg-variation-card,
body.single-product .summary .adg-modalidad-card,
body.single-product .summary .variable-item,
body.single-product .summary .woo-variation-items-wrapper .variable-item{
  font-size:12px!important;
  line-height:1.18!important;
}

body.single-product .summary .adg-variation-card .price,
body.single-product .summary .adg-modalidad-card .price,
body.single-product .summary .variable-item .price{
  font-size:13px!important;
}

/* Categorías del producto: hover real */
body.single-product .product_meta a,
body.single-product .posted_in a,
body.single-product .tagged_as a{
  color:#1f2933!important;
  text-decoration:none!important;
  border-radius:999px!important;
  padding:2px 5px!important;
  transition:all .18s ease!important;
}
body.single-product .product_meta a:hover,
body.single-product .posted_in a:hover,
body.single-product .tagged_as a:hover{
  color:#ff285d!important;
  background:rgba(255,40,93,.08)!important;
}

/* Mobile checkout */
@media (max-width:921px){
  body.woocommerce-checkout .site-content > .ast-container,
  body.woocommerce-checkout .site-content .ast-container,
  body.woocommerce-checkout .ast-woocommerce-container,
  body.woocommerce-checkout article.page,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout .entry-content > .woocommerce{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }

  body.woocommerce-checkout form.checkout.woocommerce-checkout{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table{
    table-layout:auto!important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name{
    width:64%!important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total{
    width:36%!important;
  }
}


/* ===== v4.8.1: checkout header Astra alignment fix ===== */
@media (min-width:922px){
  /* Solo en checkout: restaurar la lógica del header de Astra para que no se vaya a la derecha */
  body.woocommerce-checkout .ast-primary-header-bar .ast-builder-grid-row,
  body.woocommerce-checkout .main-header-bar .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    align-items:center!important;
    column-gap:20px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }

  body.woocommerce-checkout .ast-primary-header-bar .site-header-primary-section-left,
  body.woocommerce-checkout .main-header-bar .site-header-primary-section-left{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex:0 0 auto!important;
    margin:0 0 0 24px!important;
    min-width:auto!important;
  }

  body.woocommerce-checkout .ast-primary-header-bar .site-header-primary-section-center,
  body.woocommerce-checkout .main-header-bar .site-header-primary-section-center{
    display:flex!important;
    justify-content:flex-start!important;
    align-items:center!important;
    flex:1 1 auto!important;
    margin:0!important;
    min-width:0!important;
  }

  body.woocommerce-checkout .ast-primary-header-bar .site-header-primary-section-right,
  body.woocommerce-checkout .main-header-bar .site-header-primary-section-right{
    display:flex!important;
    justify-content:flex-end!important;
    align-items:center!important;
    flex:0 0 auto!important;
    margin:0 24px 0 0!important;
    min-width:auto!important;
  }

  body.woocommerce-checkout .ast-primary-header-bar .main-header-menu,
  body.woocommerce-checkout .main-header-bar .main-header-menu,
  body.woocommerce-checkout .ast-primary-header-bar .ast-builder-menu-1 .main-header-menu,
  body.woocommerce-checkout .main-header-bar .ast-builder-menu-1 .main-header-menu{
    justify-content:flex-start!important;
    align-items:center!important;
    width:auto!important;
    margin:0!important;
  }

  body.woocommerce-checkout .ast-primary-header-bar .ast-builder-grid-row-container-inner,
  body.woocommerce-checkout .main-header-bar .ast-builder-grid-row-container-inner,
  body.woocommerce-checkout .ast-primary-header-bar .site-primary-header-wrap,
  body.woocommerce-checkout .main-header-bar .site-primary-header-wrap{
    max-width:none!important;
    width:100%!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
}


/* ===== v4.8.2: mobile header/menu + checkout width/thumbs ===== */

/* --- Mobile header Astra: restaurar menú vertical y alinear mejor logo/hamburguesa --- */
@media (max-width:921px){
  /* El popup/off-canvas del menú no debe heredar el flex horizontal de desktop */
  body .ast-mobile-popup-drawer .main-navigation,
  body .ast-mobile-popup-drawer .main-header-menu,
  body .ast-mobile-popup-drawer .ast-builder-menu-mobile,
  body .ast-mobile-popup-drawer .ast-builder-menu-mobile .main-navigation,
  body .ast-header-break-point .ast-mobile-popup-drawer .main-navigation,
  body .ast-header-break-point .ast-mobile-popup-drawer .main-header-menu{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    flex:none!important;
  }

  body .ast-mobile-popup-drawer .main-header-menu > .menu-item,
  body .ast-mobile-popup-drawer .main-navigation .menu-item,
  body .ast-header-break-point .ast-mobile-popup-drawer .menu-item{
    display:block!important;
    width:100%!important;
    white-space:normal!important;
    float:none!important;
    margin:0!important;
    border:0!important;
  }

  body .ast-mobile-popup-drawer .main-header-menu > .menu-item > .menu-link,
  body .ast-mobile-popup-drawer .main-navigation .menu-link,
  body .ast-header-break-point .ast-mobile-popup-drawer .menu-link{
    display:block!important;
    width:100%!important;
    height:auto!important;
    line-height:1.35!important;
    padding:12px 0!important;
    color:#17171d!important;
    font-size:16px!important;
    font-weight:700!important;
    border-bottom:1px solid rgba(23,23,29,.08)!important;
    background:transparent!important;
    text-align:left!important;
  }

  body .ast-mobile-popup-drawer .sub-menu,
  body .ast-header-break-point .ast-mobile-popup-drawer .sub-menu{
    display:block!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    padding:4px 0 8px 10px!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    background:transparent!important;
    opacity:1!important;
    visibility:visible!important;
  }

  body .ast-mobile-popup-drawer .sub-menu .menu-link,
  body .ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-link{
    font-size:14.5px!important;
    font-weight:600!important;
    padding:9px 0!important;
    border-bottom:0!important;
    color:#444!important;
  }

  /* El contenedor del popup debe mostrar contenido real */
  body .ast-mobile-popup-drawer .ast-mobile-popup-inner,
  body .ast-mobile-popup-drawer .menu-toggle-close,
  body .ast-mobile-popup-drawer .ast-builder-layout-element,
  body .ast-mobile-popup-drawer .ast-builder-menu-mobile{
    opacity:1!important;
    visibility:visible!important;
  }

  /* Header móvil: tres zonas claras y el logo menos centrado/encajonado */
  body .ast-builder-grid-row,
  body .ast-builder-grid-row-has-sides,
  body .ast-builder-grid-row-no-center{
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    align-items:center!important;
    column-gap:10px!important;
    min-height:68px!important;
  }

  body .site-header-primary-section-left{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    margin:0!important;
    min-width:auto!important;
    flex:none!important;
  }

  body .site-header-primary-section-center{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    margin:0!important;
    flex:1 1 auto!important;
  }

  body .site-header-primary-section-right{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    margin:0!important;
    min-width:auto!important;
    flex:none!important;
  }

  body .site-branding,
  body .ast-builder-layout-element[data-section="title_tagline"]{
    margin:0!important;
    text-align:left!important;
  }

  body .custom-logo,
  body .site-logo-img img{
    max-width:150px!important;
    max-height:56px!important;
    width:auto!important;
    margin:0!important;
  }

  body .menu-toggle.main-header-menu-toggle,
  body .ast-mobile-menu-trigger-minimal,
  body .ast-button-wrap .mobile-menu-toggle-icon,
  body .menu-toggle.main-header-menu-toggle .ast-mobile-svg{
    transform:none!important;
  }

  /* --- Checkout móvil: más ancho, más legible y con miniaturas visibles --- */
  body.woocommerce-checkout .site-content > .ast-container,
  body.woocommerce-checkout .site-content .ast-container,
  body.woocommerce-checkout .ast-woocommerce-container,
  body.woocommerce-checkout article.page,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .woocommerce{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:10px!important;
    padding-right:10px!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout form.checkout.woocommerce-checkout,
  body.woocommerce-checkout .woocommerce-checkout{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.woocommerce-checkout #customer_details{
    padding:16px!important;
  }

  body.woocommerce-checkout #order_review_heading{
    padding:16px 16px 10px!important;
  }

  body.woocommerce-checkout #order_review{
    padding:0 16px 16px!important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields h3,
  body.woocommerce-checkout #order_review_heading{
    font-size:28px!important;
    line-height:1.08!important;
  }

  body.woocommerce-checkout input.input-text,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout select,
  body.woocommerce-checkout .select2-container .select2-selection--single{
    min-height:52px!important;
    font-size:16px!important;
  }

  body.woocommerce-checkout table.shop_table,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table{
    width:100%!important;
    table-layout:fixed!important;
    font-size:14.5px!important;
  }

  body.woocommerce-checkout table.shop_table th,
  body.woocommerce-checkout table.shop_table td,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td{
    padding-top:10px!important;
    padding-bottom:10px!important;
    vertical-align:top!important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-name,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-name,
  body.woocommerce-checkout table.shop_table th.product-name,
  body.woocommerce-checkout table.shop_table td.product-name{
    width:74%!important;
    padding-right:8px!important;
  }

  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total,
  body.woocommerce-checkout table.shop_table th.product-total,
  body.woocommerce-checkout table.shop_table td.product-total{
    width:26%!important;
    text-align:right!important;
    white-space:nowrap!important;
  }

  /* Volver a mostrar la imagen del producto en checkout móvil */
  body.woocommerce-checkout .adg-checkout-product-line{
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:8px!important;
    align-items:start!important;
  }

  body.woocommerce-checkout .adg-checkout-thumb,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name img,
  body.woocommerce-checkout table.shop_table .product-name img{
    display:block!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    object-fit:cover!important;
    border-radius:6px!important;
    margin:0!important;
  }

  body.woocommerce-checkout .adg-checkout-product-name{
    font-size:14px!important;
    line-height:1.24!important;
    overflow-wrap:anywhere!important;
  }

  body.woocommerce-checkout #payment,
  body.woocommerce-checkout #payment *{
    font-size:15px!important;
    line-height:1.35!important;
  }

  body.woocommerce-checkout #payment ul.payment_methods > li > label{
    font-size:15.5px!important;
  }

  body.woocommerce-checkout #place_order,
  body.woocommerce-checkout button#place_order{
    min-height:50px!important;
    font-size:14px!important;
  }
}


/* ===== v4.8.3: header móvil centrado + menú hamburguesa corregido ===== */

/*
  Objetivo:
  - En móvil: logo centrado en TODAS las páginas, igual que checkout.
  - No forzar submenús abiertos; que Astra los abra/cierre con la flecha.
  - Menú lateral más limpio y menos tosco.
*/
@media (max-width:921px){

  /* Header móvil en 3 zonas reales: hamburguesa | logo | búsqueda */
  body.ast-header-break-point .ast-primary-header-bar .ast-builder-grid-row,
  body.ast-header-break-point .main-header-bar .ast-builder-grid-row,
  body .ast-primary-header-bar .ast-builder-grid-row,
  body .main-header-bar .ast-builder-grid-row{
    display:grid!important;
    grid-template-columns:70px 1fr 70px!important;
    align-items:center!important;
    justify-content:normal!important;
    column-gap:0!important;
    min-height:72px!important;
    width:100%!important;
  }

  body.ast-header-break-point .site-header-primary-section-left,
  body.ast-header-break-point .site-header-primary-section-center,
  body.ast-header-break-point .site-header-primary-section-right{
    min-width:0!important;
    margin:0!important;
  }

  /* Izquierda: hamburguesa */
  body.ast-header-break-point .site-header-primary-section-left{
    grid-column:1!important;
    justify-content:flex-start!important;
    display:flex!important;
    align-items:center!important;
  }

  /* Centro: logo centrado */
  body.ast-header-break-point .site-header-primary-section-center{
    grid-column:2!important;
    justify-content:center!important;
    display:flex!important;
    align-items:center!important;
    text-align:center!important;
  }

  body.ast-header-break-point .site-header-primary-section-center .site-branding,
  body.ast-header-break-point .site-header-primary-section-center .ast-builder-layout-element[data-section="title_tagline"],
  body.ast-header-break-point .site-branding,
  body.ast-header-break-point .ast-builder-layout-element[data-section="title_tagline"]{
    margin:0 auto!important;
    text-align:center!important;
  }

  body.ast-header-break-point .custom-logo,
  body.ast-header-break-point .site-logo-img img{
    max-width:145px!important;
    max-height:58px!important;
    width:auto!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:block!important;
  }

  /* Derecha: búsqueda/cuenta */
  body.ast-header-break-point .site-header-primary-section-right{
    grid-column:3!important;
    justify-content:flex-end!important;
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
  }

  body.ast-header-break-point .menu-toggle.main-header-menu-toggle{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:4px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:var(--adg-pink)!important;
    color:#fff!important;
    border:0!important;
    padding:0!important;
  }

  body.ast-header-break-point .menu-toggle.main-header-menu-toggle svg,
  body.ast-header-break-point .menu-toggle.main-header-menu-toggle .ast-mobile-svg{
    fill:#fff!important;
    color:#fff!important;
    width:22px!important;
    height:22px!important;
  }

  body.ast-header-break-point .ast-header-search svg,
  body.ast-header-break-point .ast-builder-layout-element[data-section="section-header-search"] svg{
    width:32px!important;
    height:32px!important;
    fill:var(--adg-pink)!important;
    color:var(--adg-pink)!important;
  }

  /* Drawer/off-canvas: caja limpia */
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-mobile-popup-inner{
    background:#fff!important;
    max-width:86vw!important;
    width:86vw!important;
    box-shadow:14px 0 35px rgba(17,24,39,.16)!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .ast-mobile-popup-content{
    padding:72px 0 24px!important;
  }

  /* Botón cerrar más prolijo */
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-toggle-close{
    top:18px!important;
    right:18px!important;
    width:48px!important;
    height:48px!important;
    border-radius:999px!important;
    border:1px solid rgba(23,23,29,.12)!important;
    background:#fff!important;
    box-shadow:0 8px 20px rgba(17,24,39,.08)!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .menu-toggle-close .ast-mobile-svg{
    width:18px!important;
    height:18px!important;
    fill:#17171d!important;
  }

  /* Menú principal: cerrado por defecto, sin submenús abiertos de golpe */
  body.ast-header-break-point .ast-mobile-popup-drawer .main-navigation,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu,
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-builder-menu-mobile{
    display:block!important;
    width:100%!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > .menu-item,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-navigation .menu-item{
    display:block!important;
    width:100%!important;
    border-bottom:1px solid rgba(23,23,29,.08)!important;
    background:#fff!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > .menu-item > .menu-link,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-navigation .menu-link{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    min-height:58px!important;
    height:auto!important;
    line-height:1.25!important;
    padding:16px 22px!important;
    color:#17171d!important;
    font-size:16px!important;
    font-weight:650!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
    background:#fff!important;
    border:0!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > .menu-item.current-menu-item > .menu-link,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > .menu-item.current-menu-ancestor > .menu-link,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu > .menu-item > .menu-link:hover{
    color:var(--adg-pink)!important;
  }

  /* Importante: revertimos el v4.8.2 que abría todos los submenús */
  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-drawer .main-header-menu .sub-menu{
    display:none!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 0 8px 0!important;
    border:0!important;
    box-shadow:none!important;
    background:#fff!important;
    opacity:1!important;
    visibility:visible!important;
  }

  /* Solo abrir cuando Astra marque el item como expandido */
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.ast-submenu-expanded > .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.focus > .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item:hover > .sub-menu{
    display:block!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-item{
    border-bottom:0!important;
    background:#fff!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-link{
    min-height:42px!important;
    padding:10px 22px 10px 38px!important;
    font-size:14.5px!important;
    font-weight:550!important;
    letter-spacing:.015em!important;
    text-transform:none!important;
    color:#3b3b42!important;
    background:#fff!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-link:hover{
    color:var(--adg-pink)!important;
    background:rgba(255,40,93,.06)!important;
  }

  /* Flecha de submenú más pequeña y alineada */
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle{
    width:52px!important;
    height:58px!important;
    line-height:58px!important;
    border:0!important;
    background:transparent!important;
    color:#333!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle .ast-icon,
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle svg{
    width:13px!important;
    height:13px!important;
  }

  /* Evitar que elementos flotantes tapen el menú */
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-mobile-popup-content{
    overflow-y:auto!important;
    max-height:100vh!important;
  }
}


/* ===== v4.8.4: menú móvil/submenús + textos single product ajustados ===== */
@media (max-width:921px){

  /* Single product: categorías y metadatos más discretos */
  body.single-product .product_meta,
  body.single-product .posted_in,
  body.single-product .tagged_as,
  body.single-product .sku_wrapper{
    font-size:13px!important;
    line-height:1.35!important;
    letter-spacing:0!important;
  }

  body.single-product .product_meta a,
  body.single-product .posted_in a,
  body.single-product .tagged_as a{
    font-size:13px!important;
    line-height:1.35!important;
  }

  /* Títulos grandes de secciones relacionadas / vistos recientemente */
  body.single-product .related > h2,
  body.single-product .upsells > h2,
  body.single-product .up-sells > h2,
  body.single-product .recently-viewed-products h2,
  body.single-product .recent-products h2,
  body.single-product .woocommerce-browsing-history h2,
  body.single-product .products-viewed-recently h2,
  body.single-product .entry-content > h2{
    font-size:clamp(24px,6.8vw,36px)!important;
    line-height:1.08!important;
    letter-spacing:-0.01em!important;
    margin:18px 0 14px!important;
  }

  /* Menú móvil: solo mostrar submenú cuando esté expandido de verdad */
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item:not(.ast-submenu-expanded) > .sub-menu{
    display:none!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.ast-submenu-expanded > .sub-menu{
    display:block!important;
  }

  /* Si Astra deja clases focus/hover, no abrir a menos que esté expandido */
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.focus:not(.ast-submenu-expanded) > .sub-menu,
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item:hover:not(.ast-submenu-expanded) > .sub-menu{
    display:none!important;
  }

  /* Submenús: alineados a la izquierda y más limpios */
  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu{
    padding:0 0 8px 0!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-item{
    display:block!important;
    width:100%!important;
    padding:0!important;
    border:0!important;
    background:#fff!important;
    position:relative!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-link{
    display:block!important;
    width:100%!important;
    min-height:44px!important;
    padding:12px 18px 12px 40px!important;
    text-align:left!important;
    justify-content:flex-start!important;
    font-size:14px!important;
    font-weight:550!important;
    line-height:1.35!important;
    color:#3b3b42!important;
    background:#fff!important;
    position:relative!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .menu-link::before{
    content:'›';
    position:absolute!important;
    left:18px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    font-size:22px!important;
    line-height:1!important;
    color:#333!important;
    opacity:.9!important;
  }

  /* Flechita interna en subnivel: ocultarla si no aporta */
  body.ast-header-break-point .ast-mobile-popup-drawer .sub-menu .ast-menu-toggle{
    display:none!important;
  }

  /* Toggle del nivel principal más compacto y sin círculo punteado grande */
  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    line-height:46px!important;
    border-radius:999px!important;
    border:1px solid rgba(23,23,29,.10)!important;
    background:#fff!important;
    box-shadow:none!important;
    margin-right:10px!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .ast-menu-toggle:hover{
    background:rgba(255,40,93,.06)!important;
    border-color:rgba(255,40,93,.25)!important;
  }

  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.ast-submenu-expanded > .menu-link,
  body.ast-header-break-point .ast-mobile-popup-drawer .menu-item.ast-submenu-expanded > .menu-link + .ast-menu-toggle{
    color:var(--adg-pink)!important;
  }
}
