/* ============================================================================
 *  KSC · WooCommerce override — TIENDA / CATEGORÍA / PRODUCTO (single)
 * ============================================================================
 *  Estado: PREPARADO para Fase B. Reestiliza las plantillas de WooCommerce
 *  (no se "maquetan" con HTML; el tema las genera) para alinearlas al sistema
 *  de diseño ksc- del home.
 *
 *  Dónde se carga:
 *    - En el style.css del child theme (hello-theme-child-master), o
 *    - Como CSS en WPCode (caja global de cabecera), o
 *    - Apariencia → Personalizar → CSS adicional.
 *
 *  Cubre: página Tienda (body.woocommerce-shop) y archivos de categoría
 *  (body.tax-product_cat). Ambas usan el mismo markup `ul.products > li.product`.
 *  La ficha de producto (single) va aparte (siguiente sección).
 *
 *  Notas:
 *   - Tokens incluidos abajo (self-contained). Si ya están globales, puedes borrarlos.
 *   - Validado contra el markup real de Woo del sitio. Lleva !important en los
 *     puntos clave para ganarle a estilos de tema; en Hello Elementor limpio
 *     sobra, pero no estorba.
 *   - El "Sorteo Kit Solar" NO debe aparecer en el catálogo (se vende solo desde la
 *     sección de sorteo). Solución sin código: Productos → editar → Publicar →
 *     Visibilidad del catálogo → "Oculto". Queda fuera de Tienda/Categoría/búsqueda
 *     pero comprable por su URL directa (los botones del sorteo siguen funcionando).
 *   - Las imágenes usan object-fit:cover (recorte cuadrado uniforme). Si prefieres
 *     mostrarlas completas, cambia a object-fit:contain.
 * ========================================================================== */

:root{
  --ksc-gold:#D4A93F; --ksc-ink:#11161C; --ksc-bg:#F7F2E8; --ksc-surface:#fff;
  --ksc-border:#E8E4DD; --ksc-text:#1C2128; --ksc-muted:#6E737B;
}

/* ---- Fondo + tipografía de la página ---- */
body.woocommerce-shop, body.tax-product_cat{
  background:var(--ksc-bg)!important; color:var(--ksc-text); font-family:'Manrope',sans-serif;
}
/* Asegura que los wrappers no pinten un fondo que tape el crema */
body.woocommerce-shop #primary, body.woocommerce-shop #main,
body.woocommerce-shop .content-area, body.woocommerce-shop .site-main,
body.tax-product_cat #primary, body.tax-product_cat #main{ background:transparent!important; }

/* ---- Encabezado ---- */
.woocommerce-products-header{ text-align:center; padding:46px 0 6px; }
.woocommerce-products-header__title.page-title{
  font-family:'Montserrat',sans-serif!important; font-weight:800!important;
  font-size:clamp(1.8rem,4vw,2.6rem)!important; color:var(--ksc-text)!important; margin:0;
}

/* ---- Barra: contador + orden ---- */
.woocommerce .woocommerce-result-count{ color:var(--ksc-muted)!important; font-size:.86rem; }
.woocommerce .woocommerce-ordering select.orderby{
  font-family:'Manrope',sans-serif; font-size:.86rem; color:var(--ksc-text);
  background:var(--ksc-surface); border:1px solid var(--ksc-border);
  border-radius:10px; padding:10px 14px;
}

/* ---- Grilla ---- */
.woocommerce ul.products{
  display:grid!important; grid-template-columns:repeat(4,1fr); gap:18px;
  list-style:none; margin:0!important; padding:0;
}
.woocommerce ul.products::before, .woocommerce ul.products::after{ display:none!important; }

/* ---- Card (li.product) ---- */
.woocommerce ul.products li.product{
  position:relative; float:none!important; width:auto!important; margin:0!important; padding:0!important;
  background:var(--ksc-surface)!important; border:1px solid var(--ksc-border)!important;
  border-radius:16px!important; overflow:hidden; display:flex; flex-direction:column;
  transition:transform .25s, box-shadow .25s;
}
.woocommerce ul.products li.product:hover{ transform:translateY(-5px); box-shadow:0 18px 40px rgba(17,22,28,.1); }
.woocommerce ul.products li.product a.woocommerce-loop-product__link{
  display:flex!important; flex-direction:column; flex:1; background:transparent!important;
}
.woocommerce ul.products li.product img{
  aspect-ratio:1/1; object-fit:cover; width:100%; height:auto; margin:0!important;
  border-bottom:1px solid var(--ksc-border); border-radius:0!important;
}

