/* ===========================================================
   Full Informática — WooCommerce
   Se carga después de las hojas de WooCommerce y las adapta a la paleta del tema
   (oscuro por defecto, claro con el botón del encabezado).
   =========================================================== */

/* ===== Variables que usa WooCommerce (8.x / 9.x / 10.x) ===== */
:root{
  --woocommerce:var(--c1);
  --wc-primary:var(--c1);
  --wc-primary-text:var(--on-grad);
  --wc-secondary:var(--surface-2);
  --wc-secondary-text:var(--text);
  --wc-highlight:var(--c1);
  --wc-highligh-text:var(--on-grad);
  --wc-highlight-text:var(--on-grad);
  --wc-content-bg:var(--bg-alt);
  --wc-subtext:var(--text-mute);
  --wc-red:var(--danger);
  --wc-green:var(--success);
  --wc-orange:#e0a93b;
  --wc-blue:var(--c1);
  --wc-form-border-color:var(--border);
  --wc-form-border-radius:var(--radius-sm);
  --wc-form-border-width:1px;
  --wc-form-color-background:var(--bg);
  --wc-form-color-text:var(--text);
}

/* ===== Estructura de la tienda ===== */
.shop-main{padding:clamp(1.4rem,3.5vw,2.4rem) 0 clamp(4rem,8vw,6rem)}
.shop-eyebrow{margin-bottom:.4rem}
.woocommerce-products-header{margin-bottom:1.6rem;max-width:52rem}
.woocommerce-products-header .page-title{margin-bottom:.4rem}
.term-description,.page-description{color:var(--text-dim);font-size:1.02rem;max-width:62ch}
.term-description p+p,.page-description p+p{margin-top:.8em}

.shop-layout{display:grid;gap:2rem}
.shop-content{min-width:0}
@media (min-width:1024px){.shop-layout.has-sidebar{grid-template-columns:250px minmax(0,1fr);gap:2.2rem}}
.shop-side{order:-1;min-width:0}
.shop-filters summary{display:flex;align-items:center;gap:.6rem;padding:.9rem 1.1rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);font-weight:600;cursor:pointer;list-style:none}
.shop-filters summary::-webkit-details-marker{display:none}
.shop-filters summary svg{width:18px;height:18px;color:var(--c1)}
.shop-filters__body{display:grid;gap:1rem;margin-top:1rem}
@media (min-width:1024px){
  .shop-filters summary{display:none}
  .shop-filters__body{margin-top:0}
}

.woocommerce .woocommerce-breadcrumb{margin:0 0 1.4rem;padding:0;font-size:.85rem;color:var(--text-mute)}
.woocommerce .woocommerce-breadcrumb a{color:var(--text-dim)}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--c1)}
.woocommerce-breadcrumb .sep{margin:0 .5rem;opacity:.55}

.shop-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.7rem 1rem;margin-bottom:1.4rem;padding:.6rem .7rem .6rem 1.1rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border)}
.shop-toolbar .woocommerce-result-count{float:none;margin:0;color:var(--text-mute);font-size:.9rem}
.shop-toolbar .woocommerce-ordering{float:none;margin:0}

/* Selects de la tienda (ordenar, variaciones, etc.) */
.woocommerce .woocommerce-ordering select,
.woocommerce div.product form.cart .variations select,
.woocommerce select.orderby{
  -webkit-appearance:none;appearance:none;
  padding:.6rem 2.3rem .6rem .95rem;border-radius:var(--radius-sm);
  background:var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f86' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .8rem center/13px;
  border:1px solid var(--border);color:var(--text);font-size:.92rem;cursor:pointer;
}
.woocommerce .woocommerce-ordering select:focus,
.woocommerce div.product form.cart .variations select:focus{outline:none;border-color:var(--c1);box-shadow:0 0 0 3px rgba(204,204,72,.22)}

/* ===== Botones ===== */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.wc-forward{
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  padding:.75rem 1.25rem;border-radius:99px;
  font-family:inherit;font-size:.92rem;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;
  background:var(--surface-2);color:var(--text);border:1px solid var(--border);
  box-shadow:none;transition:transform .2s var(--ease),box-shadow .25s,background .25s,border-color .25s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover{background:var(--surface-2);color:var(--text);border-color:var(--border-strong);transform:translateY(-1px)}

/* Acciones principales: degradado lima */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce #respond input#submit,
.woocommerce a.button.checkout,
.woocommerce a.button.checkout-button,
.woocommerce button.single_add_to_cart_button,
.woocommerce ul.products li.product .button,
.woocommerce form.login .button,
.woocommerce form.register .button,
.woocommerce form.lost_reset_password .button,
.woocommerce form.checkout_coupon .button,
.woocommerce-MyAccount-content form .button[type="submit"],
.woocommerce #payment #place_order{
  background:var(--grad);color:var(--on-grad);border-color:transparent;
  box-shadow:0 14px 30px -16px rgba(204,204,72,.7);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.checkout:hover,
.woocommerce a.button.checkout-button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover,
.woocommerce form.login .button:hover,
.woocommerce form.register .button:hover,
.woocommerce form.lost_reset_password .button:hover,
.woocommerce form.checkout_coupon .button:hover,
.woocommerce-MyAccount-content form .button[type="submit"]:hover,
.woocommerce #payment #place_order:hover{
  background:var(--grad);color:var(--on-grad);border-color:transparent;
  box-shadow:0 18px 38px -16px rgba(204,204,72,.6);transform:translateY(-2px);
}
.woocommerce a.button.disabled,
.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled],
.woocommerce button.button.disabled,
.woocommerce button.button.alt:disabled,
.woocommerce button.button.alt.disabled,
.woocommerce input.button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none;padding:.75rem 1.25rem}
.woocommerce button.button.alt.disabled:hover,
.woocommerce button.button.alt:disabled:hover{background:var(--grad);color:var(--on-grad);transform:none}

.woocommerce a.added_to_cart{display:block;padding-top:.55rem;text-align:center;font-size:.82rem;font-weight:600;color:var(--c1)}
.woocommerce a.added_to_cart:hover{text-decoration:underline}

