/*
Theme Name: Grupo Dany Market
Theme URI: https://grupodany.com/
Author: Grupo Dany
Description: Tema de tienda moderna para GrupoDany.com inspirado en patrones habituales de marketplaces, con integración WooCommerce y botón flotante de WhatsApp.
Version: 4.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grupodany-market
*/
:root{--gd-red:#ff0808;--gd-yellow:#ffe600;--gd-black:#111111;--gd-white:#fff;--gd-bg:#f4f5f7;--gd-muted:#626975;--gd-green:#20bd5a;--gd-border:#e4e6eb;--gd-radius:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--gd-bg);color:var(--gd-black);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--gd-red)}img{max-width:100%;height:auto}button,input,select{font:inherit}.gd-topline{background:var(--gd-black);color:#fff;font-size:11px;text-align:center;padding:4px 12px}.gd-header{background:var(--gd-yellow);padding:7px 0 8px}.gd-wrap{width:min(1240px,94%);margin-inline:auto}.gd-headrow{display:grid;grid-template-columns:220px minmax(220px,1fr) auto;gap:24px;align-items:center}.gd-brand{font-weight:900;font-size:28px;letter-spacing:-1px;line-height:1.05;color:var(--gd-black)}.gd-brand span{color:var(--gd-red)}.gd-brand-wrap .custom-logo-link{display:inline-flex;align-items:center}.gd-brand-wrap .custom-logo{display:block;width:auto;max-width:220px;max-height:112px;object-fit:contain}.gd-search{display:flex;background:#fff;border:1px solid #ddd;border-radius:7px;overflow:hidden;box-shadow:0 1px 3px #00000012}.gd-search input[type=search]{width:100%;min-width:0;border:0;padding:13px 15px;outline:none}.gd-search button{border:0;border-left:1px solid #eee;background:#fff;padding:0 17px;cursor:pointer;font-size:19px}.gd-headlinks{display:flex;gap:16px;align-items:center;font-size:13px;font-weight:700}.gd-headlinks a{white-space:nowrap}.gd-headlinks .gd-cart{background:var(--gd-red);color:#fff;padding:10px 13px;border-radius:7px}.gd-nav{padding-top:8px;display:flex;align-items:center;gap:22px;font-size:13px;font-weight:700;overflow:auto;white-space:nowrap}.gd-nav a:hover{color:var(--gd-red)}.gd-main{padding:24px 0 50px}.gd-hero{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-bottom:22px}.gd-hero-main{background:linear-gradient(115deg,#161616,#343434);color:#fff;border-radius:var(--gd-radius);padding:clamp(26px,4vw,52px);min-height:260px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;overflow:hidden}.gd-hero-main:after{content:'GD';position:absolute;right:22px;bottom:-48px;font-weight:900;font-size:210px;color:#ffffff0c;pointer-events:none}.gd-kicker{background:var(--gd-yellow);color:#111;border-radius:4px;padding:5px 9px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:1px}.gd-hero h1{font-size:clamp(28px,4vw,46px);line-height:1.08;margin:16px 0 10px;max-width:580px;letter-spacing:-1.5px}.gd-hero p{color:#e5e5e5;max-width:500px;margin:0 0 20px}.gd-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:var(--gd-red);color:#fff;padding:12px 18px;font-weight:800;cursor:pointer}.gd-btn:hover{background:#d90000;color:#fff}.gd-hero-side{display:grid;gap:18px}.gd-promo{border-radius:var(--gd-radius);padding:22px;background:#fff;display:flex;flex-direction:column;justify-content:center;border:1px solid var(--gd-border)}.gd-promo.yellow{background:var(--gd-yellow);border-color:var(--gd-yellow)}.gd-promo strong{font-size:22px;line-height:1.15}.gd-promo span{font-size:13px;color:#515151;margin-top:7px}
/* Banner fijo o carrusel de portada, configurable desde Apariencia > Personalizar. */
.gd-home-slider{position:relative;width:100%;margin:0 0 28px;border-radius:12px;overflow:hidden;background:#fff;border:1px solid var(--gd-border);isolation:isolate}.gd-slider-track{position:relative;width:100%;aspect-ratio:1920/650;min-height:230px;max-height:460px}.gd-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease}.gd-slide.is-active{opacity:1;visibility:visible;z-index:1}.gd-slide>a{display:block;width:100%;height:100%}.gd-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.gd-slider-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#ffffffed;color:#111;font-size:30px;line-height:1;box-shadow:0 2px 12px #0002;cursor:pointer}.gd-slider-prev{left:14px}.gd-slider-next{right:14px}.gd-slider-dots{position:absolute;z-index:3;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:8px}.gd-slider-dot{width:9px;height:9px;padding:0;border:1px solid #fff;border-radius:50%;background:#ffffff99;box-shadow:0 1px 5px #0003;cursor:pointer}.gd-slider-dot.is-active{background:var(--gd-red);transform:scale(1.25)}

.gd-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 28px}.gd-benefit{background:#fff;border:1px solid var(--gd-border);border-radius:10px;padding:15px;display:flex;gap:10px;align-items:center}.gd-benefit .gd-emoji{font-size:24px}.gd-benefit strong{display:block;font-size:13px}.gd-benefit small{display:block;color:var(--gd-muted);font-size:11px}.gd-section{margin:28px 0}.gd-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:14px}.gd-section h2{font-size:23px;letter-spacing:-.5px;margin:0}.gd-section-head p{color:var(--gd-muted);font-size:13px;margin:3px 0 0}.gd-link{font-size:13px;font-weight:800;color:var(--gd-red)}.gd-category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.gd-category{background:#fff;border:1px solid var(--gd-border);border-radius:10px;padding:18px 10px;text-align:center;font-weight:700;font-size:13px;transition:transform .15s,border-color .15s}.gd-category:hover{transform:translateY(-2px);border-color:var(--gd-red)}.gd-category .gd-emoji{font-size:28px;display:block;margin-bottom:8px}.gd-product-grid,.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px!important;margin:0!important;padding:0!important}.gd-product-card,.woocommerce ul.products li.product{list-style:none!important;background:#fff;border:1px solid var(--gd-border);border-radius:10px;padding:13px!important;margin:0!important;width:auto!important;float:none!important;position:relative;overflow:hidden;transition:box-shadow .15s,transform .15s}.gd-product-card:hover,.woocommerce ul.products li.product:hover{box-shadow:0 8px 25px #0000000d;transform:translateY(-2px)}.gd-product-card img,.woocommerce ul.products li.product img{width:100%;height:190px;object-fit:contain;margin:0 0 12px!important}.gd-product-card h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;font-weight:600;line-height:1.35;margin:0 0 8px!important;padding:0!important;color:var(--gd-black)}.gd-price,.woocommerce ul.products li.product .price{font-size:21px!important;font-weight:800;color:var(--gd-black)!important;margin:6px 0!important}.gd-price del,.woocommerce .price del{font-size:13px;opacity:.6}.gd-product-card .gd-small,.gd-stock-note{font-size:11px;color:#13864a;margin:5px 0 10px}.gd-product-card .button,.woocommerce ul.products li.product .button{display:block!important;text-align:center!important;background:var(--gd-red)!important;color:#fff!important;border-radius:6px!important;padding:10px 8px!important;margin:10px 0 0!important;font-weight:800!important;font-size:12px!important}.woocommerce span.onsale{background:var(--gd-red);min-height:0;line-height:1;padding:7px 9px;border-radius:5px;top:10px;left:10px;right:auto}.gd-banner{background:var(--gd-yellow);border-radius:12px;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:30px 0}.gd-banner h2{margin:0 0 4px;font-size:23px}.gd-banner p{margin:0;font-size:13px}.gd-footer{background:#171717;color:#fff;padding:34px 0 18px}.gd-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.gd-footer p,.gd-footer a{color:#d2d2d2;font-size:13px}.gd-footer h3{font-size:15px;margin:0 0 12px}.gd-footer-bottom{border-top:1px solid #383838;margin-top:25px;padding-top:15px;color:#aaa;font-size:12px}.gd-wa{position:fixed;z-index:99999;right:22px;bottom:22px;display:flex;align-items:center;gap:10px}.gd-wa-label{background:#fff;color:#222;padding:10px 13px;border-radius:9px;box-shadow:0 3px 18px #0002;font-size:13px;font-weight:700}.gd-wa-button{height:58px;width:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#20bd5a;color:#fff;box-shadow:0 4px 18px #0003;font-size:30px;border:3px solid #fff}.gd-wa-button:hover{color:#fff;background:#159c45}.woocommerce .site-main,.woocommerce-page .site-main{background:transparent}.woocommerce div.product,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{background:#fff;border:1px solid var(--gd-border);border-radius:12px;padding:24px}.woocommerce div.product .product_title{font-size:30px;line-height:1.2}.woocommerce div.product p.price,.woocommerce div.product span.price{color:#111;font-weight:800}.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--gd-red);color:#fff;border-radius:6px;font-weight:800}.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover{background:#d90000;color:#fff}.woocommerce-message{border-top-color:var(--gd-green)}.woocommerce-message::before{color:var(--gd-green)}.woocommerce .quantity .qty{padding:8px;border:1px solid var(--gd-border);border-radius:5px}.woocommerce table.shop_table{border-radius:8px;border-color:var(--gd-border)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{padding:12px;border:1px solid #d9dce2;border-radius:6px}.woocommerce-breadcrumb{font-size:12px;color:var(--gd-muted);margin-bottom:16px}.gd-content-card{background:#fff;border:1px solid var(--gd-border);border-radius:12px;padding:24px}.gd-search-mobile{display:none}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
@media(max-width:900px){.gd-slider-track{aspect-ratio:16/7;min-height:190px;max-height:340px}.gd-home-slider{margin-bottom:20px}.gd-headrow{grid-template-columns:1fr auto;gap:12px}.gd-brand{font-size:24px}.gd-search{grid-column:1/-1;grid-row:2}.gd-headlinks{gap:10px}.gd-headlinks .gd-account{display:none}.gd-hero{grid-template-columns:1fr}.gd-hero-main{min-height:250px}.gd-hero-side{grid-template-columns:1fr 1fr}.gd-benefits{grid-template-columns:repeat(2,1fr)}.gd-category-grid{grid-template-columns:repeat(3,1fr)}.gd-product-grid,.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}.gd-footer-grid{grid-template-columns:1fr 1fr}.gd-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.gd-slider-track{aspect-ratio:4/3;min-height:180px;max-height:270px}.gd-slider-arrow{width:34px;height:34px;font-size:25px}.gd-slider-prev{left:8px}.gd-slider-next{right:8px}.gd-slider-dots{bottom:9px}.gd-topline{font-size:10px;padding:4px 8px}.gd-header{padding:6px 0 7px}.gd-headrow{grid-template-columns:1fr auto}.gd-brand{font-size:21px}.gd-brand-wrap .custom-logo{max-width:175px;max-height:88px}.gd-headlinks{font-size:12px}.gd-headlinks .gd-cart{padding:9px}.gd-nav{gap:17px;padding-top:7px;font-size:12px}.gd-main{padding-top:14px}.gd-hero-main{padding:25px 22px;min-height:255px}.gd-hero h1{font-size:31px}.gd-hero-side{gap:10px}.gd-promo{padding:16px}.gd-promo strong{font-size:17px}.gd-benefits{gap:8px}.gd-benefit{padding:11px 9px;gap:7px}.gd-benefit .gd-emoji{font-size:21px}.gd-benefit strong{font-size:11px}.gd-benefit small{font-size:10px}.gd-section h2{font-size:20px}.gd-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.gd-category{padding:13px 5px;font-size:11px}.gd-category .gd-emoji{font-size:24px}.gd-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}.gd-product-card,.woocommerce ul.products li.product{padding:9px!important}.gd-product-card img,.woocommerce ul.products li.product img{height:140px}.gd-product-card h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px!important}.gd-price,.woocommerce ul.products li.product .price{font-size:18px!important}.gd-banner{padding:19px;align-items:flex-start;flex-direction:column}.gd-footer-grid{grid-template-columns:1fr;gap:18px}.gd-footer-grid>div:first-child{grid-column:auto}.gd-wa{right:13px;bottom:14px;gap:7px}.gd-wa-label{font-size:11px;padding:8px 9px}.gd-wa-button{width:52px;height:52px;font-size:27px}.woocommerce div.product,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{padding:14px}.woocommerce div.product .product_title{font-size:24px}}

/* Descripción del producto junto a precio y categorías en la página individual */
.woocommerce div.product .gd-single-description{clear:both;margin:24px 0 0;padding:20px 0 0;border-top:1px solid var(--gd-border);font-size:15px;line-height:1.65;color:var(--gd-black)}
.woocommerce div.product .gd-single-description h2{font-size:20px;line-height:1.25;margin:0 0 12px;font-weight:800}
.woocommerce div.product .gd-single-description-content>*:first-child{margin-top:0}
.woocommerce div.product .gd-single-description-content>*:last-child{margin-bottom:0}
.woocommerce div.product .gd-single-description-content ul,.woocommerce div.product .gd-single-description-content ol{padding-left:22px}
.woocommerce div.product .gd-single-description-content img{max-width:100%;height:auto}