/* ---- Badge oferta ---- */
.woocommerce ul.products li.product .onsale{
  position:absolute; top:10px; left:10px; right:auto; margin:0; min-height:0; min-width:0;
  background:var(--ksc-gold)!important; color:#fff!important; font-family:'Montserrat',sans-serif;
  font-weight:700; font-size:.62rem; text-transform:uppercase; letter-spacing:.05em;
  line-height:1; padding:6px 10px; border-radius:6px;
}

/* ---- Título ---- */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:'Manrope',sans-serif!important; font-weight:600!important; font-size:.92rem!important;
  line-height:1.3; color:var(--ksc-text)!important; padding:16px 16px 8px!important; margin:0!important;
}

/* ---- Precio ---- */
.woocommerce ul.products li.product .price{
  padding:0 16px 14px!important; margin-top:auto; color:var(--ksc-gold)!important;
  font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:1.2rem!important;
}
.woocommerce ul.products li.product .price del{ color:var(--ksc-muted)!important; font-weight:400!important; font-size:.82rem; opacity:1; margin-right:6px; }
.woocommerce ul.products li.product .price ins{ text-decoration:none; color:var(--ksc-gold)!important; }

/* ---- Botón añadir al carrito ---- */
.woocommerce ul.products li.product a.button.add_to_cart_button,
.woocommerce ul.products li.product a.added_to_cart{
  display:block!important; text-align:center; margin:0 16px 16px!important;
  background:var(--ksc-ink)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important;
  font-weight:700!important; font-size:.78rem!important; border-radius:10px!important; padding:11px!important;
  transition:background .2s, color .2s;
}
.woocommerce ul.products li.product a.button.add_to_cart_button:hover,
.woocommerce ul.products li.product a.added_to_cart:hover{ background:var(--ksc-gold)!important; color:var(--ksc-ink)!important; }