/* WhatsApp en producto */
.btn--wa{background:#25d366;color:#052e16;box-shadow:0 14px 30px -16px rgba(37,211,102,.75)}
.btn--wa:hover{background:#2fe076;transform:translateY(-2px)}

/* ===== Grilla de productos ===== */
.woocommerce ul.products{
  --cols:4;
  display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:1.1rem;
  margin:0 0 2rem;padding:0;list-style:none;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products.columns-1{--cols:1}
.woocommerce ul.products.columns-2{--cols:2}
.woocommerce ul.products.columns-3{--cols:3}
.woocommerce ul.products.columns-4{--cols:4}
.woocommerce ul.products.columns-5{--cols:5}
.woocommerce ul.products.columns-6{--cols:6}
@media (max-width:1100px){.woocommerce ul.products.columns-5,.woocommerce ul.products.columns-6{--cols:4}}
@media (max-width:900px){.woocommerce ul.products.columns-4,.woocommerce ul.products.columns-5,.woocommerce ul.products.columns-6{--cols:3}}
@media (max-width:640px){.woocommerce ul.products.columns-3,.woocommerce ul.products.columns-4,.woocommerce ul.products.columns-5,.woocommerce ul.products.columns-6{--cols:2;gap:.7rem}}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none !important;width:auto !important;margin:0 !important;clear:none !important;
  position:relative;display:flex;flex-direction:column;
  padding:.75rem .75rem 1rem;border-radius:var(--radius);
  background:var(--surface);border:1px solid var(--border);text-align:left;
  transition:transform .35s var(--ease),border-color .3s,background .3s;
}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);border-color:var(--border-strong);background:var(--surface-2)}
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce ul.products li.product-category>a{display:flex;flex-direction:column;flex:1;color:inherit}
.woocommerce ul.products li.product a img{
  width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block;
  margin:0 0 .9rem;padding:.6rem;border-radius:14px;background:#fff;box-shadow:none;
}
.woocommerce ul.products li.product .loop-cat{display:block;margin-bottom:.25rem;font-size:.68rem;font-weight:600;text-transform:uppercase;letter-spacing:.12em;color:var(--c1);line-height:1.3}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title,
.woocommerce ul.products li.product h3{
  padding:0;margin:0 0 .5rem;font-family:"Sora","Inter",sans-serif;font-size:.96rem;font-weight:600;line-height:1.35;letter-spacing:-.01em;color:var(--text);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title mark.count{background:none;color:var(--text-mute);font-weight:500;font-size:.85em}
.woocommerce ul.products li.product .star-rating{margin:0 0 .5rem;font-size:.78em}
.woocommerce ul.products li.product .price{
  display:block;margin:auto 0 0;padding-top:.2rem;
  font-family:"Sora","Inter",sans-serif;font-size:1.08rem;font-weight:700;color:var(--text);
}
.woocommerce ul.products li.product .price del{display:block;font-size:.78em;font-weight:500;color:var(--text-mute);opacity:1}
.woocommerce ul.products li.product .price ins{text-decoration:none;font-weight:700;color:var(--c1)}
.woocommerce ul.products li.product .button{display:flex;width:100%;margin:.85rem 0 0;padding:.7rem 1rem;font-size:.88rem}
.woocommerce ul.products li.product .onsale{top:1.2rem;left:1.2rem;right:auto;margin:0}
@media (max-width:640px){
  .woocommerce ul.products li.product{padding:.5rem .5rem .75rem}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.86rem}
  .woocommerce ul.products li.product .price{font-size:.98rem}
  .woocommerce ul.products li.product .button{font-size:.8rem;padding:.6rem .5rem}
  .woocommerce ul.products li.product .onsale{top:.8rem;left:.8rem}
}

/* Insignia de oferta */
.woocommerce span.onsale{
  position:absolute;z-index:3;top:1rem;left:1rem;margin:0;
  min-width:0;min-height:0;padding:.32rem .7rem;line-height:1.2;
  border-radius:99px;background:var(--grad);color:var(--on-grad);
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  box-shadow:0 8px 20px -10px rgba(0,0,0,.6);
}

/* Estrellas */
.woocommerce .star-rating{color:var(--c1)}
.woocommerce .star-rating::before{color:var(--border-strong);opacity:1}
.woocommerce p.stars a{color:var(--c1)}

/* Precio sin cargar */
.price-consult{font-family:"Sora","Inter",sans-serif;font-weight:600;font-size:.92em;color:var(--c1)}

/* Paginación */
.woocommerce nav.woocommerce-pagination{margin-top:2rem;text-align:left}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0;border:0;white-space:normal}
.woocommerce nav.woocommerce-pagination ul li{float:none;border:0;overflow:visible;margin:0;padding:0}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  display:grid;place-items:center;min-width:42px;height:42px;padding:0 .8rem;border-radius:12px;
  background:var(--surface);border:1px solid var(--border);color:var(--text-dim);font-size:.95rem;font-weight:600;line-height:1;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus{background:var(--surface-2);color:var(--text);border-color:var(--border-strong)}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--grad);color:var(--on-grad);border-color:transparent}

/* ===== Avisos ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments{
  display:flow-root;position:relative;
  margin:0 0 1.6rem;padding:1rem 1.2rem 1rem 3.1rem;
  background:var(--surface-2);color:var(--text);
  border:1px solid var(--border);border-left:3px solid var(--c1);border-radius:var(--radius-sm);
  font-size:.95rem;line-height:1.5;list-style:none;
}
.woocommerce-noreviews,p.no-comments{padding-left:1.2rem}
.woocommerce-message{border-left-color:var(--success)}
.woocommerce-error{border-left-color:var(--danger)}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{top:1rem;left:1.15rem}
.woocommerce-message::before{color:var(--success)}
.woocommerce-info::before{color:var(--c1)}
.woocommerce-error::before{color:var(--danger)}
.woocommerce-error li{list-style:none}
.woocommerce-error li+li{margin-top:.3rem}
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a:not(.button){color:var(--c1);text-decoration:underline;text-underline-offset:3px}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button{float:right;margin:-.3rem 0 0 1rem;padding:.55rem 1rem;font-size:.85rem}
@media (max-width:600px){
  .woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{float:none;display:flex;width:100%;margin:.7rem 0 0}
}

/* Overlay de carga de WooCommerce (viene blanco desde el JS) */
.woocommerce .blockUI.blockOverlay,
.woocommerce-page .blockUI.blockOverlay{background:var(--bg) !important;opacity:.55 !important}

/* Aviso de tienda (demo store): abajo, para no tapar el encabezado */
p.demo_store,
.woocommerce-store-notice{
  position:fixed;top:auto;bottom:0;left:0;right:0;z-index:99;
  margin:0;padding:.8rem 1rem;font-size:.9rem;font-weight:500;
  background:var(--grad);color:var(--on-grad);box-shadow:0 -10px 30px -10px rgba(0,0,0,.5);
}
.woocommerce-store-notice a,p.demo_store a{color:inherit;text-decoration:underline}