/* Ficha de producto en tres columnas: galería, información y caja de compra. */
.woocommerce div.product {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(250px,.92fr) minmax(235px,.72fr);gap:24px;align-items:start;overflow:visible}
.woocommerce div.product .woocommerce-product-gallery {float:none!important;width:100%!important;margin:0!important;grid-column:1;grid-row:1;display:flex;gap:12px;align-items:flex-start}
.woocommerce div.product .woocommerce-product-gallery .flex-viewport {order:2;flex:1;min-width:0}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {order:1;display:flex;flex-direction:column;gap:8px;width:62px;margin:0!important;padding:0;}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li {float:none!important;width:100%!important;margin:0!important;border:1px solid var(--gd-border);border-radius:6px;overflow:hidden;padding:3px}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img {width:100%;opacity:.78}
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs img.flex-active {opacity:1;border:1px solid var(--gd-red)}
.woocommerce div.product .summary {float:none!important;width:100%!important;margin:0!important;grid-column:2;grid-row:1;min-width:0}
.woocommerce div.product .product_title{font-size:clamp(23px,2vw,30px);margin:0 0 12px}
.woocommerce div.product .gd-rating-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 0 14px;font-size:13px;color:var(--gd-muted)}
.gd-rating-stars{letter-spacing:1px;color:#f5a623;font-size:18px;white-space:nowrap}.gd-rating-empty{color:#9ba1a9}
.woocommerce div.product .gd-rating-summary a{color:#276ef1;text-decoration:underline}
.woocommerce div.product .summary .woocommerce-product-rating{display:none}
.woocommerce div.product .summary form.cart{margin:14px 0}
.woocommerce div.product .gd-single-description{margin:20px 0 0;padding:16px 0 0;border-top:1px solid var(--gd-border);font-size:14px;line-height:1.6}
.woocommerce div.product .gd-single-description h2{font-size:18px}
.woocommerce div.product .gd-purchase-box{grid-column:3;grid-row:1;background:#fff;border:1px solid var(--gd-border);border-radius:12px;padding:20px;position:relative;min-width:0}
.gd-delivery-status{display:flex;gap:10px;align-items:flex-start;color:#13864a}.gd-delivery-icon{display:flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:50%;background:#e7f8ed;font-weight:900}.gd-delivery-status strong{display:block;font-size:16px}.gd-delivery-status small{display:block;color:#454b55;font-size:12px;line-height:1.45;margin-top:3px}
.gd-delivery-detail{font-size:11px;color:var(--gd-muted);margin:10px 0 18px;padding-bottom:15px;border-bottom:1px solid var(--gd-border)}
.gd-box-stock{display:flex;flex-direction:column;gap:3px;margin-bottom:14px;font-size:13px}.gd-box-stock span{font-size:12px;color:var(--gd-muted)}.gd-box-price{font-size:24px;font-weight:800;margin:10px 0 16px}.gd-box-price del{font-size:13px;color:var(--gd-muted)}
.gd-purchase-box .gd-buy-now,.gd-purchase-box .gd-add-cart{display:flex;justify-content:center;align-items:center;text-align:center;width:100%;padding:13px 10px;border-radius:7px;font-weight:800;font-size:14px;margin-top:9px;transition:filter .15s}
.gd-purchase-box .gd-buy-now{background:#3483fa;color:#fff}.gd-purchase-box .gd-add-cart{background:#e3edfb;border:1px solid #e3edfb;color:#3483fa}.gd-purchase-box .gd-buy-now:hover{background:#296fdb;color:#fff}.gd-purchase-box .gd-add-cart:hover{background:#d4e3f8;border-color:#d4e3f8;color:#3483fa}
.gd-box-assurance{display:flex;gap:9px;margin-top:18px;padding:12px;background:#f7f8fa;border-radius:8px;font-size:12px}.gd-box-assurance strong,.gd-box-assurance small{display:block}.gd-box-assurance small{color:var(--gd-muted);line-height:1.4;margin-top:3px}
/* La caja lateral reúne las acciones; el formulario estándar permanece para productos variables y accesibilidad. */
.woocommerce div.product .summary form.cart{display:none}
.woocommerce div.product .summary .single_variation_wrap form.cart{display:block}
.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1;grid-row:auto;width:100%;margin-top:12px}
@media(max-width:1050px){.woocommerce div.product{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.woocommerce div.product .woocommerce-product-gallery{grid-column:1;grid-row:1}.woocommerce div.product .summary{grid-column:2;grid-row:1}.woocommerce div.product .gd-purchase-box{grid-column:2;grid-row:2}.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}}
@media(max-width:650px){.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:12px!important}.woocommerce div.product .woocommerce-product-gallery{grid-column:1;grid-row:1;display:block}.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs{flex-direction:row;width:100%;order:initial;margin-top:10px!important}.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs li{width:58px!important;flex:0 0 58px}.woocommerce div.product .summary{grid-column:1;grid-row:2}.woocommerce div.product .gd-purchase-box{grid-column:1;grid-row:3}.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1;grid-row:4}.woocommerce div.product .summary form.cart{display:block}.woocommerce div.product .summary .single_variation_wrap form.cart{display:block}}

/* 2.2.0: reemplaza las pestañas inferiores por una fila de productos relacionados. */
.woocommerce div.product .related > h2,.woocommerce div.product .upsells > h2{font-size:23px;margin:8px 0 18px;font-weight:800}
.woocommerce div.product .related ul.products,.woocommerce div.product .upsells ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0}
.woocommerce div.product .related ul.products li.product,.woocommerce div.product .upsells ul.products li.product{width:auto!important;float:none!important;margin:0!important}
@media(max-width:900px){.gd-slider-track{aspect-ratio:16/7;min-height:190px;max-height:340px}.gd-home-slider{margin-bottom:20px}.woocommerce div.product .related ul.products,.woocommerce div.product .upsells ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.gd-slider-track{aspect-ratio:4/3;min-height:180px;max-height:270px}.gd-slider-arrow{width:34px;height:34px;font-size:25px}.gd-slider-prev{left:8px}.gd-slider-next{right:8px}.gd-slider-dots{bottom:9px}.woocommerce div.product .related ul.products,.woocommerce div.product .upsells ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}


/* 2.6.0: tres filas de productos, cuatro tarjetas por fila en escritorio. */
.gd-product-row-section{margin:30px 0 34px}.gd-home-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0!important;padding:0!important;list-style:none!important}.gd-home-products li.product{min-width:0}.gd-row-empty{font-size:13px;color:var(--gd-muted)}.gd-wa-button svg{display:block;width:32px;height:32px;fill:#fff}.gd-wa-button{color:#fff}
@media(max-width:900px){.gd-home-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:560px){.gd-home-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.gd-product-row-section{margin:23px 0}}


/* ===== Catálogo comercial Grupo Dany 2.7.0 ===== */
:root{--gd-market-green:#168a45;--gd-market-green-dark:#11733a;--gd-market-blue:#3483fa;--gd-market-blue-soft:#e3edfb}
.gd-product-row-section .gd-home-products{align-items:stretch}
.woocommerce ul.products li.product,
.gd-product-card{
  display:flex!important;flex-direction:column;align-items:stretch;
  min-width:0;min-height:100%;padding:12px!important;
  border:1px solid #e6e8ec!important;border-radius:12px!important;
  background:#fff!important;box-shadow:0 1px 3px #00000008;
}
.woocommerce ul.products li.product a img,
.gd-product-card img{
  width:100%!important;height:190px!important;object-fit:contain!important;
  margin:0 0 12px!important;background:#fff;border-radius:7px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.gd-product-card h3{
  min-height:56px;font-size:15px!important;font-weight:650!important;
  line-height:1.35!important;color:#202124!important;
  margin:0 0 8px!important;padding:0!important;
}
.woocommerce ul.products li.product .price,
.gd-product-card .gd-price{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;
  color:var(--gd-market-green)!important;font-size:25px!important;
  font-weight:800!important;line-height:1.15;margin:5px 0 4px!important;
}
.woocommerce ul.products li.product .price ins,
.gd-product-card .gd-price ins{color:var(--gd-market-green)!important;text-decoration:none;font-weight:800}
.woocommerce ul.products li.product .price del,
.gd-product-card .gd-price del{
  color:#777!important;font-size:13px!important;font-weight:400!important;opacity:1!important;
}
.woocommerce ul.products li.product .gd-savings{
  display:inline-flex;align-self:flex-start;margin:4px 0 7px;padding:3px 7px;
  border-radius:4px;background:#e7f6ec;color:var(--gd-market-green-dark);
  font-size:11px;font-weight:800;line-height:1.25;
}
.woocommerce ul.products li.product .gd-loop-shipping{
  display:flex;align-items:center;gap:5px;margin:2px 0 8px;
  color:var(--gd-market-green);font-size:12px;font-weight:750;
}
.woocommerce ul.products li.product .gd-loop-shipping:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#e5f5eb;font-size:11px}
.woocommerce ul.products li.product .button,
.gd-product-card .button{
  display:block!important;width:100%;margin:auto 0 0!important;padding:10px 8px!important;
  border:1px solid #cbdcf7!important;border-radius:7px!important;
  background:var(--gd-market-blue-soft)!important;color:var(--gd-market-blue)!important;
  text-align:center!important;font-size:12px!important;font-weight:800!important;
}
.woocommerce ul.products li.product .button:hover,
.gd-product-card .button:hover{background:var(--gd-market-blue)!important;color:#fff!important;border-color:var(--gd-market-blue)!important}
.woocommerce ul.products li.product .added_to_cart{display:block;text-align:center;color:var(--gd-market-green);font-size:12px;font-weight:700;margin-top:7px}
.woocommerce span.onsale{z-index:2;background:#e53935!important;color:#fff!important;font-size:11px!important;font-weight:800!important;box-shadow:0 2px 6px #0002}
.woocommerce ul.products li.product .star-rating{margin:3px 0 7px;color:#f5a623}
@media(max-width:900px){
 .gd-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .woocommerce ul.products li.product a img,.gd-product-card img{height:170px!important}
}
@media(max-width:480px){
 .gd-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
 .woocommerce ul.products li.product,.gd-product-card{padding:9px!important}
 .woocommerce ul.products li.product a img,.gd-product-card img{height:135px!important}
 .woocommerce ul.products li.product .woocommerce-loop-product__title,.gd-product-card h3{font-size:13px!important;min-height:52px}
 .woocommerce ul.products li.product .price,.gd-product-card .gd-price{font-size:20px!important}
}


/* 2.8.0 — Tarjetas de producto con jerarquía visual tipo marketplace */
.woocommerce ul.products li.product .price,
.gd-product-card .gd-price{
  display:block!important;margin:7px 0 2px!important;padding:0!important;
  color:#16a34a!important;font-size:0!important;line-height:1.25!important;
}
.woocommerce ul.products li.product .gd-market-price{
  display:flex;align-items:center;flex-wrap:wrap;gap:7px;
}
.woocommerce ul.products li.product .gd-market-current{
  color:#16a34a!important;font-size:25px!important;font-weight:800!important;
  letter-spacing:-.45px;line-height:1.15;
}
.woocommerce ul.products li.product .gd-market-current .woocommerce-Price-currencySymbol{font-size:.78em}
.woocommerce ul.products li.product .gd-market-regular{
  color:#858b94!important;font-size:13px!important;font-weight:500!important;
  text-decoration:line-through!important;opacity:1!important;
}
.woocommerce ul.products li.product .gd-market-discount{
  display:inline-flex;align-items:center;padding:3px 6px;border-radius:3px;
  background:#e5f6eb;color:#07883e;font-size:11px;font-weight:800;line-height:1.2;
}
.woocommerce ul.products li.product .gd-loop-shipping{
  display:flex;align-items:center;gap:5px;margin:5px 0 1px;
  color:#00a650;font-size:13px;font-weight:800;line-height:1.3;
}
.woocommerce ul.products li.product .gd-loop-shipping:before{
  content:"✓";display:inline-flex;align-items:center;justify-content:center;
  width:17px;height:17px;border-radius:50%;background:#e5f6eb;color:#00a650;font-size:11px;
}
.woocommerce ul.products li.product .gd-loop-delivery{
  display:block;margin:0 0 9px;color:#16864b;font-size:11px;line-height:1.35;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:2.7em;margin-bottom:5px!important;font-size:15px!important;
  line-height:1.35!important;font-weight:600!important;
}
.woocommerce ul.products li.product .button{
  margin-top:8px!important;padding:10px 8px!important;
  background:#e3edfb!important;color:#3483fa!important;border:1px solid #cbdcf7!important;
}
.woocommerce ul.products li.product .button:hover{
  background:#3483fa!important;color:#fff!important;border-color:#3483fa!important;
}
@media(max-width:560px){
 .woocommerce ul.products li.product .gd-market-current{font-size:20px!important}
 .woocommerce ul.products li.product .gd-market-regular{font-size:11px!important}
 .woocommerce ul.products li.product .gd-market-discount{font-size:10px}
 .woocommerce ul.products li.product .gd-loop-shipping{font-size:12px}
 .woocommerce ul.products li.product .gd-loop-delivery{font-size:10px}
}


/* ===== 2.8.1: corrección de jerarquía y espaciado en filas de portada ===== */
/* Aplicar directamente a las listas personalizadas de la portada, no solo al loop estándar. */
.gd-home-products li.product{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:0!important;padding:12px!important;background:#fff!important;
  border:1px solid #e5e7eb!important;border-radius:10px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.06)!important;
}
.gd-home-products li.product .price{
  display:block!important;width:100%!important;margin:7px 0 5px!important;
  padding:0!important;color:#16a34a!important;font-size:inherit!important;
  line-height:1.25!important;white-space:normal!important;
}
.gd-home-products li.product .price .gd-market-price{
  display:flex!important;flex-direction:row!important;align-items:baseline!important;
  flex-wrap:wrap!important;column-gap:8px!important;row-gap:4px!important;
  width:100%!important;
}
.gd-home-products li.product .price .gd-market-current{
  display:inline-block!important;order:1!important;color:#16a34a!important;
  font-size:25px!important;font-weight:800!important;line-height:1.15!important;
  white-space:nowrap!important;
}
.gd-home-products li.product .price .gd-market-regular{
  display:inline-block!important;order:2!important;color:#858b94!important;
  font-size:13px!important;font-weight:500!important;line-height:1.2!important;
  white-space:nowrap!important;
}
.gd-home-products li.product .price .gd-market-discount{
  display:inline-flex!important;order:3!important;align-items:center!important;
  padding:3px 6px!important;border-radius:4px!important;
  background:#e6f6ec!important;color:#07883e!important;
  font-size:11px!important;font-weight:800!important;line-height:1.2!important;
  white-space:nowrap!important;
}
.gd-home-products li.product .gd-loop-highlights{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:3px!important;width:100%!important;margin:2px 0 10px!important;
}
.gd-home-products li.product .gd-loop-shipping{
  display:flex!important;align-items:center!important;gap:5px!important;
  margin:0!important;color:#00a650!important;font-size:13px!important;
  font-weight:800!important;line-height:1.35!important;
}
.gd-home-products li.product .gd-loop-delivery{
  display:block!important;margin:0!important;color:#16864b!important;
  font-size:11px!important;line-height:1.35!important;
}
.gd-home-products li.product .woocommerce-loop-product__title{
  display:block!important;margin:8px 0 4px!important;
  font-size:15px!important;font-weight:650!important;line-height:1.35!important;
}
.gd-home-products li.product .button,
.gd-home-products li.product a.add_to_cart_button{
  display:block!important;position:static!important;width:100%!important;
  box-sizing:border-box!important;margin:8px 0 0!important;padding:10px 8px!important;
  border:1px solid #cbdcf7!important;border-radius:7px!important;
  background:#e3edfb!important;color:#3483fa!important;text-align:center!important;
  font-size:12px!important;font-weight:800!important;line-height:1.3!important;
  white-space:normal!important;
}
.gd-home-products li.product .button:hover{
  background:#3483fa!important;color:#fff!important;
}
@media(max-width:560px){
 .gd-home-products li.product{padding:8px!important}
 .gd-home-products li.product .price .gd-market-current{font-size:21px!important}
 .gd-home-products li.product .price .gd-market-regular{font-size:11px!important}
 .gd-home-products li.product .gd-loop-shipping{font-size:12px!important}
 .gd-home-products li.product .gd-loop-delivery{font-size:10px!important}
}


/* ===== 2.8.2: unificar tarjetas de portada con el catálogo ===== */
/* Evita que estilos heredados del tema o del constructor compacten los datos comerciales. */
.home .gd-home-products li.product,
.front-page .gd-home-products li.product,
.gd-product-row-section .gd-home-products li.product{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  box-sizing:border-box!important;min-width:0!important;padding:12px!important;
  background:#fff!important;border:1px solid #e5e7eb!important;border-radius:10px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.06)!important;
}
.gd-product-row-section .gd-home-products li.product .price{
  display:block!important;margin:7px 0 4px!important;color:#16a34a!important;
  font-size:0!important;line-height:1.25!important;white-space:normal!important;
}
.gd-product-row-section .gd-home-products li.product .price .gd-market-price{
  display:flex!important;flex-direction:row!important;align-items:baseline!important;
  flex-wrap:wrap!important;gap:4px 8px!important;width:100%!important;
}
.gd-product-row-section .gd-home-products li.product .price .gd-market-current{
  display:inline-block!important;color:#16a34a!important;font-size:25px!important;
  font-weight:800!important;line-height:1.15!important;white-space:nowrap!important;
}
.gd-product-row-section .gd-home-products li.product .price .gd-market-regular{
  display:inline-block!important;color:#858b94!important;font-size:13px!important;
  font-weight:500!important;text-decoration:line-through!important;white-space:nowrap!important;
}
.gd-product-row-section .gd-home-products li.product .price .gd-market-discount{
  display:inline-flex!important;align-items:center!important;padding:3px 6px!important;
  border-radius:4px!important;background:#e6f6ec!important;color:#07883e!important;
  font-size:11px!important;font-weight:800!important;white-space:nowrap!important;
}
.gd-product-row-section .gd-home-products li.product .gd-loop-highlights{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:3px!important;width:100%!important;margin:2px 0 10px!important;
}
.gd-product-row-section .gd-home-products li.product .gd-loop-shipping{
  display:flex!important;align-items:center!important;gap:5px!important;margin:0!important;
  color:#00a650!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;
}
.gd-product-row-section .gd-home-products li.product .gd-loop-delivery{
  display:block!important;margin:0!important;color:#16864b!important;font-size:11px!important;line-height:1.35!important;
}
.gd-product-row-section .gd-home-products li.product .woocommerce-loop-product__title{
  display:block!important;margin:8px 0 4px!important;font-size:15px!important;
  font-weight:650!important;line-height:1.35!important;color:#202124!important;
}
.gd-product-row-section .gd-home-products li.product .button,
.gd-product-row-section .gd-home-products li.product a.add_to_cart_button{
  display:block!important;position:static!important;width:100%!important;box-sizing:border-box!important;
  margin:8px 0 0!important;padding:10px 8px!important;border:1px solid #cbdcf7!important;
  border-radius:7px!important;background:#e3edfb!important;color:#3483fa!important;
  text-align:center!important;font-size:12px!important;font-weight:800!important;line-height:1.3!important;
}
.gd-product-row-section .gd-home-products li.product .button:hover{background:#3483fa!important;color:#fff!important}
@media(max-width:560px){
 .gd-product-row-section .gd-home-products li.product{padding:8px!important}
 .gd-product-row-section .gd-home-products li.product .price .gd-market-current{font-size:21px!important}
 .gd-product-row-section .gd-home-products li.product .price .gd-market-regular{font-size:11px!important}
 .gd-product-row-section .gd-home-products li.product .gd-loop-shipping{font-size:12px!important}
 .gd-product-row-section .gd-home-products li.product .gd-loop-delivery{font-size:10px!important}
}


/* 2.8.3 — Distintivos comerciales superpuestos en la fotografía del producto */
.woocommerce ul.products li.product{position:relative!important;overflow:hidden}
.woocommerce ul.products li.product .gd-product-badge{
  position:absolute;z-index:5;top:12px;left:12px;right:auto;
  display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 24px);
  padding:7px 10px;border-radius:6px;color:#fff!important;
  font-size:10px;font-weight:900;line-height:1.15;letter-spacing:.25px;
  box-shadow:0 3px 9px #0002;text-transform:uppercase;
}
.woocommerce ul.products li.product .gd-product-badge-icon{font-size:12px;line-height:1}
.woocommerce ul.products li.product .gd-badge-offer{
  background:linear-gradient(135deg,#ff7138 0%,#e32626 100%);
}
.woocommerce ul.products li.product .gd-badge-discount{
  background:linear-gradient(135deg,#16a34a 0%,#08783a 100%);
}
.woocommerce ul.products li.product .gd-badge-bestseller{
  background:linear-gradient(135deg,#f6b928 0%,#e28b0b 100%);color:#222!important;
}
.woocommerce ul.products li.product .gd-badge-new{
  background:linear-gradient(135deg,#3483fa 0%,#1857c9 100%);
}
/* El aviso estándar se oculta para evitar duplicados y dejar el nuevo distintivo en la esquina superior izquierda. */
.woocommerce ul.products li.product span.onsale{display:none!important}
@media(max-width:560px){
 .woocommerce ul.products li.product .gd-product-badge{top:8px;left:8px;padding:6px 8px;font-size:9px;gap:4px}
}


/* 2.8.4 — Aplicar los distintivos también al loop personalizado de la portada,
   que no está envuelto por .woocommerce como sí ocurre en el catálogo. */
.gd-home-products li.product{position:relative!important;overflow:hidden!important}
.gd-home-products li.product .gd-product-badge{
  position:absolute!important;z-index:8!important;top:12px!important;left:12px!important;right:auto!important;
  display:inline-flex!important;align-items:center!important;gap:5px!important;
  max-width:calc(100% - 24px)!important;padding:7px 10px!important;
  border-radius:7px!important;color:#fff!important;font-size:10px!important;
  font-weight:900!important;line-height:1.15!important;letter-spacing:.2px!important;
  box-shadow:0 3px 10px #0003!important;text-transform:uppercase!important;
}
.gd-home-products li.product .gd-product-badge-icon{font-size:12px!important;line-height:1!important}
.gd-home-products li.product .gd-badge-offer{background:linear-gradient(135deg,#ff7138,#e32626)!important}
.gd-home-products li.product .gd-badge-discount{background:linear-gradient(135deg,#16a34a,#08783a)!important}
.gd-home-products li.product .gd-badge-bestseller{background:linear-gradient(135deg,#f6b928,#e28b0b)!important;color:#222!important}
.gd-home-products li.product .gd-badge-new{background:linear-gradient(135deg,#3483fa,#1857c9)!important}
.gd-home-products li.product span.onsale{display:none!important}
@media(max-width:560px){.gd-home-products li.product .gd-product-badge{top:8px!important;left:8px!important;padding:6px 8px!important;font-size:9px!important}}

/* ===== 2.8.5 — Corrección definitiva de distintivos en categorías y catálogo =====
   WooCommerce puede renderizar el loop dentro de .woocommerce o .woocommerce-page,
   según la plantilla activa. Estas reglas no dependen del contenedor y evitan que
   el distintivo herede tamaños de imagen o estilos globales del tema/plugin.
*/
ul.products li.product{position:relative!important;overflow:hidden!important}
ul.products li.product .gd-product-badge{
  position:absolute!important;z-index:20!important;
  top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;
  display:inline-flex!important;flex:0 0 auto!important;
  flex-direction:row!important;align-items:center!important;justify-content:center!important;
  gap:5px!important;width:max-content!important;height:auto!important;
  min-width:0!important;min-height:0!important;
  max-width:calc(100% - 20px)!important;max-height:32px!important;
  margin:0!important;padding:6px 9px!important;
  border:0!important;border-radius:7px!important;
  color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;
  font-size:10px!important;font-style:normal!important;font-weight:900!important;
  line-height:1.1!important;letter-spacing:.15px!important;text-align:center!important;
  text-transform:uppercase!important;white-space:nowrap!important;
  box-shadow:0 2px 8px rgba(0,0,0,.18)!important;
  transform:none!important;opacity:1!important;visibility:visible!important;
  pointer-events:none!important;
}
ul.products li.product .gd-product-badge .gd-product-badge-icon{
  display:inline-block!important;flex:0 0 auto!important;
  width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;
  margin:0!important;padding:0!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:12px!important;font-weight:400!important;line-height:1!important;
  letter-spacing:0!important;vertical-align:middle!important;
}
ul.products li.product .gd-product-badge>span:last-child{
  display:inline-block!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;font-size:10px!important;
  line-height:1.1!important;white-space:nowrap!important;
}
ul.products li.product .gd-product-badge.gd-badge-discount{background:linear-gradient(135deg,#16a34a 0%,#08783a 100%)!important}
ul.products li.product .gd-product-badge.gd-badge-offer{background:linear-gradient(135deg,#ff7138 0%,#e32626 100%)!important}
ul.products li.product .gd-product-badge.gd-badge-bestseller{background:linear-gradient(135deg,#f6b928 0%,#e28b0b 100%)!important;color:#222!important}
ul.products li.product .gd-product-badge.gd-badge-new{background:linear-gradient(135deg,#3483fa 0%,#1857c9 100%)!important}
ul.products li.product>a img,
ul.products li.product .woocommerce-LoopProduct-link img{
  display:block!important;position:relative!important;z-index:1!important;
  width:100%!important;height:190px!important;max-height:190px!important;
  object-fit:contain!important;background:#fff!important;
}
ul.products li.product span.onsale{display:none!important}
@media(max-width:560px){
  ul.products li.product .gd-product-badge{top:7px!important;left:7px!important;padding:5px 7px!important;max-width:calc(100% - 14px)!important;font-size:9px!important}
  ul.products li.product .gd-product-badge>span:last-child{font-size:9px!important}
  ul.products li.product .gd-product-badge .gd-product-badge-icon{font-size:11px!important}
}


/* ===== 2.8.6 — Parche robusto: distintivos compactos sin emoji sobredimensionado ===== */
.gd-product-badge-icon{display:none!important}
ul.products li.product .gd-product-badge,
.gd-home-products li.product .gd-product-badge,
.gd-product-row-section li.product .gd-product-badge{
  position:absolute!important;z-index:30!important;top:10px!important;left:10px!important;right:auto!important;bottom:auto!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;flex-direction:row!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:calc(100% - 20px)!important;max-height:none!important;
  margin:0!important;padding:7px 10px!important;overflow:hidden!important;box-sizing:border-box!important;border:0!important;border-radius:7px!important;
  color:#fff!important;font:900 10px/1.15 Arial,Helvetica,sans-serif!important;letter-spacing:.2px!important;text-align:center!important;text-transform:uppercase!important;
  white-space:nowrap!important;box-shadow:0 2px 8px rgba(0,0,0,.18)!important;background:linear-gradient(135deg,#16a34a 0%,#08783a 100%)!important;
  transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:none!important;
}
ul.products li.product .gd-product-badge-label,.gd-home-products li.product .gd-product-badge-label,.gd-product-row-section li.product .gd-product-badge-label{
  display:inline!important;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:none!important;
  margin:0!important;padding:0!important;overflow:visible!important;color:#fff!important;background:transparent!important;
  font:inherit!important;line-height:1.15!important;letter-spacing:inherit!important;white-space:nowrap!important;transform:none!important;
}
ul.products li.product .gd-product-badge.gd-badge-offer,.gd-home-products li.product .gd-product-badge.gd-badge-offer{background:linear-gradient(135deg,#ff7138 0%,#e32626 100%)!important}
ul.products li.product .gd-product-badge.gd-badge-bestseller,.gd-home-products li.product .gd-product-badge.gd-badge-bestseller{background:linear-gradient(135deg,#f6b928 0%,#e28b0b 100%)!important;color:#222!important}
ul.products li.product .gd-product-badge.gd-badge-new,.gd-home-products li.product .gd-product-badge.gd-badge-new{background:linear-gradient(135deg,#3483fa 0%,#1857c9 100%)!important}
@media(max-width:560px){ul.products li.product .gd-product-badge,.gd-home-products li.product .gd-product-badge{top:7px!important;left:7px!important;padding:5px 7px!important;font-size:9px!important}}


/* 2.8.7 — Panel de marketing: icono opcional y distintivo personalizado */
ul.products li.product .gd-product-badge.gd-badge-custom,
.gd-home-products li.product .gd-product-badge.gd-badge-custom{
  background:linear-gradient(135deg,#6b4ce6 0%,#4930b5 100%)!important;
}
ul.products li.product .gd-product-badge .gd-product-badge-icon,
.gd-home-products li.product .gd-product-badge .gd-product-badge-icon{
  display:inline-block!important;flex:0 0 auto!important;width:auto!important;height:auto!important;
  margin:0!important;padding:0!important;font-size:12px!important;line-height:1!important;
}


/* ===== 2.8.8 — Corrección definitiva de emojis en distintivos =====
/* WordPress puede convertir 🔥 y otros emojis en imágenes .emoji/.wp-smiley.
   Se limita tanto el contenedor como la imagen interna para que nunca se
   expanda al tamaño de la fotografía del producto. */
ul.products li.product .gd-product-badge .gd-product-badge-icon,
.gd-home-products li.product .gd-product-badge .gd-product-badge-icon,
.gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 13px!important;width:13px!important;height:13px!important;
  min-width:13px!important;min-height:13px!important;max-width:13px!important;max-height:13px!important;
  overflow:hidden!important;margin:0!important;padding:0!important;
  background:transparent!important;font-size:12px!important;line-height:13px!important;
}
ul.products li.product .gd-product-badge .gd-product-badge-icon img,
.gd-home-products li.product .gd-product-badge .gd-product-badge-icon img,
.gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon img,
ul.products li.product .gd-product-badge .gd-product-badge-icon .emoji,
.gd-home-products li.product .gd-product-badge .gd-product-badge-icon .emoji,
.gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon .emoji,
ul.products li.product .gd-product-badge .gd-product-badge-icon .wp-smiley,
.gd-home-products li.product .gd-product-badge .gd-product-badge-icon .wp-smiley,
.gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon .wp-smiley{
  display:block!important;flex:0 0 13px!important;width:13px!important;height:13px!important;
  min-width:13px!important;min-height:13px!important;max-width:13px!important;max-height:13px!important;
  object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;
  background:transparent!important;box-shadow:none!important;vertical-align:middle!important;
}
@media(max-width:560px){
  ul.products li.product .gd-product-badge .gd-product-badge-icon,
  .gd-home-products li.product .gd-product-badge .gd-product-badge-icon,
  .gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon{
    flex-basis:12px!important;width:12px!important;height:12px!important;
    min-width:12px!important;min-height:12px!important;max-width:12px!important;max-height:12px!important;
    font-size:11px!important;line-height:12px!important;
  }
  ul.products li.product .gd-product-badge .gd-product-badge-icon img,
  .gd-home-products li.product .gd-product-badge .gd-product-badge-icon img,
  .gd-product-row-section li.product .gd-product-badge .gd-product-badge-icon img{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;max-width:12px!important;max-height:12px!important}
}


/* ===== 2.9.0 — Corrección definitiva de espacios vacíos, widgets y mejoras en ficha de producto ===== */

/* 1. Eliminar pseudo-elementos ::before y ::after de WooCommerce que ocupan la primera celda del CSS Grid */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page .products ul::before,
.woocommerce-page .products ul::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after,
.gd-home-products::before,
.gd-home-products::after,
.woocommerce div.product::before,
.woocommerce div.product::after {
  content: none !important;
  display: none !important;
}

/* 2. Ocultar cualquier barra lateral o área de widgets por defecto de WordPress en la tienda */
#secondary,
.widget-area,
aside.sidebar,
.woocommerce-sidebar {
  display: none !important;
}

/* 3. Garantizar 4 columnas en escritorio y 2 en móvil en todo el catálogo y portada */
.woocommerce ul.products,
.woocommerce-page ul.products,
.gd-home-products,
.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  list-style: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.gd-home-products li.product {
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

@media (max-width: 900px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .gd-home-products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 560px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .gd-home-products,
  .woocommerce div.product .related ul.products,
  .woocommerce div.product .upsells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }
}

/* 4. Mejoras de distribución y conversión en la ficha de producto (3 columnas) */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 1fr) minmax(260px, 0.78fr) !important;
  gap: 28px !important;
  align-items: start !important;
  background: #fff;
  border: 1px solid var(--gd-border);
  border-radius: 14px;
  padding: 28px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.woocommerce div.product .gd-purchase-box {
  grid-column: 3;
  grid-row: 1;
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

/* Precio con jerarquía clara en la ficha de producto (columna central y caja derecha) */
.woocommerce div.product .summary .price .gd-market-price,
.woocommerce div.product .gd-box-price .gd-market-price {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.woocommerce div.product .summary .price .gd-market-current,
.woocommerce div.product .gd-box-price .gd-market-current {
  font-size: 28px !important;
  font-weight: 900 !important;
  color: #16a34a !important;
  line-height: 1.1 !important;
}

.woocommerce div.product .summary .price .gd-market-regular,
.woocommerce div.product .gd-box-price .gd-market-regular {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #858b94 !important;
  text-decoration: line-through !important;
}

.woocommerce div.product .summary .price .gd-market-discount,
.woocommerce div.product .gd-box-price .gd-market-discount {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 8px !important;
  border-radius: 5px !important;
  background: #e6f6ec !important;
  color: #07883e !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* Selector de cantidad dentro de la caja lateral de compra */
.gd-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 14px;
  padding: 8px 12px;
  background: #f7f8fa;
  border: 1px solid var(--gd-border);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
}

.gd-qty-row select {
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  padding: 5px 10px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

/* Botones de acción en la caja de compra */
.gd-purchase-box .gd-buy-now,
.gd-purchase-box .gd-add-cart {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
  padding: 14px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  margin-top: 10px;
  transition: all 0.18s ease;
}

.gd-purchase-box .gd-buy-now {
  background: #3483fa;
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 131, 250, 0.28);
}

.gd-purchase-box .gd-buy-now:hover {
  background: #296fdb;
  color: #fff;
  transform: translateY(-1px);
}

.gd-purchase-box .gd-add-cart {
  background: #e3edfb;
  border: 1px solid #cbdcf7;
  color: #3483fa;
}

.gd-purchase-box .gd-add-cart:hover {
  background: #d4e3f8;
  border-color: #b8d0f4;
  color: #296fdb;
}

.gd-box-assurance-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #eaeef4;
  border-radius: 8px;
  font-size: 12px;
}

.gd-box-assurance-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.gd-box-assurance-item strong {
  display: block;
  color: #111;
  font-size: 12.5px;
}

.gd-box-assurance-item small {
  display: block;
  color: var(--gd-muted);
  line-height: 1.35;
  margin-top: 2px;
}

@media (max-width: 1050px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  .woocommerce div.product .gd-purchase-box {
    grid-column: 2;
    grid-row: 2;
    position: static;
  }
}

@media (max-width: 650px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 14px !important;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    grid-column: 1;
    grid-row: 1;
  }
  .woocommerce div.product .summary {
    grid-column: 1;
    grid-row: 2;
  }
  .woocommerce div.product .gd-purchase-box {
    grid-column: 1;
    grid-row: 3;
    position: static;
  }
}


/* ===== 3.0.0 — Banners promocionales por categoría y leyenda persuasiva de alta demanda en producto ===== */

/* Contenedor del banner de categoría (justo debajo del título de la categoría y arriba del conteo/orden) */
.gd-cat-promo-wrap {
  width: 100%;
  margin: 14px 0 22px;
  clear: both;
}

/* Imagen de banner de categoría */
.gd-cat-banner-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gd-border);
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

.gd-cat-banner-img-wrap a,
.gd-cat-banner-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
}

/* Banner de texto promocional en categoría */
.gd-cat-promo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.gd-cat-promo-bar.style-red_yellow {
  background: linear-gradient(120deg, #d90404 0%, #ff2a00 65%, #ff6a00 100%);
  border: 2px solid #ffe600;
}

.gd-cat-promo-bar.style-dark_gold {
  background: linear-gradient(120deg, #111111 0%, #2b2b2b 100%);
  border: 2px solid #ffe600;
}

.gd-cat-promo-bar.style-green_offer {
  background: linear-gradient(120deg, #0b7a3e 0%, #16a34a 100%);
  border: 2px solid #bbf7d0;
}

.gd-cat-promo-content {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1;
}

.gd-cat-promo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 230, 0, 0.2);
  border: 1px solid rgba(255, 230, 0, 0.45);
  font-size: 24px;
  line-height: 1;
}

.gd-cat-promo-text strong {
  display: block;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: #ffffff;
}

.gd-cat-promo-text span {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: #ffe600;
}

.gd-cat-promo-badge {
  flex: 0 0 auto;
  background: #ffe600;
  color: #111111;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

/* Barra superior de conteo y ordenamiento limpia debajo del banner */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
  margin: 0 0 14px !important;
  font-size: 14px;
  color: #4b5563;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
  margin: 0 0 14px !important;
}

/* ===== Leyenda de Alta Demanda y Urgencia en la Ficha del Producto (bajo las estrellas) ===== */
.gd-single-urgency-box {
  margin: 12px 0 16px;
  padding: 13px 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff5f5 0%, #fffbeb 100%);
  border: 1px solid #fecaca;
  border-left: 4px solid var(--gd-red);
  box-shadow: 0 2px 10px rgba(255, 8, 8, 0.06);
}

.gd-single-urgency-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 7px;
  padding: 3px 9px;
  border-radius: 5px;
  background: #ff0808;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.gd-single-urgency-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gd-urgency-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 15px;
  line-height: 1;
  margin-top: 1px;
}

.gd-single-urgency-copy strong {
  display: block;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.gd-single-urgency-copy span {
  display: block;
  margin-top: 3px;
  color: #374151;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 650px) {
  .gd-cat-promo-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 16px;
    gap: 12px;
  }
  .gd-cat-promo-badge {
    align-self: flex-start;
  }
  .gd-single-urgency-box {
    padding: 11px 12px;
  }
  .gd-single-urgency-copy strong {
    font-size: 13px;
  }
  .gd-single-urgency-copy span {
    font-size: 12px;
  }
}




/* ===== 3.2.0 — Corrección estética 9:16 TikTok, bloqueo de emojis gigantes y eliminación de espacio blanco en fila ===== */

/* 1. Proteger cualquier emoji o SVG dentro de tarjetas de producto para que NUNCA herede los 190px de las fotos de producto */
.woocommerce ul.products li.product img.emoji,
.woocommerce ul.products li.product a img.emoji,
ul.products li.product > a img.emoji,
ul.products li.product .woocommerce-LoopProduct-link img.emoji,
.gd-home-products li.product img.emoji,
.gd-product-card img.emoji,
img.emoji,
img.wp-smiley {
  display: inline-block !important;
  width: 1em !important;
  height: 1em !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 1em !important;
  max-height: 1em !important;
  margin: 0 0.08em !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  vertical-align: -0.1em !important;
}

.gd-tk-svg {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  max-width: 15px !important;
  min-height: 15px !important;
  max-height: 15px !important;
  flex: 0 0 15px !important;
  vertical-align: middle !important;
}

/* 2. Eliminar el espacio blanco vacío debajo de "Añadir al carrito" en las tarjetas de producto */
.woocommerce ul.products,
.woocommerce-page ul.products,
.gd-home-products,
.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  align-items: start !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.gd-home-products li.product,
.gd-product-card {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
}

/* 3. Tarjeta Especial de Video TikTok 9:16 en Categoría (Posición #1, alineada al alto exacto de las tarjetas vecinas) */
li.product.gd-cat-tiktok-showcase {
  background: #0d0d11 !important;
  border: 2px solid #ff0050 !important;
  color: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
  height: 412px !important;
  min-height: 412px !important;
  max-height: 412px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Ventana vertical 9:16 completa dentro de la tarjeta */
.gd-cat-tiktok-media {
  position: relative !important;
  width: 100% !important;
  height: 344px !important;
  min-height: 344px !important;
  max-height: 344px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: radial-gradient(circle at center, #1b1b22 0%, #050507 100%) !important;
  margin: 0 0 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* El video o iframe se ajusta en proporción 9:16 completa de arriba a abajo sin recortes ni barras de scroll */
.gd-cat-tiktok-media video,
.gd-cat-tiktok-media iframe {
  aspect-ratio: 9 / 16 !important;
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  border: 0 !important;
  display: block !important;
  object-fit: contain !important;
  background: #000 !important;
}

/* Etiquetas flotantes superiores sobre el video (no roban altura) */
.gd-cat-tiktok-floating-top {
  position: absolute !important;
  z-index: 15 !important;
  top: 8px !important;
  left: 8px !important;
  right: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  pointer-events: none !important;
}

.gd-cat-tiktok-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(255, 0, 80, 0.92) !important;
  color: #ffffff !important;
  font-size: 9.5px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  padding: 5px 8px !important;
  border-radius: 6px !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(4px) !important;
}

.gd-cat-tiktok-expand-btn {
  pointer-events: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(17, 17, 22, 0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  backdrop-filter: blur(4px) !important;
  transition: background 0.15s ease, transform 0.15s ease !important;
}

.gd-cat-tiktok-expand-btn:hover {
  background: #ff0050 !important;
  border-color: #ff0050 !important;
  transform: scale(1.04) !important;
}

/* Título superpuesto sutilmente en la base del video para no empujar la tarjeta */
.gd-cat-tiktok-caption-overlay {
  position: absolute !important;
  z-index: 12 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  padding: 24px 10px 8px !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  pointer-events: none !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* Botón inferior compacto de 38px (idéntico en altura al botón "Añadir al carrito" de al lado) */
li.product.gd-cat-tiktok-showcase a.gd-cat-tiktok-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  background: #ffe600 !important;
  color: #111111 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background 0.18s ease, color 0.18s ease !important;
}

li.product.gd-cat-tiktok-showcase a.gd-cat-tiktok-cta:hover {
  background: #ff0050 !important;
  color: #ffffff !important;
}

/* 4. Video estilo TikTok dentro de una tarjeta de producto individual */
.gd-loop-tiktok-wrap {
  position: relative !important;
  width: 100% !important;
  height: 220px !important;
  margin: 0 0 10px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #0a0a0d !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gd-loop-tiktok-wrap video.gd-tiktok-mp4,
.gd-loop-tiktok-wrap iframe.gd-tiktok-iframe {
  aspect-ratio: 9 / 16 !important;
  height: 100% !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border: 0 !important;
  display: block !important;
  background: #000 !important;
}

/* Botón de audio limpio con SVG (sin emojis) */
.gd-tiktok-sound-btn {
  position: absolute !important;
  z-index: 25 !important;
  bottom: 8px !important;
  right: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(17, 17, 22, 0.82) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  backdrop-filter: blur(4px) !important;
}

.gd-tiktok-sound-btn:hover {
  background: #ff0050 !important;
  border-color: #ff0050 !important;
}

.gd-tiktok-ext-pill {
  position: absolute !important;
  z-index: 25 !important;
  bottom: 8px !important;
  left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: rgba(17, 17, 22, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid #ff0050 !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.gd-tiktok-ext-pill:hover {
  background: #ff0050 !important;
  color: #ffffff !important;
}

.gd-tiktok-photo-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  height: 32px !important;
  margin: -4px 0 8px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  background: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #ff0050 !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-align: center !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}

.gd-tiktok-photo-trigger:hover {
  background: #ff0050 !important;
  color: #ffffff !important;
}

li.product.gd-has-card-video > a.woocommerce-LoopProduct-link > img,
li.product.gd-has-card-video > img {
  display: none !important;
}

/* Bloque de video estilo TikTok dentro de la ficha individual del producto */
.gd-single-tiktok-box {
  margin: 14px 0 18px;
  padding: 14px;
  border-radius: 12px;
  background: #111111;
  color: #ffffff;
  border: 1px solid #2e2e36;
}

.gd-single-tiktok-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.gd-single-tiktok-head strong {
  font-size: 13.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gd-single-tiktok-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gd-single-tiktok-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 7px;
  background: #ff0050;
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
}

.gd-single-tiktok-btn.secondary {
  background: #25252d;
  border: 1px solid #3f3f4a;
}

/* Modal emergente vertical 9:16 estilo TikTok */
.gd-tiktok-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.84);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(5px);
}

.gd-tiktok-modal-backdrop.is-open {
  display: flex;
}

.gd-tiktok-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 390px;
  background: #111111;
  border: 2px solid #ff0050;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
}

.gd-tiktok-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #18181c;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.gd-tiktok-modal-close {
  background: #2b2b33;
  color: #ffffff;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.gd-tiktok-modal-body {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 76vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gd-tiktok-modal-body video,
.gd-tiktok-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.gd-tiktok-modal-foot {
  padding: 10px 14px;
  background: #18181c;
  text-align: center;
}

.gd-tiktok-modal-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #ffe600;
  color: #111111 !important;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none !important;
}

@media (max-width: 560px) {
  li.product.gd-cat-tiktok-showcase {
    height: 350px !important;
    min-height: 350px !important;
    max-height: 350px !important;
    padding: 8px !important;
  }
  .gd-cat-tiktok-media {
    height: 290px !important;
    min-height: 290px !important;
    max-height: 290px !important;
  }
}


/* ===== 3.2.1 — Limpieza total del video 9:16: eliminar etiqueta TikTok Oficial y frase superpuesta inferior ===== */
.gd-cat-tiktok-tag,
.gd-cat-tiktok-caption-overlay {
  display: none !important;
}

.gd-cat-tiktok-floating-top {
  justify-content: flex-end !important;
}



/* ==========================================================================
   3.3.0 — OPTIMIZACIÓN INTEGRAL DE CONVERSIÓN, CONFIANZA, BOTONES Y CARRITO
   ========================================================================== */

/* 1. Botones "Añadir al carrito" de alto contraste en todo el catálogo y portada (elimina apariencia deshabilitada) */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button,
.gd-home-products li.product .button,
.gd-home-products li.product a.add_to_cart_button,
.gd-product-row-section .gd-home-products li.product .button,
.gd-product-row-section .gd-home-products li.product a.add_to_cart_button,
.gd-product-card .button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  margin-top: auto !important;
  padding: 0 12px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border: 1px solid #1d4ed8 !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1px !important;
  text-align: center !important;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.22) !important;
  transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce-page ul.products li.product .button:hover,
.gd-home-products li.product .button:hover,
.gd-product-row-section .gd-home-products li.product .button:hover,
.gd-product-card .button:hover {
  background: #1d4ed8 !important;
  border-color: #1e40af !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.32) !important;
}

/* 2. Alineación perfecta de tarjetas y títulos a 2 líneas para que todos los botones queden en línea recta */
.woocommerce ul.products,
.woocommerce-page ul.products,
.gd-home-products,
.woocommerce div.product .related ul.products,
.woocommerce div.product .upsells ul.products {
  align-items: stretch !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.gd-home-products li.product,
.gd-product-row-section .gd-home-products li.product {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 412px !important;
  min-height: 412px !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
.gd-home-products li.product .woocommerce-loop-product__title,
.gd-product-row-section .gd-home-products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 2.7em !important;
  min-height: 2.7em !important;
  max-height: 2.7em !important;
  margin: 6px 0 4px !important;
  font-size: 14.5px !important;
  line-height: 1.35 !important;
  font-weight: 650 !important;
  color: #1f2937 !important;
}

@media (max-width: 560px) {
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .gd-home-products li.product,
  .gd-product-row-section .gd-home-products li.product {
    height: 350px !important;
    min-height: 350px !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .gd-home-products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
  }
}

/* 3. Tarjeta Promocional de Relleno para fila de "Limpiadores" en Home (evita hueco blanco a la derecha) */
li.product.gd-row-promo-filler {
  background: linear-gradient(135deg, #0b2e1f 0%, #115e38 60%, #168a45 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffe600 !important;
  border-radius: 12px !important;
  padding: 24px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 412px !important;
  min-height: 412px !important;
  box-shadow: 0 8px 24px rgba(17, 94, 56, 0.18) !important;
}

li.product.gd-row-promo-filler.gd-span-2 {
  grid-column: span 2 !important;
}

li.product.gd-row-promo-filler.gd-span-3 {
  grid-column: span 3 !important;
}

.gd-filler-kicker {
  display: inline-block;
  background: #ffe600;
  color: #111111;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.gd-filler-inner h3 {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin: 0 0 10px !important;
  min-height: 0 !important;
}

.gd-filler-inner p {
  color: #e2f5ea !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
}

.gd-filler-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px !important;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffe600;
}

.gd-filler-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #ffe600 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  font-size: 13.5px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease, background 0.15s ease;
}

.gd-filler-btn:hover {
  background: #ffffff !important;
  color: #111111 !important;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  li.product.gd-row-promo-filler.gd-span-2,
  li.product.gd-row-promo-filler.gd-span-3 {
    grid-column: 1 / -1 !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* 4. Ficha de Producto: Calificación Verificada, Barra de Urgencia, "¿Cómo funciona en 3 pasos?" y Caja de Compra */
.gd-rating-verified-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.gd-urgency-bar-wrap {
  width: 100%;
  height: 7px;
  background: #fee2e2;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.gd-urgency-bar-fill {
  width: 82%;
  height: 100%;
  background: linear-gradient(90deg, #ef4444 0%, #f97316 100%);
  border-radius: 999px;
}

/* Bloque "¿Cómo funciona en 3 pasos?" */
.gd-how-it-works {
  margin: 18px 0 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gd-how-it-works h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}

.gd-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.gd-step-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  padding: 10px 12px;
}

.gd-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.gd-step-card strong {
  display: block;
  font-size: 13.5px;
  color: #111827;
  margin-bottom: 2px;
}

.gd-step-card p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b5563;
}

.gd-how-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  color: #047857;
}

/* Jerarquía de botones y sellos en la Caja de Compra Lateral (Buy Box) */
.gd-purchase-box .gd-buy-now {
  background: #2563eb !important;
  color: #ffffff !important;
  border: 2px solid #2563eb !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

.gd-purchase-box .gd-buy-now:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

.gd-purchase-box .gd-add-cart {
  background: #ffffff !important;
  color: #2563eb !important;
  border: 2px solid #2563eb !important;
  font-weight: 800 !important;
}

.gd-purchase-box .gd-add-cart:hover {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
}

.gd-box-payments {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: center;
}

.gd-box-payments-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.gd-box-payment-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.gd-box-payment-pills span {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
}

.gd-box-upsell-tip {
  margin-top: 12px;
  padding: 10px 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #78350f;
}

.gd-box-wa-ask {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857 !important;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.gd-box-wa-ask:hover {
  background: #d1fae5;
}

/* 5. Optimización del Carrito de Compras (Activo y Vacío) y Bloques de WooCommerce */

/* Botón "Proceder al pago" en Verde Éxito de alta conversión (reemplaza el gris oscuro #2D3136) */
.wc-block-cart__submit-button,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 15px 20px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28) !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
  cursor: pointer !important;
}

.wc-block-cart__submit-button:hover,
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout #place_order:hover {
  background: #15803d !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.gd-block-cart-trust,
.gd-cart-trust-box {
  margin-top: 14px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: center;
  font-size: 12.5px;
}

.gd-bct-ship,
.gd-cart-free-ship-note {
  color: #15803d;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.gd-bct-Title {
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.gd-bct-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 8px;
}

.gd-bct-pills span {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
}

.gd-bct-guar,
.gd-cart-guarantee {
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
}

/* Corrección del Carrito Vacío y su cuadrícula "Nuevo en la tienda" (.wc-block-grid) */
.wp-block-woocommerce-empty-cart-block p a[href*="tienda"],
.wp-block-woocommerce-empty-cart-block p a[href*="productos"],
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title + p a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 24px;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25);
}

.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.wc-block-grid__product {
  flex: none !important;
  max-width: 100% !important;
  width: auto !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  text-align: left !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.wc-block-grid__product-image img {
  width: 100% !important;
  height: 180px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
}

.wc-block-grid__product-title {
  font-size: 14.5px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  color: #1f2937 !important;
  margin: 4px 0 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  height: 2.7em !important;
  min-height: 2.7em !important;
}

/* Separa los precios pegados ($395.00 $790.00 -50%) en los bloques de WooCommerce */
.wc-block-grid__product-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 7px !important;
  margin: 4px 0 12px !important;
  font-size: 14px !important;
}

.wc-block-grid__product-price .gd-market-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 7px !important;
}

.wc-block-grid__product-price ins,
.wc-block-grid__product-price .gd-market-current {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #16a34a !important;
  text-decoration: none !important;
  margin-right: 4px !important;
}

.wc-block-grid__product-price del,
.wc-block-grid__product-price .gd-market-regular {
  font-size: 13px !important;
  color: #858b94 !important;
  text-decoration: line-through !important;
  margin-right: 4px !important;
}

.wc-block-grid__product-price .gd-market-discount {
  background: #e6f6ec !important;
  color: #07883e !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.wc-block-grid__product-add-to-cart {
  margin-top: auto !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 38px !important;
  padding: 0 12px !important;
  background: #2563eb !important;
  color: #ffffff !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
}

@media (max-width: 900px) {
  .wc-block-grid__products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 6. Diseño de Página de Contacto, Acordeón de Preguntas Frecuentes y Mi Cuenta */
.gd-page-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.5px;
}

.gd-contact-lead,
.gd-faq-intro {
  font-size: 15.5px;
  color: #4b5563;
  margin: 0 0 22px;
  max-width: 820px;
}

.gd-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.gd-contact-info-col {
  display: grid;
  gap: 14px;
}

.gd-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gd-contact-card.highlight {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.gd-contact-icon {
  font-size: 26px;
  line-height: 1;
}

.gd-contact-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #111827;
}

.gd-contact-card p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #374151;
}

.gd-contact-phone {
  font-size: 18px !important;
  color: #047857 !important;
  margin: 8px 0 12px !important;
}

.gd-btn-wa-full {
  background: #16a34a !important;
  color: #ffffff !important;
  width: 100%;
}

.gd-btn-wa-full:hover {
  background: #15803d !important;
}

.gd-contact-form-box {
  background: #ffffff;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gd-contact-form-box h3 {
  margin: 0 0 6px;
  font-size: 20px;
}

.gd-contact-form-box > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: #6b7280;
}

.gd-fast-form {
  display: grid;
  gap: 14px;
}

.gd-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 5px;
}

.gd-form-group input,
.gd-form-group select,
.gd-form-group textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  background: #f8fafc;
}

.gd-form-group input:focus,
.gd-form-group select:focus,
.gd-form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.gd-btn-submit-contact {
  width: 100%;
  background: #2563eb !important;
  padding: 14px !important;
  font-size: 15px !important;
}

.gd-btn-submit-contact:hover {
  background: #1d4ed8 !important;
}

.gd-form-privacy-note {
  display: block;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

/* Acordeón estilizado para Preguntas Frecuentes */
.gd-faq-list,
.gd-content-card details {
  display: grid;
  gap: 12px;
}

.gd-faq-item,
.gd-content-card details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gd-faq-item[open],
.gd-content-card details[open] {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 3px 12px rgba(37, 99, 235, 0.06);
}

.gd-faq-item summary,
.gd-content-card details summary {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gd-faq-item summary::-webkit-details-marker,
.gd-content-card details summary::-webkit-details-marker {
  display: none;
}

.gd-faq-item summary::after,
.gd-content-card details summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
  font-size: 18px;
}

.gd-faq-item[open] summary::after,
.gd-content-card details[open] summary::after {
  content: "−";
  background: #2563eb;
  color: #ffffff;
}

.gd-faq-answer,
.gd-content-card details p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.gd-faq-cta-box {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gd-faq-cta-box p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #4b5563;
}

/* Banner de tranquilidad en Mi Cuenta */
.gd-account-reassurance-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 13.5px;
  color: #1e3a8a;
}

.gd-account-reassurance-banner a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: underline;
}

/* 7. Pie de página a 4 columnas con insignias de pago y confianza */
.gd-footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr !important;
  gap: 28px !important;
}

.gd-footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.gd-footer-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: #262626;
  border: 1px solid #3f3f46;
  color: #e4e4e7;
  font-size: 11.5px;
  font-weight: 700;
}

.gd-footer-payments {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #2e2e2e;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gd-footer-payments-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #a1a1aa;
}

.gd-payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gd-pay-pill {
  background: #262626;
  border: 1px solid #3f3f46;
  color: #f4f4f5;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.gd-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 900px) {
  .gd-contact-grid {
    grid-template-columns: 1fr;
  }
  .gd-footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .gd-faq-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .gd-footer-grid {
    grid-template-columns: 1fr !important;
  }
}



/* ==========================================================================
   3.4.0 — CORRECCIÓN DE CONTRASTE EN LIMPIADORES, REACOMODO DE FICHA DE
   PRODUCTO (CÓMO FUNCIONA A LA IZQUIERDA + DESCRIPCIÓN AL CENTRO) Y
   OPTIMIZACIÓN INTUITIVA DE FINALIZAR COMPRA (DIRECCIÓN DE ENVÍO Y ENTREGA)
   ========================================================================== */

/* 1. Alta especificidad para la Tarjeta Promocional de Relleno en "Limpiadores" (evita fondo blanco heredado) */
.home .gd-product-row-section .gd-home-products li.product.gd-row-promo-filler,
.front-page .gd-product-row-section .gd-home-products li.product.gd-row-promo-filler,
.gd-product-row-section .gd-home-products li.product.gd-row-promo-filler,
.woocommerce ul.products li.product.gd-row-promo-filler,
li.product.gd-row-promo-filler {
  background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #059669 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffe600 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: stretch !important;
  height: 412px !important;
  min-height: 412px !important;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.22) !important;
  overflow: hidden !important;
}

.gd-row-promo-filler .gd-filler-inner {
  background: linear-gradient(135deg, #064e3b 0%, #047857 55%, #059669 100%) !important;
  color: #ffffff !important;
  padding: 24px 28px !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.gd-row-promo-filler .gd-filler-inner h3 {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  margin: 0 0 10px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25) !important;
}

.gd-row-promo-filler .gd-filler-inner p {
  color: #f0fdf4 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
}

.gd-row-promo-filler .gd-filler-list,
.gd-row-promo-filler .gd-filler-list li {
  color: #ffe600 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}

/* 2. Ficha de Producto: "¿Cómo funciona en 3 pasos?" a la izquierda (bajo la foto) y "Descripción" al centro (bajo el precio) */
.woocommerce div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 1fr) minmax(260px, 0.78fr) !important;
  column-gap: 28px !important;
  row-gap: 18px !important;
  align-items: start !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  align-self: start !important;
  margin: 0 !important;
}

.woocommerce div.product .gd-how-it-works {
  grid-column: 1 !important;
  grid-row: 2 !important;
  align-self: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px !important;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

.woocommerce div.product .summary {
  grid-column: 2 !important;
  grid-row: 1 / span 3 !important;
  align-self: start !important;
  margin: 0 !important;
}

.woocommerce div.product .gd-single-description {
  margin: 14px 0 14px !important;
  padding: 16px 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #1f2937 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce div.product .gd-single-description h2 {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 0 10px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.woocommerce div.product .summary .product_meta {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.woocommerce div.product .gd-purchase-box {
  grid-column: 3 !important;
  grid-row: 1 / span 3 !important;
  align-self: start !important;
  padding: 18px !important;
}

.woocommerce div.product .related,
.woocommerce div.product .upsells {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  margin-top: 18px !important;
}

@media (max-width: 1050px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 20px !important;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .woocommerce div.product .gd-how-it-works {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .woocommerce div.product .summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  .woocommerce div.product .gd-purchase-box {
    grid-column: 2 !important;
    grid-row: 2 !important;
    position: static !important;
  }
  .woocommerce div.product .related,
  .woocommerce div.product .upsells {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
  }
}

@media (max-width: 650px) {
  .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  .woocommerce div.product .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .woocommerce div.product .summary {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .woocommerce div.product .gd-how-it-works {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .woocommerce div.product .gd-purchase-box {
    grid-column: 1 !important;
    grid-row: 4 !important;
    position: static !important;
  }
  .woocommerce div.product .related,
  .woocommerce div.product .upsells {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }
}

/* 3. Optimización Visual e Intuitiva de Finalizar Compra (/finalizar-compra/) */
.gd-checkout-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 13px 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 5px solid #16a34a;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.gd-ctb-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.gd-ctb-step.done {
  color: #15803d;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 800;
}

.gd-ctb-step.active {
  color: #ffffff;
  background: #2563eb;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.gd-ctb-sep {
  color: #94a3b8;
  font-weight: 900;
}

.gd-ctb-badge {
  font-size: 12.5px;
  font-weight: 800;
  color: #047857;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 5px 12px;
  border-radius: 8px;
}

.gd-checkout-head-box {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.gd-checkout-head-box .gd-page-title {
  margin: 0 0 6px !important;
  font-size: clamp(24px, 2.6vw, 30px) !important;
  color: #0f172a !important;
}

.gd-checkout-subtitle {
  margin: 0;
  font-size: 14.5px;
  color: #475569;
}

/* Pasos del Checkout Block de WooCommerce estilizados como tarjetas claras */
.wc-block-components-checkout-step {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 20px 22px !important;
  margin-bottom: 20px !important;
}

.wc-block-components-checkout-step--with-step-number .wc-block-components-checkout-step__container::before {
  display: none !important;
}

.wc-block-components-checkout-step__heading {
  margin-bottom: 8px !important;
}

.wc-block-components-checkout-step__title,
.woocommerce-billing-fields h3 {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 19px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.gd-step-title-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1px;
}

.gd-shipping-reassurance-note {
  margin: 8px 0 16px !important;
  padding: 10px 14px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-left: 4px solid #16a34a !important;
  border-radius: 8px !important;
  color: #065f46 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}

/* Inputs del Checkout Block con fondo blanco nítido y foco azul de confianza */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-select .wc-blocks-components-select__select {
  background-color: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  color: #0f172a !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select .wc-blocks-components-select__select:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
  outline: none !important;
}

/* Botón "+ Agregar Colonia, Fraccionamiento o Referencias" resaltado */
.wc-block-components-address-form__address_2-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 6px 0 10px !important;
  padding: 10px 14px !important;
  background: #eff6ff !important;
  border: 1.5px dashed #3b82f6 !important;
  border-radius: 8px !important;
  color: #1d4ed8 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-align: left !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

.wc-block-components-address-form__address_2-toggle:hover {
  background: #dbeafe !important;
  border-color: #2563eb !important;
}

/* Botón de Realizar el Pedido en Checkout Block */
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  background: #16a34a !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 16px 22px !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.3) !important;
  cursor: pointer !important;
  transition: background 0.18s ease, transform 0.15s ease !important;
}

.wc-block-components-checkout-place-order-button:hover {
  background: #15803d !important;
  transform: translateY(-1px) !important;
}

/* Caja de Garantía debajo del Resumen del Pedido en la columna derecha del Checkout */
.gd-checkout-sidebar-trust {
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 13px;
}

.gd-cst-head {
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.gd-cst-list {
  list-style: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  display: grid;
  gap: 8px;
  color: #334155;
  line-height: 1.45;
}

.gd-cst-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #047857 !important;
  font-weight: 800;
  font-size: 12.5px;
  text-align: center;
  text-decoration: none !important;
}

.gd-cst-wa:hover {
  background: #d1fae5;
}

/* Espacio inferior adicional para que el botón flotante de WhatsApp nunca tape contenido */
.gd-main {
  padding-bottom: 78px !important;
}

@media (max-width: 650px) {
  .wc-block-components-checkout-step {
    padding: 14px !important;
  }
  .gd-checkout-trust-bar {
    padding: 10px 12px;
  }
}



/* ==========================================================================
   3.5.0 — OPTIMIZACIÓN MÓVIL INTEGRAL: BANNER 100% SIN RECORTE, 2 PRODUCTOS
   POR CATEGORÍA EN HOME MÓVIL, ELIMINACIÓN DE BOTÓN MORADO Y CAJA DE COMPRA
   ARRIBA DE LA DESCRIPCIÓN EN CELULARES
   ========================================================================== */

/* 1. Portada / Banner principal 100% adaptable sin recortes en móviles y escritorio */
.gd-home-slider {
  background: transparent !important;
  border: 0 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08) !important;
}

.gd-slider-track {
  display: grid !important;
  grid-template-columns: 100% !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

.gd-slide {
  grid-area: 1 / 1 / 2 / 2 !important;
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: auto !important;
}

.gd-slide > a,
.gd-slide picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.gd-slide img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 12px !important;
}

@media (max-width: 650px) {
  .gd-home-slider {
    margin: 0 0 16px !important;
    border-radius: 10px !important;
  }
  .gd-slide img {
    border-radius: 10px !important;
  }
}

/* 2. Encabezado de secciones en Home sin quiebres de línea en "Ver todos →" y límite de 2 productos por categoría en móvil */
.gd-section-head {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.gd-section-head .gd-link {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 6px 11px !important;
  background: #fff1f1 !important;
  border: 1px solid #fecaca !important;
  border-radius: 999px !important;
  color: var(--gd-red) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

.gd-section-head .gd-link:hover {
  background: var(--gd-red) !important;
  border-color: var(--gd-red) !important;
  color: #ffffff !important;
}

@media (max-width: 650px) {
  /* Mostrar únicamente 2 productos por categoría en la página de inicio en celulares */
  .home .gd-product-row-section .gd-home-products > li.product:nth-child(n+3),
  .front-page .gd-product-row-section .gd-home-products > li.product:nth-child(n+3),
  .gd-product-row-section .gd-home-products > li.product:nth-child(n+3) {
    display: none !important;
  }

  /* Ajuste de altura automática en tarjetas móviles para que ningún texto quede apretado */
  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product,
  .gd-home-products li.product,
  .gd-product-row-section .gd-home-products li.product {
    height: auto !important;
    min-height: 362px !important;
  }
}

/* 3. Eliminar cualquier color morado nativo de WooCommerce (.button.alt) en todo el sitio */
.woocommerce div.product form.cart .button,
.woocommerce div.product button.single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
  border: 0 !important;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product button.single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
}

/* 4. Ficha de Producto en Móvil (<= 650px):
      Oculta el botón morado nativo (form.cart) y el precio duplicado,
      y sube toda la Caja de Compra (.gd-purchase-box) justo debajo de las fotos y aviso de demanda,
      dejando "¿Cómo funciona en 3 pasos?" y "Descripción del producto" debajo de los botones de compra. */
@media (max-width: 650px) {
  .woocommerce div.product {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  /* Desempaquetar .summary en móvil para ordenar cada bloque con precisión */
  .woocommerce div.product .summary {
    display: contents !important;
  }

  /* Paso 1: Galería de fotografías arriba */
  .woocommerce div.product .woocommerce-product-gallery {
    order: 1 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Paso 2: Título, Estrellas de Calidad y Caja de Alta Demanda */
  .woocommerce div.product .product_title {
    order: 2 !important;
    margin: 4px 0 0 !important;
    font-size: 22px !important;
    line-height: 1.22 !important;
  }

  .woocommerce div.product .gd-rating-summary {
    order: 3 !important;
    margin: 0 !important;
  }

  .woocommerce div.product .gd-single-urgency-box {
    order: 4 !important;
    margin: 0 !important;
  }

  /* Ocultar el botón morado nativo (form.cart) y el precio suelto duplicado en móvil */
  .woocommerce div.product .summary > .price,
  .woocommerce div.product .summary > form.cart {
    display: none !important;
  }

  /* Paso 3: Caja de Compra Completa (Precio, Cantidad, Comprar Ahora, Añadir al Carrito, Envío Gratis y Sellos) */
  .woocommerce div.product .gd-purchase-box {
    order: 5 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    position: static !important;
    border: 1.5px solid #cbd5e1 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
  }

  /* Dentro de la Caja de Compra en móvil, poner Precio + Cantidad + Botones de compra en primerísimo plano */
  .woocommerce div.product .gd-purchase-box {
    display: flex !important;
    flex-direction: column !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-price {
    order: 1 !important;
    margin: 0 0 10px !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-delivery-status {
    order: 2 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-delivery-detail {
    order: 3 !important;
    margin: 6px 0 12px !important;
    padding-bottom: 12px !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-stock {
    order: 4 !important;
    margin-bottom: 10px !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-qty-row {
    order: 5 !important;
    margin: 4px 0 8px !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-buy-now {
    order: 6 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-add-cart {
    order: 7 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-payments {
    order: 8 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-upsell-tip {
    order: 9 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-assurance-list {
    order: 10 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-box-wa-ask {
    order: 11 !important;
  }

  /* Paso 4: Video demostrativo TikTok 9:16 (si aplica) */
  .woocommerce div.product .gd-single-tiktok-box {
    order: 6 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Paso 5: ¿Cómo funciona en 3 pasos? */
  .woocommerce div.product .gd-how-it-works {
    order: 7 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Paso 6: Descripción detallada del producto */
  .woocommerce div.product .gd-single-description,
  .woocommerce div.product .woocommerce-product-details__short-description {
    order: 8 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  /* Paso 7: Categoría y Productos relacionados al final */
  .woocommerce div.product .product_meta {
    order: 9 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .woocommerce div.product .upsells,
  .woocommerce div.product .related {
    order: 10 !important;
    width: 100% !important;
    margin-top: 10px !important;
  }
}



/* ==========================================================================
   3.6.0 — SECCIÓN DE OPINIONES VERIFICADAS Y BANNER DE MEDIOS DE PAGO A COLOR
   ========================================================================== */

.gd-verified-reviews-section {
  margin: 36px 0 28px !important;
}

.gd-reviews-rating-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 8px 14px;
  border-radius: 10px;
}

.gd-rv-stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 1px;
}

.gd-reviews-rating-badge strong {
  font-size: 15px;
  color: #065f46;
  font-weight: 900;
}

.gd-reviews-rating-badge small {
  font-size: 11px;
  color: #047857;
  font-weight: 700;
}

.gd-reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.gd-review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gd-review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.gd-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.gd-review-stars {
  color: #f5a623;
  font-size: 14px;
  letter-spacing: 1px;
}

.gd-review-check {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #f0fdf4;
  padding: 2px 7px;
  border-radius: 999px;
}

.gd-review-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 16px;
  flex: 1;
}

.gd-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.gd-review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

.gd-review-author strong {
  display: block;
  font-size: 13.5px;
  color: #0f172a;
}

.gd-review-author small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

/* Banner de Medios de Pago */
.gd-payment-banner-section {
  margin: 28px 0 32px !important;
}

.gd-payment-banner-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 22px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gd-pb-title strong {
  font-size: 16px;
  color: #0f172a;
}

.gd-pb-title p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #64748b;
}

.gd-pb-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gd-pb-logo-item {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #1e293b;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.gd-pb-logo-item:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
}

@media (max-width: 1050px) {
  .gd-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .gd-reviews-grid {
    grid-template-columns: 1fr;
  }
  .gd-section-head {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .gd-reviews-rating-badge {
    align-self: flex-start;
  }
  .gd-payment-banner-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 14px;
  }
  .gd-pb-logos {
    width: 100%;
    justify-content: flex-start;
  }
}



/* ==========================================================================
   3.7.0 — EDICIÓN CONVERSIÓN + SEO PRO: LOGOS SVG OFICIALES, RESEÑAS CON FOTO,
   CONTADOR DE DESPACHO, SELECTOR DE PACKS, STICKY BAR MÓVIL, VENTA CRUZADA
   EN CARRITO, BALANCEADOR DE CATEGORÍA Y BLOQUES SEO
   ========================================================================== */

/* 1. Barra semántica H1 en Portada para SEO sin romper la estética visual */
.gd-seo-h1-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.gd-home-seo-h1 {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1.35 !important;
  letter-spacing: -0.1px !important;
}

.gd-seo-h1-pill {
  font-size: 12px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .gd-seo-h1-bar {
    padding: 7px 11px;
    margin-bottom: 10px;
  }
  .gd-home-seo-h1 {
    font-size: 12px !important;
  }
  .gd-seo-h1-pill {
    display: none;
  }
}

/* 2. Logotipos Oficiales Vectoriales SVG a Todo Color (Portada, Producto, Carrito, Checkout y Footer) */
.gd-svg-pay-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.gd-svg-pay-strip.variant-banner {
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
}

.gd-svg-pay-strip.variant-compact {
  justify-content: center;
  gap: 6px;
  margin: 6px 0 4px;
}

.gd-svg-pay-strip.variant-footer {
  justify-content: flex-end;
  gap: 8px;
}

.gd-svg-pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.gd-svg-pay-badge:hover {
  transform: translateY(-1px);
  border-color: #2563eb;
}

.gd-svg-pay-badge svg {
  display: block;
  height: 22px;
  width: auto;
}

.gd-svg-pay-strip.variant-compact .gd-svg-pay-badge {
  padding: 3px 6px;
}

.gd-svg-pay-strip.variant-compact .gd-svg-pay-badge svg {
  height: 18px;
}

@media (max-width: 900px) {
  .gd-svg-pay-strip.variant-banner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

/* 3. Tarjetas de Reseñas Verificadas con Cabecera Fotográfica Real (Estilo Marketplace) */
.gd-review-card {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

.gd-review-photo-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 14px 22px;
}

.gd-review-photo-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  margin: 0 !important;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.gd-review-photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.gd-review-floating-stars {
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #e11d48;
  font-size: 15px;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.gd-review-body {
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gd-review-author-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 2px;
}

.gd-review-author-line strong {
  font-size: 14.5px;
  color: #0f172a;
}

.gd-verified-dot {
  display: inline-flex;
  align-items: center;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
}

.gd-review-meta {
  display: block;
  text-align: center;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 10px;
}

.gd-review-body .gd-review-text {
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0;
}

/* 4. Ocultar el globo rojo "¡Oferta!" redundante sobre la primera miniatura en la Ficha de Producto */
.single-product span.onsale,
.woocommerce div.product > span.onsale {
  display: none !important;
}

/* 5. Indicador de Despacho Hoy Mismo y Selector de Paquetes por Volumen en la Caja de Compra */
.gd-dispatch-timer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #166534;
}

.gd-pulse-dot {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

.gd-pack-quick-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0 8px;
}

.gd-pack-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7px 4px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gd-pack-pill span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #64748b;
  margin-top: 1px;
}

.gd-pack-pill.is-active,
.gd-pack-pill:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #1d4ed8;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.gd-pack-pill.is-active span {
  color: #1e40af;
}

/* 6. Botón "Ampliar" en esquina inferior izquierda en la tarjeta de video TikTok 9:16 para no tapar el nombre del creador */
.gd-cat-tiktok-expand-btn.gd-expand-bottom-left {
  position: absolute !important;
  z-index: 25 !important;
  top: auto !important;
  bottom: 8px !important;
  left: 8px !important;
  right: auto !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
}

/* 7. Tarjeta Banner Balanceadora en Categorías (rellena automáticamente las columnas vacías de la última fila) */
li.product.gd-cat-promo-filler {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffe600 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  height: 412px !important;
  min-height: 412px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16) !important;
  overflow: hidden !important;
}

li.product.gd-cat-promo-filler.gd-span-1 { grid-column: span 1 !important; }
li.product.gd-cat-promo-filler.gd-span-2 { grid-column: span 2 !important; }
li.product.gd-cat-promo-filler.gd-span-3 { grid-column: span 3 !important; }

.gd-cat-filler-inner {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.gd-cat-filler-kicker {
  display: inline-block;
  align-self: flex-start;
  background: #ffe600;
  color: #111111;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  margin-bottom: 12px;
}

.gd-cat-filler-inner h3 {
  color: #ffffff !important;
  font-size: clamp(20px, 2.2vw, 25px) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  margin: 0 0 10px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
}

.gd-cat-filler-inner p {
  color: #e2e8f0 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  margin: 0 0 14px !important;
  max-width: 680px;
}

.gd-cat-filler-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 800;
  color: #ffe600;
}

.gd-cat-filler-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: #ffe600 !important;
  color: #111111 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  padding: 12px 20px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, background 0.15s ease;
}

.gd-cat-filler-btn:hover {
  background: #ffffff !important;
  color: #111111 !important;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  li.product.gd-cat-promo-filler.gd-span-1,
  li.product.gd-cat-promo-filler.gd-span-2,
  li.product.gd-cat-promo-filler.gd-span-3 {
    grid-column: 1 / -1 !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* 8. Módulo de Venta Cruzada de 1 Clic en el Carrito (Order Bump) */
.gd-cart-cross-sell-box {
  margin-top: 22px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
}

.gd-ccs-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.gd-ccs-head span {
  font-size: 22px;
}

.gd-ccs-head strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
}

.gd-ccs-head small {
  display: block;
  font-size: 12.5px;
  color: #475569;
}

.gd-ccs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gd-ccs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.05);
}

.gd-ccs-img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gd-ccs-img img {
  width: 64px !important;
  height: 64px !important;
  object-fit: contain !important;
}

.gd-ccs-body {
  flex: 1;
  min-width: 0;
}

.gd-ccs-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #1e293b;
  margin-bottom: 4px;
}

.gd-ccs-price .gd-market-current {
  font-size: 15px !important;
  font-weight: 900 !important;
  color: #16a34a !important;
}

.gd-ccs-price .gd-market-regular {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin-left: 4px;
}

.gd-ccs-price .gd-market-discount {
  display: none !important;
}

.gd-ccs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 5px 10px;
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none !important;
}

.gd-ccs-btn:hover {
  background: #1d4ed8;
}

@media (max-width: 650px) {
  .gd-ccs-grid {
    grid-template-columns: 1fr;
  }
}

/* 9. Barra Inferior Fija de Compra Rápida en Móviles (Sticky Add-to-Cart Bar) */
.gd-sticky-mobile-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  background: #ffffff;
  border-top: 2px solid #2563eb;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.14);
  padding: 9px 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gd-sticky-mobile-buy.is-visible {
  display: flex;
}

.gd-smb-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.gd-smb-info img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.gd-smb-text {
  min-width: 0;
}

.gd-smb-text strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gd-smb-price {
  display: block;
  font-size: 14px;
  font-weight: 900;
  color: #16a34a;
}

.gd-smb-price small {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
}

.gd-smb-cta {
  flex-shrink: 0;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

body.has-gd-sticky-bar .gd-wa {
  bottom: 70px !important;
}

/* 10. Botón flotante de WhatsApp con opción de minimizar etiqueta y bloque SEO de autoridad */
.gd-wa-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px !important;
  font-size: 12.5px !important;
}

.gd-wa-close {
  border: 0;
  background: #f1f5f9;
  color: #64748b;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.gd-wa-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.gd-seo-authority-section {
  margin: 26px 0 6px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.gd-seo-authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gd-seo-authority-grid h2 {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px;
}

.gd-seo-authority-grid p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

@media (max-width: 760px) {
  .gd-seo-authority-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}



/* ==========================================================================
   3.8.0 — CORRECCIÓN DE CONTRASTE EN BANNER DE CATEGORÍA, TARJETAS DE OPINIÓN
   CON FOTO DE PERFIL HUMANO ESTILO FACEBOOK Y CHECKOUT 100% PURO CSS SIN BLOQUEOS
   ========================================================================== */

/* 1. Alta especificidad para el Banner Balanceador en Categorías (ej. Tarjetas Inteligentes) */
.woocommerce ul.products li.product.gd-cat-promo-filler,
.woocommerce-page ul.products li.product.gd-cat-promo-filler,
ul.products li.product.gd-cat-promo-filler,
li.product.gd-cat-promo-filler {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: 2px solid #ffe600 !important;
  border-radius: 12px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: stretch !important;
  height: 412px !important;
  min-height: 412px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22) !important;
  overflow: hidden !important;
}

.gd-cat-promo-filler .gd-cat-filler-inner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  padding: 26px 30px !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

.gd-cat-promo-filler .gd-cat-filler-inner h3 {
  color: #ffffff !important;
  font-size: clamp(20px, 2.2vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.22 !important;
  margin: 0 0 10px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
}

.gd-cat-promo-filler .gd-cat-filler-inner p {
  color: #f1f5f9 !important;
  font-size: 14.5px !important;
  line-height: 1.55 !important;
  margin: 0 0 14px !important;
}

.gd-cat-promo-filler .gd-cat-filler-perks,
.gd-cat-promo-filler .gd-cat-filler-perks span {
  color: #ffe600 !important;
  font-weight: 800 !important;
}

/* 2. Tarjetas de Opiniones con Foto de Perfil Real estilo Recomendación de Facebook */
.gd-review-card.gd-fb-review-card {
  padding: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.gd-fb-rev-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gd-fb-avatar-wrap {
  position: relative;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.gd-fb-avatar-img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #dbeafe !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  display: block !important;
  margin: 0 !important;
}

.gd-fb-mini-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1877f2;
  border: 2px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.gd-fb-author-meta {
  min-width: 0;
  flex: 1;
}

.gd-fb-author-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gd-fb-author-row strong {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.gd-fb-verified-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

.gd-fb-submeta {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
}

.gd-fb-rating-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.gd-fb-stars {
  color: #f59e0b;
  font-size: 14.5px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.gd-fb-rec-pill {
  font-size: 11px;
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 2px 8px;
  border-radius: 999px;
}

.gd-fb-comment-text {
  margin: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
  text-align: left !important;
  flex: 1;
}

.gd-fb-rev-footer {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.gd-fb-reactions {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
}

.gd-fb-like-bubble,
.gd-fb-love-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  background: #eff6ff;
}

.gd-fb-love-bubble {
  background: #fff1f2;
  margin-left: -4px;
}

.gd-fb-purchased-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
  align-self: flex-start;
}

/* Logos de pago un poco más grandes y nítidos en la barra principal */
.gd-svg-pay-strip.variant-banner .gd-svg-pay-badge svg {
  height: 25px !important;
}

/* 3. Personalización 100% Puro CSS en Finalizar Compra (Checkout Block) sin tocar el DOM de React */

/* Paso 1: Información de contacto */
#contact-fields .wc-block-components-checkout-step__title::after,
.wc-block-checkout__contact-fields .wc-block-components-checkout-step__title::after {
  content: "Para enviarte tu guía de rastreo";
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 800;
  margin-left: 8px;
}

/* Paso 2: Reemplazar visualmente "Dirección de facturación" por "📦 Dirección de envío y entrega" mediante CSS puro */
#billing-fields .wc-block-components-checkout-step__title,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__title,
#shipping-fields .wc-block-components-checkout-step__title,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title {
  font-size: 0 !important;
  color: transparent !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

#billing-fields .wc-block-components-checkout-step__title::before,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__title::before,
#shipping-fields .wc-block-components-checkout-step__title::before,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title::before {
  content: "📦 Dirección de envío y entrega";
  font-size: 19px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
}

#billing-fields .wc-block-components-checkout-step__title::after,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__title::after,
#shipping-fields .wc-block-components-checkout-step__title::after,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__title::after {
  content: "¿A dónde enviamos tu pedido?";
  font-size: 12px !important;
  font-weight: 800 !important;
  background: #dbeafe !important;
  color: #1e40af !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  line-height: 1.2 !important;
}

/* Recuadro verde de tranquilidad debajo del título de Dirección de envío en Checkout Block */
#billing-fields .wc-block-components-checkout-step__heading,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__heading,
#shipping-fields .wc-block-components-checkout-step__heading,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__heading {
  display: block !important;
}

#billing-fields .wc-block-components-checkout-step__heading::after,
.wc-block-checkout__billing-fields .wc-block-components-checkout-step__heading::after,
#shipping-fields .wc-block-components-checkout-step__heading::after,
.wc-block-checkout__shipping-fields .wc-block-components-checkout-step__heading::after {
  content: "🔒 Ingresa los datos del domicilio o negocio donde deseas recibir tu paquete con Envío GRATIS. Tu información se utiliza exclusivamente para la entrega por paquetería.";
  display: block !important;
  margin: 10px 0 6px !important;
  padding: 10px 14px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-left: 4px solid #16a34a !important;
  border-radius: 8px !important;
  color: #065f46 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

/* Paso 3: Opciones de pago 100% seguro */
#payment-method .wc-block-components-checkout-step__title::before,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__title::before {
  content: "🔒 ";
}

#payment-method .wc-block-components-checkout-step__title::after,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__title::after {
  content: "100% Protegido";
  font-size: 12px;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
}

/* Aviso útil debajo de "Añade una nota a tu pedido" en Checkout Block vía CSS puro */
.wc-block-checkout__add-note::after {
  content: "💡 Si compraste una Tarjeta Inteligente NFC + QR, puedes activar la casilla de arriba para escribir el nombre o enlace de tu negocio (o te contactaremos por WhatsApp al confirmar tu compra).";
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #047857;
  font-weight: 600;
  line-height: 1.4;
}

/* Barra inferior de respaldo en la página de Checkout (fuera del contenedor React) */
.gd-checkout-bottom-assurance {
  margin-top: 24px;
  padding: 18px 22px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.gd-cba-left strong {
  display: block;
  font-size: 15px;
  color: #0f172a;
  margin-bottom: 4px;
}

.gd-cba-left p {
  margin: 0;
  font-size: 13px;
  color: #334155;
}

.gd-cba-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}



/* ==========================================================================
   3.9.0 — INTEGRACIÓN Y ESTILIZADO DE ACCESO RÁPIDO CON 1 TOQUE (GOOGLE,
   FACEBOOK Y APPLE) EN "MI CUENTA" (/mi-cuenta/) Y "CHECKOUT" (/finalizar-compra/)
   ========================================================================== */

.gd-social-login-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 20px 24px;
  margin: 0 0 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.gd-social-login-box.context-checkout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  margin: 0 0 20px;
  background: #f8fafc;
  border: 1.5px solid #bfdbfe;
  border-left: 5px solid #2563eb;
}

.gd-sl-header {
  text-align: center;
  margin-bottom: 16px;
}

.gd-social-login-box.context-checkout .gd-sl-header {
  text-align: left;
  margin-bottom: 0;
  flex: 1 1 280px;
}

.gd-sl-title-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.gd-social-login-box.context-checkout .gd-sl-title-wrap {
  justify-content: flex-start;
}

.gd-sl-badge {
  display: inline-flex;
  align-items: center;
  background: #dbeafe;
  color: #1e40af;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.gd-sl-title-wrap strong {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}

.gd-sl-subtitle {
  margin: 0;
  font-size: 13.5px;
  color: #475569;
}

.gd-sl-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.gd-social-login-box.context-checkout .gd-sl-buttons-grid {
  justify-content: flex-end;
  flex: 0 1 auto;
}

.gd-sl-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 225px;
  height: 46px;
  padding: 0 20px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.15s ease !important;
  box-sizing: border-box !important;
}

.gd-social-login-box.context-checkout .gd-sl-btn {
  min-width: 205px;
  height: 42px;
  padding: 0 16px !important;
  font-size: 13.5px !important;
}

/* Botón Oficial Google */
.gd-sl-btn.gd-sl-google {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.gd-sl-btn.gd-sl-google:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.1) !important;
}

/* Botón Oficial Facebook */
.gd-sl-btn.gd-sl-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
  border: 1.5px solid #1877f2 !important;
  box-shadow: 0 3px 10px rgba(24, 119, 242, 0.25) !important;
}

.gd-sl-btn.gd-sl-facebook:hover {
  background: #166fe5 !important;
  border-color: #166fe5 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35) !important;
}

/* Botón Oficial Apple */
.gd-sl-btn.gd-sl-apple {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1.5px solid #000000 !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.gd-sl-btn.gd-sl-apple:hover {
  background: #1f2937 !important;
  border-color: #1f2937 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.gd-sl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gd-sl-icon svg {
  display: block;
}

.gd-sl-fallback-notice {
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 13px;
  text-align: center;
}

.gd-sl-divider {
  position: relative;
  text-align: center;
  margin: 18px 0 2px;
}

.gd-sl-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e2e8f0;
}

.gd-sl-divider span {
  position: relative;
  display: inline-block;
  padding: 0 14px;
  background: #f9fbfd;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.gd-checkout-logged-pill {
  margin: 0 0 18px;
  padding: 11px 16px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-left: 4px solid #16a34a;
  border-radius: 10px;
  color: #065f46;
  font-size: 13.5px;
}

/* Compatibilidad con contenedores automáticos de Nextend Social Login y Site Kit by Google */
.woocommerce-account .woocommerce-form-login .nsl-container,
.woocommerce-account .woocommerce-form-register .nsl-container {
  display: none !important;
}

.gd-sl-plugin-output .nsl-container {
  display: flex !important;
  justify-content: center !important;
}

.googlesitekit-sign-in-with-google__frontend-output-button {
  display: flex !important;
  justify-content: center !important;
  margin: 10px auto !important;
}

@media (max-width: 650px) {
  .gd-social-login-box {
    padding: 16px 14px;
  }
  .gd-social-login-box.context-checkout {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
  }
  .gd-sl-buttons-grid {
    flex-direction: column;
    width: 100%;
  }
  .gd-sl-btn,
  .gd-social-login-box.context-checkout .gd-sl-btn {
    width: 100%;
    min-width: 0;
  }
}



/* ==========================================================================
   4.0.0 — ARMADOR INTERACTIVO DE PACKS COMBINADOS (GOOGLE + TIKTOK + INSTAGRAM
   + FACEBOOK) CON 10% Y 20% DE DESCUENTO AUTOMÁTICO, LOGOS DE PAGO AGRANDADOS
   Y ELIMINACIÓN DE CHOQUE DE WHATSAPP EN FICHA DE PRODUCTO
   ========================================================================== */

/* 1. Selector de Paquetes con Etiquetas de Descuento (-10% y -20%) */
.gd-pack-selector-label {
  font-size: 12.5px;
  color: #0f172a;
  margin: 10px 0 6px;
}

.gd-pack-quick-picks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 0 0 10px;
}

.gd-pack-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 4px 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.gd-pack-pill strong {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  margin-top: 3px;
  line-height: 1.2;
}

.gd-pack-pill span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  color: #475569;
  margin-top: 2px;
}

.gd-pp-badge {
  display: inline-block;
  font-size: 9px !important;
  font-weight: 900 !important;
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-top: 0 !important;
}

.gd-pp-badge.neutral {
  background: #e2e8f0;
  color: #334155 !important;
}

.gd-pp-badge.discount10 {
  background: #dcfce7;
  color: #15803d !important;
  border: 1px solid #86efac;
}

.gd-pp-badge.discount20 {
  background: #fef08a;
  color: #9a3412 !important;
  border: 1px solid #facc15;
}

.gd-pack-pill.is-active,
.gd-pack-pill:hover {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.16);
  transform: translateY(-1px);
}

.gd-pack-pill.is-active strong {
  color: #1d4ed8;
}

/* 2. Cajón Interactivo "Arma tu Pack Combinado" (Mix & Match sin salir de la página) */
.gd-mix-match-drawer {
  margin: 8px 0 12px;
  padding: 12px;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.08);
}

.gd-mm-head {
  margin-bottom: 10px;
}

.gd-mm-head strong {
  display: block;
  font-size: 12.5px;
  font-weight: 900;
  color: #1e3a8a;
}

.gd-mm-head small {
  display: block;
  font-size: 11px;
  color: #334155;
  line-height: 1.35;
  margin-top: 2px;
}

.gd-mm-slots {
  display: grid;
  gap: 8px;
}

.gd-mm-slot {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 6px 8px;
}

.gd-mm-thumb {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.gd-mm-select-wrap {
  flex: 1;
  min-width: 0;
}

.gd-mm-select-wrap label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  color: #475569;
  margin-bottom: 2px;
}

.gd-mm-select {
  width: 100%;
  padding: 5px 7px;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.gd-mm-select:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
}

.gd-mm-savings-bar {
  margin-top: 10px;
  padding: 7px 10px;
  background: #ecfdf5;
  border: 1px solid #86efac;
  border-radius: 7px;
  color: #065f46;
  font-size: 11.5px;
  line-height: 1.35;
  text-align: center;
}

.gd-pack-extra-badge {
  background: #fef08a !important;
  color: #9a3412 !important;
  border: 1px solid #facc15 !important;
  font-weight: 900 !important;
}

.gd-pack-price-note {
  font-size: 11.5px;
  color: #047857;
  margin-top: 4px;
  line-height: 1.35;
}

/* 3. Cuadrícula de Logotipos de Pago más grandes y legibles en la Caja de Compra */
.gd-box-payments .gd-svg-pay-strip.variant-compact {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 8px 0 4px !important;
}

.gd-box-payments .gd-svg-pay-strip.variant-compact .gd-svg-pay-badge {
  width: 100% !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
}

.gd-box-payments .gd-svg-pay-strip.variant-compact .gd-svg-pay-badge svg {
  height: 21px !important;
  width: 100% !important;
  max-width: 72px !important;
}

/* Destacar la fila de descuento por paquete en el Carrito y Checkout */
.woocommerce-cart .cart-discount,
.woocommerce-checkout .cart-discount,
.wc-block-components-totals-fees {
  color: #15803d !important;
  font-weight: 800 !important;
}



/* ==========================================================================
   4.1.0 — PSICOLOGÍA DE PRECIOS ESCALONADOS ($450 / 2 POR $795 / 3 POR $995),
   ARMADOR MIX & MATCH ACTIVO Y OCULTACIÓN DE BOTÓN DE WHATSAPP DUPLICADO
   ========================================================================== */

/* Ocultar siempre el botón de WhatsApp inferior dentro de la caja de compra para evitar choque con el botón flotante */
.gd-box-wa-ask {
  display: none !important;
}

/* Destacar el botón de 3 Tarjetas ($995 - Mejor Oferta) con borde dorado sutil */
.gd-pack-pill.gd-pill-best {
  border-color: #f59e0b;
  background: #fffbeb;
}

.gd-pack-pill.gd-pill-best.is-active {
  background: #eff6ff;
  border-color: #2563eb;
}


/* 4.1.1 — Etiquetas superiores de los botones de paquete en 1 sola línea sin saltos */
.gd-pp-badge {
  white-space: nowrap !important;
  font-size: 8.5px !important;
  padding: 2px 5px !important;
  line-height: 1.15 !important;
}



/* ==========================================================================
   4.1.2 — PULIDO DE SELECTORES MIX & MATCH, ALINEACIÓN DE GARANTÍAS EN
   CHECKOUT, FILA DE ENVÍO GRATIS EN RESUMEN DEL PEDIDO Y NOTA DE WHATSAPP
   ========================================================================== */

/* 1. Asegurar que el nombre corto ("⭐ Google · Diseño G02") nunca se corte en el selector desplegable */
.gd-mm-select {
  font-size: 11.5px !important;
  padding: 5px 22px 5px 7px !important;
  text-overflow: ellipsis;
}

/* 2. Corregir los saltos de línea en el bloque inferior "Compra 100% Protegida en Grupo Dany" del Checkout */
.gd-cba-left > strong {
  display: block !important;
  font-size: 15px !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.gd-cba-left p {
  line-height: 1.5 !important;
}

.gd-cba-left p strong {
  display: inline !important;
  font-size: inherit !important;
  color: #0f172a !important;
  margin: 0 !important;
}

/* 3. Mostrar fila visual "Envío a todo México: ✓ GRATIS" arriba de Total en el Resumen del Pedido del Checkout (CSS puro) */
.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
  flex-wrap: wrap !important;
}

.wc-block-checkout__sidebar .wc-block-components-totals-footer-item::before {
  content: "🚚 Envío a todo México (3 a 7 días hábiles): ✓ GRATIS";
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 7px 10px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 7px !important;
  color: #047857 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* 4. Nota informativa debajo del campo de Teléfono en el Checkout Block (CSS puro) */
.wc-block-components-address-form__phone::after {
  content: "📱 Tu número de WhatsApp es importante para enviarte tu guía de rastreo y vincular tu Tarjeta NFC.";
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #047857;
  line-height: 1.35;
}



/* ==========================================================================
   4.1.5 — CORRECCIÓN DE SANGRÍA EN RADIO BUTTONS ("MERCADO PAGO" / "TARJETA"),
   ELIMINACIÓN DE BORDES TRIPLES Y FORMULARIO LIMPIO ESTILO STRIPE / SHOPIFY
   ========================================================================== */

/* 1. Subtítulo de confianza debajo del encabezado "🔒 Opciones de pago 100% Protegido" */
#payment-method .wc-block-components-checkout-step__heading,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__heading {
  display: block !important;
  margin-bottom: 14px !important;
}

#payment-method .wc-block-components-checkout-step__heading::after,
.wc-block-checkout__payment-method .wc-block-components-checkout-step__heading::after {
  content: "💳 Selecciona tu método de pago. Transacciones protegidas con encriptación bancaria SSL de 256 bits.";
  display: block !important;
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  line-height: 1.45 !important;
}

/* 2. Contenedor general de métodos de pago: separar cada opción como tarjeta independiente */
#payment-method .wc-block-components-radio-control,
.wc-block-checkout__payment-method .wc-block-components-radio-control {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  border: 0 !important;
}

/* 3. Cada opción de pago (Mercado Pago / Tarjeta de crédito o débito) */
#payment-method .wc-block-components-radio-control-accordion-option,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  margin: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

#payment-method .wc-block-components-radio-control-accordion-option::after,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option::after {
  display: none !important;
}

#payment-method .wc-block-components-radio-control-accordion-option:hover,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:hover {
  border-color: #94a3b8 !important;
}

/* 4. Opción de pago SELECCIONADA: borde Azul Confianza tipo Stripe/Shopify */
#payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
#payment-method .wc-block-components-radio-control-accordion-option:has(input:checked),
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:has(input:checked) {
  border: 2px solid #2563eb !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.10) !important;
  background: #ffffff !important;
  outline: none !important;
}

/* 5. Barra superior (Label): padding-left de 52px para que el círculo del radio NUNCA pise el texto "Mercado Pago" ni "Tarjeta" */
#payment-method label.wc-block-components-radio-control__option,
.wc-block-checkout__payment-method label.wc-block-components-radio-control__option {
  position: relative !important;
  padding: 16px 20px 16px 52px !important;
  margin: 0 !important;
  background: #ffffff !important;
  cursor: pointer !important;
  font-size: 15.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  min-height: 56px !important;
  transition: background 0.15s ease !important;
}

#payment-method label.wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout,
.wc-block-checkout__payment-method label.wc-block-components-radio-control__option .wc-block-components-radio-control__option-layout {
  width: 100% !important;
  padding-left: 4px !important;
}

/* Barra superior cuando la opción está ACTIVA / SELECCIONADA */
#payment-method .wc-block-components-radio-control-accordion-option--checked-option-highlighted > label.wc-block-components-radio-control__option,
#payment-method .wc-block-components-radio-control-accordion-option:has(input:checked) > label.wc-block-components-radio-control__option,
#payment-method label.wc-block-components-radio-control__option-checked {
  background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%) !important;
  border-bottom: 1.5px solid #dbeafe !important;
  color: #1e3a8a !important;
}

/* Posición exacta del círculo radio button a la izquierda */
#payment-method input.wc-block-components-radio-control__input,
.wc-block-checkout__payment-method input.wc-block-components-radio-control__input {
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  accent-color: #2563eb !important;
}

#payment-method input.wc-block-components-radio-control__input:checked,
.wc-block-checkout__payment-method input.wc-block-components-radio-control__input:checked {
  border-color: #2563eb !important;
}

#payment-method input.wc-block-components-radio-control__input:checked::before,
.wc-block-checkout__payment-method input.wc-block-components-radio-control__input:checked::before {
  background: #2563eb !important;
}

/* 6. Cuerpo desplegable del método de pago (.wc-block-components-radio-control-accordion-content) */
#payment-method .wc-block-components-radio-control-accordion-content,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
  background: #f8fafc !important;
  padding: 16px 20px 18px !important;
  margin: 0 !important;
}

/* 7. Cintillo Superior de Bóveda Encriptada SSL en 1 sola línea limpia */
#payment-method .wc-block-components-radio-control-accordion-content::before,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content::before {
  content: "🔒 Pago Directo Encriptado (SSL 256-bits) · Tus datos viajan 100% protegidos";
  display: block !important;
  margin: 0 0 14px 0 !important;
  padding: 9px 14px !important;
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10) !important;
}

/* Cintillo específico cuando está seleccionada la opción 1 (Mercado Pago Wallet / OXXO / SPEI) */
#payment-method .wc-block-components-radio-control-accordion-option:first-child .wc-block-components-radio-control-accordion-content::before {
  content: "🛡️ Garantía Mercado Pago · Paga con saldo, tarjetas guardadas, OXXO o SPEI";
  background: linear-gradient(90deg, #0284c7 0%, #009ee3 100%) !important;
}

/* 8. Cintillo Inferior de Verificación Bancaria 3D Secure en 1 sola línea limpia */
#payment-method .wc-block-components-radio-control-accordion-content::after,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content::after {
  content: "✓ Protección bancaria 3D Secure · ✓ Visa, Mastercard y AMEX · ✓ Cargo seguro en MXN";
  display: block !important;
  margin: 14px 0 0 0 !important;
  padding: 8px 12px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  border-radius: 8px !important;
  color: #065f46 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: center !important;
}

/* 9. Eliminar bordes triples y el botón redundante "Paga de volada" dentro de la pestaña de Tarjeta para dejar solo los 4 campos limpios tipo Stripe */
#payment-method .wc-block-components-radio-control-accordion-content > div {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 18px 20px !important;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03) !important;
}

/* Eliminar el borde gris interno duplicado que inyecta el plugin de Mercado Pago */
#payment-method .mp-checkout-custom-container,
#payment-method .mp-checkout-pro-container,
#payment-method .mp-checkout-container,
#payment-method [class*="mp-checkout-custom"] {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* Ocultar el bloque redundante "Paga de volada con tus tarjetas guardadas" dentro de la opción de Tarjeta (ya existe la Opción #1 de Mercado Pago arriba) */
#payment-method .mp-wallet-button-container,
#payment-method .mp-checkout-custom-wallet-button,
#payment-method div[class*="wallet-button"] {
  display: none !important;
}

/* Etiquetas de los campos de tarjeta (Número de tarjeta, Nombre del titular, Vencimiento, Código de seguridad) */
#payment-method .wc-block-components-radio-control-accordion-content label,
#payment-method .wc-block-components-radio-control-accordion-content .mp-label,
#payment-method .wc-block-components-radio-control-accordion-content [class*="label"] {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin-bottom: 6px !important;
}

/* Cajas de texto e inputs de tarjeta con estética Stripe Elements */
#payment-method .wc-block-components-radio-control-accordion-content input[type="text"],
#payment-method .wc-block-components-radio-control-accordion-content input[type="tel"],
#payment-method .wc-block-components-radio-control-accordion-content .mp-input,
#payment-method .wc-block-components-radio-control-accordion-content .mp-input-table-item,
#payment-method .wc-block-components-radio-control-accordion-content [class*="mp-checkout-custom-card-input"],
#payment-method .wc-block-components-radio-control-accordion-content [id*="form-checkout__"] {
  background-color: #ffffff !important;
  border: 1.5px solid #94a3b8 !important;
  border-radius: 8px !important;
  min-height: 44px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

#payment-method .wc-block-components-radio-control-accordion-content input[type="text"]:focus,
#payment-method .wc-block-components-radio-control-accordion-content .mp-input:focus-within,
#payment-method .wc-block-components-radio-control-accordion-content [id*="form-checkout__"]:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18) !important;
  outline: none !important;
}


/* ==========================================================================
   4.2.0 — OPTIMIZACIÓN DE CONVERSIÓN MÓVIL (FACEBOOK ADS), NOTA DE VINCULACIÓN
   POR WHATSAPP, PRUEBA SOCIAL B2B, ENCABEZADO COMPACTO Y FIN DE SUPERPOSICIÓN
   ========================================================================== */

/* 1. Nota de tranquilidad de vinculación por WhatsApp justo antes del botón Comprar */
.gd-nfc-link-reassurance {
  margin: 10px 0 8px !important;
  padding: 11px 13px !important;
  background: #f0fdf4 !important;
  border: 1.5px solid #86efac !important;
  border-left: 4px solid #16a34a !important;
  border-radius: 9px !important;
  font-size: 12.8px !important;
  line-height: 1.42 !important;
  color: #14532d !important;
}

.gd-nfc-link-reassurance strong {
  display: block !important;
  font-size: 13.2px !important;
  font-weight: 900 !important;
  color: #065f46 !important;
  margin-bottom: 3px !important;
}

.gd-nfc-link-reassurance span {
  display: block !important;
  color: #166534 !important;
  font-weight: 500 !important;
}

/* 2. Transformar la caja bajo estrellas en un bloque corporativo de compatibilidad B2B (sin barra roja agresiva) */
.woocommerce div.product .gd-urgency-bar-wrap {
  display: none !important;
}

.woocommerce div.product .gd-single-urgency-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%) !important;
  border: 1px solid #bfdbfe !important;
  border-left: 4px solid #2563eb !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.05) !important;
  padding: 11px 14px !important;
}

.woocommerce div.product .gd-single-urgency-cat-pill {
  background: #dbeafe !important;
  color: #1e40af !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
}

.woocommerce div.product .gd-urgency-pulse {
  background: #dbeafe !important;
  color: #2563eb !important;
}

.woocommerce div.product .gd-single-urgency-copy strong {
  color: #0f172a !important;
  font-size: 13.5px !important;
}

.woocommerce div.product .gd-single-urgency-copy span {
  color: #334155 !important;
  font-size: 12.2px !important;
}

/* 3. Bloque de Prueba Social B2B (3 reseñas verificadas de negocios en la ficha de producto) */
.gd-b2b-product-reviews {
  grid-column: 1 / -1 !important;
  margin: 14px 0 8px !important;
  padding: 18px 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
}

.gd-b2b-rev-head {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.gd-b2b-rev-head h3 {
  margin: 0 0 3px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
}

.gd-b2b-rev-head p {
  margin: 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
}

.gd-b2b-rev-pill {
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #065f46 !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  padding: 6px 11px !important;
  border-radius: 999px !important;
}

.gd-b2b-rev-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.gd-b2b-rev-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 13px 14px !important;
}

.gd-b2b-rev-top strong {
  display: block !important;
  font-size: 13.5px !important;
  color: #0f172a !important;
}

.gd-b2b-rev-top span {
  display: block !important;
  font-size: 11.5px !important;
  color: #16a34a !important;
  font-weight: 700 !important;
  margin-top: 1px !important;
}

.gd-b2b-rev-stars {
  color: #f59e0b !important;
  font-size: 14px !important;
  margin: 6px 0 !important;
  letter-spacing: 1px !important;
}

.gd-b2b-rev-card p {
  margin: 0 !important;
  font-size: 12.8px !important;
  line-height: 1.45 !important;
  color: #334155 !important;
}

/* 4. Ajustes exclusivos para celular (max-width: 650px): Primera pantalla limpia y fin del choque con WhatsApp */
@media (max-width: 650px) {
  /* Compactar el encabezado amarillo en páginas de producto para que la foto, título y precio se vean al aterrizar */
  body.single-product .gd-header {
    padding: 6px 0 !important;
  }
  body.single-product .gd-headrow .gd-search,
  body.single-product .gd-nav,
  body.single-product .woocommerce-breadcrumb {
    display: none !important;
  }
  body.single-product .gd-headrow {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }
  body.single-product .gd-brand-wrap .custom-logo {
    max-height: 46px !important;
    width: auto !important;
  }
  body.single-product .gd-main {
    padding-top: 8px !important;
  }

  /* Ocultar el globo blanco "¿Necesitas ayuda? x" en móvil para que jamás tape el botón Comprar ahora ni los logos de pago */
  .gd-wa-label {
    display: none !important;
  }
  .gd-wa {
    right: 12px !important;
    bottom: 76px !important;
  }
  .gd-wa-button {
    width: 48px !important;
    height: 48px !important;
    border-width: 2px !important;
  }

  /* Orden de bloques dentro de la caja de compra y en la ficha móvil */
  .woocommerce div.product .gd-purchase-box .gd-pack-selector-label {
    order: 4 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-pack-quick-picks {
    order: 4 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-mix-match-drawer {
    order: 5 !important;
  }
  .woocommerce div.product .gd-purchase-box .gd-nfc-link-reassurance {
    order: 5 !important;
  }
  .woocommerce div.product .gd-how-it-works {
    order: 6 !important;
    width: 100% !important;
  }
  .woocommerce div.product .gd-b2b-product-reviews {
    order: 7 !important;
    width: 100% !important;
    padding: 15px !important;
  }
  .gd-b2b-rev-grid {
    grid-template-columns: 1fr !important;
  }
  .woocommerce div.product .gd-single-description {
    order: 8 !important;
  }
  .woocommerce div.product .product_meta {
    order: 9 !important;
  }
  .woocommerce div.product .upsells,
  .woocommerce div.product .related {
    order: 10 !important;
  }
}


/* ==========================================================================
   4.2.1 — TARJETAS DE OPINIONES EN FICHA DE PRODUCTO CON FOTO DE PERFIL DE
   FACEBOOK, INSIGNIA AZUL (f), GIRO COMERCIAL Y BARRA DE REACCIONES
   ========================================================================== */

.gd-b2b-product-reviews .gd-b2b-fb-card {
  padding: 15px !important;
  background: #ffffff !important;
  border: 1px solid #dbeafe !important;
  border-radius: 12px !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.gd-b2b-role-badge {
  display: inline-block !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  color: #15803d !important;
  margin-top: 1px !important;
}

.gd-b2b-product-reviews .gd-fb-avatar-img {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid #1877f2 !important;
}

.gd-b2b-product-reviews .gd-fb-rev-footer {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
}
