/* Liscano Editorial Lab 0.10.3 · Respuesta UX de producción.
 * Solo frontend Liscano; no modifica precios, impuestos, inventario ni pedidos.
 */
@media (max-width: 767px) {
  body.lco-editorial .lco-hybrid-mobile-nav .lco-hybrid-drawer-scroll,
  body.lco-editorial .lco-mobile-nav .lco-drawer-scroll {
    padding-inline: clamp(18px, 5.4vw, 28px) !important;
  }
  body.lco-editorial .lco-hybrid-mobile-nav .lco-drawer-intro,
  body.lco-editorial .lco-mobile-nav .lco-drawer-intro {padding-inline:clamp(18px,5.2vw,26px)!important}
  body.lco-editorial .lco-hybrid-mobile-menu>li>a,
  body.lco-editorial .lco-mobile-nav-items>li>a {overflow-wrap:anywhere}
  body.lco-editorial .lco-page-content, body.lco-editorial .lco-archive,
  body.lco-editorial .lco-product-page {max-width:100%;min-width:0}
  body.lco-editorial .lco-archive-head {padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));}
  body.lco-editorial .lco-archive-head h1 {font-size:clamp(32px,10vw,56px)!important;line-height:1.02!important;overflow-wrap:anywhere;letter-spacing:-.052em!important}
  body.lco-editorial .lco-archive-head .lco-micro {font-size:9px;letter-spacing:.12em}
  body.lco-editorial .lco-catalog-toolbar {min-width:0}
  body.lco-editorial .lco-product-card {min-width:0!important}
  body.lco-editorial .lco-product-card .lco-card-name {overflow-wrap:anywhere;word-break:normal}
  body.lco-editorial.single-product .lco-pdp {min-width:0}
  body.lco-editorial.single-product .lco-pdp-topbar {flex-wrap:wrap;gap:10px!important;margin-bottom:14px!important}
  body.lco-editorial.single-product .lco-pdp-breadcrumb-wrap {width:100%;flex:1 1 100%}
  body.lco-editorial.woocommerce-checkout form.checkout .lco-ux-gift-teaser {margin:0 0 16px}
  body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details {margin:0 0 18px}
}