/* ===== Formularios ===== */
.woocommerce form .form-row{padding:0;margin:0 0 1rem}
.woocommerce form .form-row label{display:block;margin-bottom:.35rem;font-size:.85rem;line-height:1.4;color:var(--text-dim)}
.woocommerce form .form-row label.checkbox,
.woocommerce form .form-row .woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:.5rem;color:var(--text)}
.woocommerce form .form-row .required{color:var(--danger);text-decoration:none;border:0}
.woocommerce form .form-row .optional{color:var(--text-mute)}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce-page form .form-row .input-text,
.woocommerce-page form .form-row select{
  width:100%;padding:.8rem .95rem;line-height:1.4;font-size:.95rem;
  background:var(--bg);color:var(--text);
  border:1px solid var(--border);border-radius:var(--radius-sm);
  transition:border-color .2s,box-shadow .2s;
}
.woocommerce form .form-row textarea{min-height:110px;resize:vertical}
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus{outline:none;border-color:var(--c1);box-shadow:0 0 0 3px rgba(204,204,72,.22)}
.woocommerce form .form-row.woocommerce-invalid .input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid .select2-container .select2-selection{border-color:var(--danger)}
.woocommerce form .form-row.woocommerce-invalid label{color:var(--danger)}
.woocommerce form .form-row.woocommerce-validated .input-text,
.woocommerce form .form-row.woocommerce-validated select{border-color:color-mix(in srgb,var(--success) 60%,var(--border))}
.woocommerce form .form-row input[type="checkbox"],
.woocommerce form .form-row input[type="radio"],
.woocommerce input[type="radio"],
.woocommerce input[type="checkbox"]{accent-color:var(--c1)}
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input{color:var(--text-mute);background:none;border:0}
.woocommerce form .form-row input:-webkit-autofill,
.woocommerce form .form-row textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bg) inset;-webkit-text-fill-color:var(--text);caret-color:var(--text)}
.woocommerce fieldset{margin:1.5rem 0;padding:1.2rem 1.3rem;border:1px solid var(--border);border-radius:var(--radius-sm)}
.woocommerce fieldset legend{padding:0 .5rem;font-family:"Sora",sans-serif;font-weight:600}

.woocommerce .quantity .qty{
  width:4.4em;padding:.7rem .4rem;text-align:center;font-size:.95rem;
  background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);
}
.woocommerce .quantity .qty:focus{outline:none;border-color:var(--c1);box-shadow:0 0 0 3px rgba(204,204,72,.22)}

/* Select2 / SelectWoo (país y departamento en el checkout clásico) */
body .select2-container--default .select2-selection--single{
  height:auto;min-height:48px;padding:.45rem .35rem;display:flex;align-items:center;
  background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);
}
body .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--text);line-height:1.6;padding-left:.6rem}
body .select2-container--default .select2-selection--single .select2-selection__placeholder{color:var(--text-mute)}
body .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%;top:0;right:.5rem}
body .select2-container--default .select2-selection--single .select2-selection__arrow b{border-top-color:var(--text-mute)}
body .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-bottom-color:var(--text-mute)}
body .select2-container--focus .select2-selection--single,
body .select2-container--open .select2-selection--single{border-color:var(--c1)}
body .select2-dropdown{background:var(--bg-alt);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);overflow:hidden}
body .select2-container--default .select2-search--dropdown .select2-search__field{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:.5rem .7rem}
body .select2-container--default .select2-results__option{padding:.5rem .8rem}
body .select2-container--default .select2-results__option[aria-selected="true"],
body .select2-container--default .select2-results__option[data-selected="true"]{background:var(--surface-2);color:var(--text)}
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--c1);color:var(--on-grad)}

/* ===== Producto individual ===== */
.woocommerce div.product{position:relative}
.woocommerce div.product div.images{margin-bottom:2.5rem}
.woocommerce div.product div.summary{margin-bottom:2.5rem}
@media (min-width:769px){
  .woocommerce div.product div.images{width:52%}
  .woocommerce div.product div.summary{width:44%}
}
.woocommerce div.product div.images .flex-viewport,
.woocommerce div.product div.images>.woocommerce-product-gallery__wrapper{border-radius:var(--radius);background:#fff;border:1px solid var(--border);overflow:hidden}
.woocommerce div.product div.images img{border-radius:0}
.woocommerce div.product div.images .flex-control-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;margin-top:.7rem}
.woocommerce div.product div.images .flex-control-thumbs::before,
.woocommerce div.product div.images .flex-control-thumbs::after{display:none}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto !important;float:none !important;margin:0 !important;clear:none !important}
.woocommerce div.product div.images .flex-control-thumbs li img{border-radius:10px;background:#fff;border:2px solid transparent;opacity:.55;transition:opacity .2s,border-color .2s;aspect-ratio:1;object-fit:contain}
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{opacity:1;border-color:var(--c1)}

.woocommerce div.product .product_title{font-size:clamp(1.3rem,2.3vw,1.85rem);font-weight:700;line-height:1.22;letter-spacing:-.01em;margin:0 0 .8rem;color:var(--text);overflow-wrap:break-word}
.woocommerce div.product .woocommerce-product-rating{display:flex;align-items:center;gap:.6rem;margin-bottom:1rem}
.woocommerce div.product .woocommerce-product-rating .star-rating{margin:0;float:none}
.woocommerce div.product .woocommerce-review-link{font-size:.85rem;color:var(--text-mute)}
.woocommerce div.product p.price,
.woocommerce div.product span.price{font-family:"Sora","Inter",sans-serif;font-size:1.65rem;font-weight:700;color:var(--text);margin:.2rem 0 1.2rem}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{font-size:.62em;font-weight:500;color:var(--text-mute);opacity:1;margin-right:.4rem}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins{text-decoration:none;color:var(--c1);font-weight:700}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--text-dim);margin-bottom:1.4rem}
.woocommerce div.product .woocommerce-product-details__short-description>*+*{margin-top:.8em}
.woocommerce div.product .woocommerce-product-details__short-description ul{list-style:disc;padding-left:1.3em}
.woocommerce div.product .stock{font-weight:600;font-size:.9rem;color:var(--success);margin-bottom:1rem}
.woocommerce div.product .stock.out-of-stock{color:var(--danger)}
.woocommerce div.product .stock.available-on-backorder{color:#e0a93b}

.woocommerce div.product form.cart{margin-bottom:1.2rem}
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:.7rem}
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form)::before,
.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form)::after,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::before,
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::after{display:none}
.woocommerce div.product form.cart div.quantity{float:none;margin:0;display:flex}
.woocommerce div.product form.cart .button{float:none;margin:0}
.woocommerce div.product form.cart .single_add_to_cart_button{flex:1 1 220px;max-width:340px;padding:.95rem 1.8rem;font-size:1rem}
.woocommerce div.product form.cart .variations{margin-bottom:1rem;border:0;width:100%}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td{padding:0 0 .8rem;border:0;line-height:1.4;vertical-align:middle;background:none}
.woocommerce div.product form.cart .variations th.label{padding-right:1rem;width:1%;white-space:nowrap}
.woocommerce div.product form.cart .variations label{font-weight:600;font-size:.9rem;color:var(--text)}
.woocommerce div.product form.cart .variations select{min-width:0;width:100%;max-width:360px;margin-right:0}
.woocommerce div.product form.cart .reset_variations{display:inline-block;margin-top:.4rem;font-size:.82rem;color:var(--text-mute)}
.woocommerce div.product form.cart .reset_variations:hover{color:var(--c1)}
.woocommerce div.product .woocommerce-variation-price{margin-bottom:.8rem}
.woocommerce div.product .woocommerce-variation-description{color:var(--text-dim);margin-bottom:.8rem}
.woocommerce div.product form.cart table.group_table{margin-bottom:1rem;border-collapse:collapse;width:100%}
.woocommerce div.product form.cart table.group_table td{padding:.6rem .4rem;border-bottom:1px solid var(--border);vertical-align:middle}
.woocommerce div.product form.cart table.group_table td label a{color:var(--text);font-weight:600}