/* ---- Responsive ---- */
@media (max-width:1080px){ .woocommerce ul.products{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:680px){ .woocommerce ul.products{ grid-template-columns:repeat(2,1fr); } }

/* ============================================================================
 *  FICHA DE PRODUCTO (single)  ·  body.single-product
 *  Galería | Resumen (título, precio, cantidad + botón, meta) + Relacionados.
 *  La grilla de "Productos relacionados" reutiliza las reglas .ul.products de arriba.
 * ========================================================================== */
body.single-product{ background:var(--ksc-bg)!important; color:var(--ksc-text); font-family:'Manrope',sans-serif; }
body.single-product #primary, body.single-product #main, body.single-product .content-area, body.single-product .site-main{ background:transparent!important; }
body.single-product div.product{ background:transparent!important; }

/* Breadcrumb */
.single-product .woocommerce-breadcrumb{ max-width:1240px; margin:24px auto 6px!important; padding:0 24px; color:var(--ksc-muted)!important; font-size:.84rem; }
.single-product .woocommerce-breadcrumb a{ color:var(--ksc-muted)!important; }
.single-product .woocommerce-breadcrumb a:hover{ color:var(--ksc-gold)!important; }

/* Layout 2 columnas */
.single-product div.product{ max-width:1240px; margin:18px auto 0!important; padding:0 24px; display:grid!important; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.single-product div.product::before, .single-product div.product::after{ display:none!important; }

/* Galería */
.single-product .woocommerce-product-gallery{ width:auto!important; float:none!important; margin:0!important; background:var(--ksc-surface)!important; border:1px solid var(--ksc-border); border-radius:18px; padding:18px; }
.single-product .woocommerce-product-gallery img{ border-radius:12px; }

/* Resumen */
.single-product .summary.entry-summary{ width:auto!important; float:none!important; margin:0!important; }
.single-product div.product .product_title{ font-family:'Montserrat',sans-serif!important; font-weight:800!important; font-size:clamp(1.6rem,3vw,2.2rem)!important; color:var(--ksc-text)!important; margin:0 0 16px!important; line-height:1.15; }
.single-product .summary .price{ color:var(--ksc-gold)!important; font-family:'Montserrat',sans-serif!important; font-weight:800!important; font-size:2rem!important; margin:0 0 22px!important; }
.single-product .summary .price del{ color:var(--ksc-muted)!important; font-weight:400!important; font-size:1.1rem; opacity:1; margin-right:10px; }
.single-product .summary .price ins{ text-decoration:none; color:var(--ksc-gold)!important; }
.single-product .woocommerce-product-details__short-description{ color:var(--ksc-muted)!important; font-size:.95rem; line-height:1.7; margin-bottom:24px; }

/* Cantidad + botón añadir (botón dorado, acción principal) */
.single-product form.cart{ display:flex!important; gap:12px; align-items:stretch; margin:0 0 24px!important; flex-wrap:wrap; }
.single-product form.cart .quantity .qty{ width:74px; text-align:center; border:1px solid var(--ksc-border)!important; border-radius:10px; padding:0 8px; font-family:'Montserrat',sans-serif; font-weight:600; color:var(--ksc-text); background:var(--ksc-surface)!important; height:52px; }
.single-product form.cart button.single_add_to_cart_button{ background:var(--ksc-gold)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:.92rem!important; border:none!important; border-radius:10px!important; padding:0 30px!important; height:52px; cursor:pointer; transition:background .2s,transform .2s; box-shadow:0 6px 18px rgba(212,169,63,.3); text-transform:none!important; }
.single-product form.cart button.single_add_to_cart_button:hover{ background:var(--ksc-gold-2)!important; color:var(--ksc-ink)!important; transform:translateY(-2px); }

/* Meta (SKU / categoría) */
.single-product .product_meta{ border-top:1px solid var(--ksc-border)!important; padding-top:18px; font-size:.84rem; color:var(--ksc-muted)!important; }
.single-product .product_meta > span{ display:block; margin-bottom:6px; }
.single-product .product_meta a{ color:var(--ksc-gold)!important; }

/* Pestañas (si el producto tiene descripción / información adicional) */
.woocommerce-tabs ul.tabs{ border:none!important; padding:0!important; display:flex; gap:8px; flex-wrap:wrap; list-style:none; margin:40px 0 0!important; }
.woocommerce-tabs ul.tabs::before{ display:none!important; }
.woocommerce-tabs ul.tabs li{ background:transparent!important; border:1px solid var(--ksc-border)!important; border-radius:50px!important; margin:0!important; }
.woocommerce-tabs ul.tabs li.active{ background:var(--ksc-ink)!important; border-color:var(--ksc-ink)!important; }
.woocommerce-tabs ul.tabs li a{ font-family:'Montserrat',sans-serif!important; font-weight:600; font-size:.82rem; color:var(--ksc-text)!important; padding:10px 20px!important; }
.woocommerce-tabs ul.tabs li.active a{ color:#fff!important; }
.woocommerce-tabs .woocommerce-Tabs-panel{ padding-top:24px; color:var(--ksc-text); }

/* Productos relacionados */
.single-product .related.products{ max-width:1240px; margin:60px auto 0!important; padding:0 24px 40px; }
.single-product .related.products > h2{ font-family:'Montserrat',sans-serif!important; font-weight:800!important; font-size:clamp(1.4rem,3vw,2rem)!important; color:var(--ksc-text)!important; margin:0 0 28px!important; }

@media (max-width:860px){ .single-product div.product{ grid-template-columns:1fr; gap:28px; } }

/* ============================================================================
 *  CARRITO  ·  body.woocommerce-cart
 * ========================================================================== */
body.woocommerce-cart{ background:var(--ksc-bg)!important; color:var(--ksc-text); font-family:'Manrope',sans-serif; }
body.woocommerce-cart .woocommerce{ max-width:1120px; margin:0 auto!important; padding:46px 24px; }

/* Tabla de items */
.woocommerce-cart table.cart.shop_table{ border:1px solid var(--ksc-border)!important; border-radius:16px; overflow:hidden; background:var(--ksc-surface)!important; border-collapse:separate!important; border-spacing:0!important; width:100%; }
.woocommerce-cart table.cart thead th{ background:transparent!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:.72rem!important; text-transform:uppercase; letter-spacing:.04em; color:var(--ksc-muted)!important; padding:18px 16px!important; border:none!important; border-bottom:1px solid var(--ksc-border)!important; text-align:left; }
.woocommerce-cart table.cart td{ padding:18px 16px!important; border:none!important; border-top:1px solid var(--ksc-border)!important; vertical-align:middle!important; background:transparent!important; color:var(--ksc-text)!important; }
.woocommerce-cart table.cart tbody tr:first-child td{ border-top:none!important; }
.woocommerce-cart table.cart td.product-thumbnail img{ width:66px!important; height:66px; object-fit:cover; border-radius:10px; border:1px solid var(--ksc-border); }
.woocommerce-cart table.cart td.product-name a{ font-family:'Manrope',sans-serif; font-weight:600; color:var(--ksc-text)!important; }
.woocommerce-cart table.cart td.product-name a:hover{ color:var(--ksc-gold)!important; }
.woocommerce-cart table.cart .amount{ font-family:'Montserrat',sans-serif!important; font-weight:700; color:var(--ksc-text)!important; }
.woocommerce-cart table.cart td.product-subtotal .amount{ color:var(--ksc-gold)!important; }
.woocommerce-cart table.cart td.product-quantity .qty{ width:66px; height:44px; border:1px solid var(--ksc-border)!important; border-radius:8px; text-align:center; background:var(--ksc-surface)!important; color:var(--ksc-text)!important; font-family:'Montserrat',sans-serif; }
.woocommerce-cart a.remove{ color:var(--ksc-muted)!important; border:1px solid var(--ksc-border); border-radius:50%!important; width:24px; height:24px; line-height:22px!important; font-size:16px; background:var(--ksc-surface)!important; }
.woocommerce-cart a.remove:hover{ background:#c0392b!important; color:#fff!important; border-color:#c0392b; }

/* Fila de acciones: cupón + actualizar */
.woocommerce-cart td.actions{ padding:18px 16px!important; }
.woocommerce-cart td.actions .coupon .input-text{ border:1px solid var(--ksc-border)!important; border-radius:8px; padding:0 14px; height:46px; background:var(--ksc-surface)!important; color:var(--ksc-text)!important; }
.woocommerce-cart td.actions .button{ background:var(--ksc-ink)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:.78rem!important; border-radius:10px!important; padding:0 22px!important; height:46px; border:none!important; }
.woocommerce-cart td.actions .button:hover{ background:var(--ksc-gold)!important; color:var(--ksc-ink)!important; }

/* Totales del carrito */
.woocommerce-cart .cart_totals{ background:var(--ksc-surface)!important; border:1px solid var(--ksc-border); border-radius:16px; padding:26px 28px; max-width:430px; margin-left:auto!important; margin-top:30px; }
.woocommerce-cart .cart_totals h2{ font-family:'Montserrat',sans-serif!important; font-weight:800!important; font-size:1.2rem!important; color:var(--ksc-text)!important; margin:0 0 18px!important; }
.woocommerce-cart .cart_totals table, .woocommerce-cart .cart_totals table tr, .woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td{ border:none!important; background:transparent!important; color:var(--ksc-text)!important; }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td{ border-top:1px solid var(--ksc-border)!important; padding:14px 0!important; font-family:'Manrope',sans-serif; }
.woocommerce-cart .cart_totals table tr:first-child th, .woocommerce-cart .cart_totals table tr:first-child td{ border-top:none!important; }
.woocommerce-cart .cart_totals .order-total .amount{ color:var(--ksc-gold)!important; font-family:'Montserrat',sans-serif!important; font-size:1.35rem!important; font-weight:800!important; }
.woocommerce-cart .wc-proceed-to-checkout{ padding-top:20px!important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{ display:block; text-align:center; background:var(--ksc-gold)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:.95rem!important; border-radius:10px!important; padding:15px!important; box-shadow:0 6px 18px rgba(212,169,63,.3); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{ background:var(--ksc-gold-2)!important; color:var(--ksc-ink)!important; }

/* ============================================================================
 *  CHECKOUT  ·  body.woocommerce-checkout  (WooCommerce BLOCKS checkout)
 *  Ojo: NO es el checkout clásico, es el bloque (wc-block-components-*).
 *  Brand pass: en un tema limpio el bloque ya renderiza claro; esto le suma
 *  el acento dorado, fuentes y el botón dorado.
 * ========================================================================== */
body.woocommerce-checkout{ background:var(--ksc-bg)!important; font-family:'Manrope',sans-serif; color:var(--ksc-text); }
.wc-block-checkout{ max-width:1180px!important; margin:30px auto!important; }
.wc-block-components-checkout-step__title, .wc-block-components-title{ font-family:'Montserrat',sans-serif!important; font-weight:700!important; color:var(--ksc-text)!important; }

/* Inputs: bordes redondeados + foco dorado */
.wc-block-components-text-input input, .wc-block-components-text-input{ border-radius:10px!important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus{ border-color:var(--ksc-gold)!important; box-shadow:0 0 0 1px var(--ksc-gold)!important; }
.wc-block-components-text-input.is-active label{ color:var(--ksc-gold)!important; }

/* Resumen del pedido (sidebar): total dorado + badge de ahorro dorado */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{ color:var(--ksc-gold)!important; font-family:'Montserrat',sans-serif!important; font-weight:800!important; }
.wc-block-components-sale-badge{ background:rgba(212,169,63,.15)!important; color:#9a7414!important; }

/* Botón «Quitar» por producto en el resumen (lo inyecta ksc-checkout.js; el
   bloque de Woo no trae eliminar ni cantidad). Rojo, discreto, bajo el nombre. */
.ksc-remove-item{ display:inline-block; margin-top:6px; padding:0; border:0; background:none; font-family:'Manrope',sans-serif; font-size:.8rem; font-weight:600; color:#c0392b; text-decoration:underline; cursor:pointer; }
.ksc-remove-item:hover{ color:#96291d; }
.ksc-remove-item:disabled{ opacity:.5; cursor:default; text-decoration:none; }
.ksc-remove-item:focus-visible{ outline:2px solid var(--ksc-gold); outline-offset:2px; border-radius:4px; }

/* Pago seleccionado + enlaces en dorado */
.wc-block-components-radio-control__input:checked{ accent-color:var(--ksc-gold)!important; }
.wc-block-checkout a{ color:var(--ksc-gold)!important; }

/* Botón "Realizar el pedido" -> dorado filled */
.wc-block-components-checkout-place-order-button, button.wc-block-components-button.contained{ background:var(--ksc-gold)!important; border-color:var(--ksc-gold)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; border-radius:10px!important; box-shadow:0 6px 18px rgba(212,169,63,.3)!important; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text, button.wc-block-components-button.contained .wc-block-components-button__text{ color:#fff!important; }
.wc-block-components-checkout-place-order-button:hover, button.wc-block-components-button.contained:hover{ background:var(--ksc-gold-2)!important; border-color:var(--ksc-gold-2)!important; }
.wc-block-components-checkout-place-order-button:hover .wc-block-components-button__text{ color:var(--ksc-ink)!important; }

/* ============================================================================
 *  MI CUENTA  ·  body.woocommerce-account
 *  Login (deslogueado) + Dashboard (logueado: nav lateral + contenido).
 *  Usa la clase `logged-in` de WP para distinguir ambos estados.
 * ========================================================================== */
body.woocommerce-account{ background:var(--ksc-bg)!important; font-family:'Manrope',sans-serif; color:var(--ksc-text); }
/* Sticky-footer: el contenido llena el viewport (evita el footer a media pantalla) */
body.woocommerce-account #content.site-main, body.woocommerce-account .site-main{ min-height:72vh!important; display:flex; flex-direction:column; justify-content:center; }

/* ---- Login (deslogueado): card centrada ---- */
body.woocommerce-account:not(.logged-in) .woocommerce{ max-width:440px!important; margin:40px auto!important; padding:36px 34px!important; background:var(--ksc-surface)!important; border:1px solid var(--ksc-border); border-radius:18px; box-shadow:0 18px 50px rgba(17,22,28,.06); }
.woocommerce-account .woocommerce > h2, .woocommerce-account h2{ font-family:'Montserrat',sans-serif!important; font-weight:800!important; font-size:1.5rem!important; color:var(--ksc-text)!important; text-align:center; margin:0 0 22px!important; }
.woocommerce-form-login{ border:none!important; padding:0!important; margin:0!important; }
.woocommerce-account .woocommerce-form-row label{ font-family:'Manrope',sans-serif; font-weight:600; font-size:.84rem; color:var(--ksc-text); margin-bottom:6px; display:block; }
.woocommerce-account .woocommerce-Input, .woocommerce-account input.input-text{ box-sizing:border-box!important; width:100%!important; height:50px!important; min-height:50px!important; border:1px solid var(--ksc-border)!important; border-radius:10px!important; padding:0 16px!important; background:var(--ksc-surface)!important; color:var(--ksc-text)!important; font-family:'Manrope',sans-serif; line-height:normal; }
.woocommerce-account .woocommerce-Input:focus, .woocommerce-account input.input-text:focus{ border-color:var(--ksc-gold)!important; box-shadow:0 0 0 1px var(--ksc-gold)!important; outline:none; }
.woocommerce-account .password-input{ display:flex; align-items:center; position:relative; }
.woocommerce-account .show-password-input{ position:absolute; right:14px; }
.woocommerce-account button.woocommerce-button, .woocommerce-account button.button{ box-sizing:border-box!important; background:var(--ksc-gold)!important; color:#fff!important; font-family:'Montserrat',sans-serif!important; font-weight:700!important; font-size:.9rem!important; border:none!important; border-radius:10px!important; padding:0 26px!important; height:50px!important; min-height:50px!important; cursor:pointer; box-shadow:0 6px 18px rgba(212,169,63,.3); }
.woocommerce-account button.woocommerce-button:hover, .woocommerce-account button.button:hover{ background:var(--ksc-gold-2)!important; color:var(--ksc-ink)!important; }
.woocommerce-account .woocommerce-form-login__rememberme{ font-size:.84rem; color:var(--ksc-muted); }
.woocommerce-account .lost_password{ text-align:center; margin-top:8px!important; font-size:.84rem; }
.woocommerce-account .lost_password a, .woocommerce-account a{ color:var(--ksc-gold)!important; }

/* ---- Dashboard (logueado): nav lateral + contenido ---- */
body.woocommerce-account.logged-in .woocommerce{ max-width:1120px!important; margin:44px auto!important; padding:0 24px!important; display:grid!important; grid-template-columns:248px 1fr; gap:32px; align-items:start; }
body.woocommerce-account.logged-in .woocommerce > .woocommerce-notices-wrapper{ grid-column:1/-1; }
.woocommerce-MyAccount-navigation{ background:var(--ksc-surface); border:1px solid var(--ksc-border); border-radius:16px; padding:10px; }
.woocommerce-MyAccount-navigation ul{ list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li a{ display:block; padding:12px 16px; border-radius:10px; font-family:'Montserrat',sans-serif; font-weight:600; font-size:.86rem; color:var(--ksc-text)!important; }
.woocommerce-MyAccount-navigation li a:hover{ background:var(--ksc-bg)!important; color:var(--ksc-gold)!important; }
.woocommerce-MyAccount-navigation li.is-active a{ background:var(--ksc-ink)!important; color:#fff!important; }
.woocommerce-MyAccount-content{ background:var(--ksc-surface); border:1px solid var(--ksc-border); border-radius:16px; padding:30px; }
.woocommerce-MyAccount-content table.woocommerce-orders-table, .woocommerce-MyAccount-content table.shop_table{ border:1px solid var(--ksc-border)!important; border-radius:12px; border-collapse:separate; border-spacing:0; overflow:hidden; width:100%; }
.woocommerce-MyAccount-content table th{ font-family:'Montserrat',sans-serif; font-weight:700; font-size:.74rem; text-transform:uppercase; color:var(--ksc-muted); padding:14px; text-align:left; }
.woocommerce-MyAccount-content table td{ padding:14px; border-top:1px solid var(--ksc-border); }
.woocommerce-MyAccount-content .button, .woocommerce-MyAccount-content a.button{ background:var(--ksc-ink)!important; color:#fff!important; font-family:'Montserrat',sans-serif; font-weight:700; border-radius:10px!important; padding:10px 18px!important; }
.woocommerce-MyAccount-content .button:hover{ background:var(--ksc-gold)!important; color:var(--ksc-ink)!important; }
@media (max-width:860px){ body.woocommerce-account.logged-in .woocommerce{ grid-template-columns:1fr; } }

/* NOTA: ksc-woo.css validado sobre el sitio con el tema limpio. Cubre TODO el funnel:
   Tienda · Categoría · Producto · Carrito (clásico) · Checkout (bloques) · Mi cuenta.
   El dashboard logueado de Mi cuenta usa clases estándar de Woo (no validado en pantalla;
   ajustar si hace falta al ver una cuenta real). */