/* Prevenir subrayados heredados en enlaces con aspecto de botón y tarjetas. */
body.lco-editorial :is(.lco-card-name,.lco-card-discover,.lco-back-link,.lp-continue-shopping-primary,.lp-continue-shopping-secondary,.lp-toggle-gifts,.lp-add-gift,.lp-show-more,.lco-drawer-cta,.lco-continue-shipping,.lco-card-media,.woocommerce a.button,.lco-mobile-nav-items a) {
  text-decoration:none!important;text-decoration-line:none!important;
}
body.lco-editorial :is(.lco-card-name,.lco-card-discover,.lp-continue-shopping-primary,.lp-continue-shopping-secondary,.lp-toggle-gifts,.lco-continue-shipping):is(:hover,:focus,:active) {
  text-decoration:none!important;text-decoration-line:none!important;
}
body.lco-editorial :is(a,button,summary):focus-visible {outline:2px solid #be1a34;outline-offset:3px}

/* Breadcrumbs editados: pista discreta, compacta y legible. */
body.lco-editorial.single-product .lco-pdp-breadcrumb {
  display:flex;align-items:center;gap:6px!important;background:#f8f7f6;border:1px solid #efebe9;
  border-radius:14px;min-height:42px;padding:6px 11px!important;margin:0!important;max-width:100%;
}
body.lco-editorial.single-product .lco-pdp-breadcrumb .lco-crumb-item a {
  background:transparent!important;border:0!important;padding:6px 4px!important;min-height:unset!important;
  color:#6e6e70!important;font-size:11px!important;text-decoration:none!important;
}
body.lco-editorial.single-product .lco-pdp-breadcrumb .lco-crumb-item:last-of-type {color:#aa1732;font-weight:800}
body.lco-editorial.single-product .lco-pdp-breadcrumb .lco-crumb-separator {color:#b6a8a8}
body.lco-editorial .woocommerce-breadcrumb {font-size:11px!important;font-weight:600;line-height:1.5;color:#747276!important;max-width:100%;overflow-x:auto;overflow-wrap:anywhere}
body.lco-editorial .woocommerce-breadcrumb a {text-decoration:none!important;color:#555!important}

/* En stock: ocultar solo las cantidades visibles; preservar agotado / reservas. */
body.lco-editorial.single-product .lco-pdp-summary .stock.in-stock,
body.lco-editorial.single-product .lco-pdp-summary .woocommerce-variation-availability .stock.in-stock {display:none!important}

/* Gesto de catálogo: paginación progresiva con respaldo si falla JavaScript. */
.lco-ux-load-status {min-height:34px;padding:18px;text-align:center;color:#6d6c70;font-size:13px}
.lco-ux-load-status[hidden]{display:none!important}
.lco-ux-load-status.is-error {color:#ab1a36}
.lco-ux-load-sentinel {height:1px;width:100%}
body.lco-ux-infinite-ready .woocommerce-pagination {display:none!important}
body.lco-ux-infinite-paused .woocommerce-pagination {display:block!important}

/* Un resumen de pedido, no un segundo checkout. Solo tabla de artículos y totales. */
body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details {border:1px solid #e7e4e3;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(20,15,15,.045)}
body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details > summary {list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:60px;padding:14px 17px;font-size:14px;color:#171717;font-weight:800}
body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details > summary::-webkit-details-marker {display:none}
body.lco-editorial.woocommerce-checkout .lco-ux-order-details__sub {display:block;font-size:11px;color:#7a7877;font-weight:500;margin-top:2px}
body.lco-editorial.woocommerce-checkout .lco-ux-order-details__right {display:flex;align-items:center;gap:10px;color:#be1a34;font-weight:800;white-space:nowrap}
body.lco-editorial.woocommerce-checkout .lco-ux-order-details__icon {display:inline-block;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);width:8px;height:8px;transition:transform .2s;margin:-4px 2px 0}
body.lco-editorial.woocommerce-checkout .lco-ux-order-details[open] .lco-ux-order-details__icon {transform:rotate(225deg);margin:5px 2px 0}
body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details table {margin:0!important;border:0!important;border-top:1px solid #eee!important;border-radius:0!important;box-shadow:none!important}

/* Regalos: una sola tarjeta de progreso; acceso de descubrimiento al inicio. */
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser {display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;background:#fff8f9;border:1px solid #f0d9df;border-left:4px solid #be1a34;border-radius:15px}
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser__copy {display:flex;flex-direction:column;min-width:0;gap:3px}
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser__copy strong{font-size:13px;line-height:1.35;color:#292124}
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser__copy span{font-size:11px;line-height:1.4;color:#776d70}
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser button {border:0!important;border-radius:10px!important;padding:10px 13px!important;min-width:90px!important;min-height:42px!important;flex:0 0 auto;white-space:nowrap;font-size:11px;font-weight:800;background:#be1a34!important;color:#fff!important;text-decoration:none!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout {margin-top:10px!important;padding:16px!important;border-radius:18px!important;background:#fff!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-header {gap:10px}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-header h3 {font-size:clamp(17px,4vw,23px)!important;margin:0 0 5px}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-header p {font-size:12px;line-height:1.4}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-price-rule {font-size:11px!important;color:#695d60!important;margin-top:5px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-card {padding:15px!important;border-radius:16px!important;box-shadow:none!important;border:1px solid #f0e5e8}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-hero{grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;margin-bottom:12px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-gift-icon {width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:12px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-gift-icon svg {width:30px!important;height:30px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-copy strong {font-size:17px!important;line-height:1.15!important;letter-spacing:-.025em!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-copy span {font-size:12px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-segments {gap:5px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-segments > span{height:9px!important;border-radius:5px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-note {font-size:12px!important;margin-top:12px!important;text-align:left}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-rule,
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-progress,
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-continue-shopping-primary {display:none!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card {border-radius:15px!important;gap:14px!important;padding:15px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card .lp-toggle-gifts {border-radius:11px!important;min-height:44px!important}
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-picker {border-radius:13px!important}
@media(max-width:767px){
  body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card {display:flex!important;flex-direction:column;align-items:stretch!important}
  body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card button {width:100%;margin-top:5px}
  body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-gift-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details>summary {padding:14px 13px}
  body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser {gap:10px;padding:12px}
}
@media(prefers-reduced-motion:reduce){.lco-ux-order-details__icon{transition:none!important}}

body.lco-editorial .lco-ux-legacy-trust[hidden],body.lco-editorial .lco-ux-empty-qa[hidden]{display:none!important}

/* Recomendaciones del carrito: no aparentar enlaces subrayados de texto. */
body.lco-editorial .lp-product-recommendations a.lp-product-recommendations__title,
body.lco-editorial .lp-product-recommendations a.lp-product-recommendations__title:hover,
body.lco-editorial .lp-product-recommendations a.lp-product-recommendations__title:focus,
body.lco-editorial .lp-product-recommendations a.lp-product-recommendations__button {text-decoration:none!important;text-decoration-line:none!important}
/* Título enorme de resultados y ruta WooCommerce en búsqueda desktop/mobile. */
body.lco-editorial.search .lco-wc-main > .lco-page-title {font-size:clamp(32px,5.7vw,74px)!important;line-height:1.04!important;letter-spacing:-.055em!important;overflow-wrap:anywhere;max-width:18ch;margin:24px 0 32px!important}
body.lco-editorial.search .woocommerce-breadcrumb {padding:10px 16px;border:1px solid #efebeb;background:#f7f6f5;border-radius:11px}
body.lco-ux-infinite-ready nav.pagination {display:none!important}
body.lco-ux-infinite-paused nav.pagination {display:block!important}
@media(max-width:767px){
 body.lco-editorial.search .lco-wc-main>.lco-page-title {font-size:clamp(33px,9vw,46px)!important;max-width:100%;margin:15px 0 20px!important}
 body.lco-editorial .lco-wc-main {padding-inline:max(15px,env(safe-area-inset-left)) max(15px,env(safe-area-inset-right))}
}

body.lco-editorial .lco-ux-legacy-trust[hidden],body.lco-editorial .lco-ux-empty-qa[hidden]{display:none!important}

/* Liscano visual language: new controls use square edges, not rounded cards. */
body.lco-editorial.single-product .lco-pdp-breadcrumb,
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser,
body.lco-editorial.woocommerce-checkout #order_review .lco-ux-order-details,
body.lco-editorial.woocommerce-checkout .lco-ux-gift-teaser button,
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-progress-card,
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card,
body.lco-editorial.woocommerce-checkout .lp-gift-location-checkout .lp-unlock-card .lp-toggle-gifts {border-radius:0!important}