.product-wa{display:grid;gap:1rem;margin:0 0 1.6rem}
.product-wa .btn--wa{justify-self:start;padding:.9rem 1.5rem}
.product-perks{display:flex;flex-wrap:wrap;gap:.5rem 1.3rem;font-size:.85rem;color:var(--text-dim)}
.product-perks li{display:flex;align-items:center;gap:.45rem}
.product-perks svg{width:17px;height:17px;color:var(--c1)}
@media (max-width:600px){.product-wa .btn--wa{justify-self:stretch}}

.woocommerce div.product .product_meta{display:grid;gap:.3rem;padding-top:1.1rem;border-top:1px solid var(--border);font-size:.85rem;color:var(--text-mute)}
.woocommerce div.product .product_meta>span{display:block}
.woocommerce div.product .product_meta a{color:var(--text-dim)}
.woocommerce div.product .product_meta a:hover{color:var(--c1)}

/* Pestañas */
.woocommerce div.product .woocommerce-tabs{clear:both;padding-top:.5rem}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1.2rem;padding:0;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:1px solid var(--border);border-radius:99px;background:var(--surface);color:var(--text-dim)}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:.6rem 1.15rem;font-weight:600;font-size:.92rem;color:var(--text-dim)}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{color:var(--text)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--grad);border-color:transparent;color:var(--on-grad)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--on-grad)}
.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 3rem;padding:clamp(1.2rem,3vw,1.8rem);border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);color:var(--text-dim)}
.woocommerce div.product .woocommerce-tabs .panel>h2:first-child{font-size:1.25rem;color:var(--text);margin-bottom:1rem}
.woocommerce-Tabs-panel>*+*{margin-top:1em}
.woocommerce-Tabs-panel h2,.woocommerce-Tabs-panel h3,.woocommerce-Tabs-panel h4{color:var(--text)}
.woocommerce-Tabs-panel ul{list-style:disc;padding-left:1.3em}
.woocommerce-Tabs-panel ol{list-style:decimal;padding-left:1.3em}
.woocommerce-Tabs-panel li+li{margin-top:.3em}
.woocommerce-Tabs-panel a{color:var(--c1)}
.woocommerce-Tabs-panel img{border-radius:var(--radius-sm)}

.woocommerce table.shop_attributes{border:0;border-top:1px solid var(--border);margin:0;width:100%}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td{padding:.7rem .9rem;border-bottom:1px solid var(--border);border-top:0;font-style:normal}
.woocommerce table.shop_attributes th{width:200px;color:var(--text);font-weight:600}
.woocommerce table.shop_attributes td{color:var(--text-dim)}
.woocommerce table.shop_attributes td p{padding:0;margin:0}
.woocommerce table.shop_attributes tr:nth-child(even) th,
.woocommerce table.shop_attributes tr:nth-child(even) td{background:var(--surface)}

/* Reseñas */
.woocommerce #reviews h2,.woocommerce #reviews #comments h2{font-size:1.2rem;color:var(--text);margin-bottom:1rem}
.woocommerce #reviews #comments ol.commentlist{padding:0;margin:0 0 1.5rem}
.woocommerce #reviews #comments ol.commentlist li{margin:0 0 1rem}
.woocommerce #reviews #comments ol.commentlist li img.avatar{width:42px;padding:0;background:var(--surface-2);border:1px solid var(--border);border-radius:50%}
.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0 0 0 56px;padding:1rem 1.1rem .5rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg)}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta{font-size:.85rem;color:var(--text-mute)}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta strong{color:var(--text)}
.woocommerce #review_form #respond{padding:0}
.woocommerce #review_form #respond p{margin:0 0 1rem}
.woocommerce #review_form #respond .comment-reply-title{display:block;font-family:"Sora",sans-serif;font-size:1.1rem;font-weight:600;color:var(--text);margin-bottom:.8rem}
.woocommerce #review_form #respond label{display:block;font-size:.85rem;color:var(--text-dim);margin-bottom:.35rem}

/* Relacionados / ventas cruzadas */
.woocommerce .related>h2,
.woocommerce .upsells>h2,
.woocommerce .cross-sells>h2{font-size:clamp(1.3rem,2.6vw,1.6rem);font-weight:700;margin-bottom:1.2rem;color:var(--text)}
.woocommerce section.related,.woocommerce section.upsells{clear:both;padding-top:.5rem}

/* ===== Tablas ===== */
.woocommerce table.shop_table{
  border:1px solid var(--border);border-radius:var(--radius);border-collapse:separate;border-spacing:0;
  background:var(--surface);margin:0 0 1.6rem;overflow:hidden;
}
.woocommerce table.shop_table th{padding:.9rem 1rem;font-weight:600;color:var(--text);font-size:.88rem}
.woocommerce table.shop_table thead th{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--text-mute);background:var(--surface)}
.woocommerce table.shop_table td{padding:.9rem 1rem;border-top:1px solid var(--border);color:var(--text-dim)}
.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th{border-top:1px solid var(--border)}
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th{color:var(--text)}
.woocommerce table.shop_table td a:not(.button){color:var(--text);font-weight:600}
.woocommerce table.shop_table td a:not(.button):hover{color:var(--c1)}
.woocommerce table.shop_table .order-total .amount,
.woocommerce table.shop_table tr.order-total td strong{font-family:"Sora",sans-serif;font-size:1.15rem;color:var(--c1)}
.woocommerce table.shop_table_responsive tr:nth-child(2n) td{background:transparent}
.woocommerce a.remove{color:var(--text-mute) !important;font-weight:400;font-size:1.4em}
.woocommerce a.remove:hover{background:var(--danger);color:#fff !important}

/* ===== Carrito (clásico) ===== */
.woocommerce table.cart img,
.woocommerce-page table.cart img{width:72px;padding:4px;border-radius:10px;background:#fff}
.woocommerce table.cart td.actions{padding:1rem}
.woocommerce table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:.5rem}
.woocommerce table.cart td.actions .coupon .input-text{
  float:none;width:auto;min-width:190px;margin:0;padding:.72rem 1rem;
  background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:99px;
}
.woocommerce table.cart td.actions .coupon .input-text:focus{outline:none;border-color:var(--c1)}
.woocommerce table.cart td.actions>.button{float:right}
@media (max-width:768px){
  .woocommerce table.cart td.actions .coupon .input-text{flex:1;min-width:0}
  .woocommerce table.cart td.actions>.button{float:none;width:100%;margin-top:.6rem}
}
.woocommerce .cart-collaterals{margin-top:1rem}
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals{padding:1.4rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border)}
.woocommerce .cart-collaterals .cart_totals h2{font-size:1.25rem;margin-bottom:1rem}
.woocommerce .cart-collaterals .cart_totals table.shop_table{border:0;background:none;border-radius:0;margin-bottom:0}
.woocommerce .cart-collaterals .cart_totals table.shop_table th{padding-left:0}
.woocommerce .cart-collaterals .cart_totals table.shop_table td{padding-right:0}
.woocommerce .cart-collaterals .cart_totals tr:first-child th,
.woocommerce .cart-collaterals .cart_totals tr:first-child td{border-top:0}
.woocommerce .wc-proceed-to-checkout{padding:1rem 0 0}
.woocommerce .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;margin:0;padding:1rem 1.4rem;font-size:1.05rem}
.woocommerce ul#shipping_method{margin:0;padding:0}
.woocommerce ul#shipping_method li{display:flex;align-items:center;gap:.45rem;margin:0 0 .45rem}
.woocommerce ul#shipping_method li input{margin:0}
.woocommerce .woocommerce-shipping-destination{font-size:.85rem;color:var(--text-mute);margin:.5rem 0}
.woocommerce .shipping-calculator-button{color:var(--c1);font-size:.88rem}
.woocommerce .cart-empty{font-size:1.05rem}
.woocommerce .return-to-shop .button{background:var(--grad);color:var(--on-grad);border-color:transparent}

/* ===== Checkout (clásico) ===== */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading{font-size:1.2rem;font-weight:700;margin:0 0 1rem;color:var(--text)}
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields{padding:clamp(1.1rem,3vw,1.6rem);border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);margin-bottom:1rem}
.woocommerce-checkout .woocommerce-shipping-fields:not(:has(*)),
.woocommerce-checkout .woocommerce-additional-fields:not(:has(*)){display:none}
.woocommerce-checkout #ship-to-different-address{font-size:1rem;margin:0}
.woocommerce-checkout #ship-to-different-address label{display:inline-flex;align-items:center;gap:.55rem;font-weight:600;cursor:pointer}
.woocommerce-checkout .shipping_address{margin-top:1rem}
.woocommerce-checkout #order_review{padding:clamp(1.1rem,3vw,1.6rem);border-radius:var(--radius);background:var(--surface);border:1px solid var(--border)}
.woocommerce-checkout #order_review table.shop_table{background:none;border:0;border-radius:0}
.woocommerce-checkout #order_review table.shop_table th:first-child,
.woocommerce-checkout #order_review table.shop_table td:first-child{padding-left:0}
.woocommerce-checkout #order_review table.shop_table th:last-child,
.woocommerce-checkout #order_review table.shop_table td:last-child{padding-right:0;text-align:right}
.woocommerce-checkout #order_review .product-quantity{color:var(--text-mute);font-weight:500}
@media (min-width:1024px){
  .woocommerce-checkout form.checkout{display:flow-root}
  .woocommerce-checkout form.checkout #customer_details{float:left;width:56%}
  .woocommerce-checkout form.checkout #order_review_heading,
  .woocommerce-checkout form.checkout #order_review{float:right;width:40%;clear:right}
  .woocommerce-checkout #customer_details .col-1,
  .woocommerce-checkout #customer_details .col-2{float:none;width:100%}
}

.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0 0 1rem;margin:0;border-bottom:1px solid var(--border)}
.woocommerce-checkout #payment ul.payment_methods li{padding:.75rem .9rem;margin:0 0 .5rem;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--bg);line-height:1.5}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:600;color:var(--text);cursor:pointer}
.woocommerce-checkout #payment ul.payment_methods li img{display:inline-block;max-height:24px;vertical-align:middle;margin-left:.4rem}
.woocommerce-checkout #payment ul.payment_methods li input{margin:0 .5rem 0 0}
.woocommerce-checkout #payment div.payment_box{margin:.7rem 0 .2rem;padding:.9rem 1rem;border-radius:10px;background:var(--surface-2);color:var(--text-dim);font-size:.9rem}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:1rem 0 0}
.woocommerce-checkout #payment #place_order{float:none;display:flex;width:100%;padding:1rem 1.4rem;font-size:1.05rem}
.woocommerce-terms-and-conditions-wrapper{font-size:.85rem;color:var(--text-mute);margin-bottom:1rem}
.woocommerce-terms-and-conditions-wrapper a{color:var(--c1)}
.woocommerce-terms-and-conditions{background:var(--bg) !important;border:1px solid var(--border);border-radius:var(--radius-sm);padding:1rem !important}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password{
  margin:0 0 1.6rem;padding:clamp(1.1rem,3vw,1.6rem);text-align:left;
  border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);
}
.woocommerce form.checkout_coupon .form-row{margin-bottom:.6rem}

/* ===== Pedido recibido / detalle de pedido ===== */
.woocommerce-order .woocommerce-thankyou-order-received,
.woocommerce-notice--success{font-family:"Sora",sans-serif;font-size:1.25rem;font-weight:600;color:var(--success);margin-bottom:1.4rem}
.woocommerce ul.order_details{display:flex;flex-wrap:wrap;gap:.7rem;margin:0 0 2rem;padding:0}
.woocommerce ul.order_details::before,.woocommerce ul.order_details::after{display:none}
.woocommerce ul.order_details li,
.woocommerce ul.order_details li:last-of-type{
  flex:1 1 170px;float:none;margin:0;padding:1rem 1.15rem;
  border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);
  font-size:.72rem;line-height:1.4;letter-spacing:.08em;text-transform:uppercase;color:var(--text-mute);
}
.woocommerce ul.order_details li strong{display:block;margin-top:.35rem;font-family:"Sora",sans-serif;font-size:1rem;letter-spacing:0;text-transform:none;color:var(--text)}
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-column__title,
.woocommerce .woocommerce-bacs-bank-details h2,
.woocommerce .wc-bacs-bank-details-heading{font-size:1.25rem;margin:0 0 1rem}
.woocommerce .woocommerce-customer-details address{
  padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius-sm);
  background:var(--surface);font-style:normal;line-height:1.7;color:var(--text-dim);
}
.woocommerce .woocommerce-customer-details .woocommerce-column{margin-bottom:1.2rem}
.woocommerce-order-downloads,.woocommerce-order-details,.woocommerce-customer-details{margin-bottom:2rem}

/* ===== Mi cuenta ===== */
.woocommerce-account .woocommerce-MyAccount-navigation ul{
  display:grid;gap:.2rem;margin:0 0 1.5rem;padding:.5rem;
  border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);list-style:none;
}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:.7rem 1rem;border-radius:12px;color:var(--text-dim);font-weight:500;white-space:nowrap;transition:background .2s,color .2s}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:var(--surface-2);color:var(--text)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--grad);color:var(--on-grad);font-weight:600}
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--danger)}
.woocommerce-account .woocommerce-MyAccount-content{
  min-width:0;padding:clamp(1.1rem,3vw,1.8rem);
  border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);color:var(--text-dim);
}
.woocommerce-account .woocommerce-MyAccount-content>p+p{margin-top:.9em}
.woocommerce-account .woocommerce-MyAccount-content strong{color:var(--text)}
.woocommerce-account .woocommerce-MyAccount-content a:not(.button){color:var(--c1)}
.woocommerce-account .woocommerce-MyAccount-content mark{background:none;color:var(--c1);font-weight:600}
@media (max-width:899px){
  .woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;scrollbar-width:thin}
}
@media (min-width:900px){
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:240px minmax(0,1fr);gap:2rem;align-items:start}
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::before,
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)::after{display:none}
  .woocommerce-account .woocommerce:has(>.woocommerce-MyAccount-navigation)>:not(.woocommerce-MyAccount-navigation):not(.woocommerce-MyAccount-content){grid-column:1/-1}
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
  .woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0}
}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.7rem}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title h3{font-size:1.1rem;color:var(--text)}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address-title .edit{font-size:.85rem;color:var(--c1)}
.woocommerce-account .woocommerce-Addresses address{padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);font-style:normal;line-height:1.7}
.woocommerce-account .woocommerce-orders-table .button,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-button{padding:.45rem .9rem;font-size:.82rem;margin:.15rem}
#customer_login h2,
.woocommerce-account .woocommerce>h2{font-size:1.35rem;margin-bottom:1rem}
.woocommerce .col2-set#customer_login .col-1,
.woocommerce .col2-set#customer_login .col-2{margin-bottom:1rem}
.woocommerce form.login .woocommerce-form-login__rememberme{margin:0 1rem .8rem 0}
.woocommerce form .lost_password a,
.woocommerce .woocommerce-LostPassword a{color:var(--c1);font-size:.9rem}
.woocommerce-privacy-policy-text{font-size:.85rem;color:var(--text-mute)}
.woocommerce-password-strength{border-radius:8px;margin-top:.4rem}

/* ===== Widgets de la tienda ===== */
.shop-side .widget ul li{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.shop-side .widget ul li ul{flex-basis:100%}
.shop-side .widget ul.children,.shop-side .widget ul ul{display:grid;gap:.4rem}
.shop-side .widget .cat-item,.shop-side .widget .wc-layered-nav-term{flex-wrap:wrap}
.shop-side .widget .count{font-size:.8rem;color:var(--text-mute)}
.shop-side .widget .chosen a,.shop-side .widget .current-cat>a{color:var(--c1);font-weight:600}
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content{background:var(--surface-2)}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range{background:var(--c1)}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle{background:var(--c2);border:2px solid var(--bg-alt);box-shadow:0 0 0 1px var(--c1)}
.woocommerce .widget_price_filter .price_slider_amount{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem;font-size:.88rem;text-align:left}
.woocommerce .widget_price_filter .price_slider_amount .button{float:none;padding:.5rem 1rem;font-size:.85rem}
.woocommerce .widget_price_filter .price_slider_amount .price_label{order:-1;flex-basis:100%;color:var(--text-dim)}
.woocommerce ul.product_list_widget li{display:flow-root;padding:.5rem 0;border-bottom:1px solid var(--border)}
.woocommerce ul.product_list_widget li:last-child{border-bottom:0}
.woocommerce ul.product_list_widget li img{float:left;width:48px;margin:0 .8rem 0 0;border-radius:8px;background:#fff;padding:2px}
.woocommerce ul.product_list_widget li a{color:var(--text);font-weight:500}
.woocommerce ul.product_list_widget li .amount{color:var(--c1);font-weight:600}
.widget .woocommerce-product-search .search-field{padding:.65rem .9rem;font-size:.9rem}
.widget .woocommerce-product-search button{padding:.65rem 1rem;font-size:.85rem}

/* ===== Carrito lateral (mini-carrito) ===== */
.drawer-backdrop{
  position:fixed;inset:0;z-index:94;background:rgba(5,6,8,.55);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
  opacity:0;visibility:hidden;transition:opacity .3s,visibility 0s linear .3s;
}
.drawer-backdrop.is-open{opacity:1;visibility:visible;transition:opacity .3s}
.cart-drawer{
  position:fixed;top:0;right:0;bottom:0;z-index:95;
  width:min(420px,100vw);display:flex;flex-direction:column;
  background:var(--bg-alt);border-left:1px solid var(--border);
  box-shadow:-30px 0 60px -30px rgba(0,0,0,.6);
  transform:translateX(100%);visibility:hidden;
  transition:transform .35s var(--ease),visibility 0s linear .35s;
}
.cart-drawer.is-open{transform:none;visibility:visible;transition:transform .35s var(--ease)}
.admin-bar .cart-drawer{top:var(--wp-admin--admin-bar--height,32px)}
@media (max-width:600px){.admin-bar .cart-drawer{top:0}}
.cart-drawer__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;border-bottom:1px solid var(--border)}
.cart-drawer__head h2{display:flex;align-items:center;gap:.6rem;font-size:1.15rem}
.cart-drawer__head h2 svg{width:20px;height:20px;color:var(--c1)}
.cart-drawer__body{flex:1;display:flex;flex-direction:column;overflow-y:auto;padding:1.1rem 1.25rem 1.25rem;overscroll-behavior:contain}
.cart-drawer .widget_shopping_cart_content{flex:1;display:flex;flex-direction:column}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart{display:grid;gap:.7rem;margin:0 0 1rem;padding:0;list-style:none}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item{
  position:relative;margin:0;min-height:90px;
  padding:.75rem 2.6rem .75rem calc(64px + 1.5rem);
  border-radius:var(--radius-sm);background:var(--surface);border:1px solid var(--border);
  font-size:.9rem;line-height:1.4;list-style:none;
}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item img{
  position:absolute;left:.75rem;top:.75rem;float:none;
  width:64px;height:64px;margin:0;padding:3px;object-fit:contain;border-radius:10px;background:#fff;box-shadow:none;
}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove){display:block;font-weight:600;color:var(--text)}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item>a:not(.remove):hover{color:var(--c1)}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity{display:block;margin-top:.3rem;font-size:.85rem;color:var(--text-mute)}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item .quantity .amount{color:var(--text);font-weight:600}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove{
  position:absolute;top:.6rem;right:.6rem;left:auto;
  width:26px;height:26px;display:grid;place-items:center;
  font-size:1.15rem;line-height:1;border-radius:50%;background:var(--surface-2);color:var(--text-mute) !important;
}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item a.remove:hover{background:var(--danger);color:#fff !important}
.cart-drawer .widget_shopping_cart_content .woocommerce-mini-cart .woocommerce-mini-cart-item dl.variation{margin:.25rem 0 0;font-size:.8rem;color:var(--text-mute);border:0;padding:0}
.cart-drawer .widget_shopping_cart_content dl.variation dt,
.cart-drawer .widget_shopping_cart_content dl.variation dd{display:inline;margin:0;padding:0;float:none}
.cart-drawer .widget_shopping_cart_content dl.variation dd p{display:inline;margin:0}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__total{
  display:flex;align-items:center;justify-content:space-between;
  margin:auto 0 0;padding:1rem 0;border-top:1px solid var(--border);font-size:1rem;color:var(--text-dim);
}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__total .amount{font-family:"Sora",sans-serif;font-size:1.25rem;font-weight:700;color:var(--c1)}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__buttons{display:grid;gap:.6rem;margin:0}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__buttons::before,
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__buttons::after{display:none}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__buttons .button{display:flex;width:100%;margin:0;padding:.9rem 1.2rem}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__empty-message{margin:auto 0;padding:2rem 0;text-align:center;color:var(--text-mute)}
.cart-drawer .widget_shopping_cart_content p.woocommerce-mini-cart__empty-message::before{
  content:"";display:block;width:56px;height:56px;margin:0 auto 1rem;background:var(--c1);opacity:.6;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h8.8a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2 3h3l2.6 12.2a1.5 1.5 0 0 0 1.5 1.2h8.8a1.5 1.5 0 0 0 1.5-1.1L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cart-drawer .blockUI.blockOverlay{background:var(--bg-alt) !important}
body.fi-drawer-open{overflow:hidden}

/* ===== Bloques de WooCommerce (Carrito y Finalizar compra en bloques, grillas de productos) ===== */
body.fi-theme .wp-block-woocommerce-cart,
body.fi-theme .wp-block-woocommerce-checkout{color:var(--text)}
body.fi-theme .wc-block-cart .wc-block-cart__totals-title,
body.fi-theme .wc-block-cart .wc-block-cart-items th{color:var(--text-mute)}
body.fi-theme .wc-block-cart__sidebar,
body.fi-theme .wc-block-checkout__sidebar .wc-block-components-order-summary,
body.fi-theme .wc-block-checkout__sidebar>.wp-block-woocommerce-checkout-order-summary-block{
  padding:.4rem 1.2rem;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);
}
body.fi-theme :is(.wc-block-cart-items,.wc-block-cart-items td,.wc-block-cart-items th,.wc-block-components-totals-wrapper,.wc-block-components-panel,.wc-block-components-order-summary,.wc-block-components-checkout-step,.wc-block-components-address-card,.wc-block-components-totals-item,.wc-block-cart .wc-block-cart-items .wc-block-cart-items__row){border-color:var(--border)}
body.fi-theme .wc-block-components-totals-wrapper::after,
body.fi-theme .wc-block-components-totals-wrapper::before{border-color:var(--border)}

body.fi-theme .wc-block-components-product-name{color:var(--text);font-weight:600;text-decoration:none}
body.fi-theme .wc-block-components-product-name:hover{color:var(--c1)}
body.fi-theme .wc-block-components-product-metadata,
body.fi-theme .wc-block-components-product-details{color:var(--text-mute)}
body.fi-theme .wc-block-components-product-price__value.is-discounted{color:var(--c1)}
body.fi-theme .wc-block-components-product-price__regular{color:var(--text-mute)}
body.fi-theme .wc-block-components-sale-badge,
body.fi-theme .wc-block-components-product-sale-badge,
body.fi-theme .wc-block-grid__product-onsale{background:var(--grad) !important;color:var(--on-grad) !important;border:0 !important;border-radius:99px}
body.fi-theme :is(.wc-block-cart-item__image,.wc-block-components-order-summary-item__image,.wc-block-components-product-image,.wc-block-grid__product-image) img{background:#fff;border-radius:10px}
body.fi-theme .wc-block-cart-item__remove-link{color:var(--text-mute) !important}
body.fi-theme .wc-block-cart-item__remove-link:hover{color:var(--danger) !important}
body.fi-theme .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.fi-theme .wc-block-components-totals-footer-item .wc-block-formatted-money-amount{font-family:"Sora",sans-serif;font-size:1.25rem;color:var(--c1)}
body.fi-theme .wc-block-components-totals-coupon-link,
body.fi-theme .wc-block-components-button.is-link,
body.fi-theme .wc-block-components-checkout-return-to-cart-button,
body.fi-theme .wc-block-checkout__terms a,
body.fi-theme .wc-block-components-address-card__edit{color:var(--c1)}
body.fi-theme .wc-block-components-checkout-step__title{font-family:"Sora",sans-serif;font-weight:700;color:var(--text)}
body.fi-theme .wc-block-components-checkout-step__description{color:var(--text-mute)}
body.fi-theme .wc-block-components-panel__button{color:var(--text)}

/* Botones de bloques */
body.fi-theme .wc-block-components-button:not(.is-link):not(.outlined),
body.fi-theme .wc-block-cart__submit-button,
body.fi-theme .wc-block-components-checkout-place-order-button{
  background:var(--grad) !important;color:var(--on-grad) !important;border:0 !important;border-radius:99px !important;
  font-weight:700;box-shadow:0 14px 30px -16px rgba(204,204,72,.7);text-decoration:none;
}
body.fi-theme .wc-block-components-button:not(.is-link):not(.outlined):hover{transform:translateY(-1px)}
body.fi-theme .wc-block-components-button.outlined{background:transparent !important;color:var(--text) !important;border:1px solid var(--border-strong) !important;border-radius:99px !important}
body.fi-theme .wc-block-components-button:disabled{opacity:.5}

/* Campos de bloques: fondo oscuro en vez del blanco por defecto */
body.fi-theme :is(.wc-block-components-text-input input,.wc-block-components-form .wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,.wc-block-components-totals-coupon__input input){
  background-color:var(--bg) !important;color:var(--text) !important;border-color:var(--border-strong);border-radius:var(--radius-sm);
}
body.fi-theme :is(.wc-block-components-text-input input,.wc-block-components-textarea,.wc-blocks-components-select__select,.wc-block-components-combobox-control input.components-combobox-control__input):focus{
  border-color:var(--c1) !important;box-shadow:0 0 0 2px rgba(204,204,72,.3) !important;outline:none;
}
body.fi-theme .wc-block-components-text-input.has-error input,
body.fi-theme .wc-block-components-combobox.has-error input,
body.fi-theme .wc-blocks-components-select.has-error .wc-blocks-components-select__select{border-color:var(--danger) !important}
body.fi-theme .wc-block-components-text-input input:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px var(--bg) inset !important;-webkit-text-fill-color:var(--text) !important}
body.fi-theme :is(.wc-block-components-text-input label,.wc-block-components-form .wc-block-components-text-input label,.wc-blocks-components-select__label,.wc-block-components-combobox .wc-block-components-combobox-control label){color:var(--text-mute) !important}
body.fi-theme .wc-blocks-components-select .wc-blocks-components-select__container{background:var(--bg) !important;border-radius:var(--radius-sm)}
body.fi-theme .wc-blocks-components-select .wc-blocks-components-select__expand{fill:var(--text-mute)}
body.fi-theme .wc-block-components-combobox .wc-block-components-combobox-control .components-form-token-field__suggestions-list{background:var(--bg-alt) !important;border-color:var(--border) !important;color:var(--text) !important}
body.fi-theme .components-form-token-field__suggestion{color:var(--text) !important}
body.fi-theme .components-form-token-field__suggestion.is-selected{background:var(--surface-2) !important}
body.fi-theme .wc-block-components-validation-error{color:var(--danger)}

body.fi-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]{background:var(--bg) !important;border-color:var(--border-strong) !important}
body.fi-theme .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked{background:var(--c1) !important;border-color:var(--c1) !important}
body.fi-theme .wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--on-grad) !important}
body.fi-theme .wc-block-components-radio-control .wc-block-components-radio-control__input{background:var(--bg) !important;border-color:var(--border-strong) !important}
body.fi-theme .wc-block-components-radio-control .wc-block-components-radio-control__input:checked{border-color:var(--c1) !important}
body.fi-theme .wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before{background:var(--c1) !important}
body.fi-theme .wc-block-components-radio-control--highlight-checked::after{border-color:var(--border) !important}
body.fi-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option-checked,
body.fi-theme .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
body.fi-theme .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 1.5px var(--c1) !important}
body.fi-theme .wc-block-components-radio-control-accordion-content{color:var(--text-dim)}

body.fi-theme .wc-block-components-quantity-selector{background:var(--bg);border-radius:12px}
body.fi-theme .wc-block-components-quantity-selector::after{border-color:var(--border) !important;opacity:1 !important;border-radius:12px}
body.fi-theme .wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input,
body.fi-theme .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{color:var(--text);background:transparent}

body.fi-theme .wc-block-components-order-summary .wc-block-components-order-summary-item__quantity{background:var(--bg-alt) !important;color:var(--text) !important;border-color:var(--border-strong) !important;box-shadow:0 0 0 2px var(--bg-alt) !important}
body.fi-theme .wc-block-components-address-card{background:var(--surface)}
body.fi-theme .wc-block-cart__submit-container--sticky{background:var(--bg) !important}
body.fi-theme .wc-block-components-express-payment-continue-rule{color:var(--text-mute)}

body.fi-theme .wc-block-components-notice-banner{background:var(--surface-2) !important;color:var(--text) !important;border-color:var(--border) !important;border-radius:var(--radius-sm)}
body.fi-theme .wc-block-components-notice-banner.is-error{border-color:var(--danger) !important}
body.fi-theme .wc-block-components-notice-banner.is-success{border-color:var(--success) !important}
body.fi-theme .wc-block-components-notice-banner.is-info{border-color:var(--c1) !important}
body.fi-theme .wc-block-components-notice-banner.is-warning{border-color:#e0a93b !important}
body.fi-theme .wc-block-components-notice-banner .wc-block-components-notice-banner__content a{color:var(--c1)}
body.fi-theme .wc-block-components-notice-snackbar{background:var(--bg-alt) !important;color:var(--text) !important}

body.fi-theme .wc-block-mini-cart__drawer .components-modal__frame,
body.fi-theme .wc-block-components-drawer{background:var(--bg-alt) !important;color:var(--text)}
body.fi-theme .wp-block-search__input{background:var(--bg);color:var(--text);border:1px solid var(--border);border-radius:99px;padding:.65rem 1rem}
body.fi-theme .wp-block-search__button{background:var(--grad);color:var(--on-grad);border:0;border-radius:99px;font-weight:600}
