/* La Casa del Hule — catálogo (listados WooCommerce con componentes hy-) */
.woocommerce-shop .site-main,.tax-product_cat .site-main,.tax-product_brand .site-main,.search-results.woocommerce .site-main,.post-type-archive-product .site-main{max-width:1280px;margin:0 auto;padding:0 16px 32px}
body.woocommerce-shop,body.tax-product_cat,body.tax-product_brand,body.post-type-archive-product{background:var(--surface-50)}
.woocommerce-breadcrumb{font-size:13px;line-height:16px;color:var(--ink-muted);padding:12px 0 0;margin:0!important;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.woocommerce-breadcrumb a{color:var(--ink-muted)!important;text-decoration:none}
.woocommerce-breadcrumb a:hover{color:var(--hyca-blue)!important;text-decoration:underline}
.woocommerce-products-header{padding:8px 0 4px}
.woocommerce-products-header__title.page-title{font-family:var(--font-display);font-weight:800;text-transform:uppercase;font-variation-settings:"wdth" 78;font-size:28px;line-height:32px;margin:4px 0 8px;color:var(--ink)}
@media(min-width:1025px){.woocommerce-products-header__title.page-title{font-size:40px;line-height:44px}}
.woocommerce-products-header .term-description{display:none}
.lch-subcats{margin:4px -16px 8px!important}
.lch-listbar{margin:0 -16px;top:var(--lch-hdr-h,56px)}
.admin-bar .lch-listbar{top:calc(var(--lch-hdr-h,56px) + 32px)}
.lch-listbar .hy-listbar__active{margin-top:8px}
.hy-result-line{padding:12px 0 8px}
/* Rejilla */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 24px!important;padding:0!important;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;padding:0!important;float:none!important;display:flex;text-align:left}
.woocommerce ul.products li.product>.hy-pcard{flex:1;width:100%}
.woocommerce ul.products li.product .hy-pcard__name{font-size:14px!important;line-height:19px!important;padding:0!important;margin:0!important;font-family:var(--font-sans)}
.woocommerce ul.products li.product a img{margin:0!important}
.hy-pcard__img img{width:100%;height:100%;object-fit:contain}
.hy-pcard__name a{color:var(--ink)!important}
.hy-pcard__name a:hover{color:var(--hyca-blue)!important}
.hy-pcard__add .hy-ico{width:22px;height:22px}
button.hy-pcard__add{padding:0!important;border:0!important;background:var(--hyca-blue)!important;color:var(--ink-inverse)!important}
button.hy-pcard__add:hover{background:var(--hyca-blue-dark)!important}
button.hy-pcard__add.is-added{background:var(--success)!important}
@media(min-width:768px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(min-width:1025px){.woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}}
/* Vista lista */
.lch-view-list.woocommerce ul.products,.lch-view-list .woocommerce ul.products,body.lch-view-list ul.products{grid-template-columns:1fr!important}
body.lch-view-list ul.products .hy-pcard{flex-direction:row}
body.lch-view-list ul.products .hy-pcard__img{width:112px;aspect-ratio:auto;padding:8px;border-right:1px solid var(--surface-100);flex:none}
body.lch-view-list ul.products .hy-pcard__body{border-top:0}
@media(min-width:1025px){body.lch-view-list ul.products{grid-template-columns:1fr 1fr!important}}
/* Paginación */
.woocommerce nav.woocommerce-pagination ul{border:0!important;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0!important}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;height:44px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:var(--radius-pill);border:1.5px solid var(--border)!important;background:var(--surface);color:var(--ink);font-weight:700;padding:0 12px!important}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--hyca-blue)!important;color:#fff!important;border-color:var(--hyca-blue)!important}
/* Sheets de filtros y orden */
.lch-f-overlay.is-open{opacity:1;pointer-events:auto}
.lch-fsheet .hy-bf__opt input{position:absolute;opacity:0}
.lch-fsheet .hy-fsec>summary{color:var(--ink)}
.lch-fsheet .hy-fsec>summary .hy-ico{width:20px;height:20px}
.lch-sort{color:var(--ink)!important;text-decoration:none}
.lch-radio{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--border-strong);flex:none;display:grid;place-content:center}
.lch-sort.is-on .lch-radio{border-color:var(--hyca-blue);background:var(--hyca-blue)}
.lch-sort.is-on .lch-radio::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff}
.lch-fsheet .hy-sheet__foot .hy-btn--ghost{color:var(--hyca-blue)!important}
@media(min-width:1025px){
 .lch-fsheet,.lch-osheet{left:auto;right:0;top:0;bottom:0;max-height:none;width:420px;border-radius:var(--radius-lg) 0 0 var(--radius-lg);transform:translateX(100%)}
 .lch-fsheet.is-open,.lch-osheet.is-open{transform:none}
 .lch-osheet{height:auto;bottom:auto;top:0;border-radius:0 0 0 var(--radius-lg)}
 .lch-listbar .hy-listbar__row{max-width:520px}
}
/* Toast */
.lch-toast{position:fixed;left:12px;right:12px;bottom:calc(var(--bottom-bar-h) + 12px + env(safe-area-inset-bottom));z-index:60;max-width:420px;margin:0 auto}
@media(min-width:1025px){.lch-toast{left:auto;right:24px;bottom:96px}}
.lch-toast a{color:#fff!important}
/* Texto SEO de categoría (va al final) */
.lch-cat-seo,.lch-cat{max-width:860px}
.woocommerce ul.products li.product{flex-direction:column}
.woocommerce ul.products li.product>:not(.hy-pcard){display:none!important}
button.hy-btn{font-family:var(--font-sans)}
button.hy-btn--primary{background:var(--hyca-blue)!important;border:2px solid transparent!important;color:var(--ink-inverse)!important}
button.hy-btn--primary:hover{background:var(--hyca-blue-dark)!important}
button.hy-btn--secondary{background:var(--surface)!important;border:2px solid var(--hyca-blue)!important;color:var(--hyca-blue)!important}
button.hy-btn--secondary:hover{background:var(--blue-50)!important}
.hy-listbar__view button{padding:0!important;border:0!important;background:transparent!important;color:var(--ink-muted)!important}
.hy-listbar__view button[aria-pressed=true]{background:var(--surface)!important;color:var(--hyca-blue)!important}
/* ---- Ficha de producto ---- */
body.single-product{background:var(--surface-50)}
.lch-pdp-wrap{display:block!important}
.lch-pdp{max-width:1280px;margin:0 auto;padding:0 0 32px}
.lch-pdp .woocommerce-breadcrumb{padding:12px 16px 4px}
.lch-pdp__grid{display:grid;grid-template-columns:1fr;gap:0}
.lch-pdp .hy-pdp__gallery{border-bottom:1px solid var(--border)}
.lch-pdp .hy-pdp__main{aspect-ratio:1/1;max-height:420px;margin:0 auto}
.lch-pdp .hy-pdp__main img{width:100%;height:100%;object-fit:contain}
.lch-pdp .hy-pdp__info{border-top:0;gap:12px}
.lch-pdp__title{font-family:var(--font-sans)!important;font-size:20px!important;line-height:26px!important;font-weight:700!important;margin:0!important;color:var(--ink)!important;text-transform:none!important}
.lch-pdp .hy-sku .hy-ico{width:14px;height:14px}
.lch-pdp__buy{display:flex;gap:8px;align-items:center}
.lch-pdp__buy .hy-stepper{height:48px}
.lch-pdp__buy .hy-stepper button{padding:0!important;border:0!important;background:none!important;color:var(--hyca-blue)!important;height:100%}
.lch-pdp__cta{flex:1}
.lch-pdp__acc{margin-top:8px}
.lch-pdp__acc summary .hy-ico{width:20px;height:20px}
.lch-pdp__desc{font-size:15px;line-height:24px;color:var(--ink)}
.lch-pdp__desc h2,.lch-pdp__desc h3{font-family:var(--font-sans)!important;font-size:18px!important;line-height:24px!important;margin:20px 0 8px!important;color:var(--ink)!important}
.lch-pdp__desc table,.lch-tabla table{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;display:block;overflow-x:auto}
.lch-pdp__desc th,.lch-pdp__desc td{padding:10px 12px;border-bottom:1px solid var(--surface-100);text-align:left;vertical-align:top}
.lch-pdp__desc thead th,.lch-pdp__desc tr:first-child th{background:var(--surface-50);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-muted)}
.lch-pdp__desc .lch-nota{background:var(--warning-bg);border-radius:var(--radius-md);padding:12px;margin:12px 0}
.lch-pdp__desc .lch-faq details{border-bottom:1px solid var(--border);padding:8px 0}
.lch-pdp__desc .lch-faq summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}
.lch-pdp__desc .lch-cta{display:none}
.lch-pdp__rel{padding:24px 16px 0}
.lch-pdp .hy-table-wrap{display:block}
.lch-pdp .hy-table td a{color:var(--hyca-blue)}
.lch-ctabar{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-bar)}
body.single-product .lch-bottomnav{display:none!important}
@media(max-width:1024px){body.single-product{padding-bottom:calc(64px + env(safe-area-inset-bottom))}}
.lch-ctabar .hy-btn--whatsapp{width:48px;padding:0!important}
@media(min-width:1025px){
 .lch-ctabar{display:none}
 .lch-pdp{padding:0 32px 48px}
 .lch-pdp .woocommerce-breadcrumb{padding:16px 0 8px}
 .lch-pdp__grid{grid-template-columns:minmax(0,1fr) 440px;gap:32px;align-items:start}
 .lch-pdp .hy-pdp__gallery{border:1px solid var(--border);border-radius:var(--radius-md)}
 .lch-pdp .hy-pdp__main{max-height:560px;padding:32px}
 .lch-pdp .hy-pdp__info{position:sticky;top:calc(var(--lch-hdr-h,160px) + 16px);border:1px solid var(--border);border-radius:var(--radius-md);padding:24px}
 .lch-pdp__title{font-size:26px!important;line-height:32px!important}
 .lch-pdp .hy-pdp__price .hy-price{font-size:32px;line-height:36px}
 .lch-pdp__acc{border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden;margin-top:24px;max-width:calc(100% - 472px)}
 .lch-pdp__rel{padding:40px 0 0}
}
/* ---- Home ---- */
body.home{background:var(--surface-50)}
.lch-hero{display:block!important;background:var(--hyca-blue)!important;color:#fff;padding:24px 16px 20px!important;position:relative;overflow:visible;z-index:5}
.lch-hero::after{content:"";position:absolute;right:-40px;top:8px;width:150px;height:245px;background:url(img/hyca-isotipo-blanco.webp) no-repeat center/contain;opacity:.14;pointer-events:none}
.lch-hero>.e-con-inner{max-width:1280px;margin:0 auto;position:relative;z-index:1}
.lch-hero .elementor-widget{margin:0!important}
.lch-hero__over p{font-size:12px!important;line-height:16px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff!important;opacity:.92;margin:0 0 6px!important}
.lch-hero__t .elementor-heading-title{font-family:var(--font-display)!important;font-weight:800!important;text-transform:uppercase;font-variation-settings:"wdth" 66;font-size:34px!important;line-height:36px!important;color:#fff!important;max-width:16ch}
.lch-hero__p p{color:#fff!important;font-size:15px!important;line-height:22px!important;margin:8px 0 16px!important;max-width:44ch}
.lch-hero__search .hy-search{background:#fff}
.lch-hero__search .hy-search:focus-within{border-color:var(--night)}
.lch-hero__dist p{margin:12px 0 0!important}
.lch-hero__dist a{color:#fff!important;font-weight:700;text-decoration:underline;text-underline-offset:3px;font-size:14px}
.lch-sec{display:block!important;padding:24px 16px 8px!important}
.lch-sec>.e-con-inner{max-width:1280px;margin:0 auto;display:block!important}
.lch-sec .elementor-widget{margin-bottom:0!important}
.lch-sec__head{display:flex!important;flex-direction:row!important;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:12px}
.lch-sec__t .elementor-heading-title{font-family:var(--font-sans)!important;font-size:22px!important;line-height:28px!important;font-weight:700!important;color:var(--ink)!important;text-transform:none!important}
.lch-sec__more .elementor-button{background:none!important;padding:0!important;color:var(--hyca-blue)!important;font-weight:700;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.lch-bens{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}
.lch-ben{background:#fff;border:1px solid var(--border);border-radius:var(--radius-md);padding:12px}
.lch-ben p{margin:0!important;font-size:13px;line-height:18px;color:var(--ink-muted)!important}
.lch-ben strong{color:var(--ink);font-size:14px;display:inline-block;margin-bottom:2px}
.lch-about .elementor-widget-text-editor p{color:var(--ink-muted)!important;max-width:72ch}
.lch-help{align-items:center}
.lch-help .hy-btn{margin-left:auto}
.lch-sec .hy-brands,.lch-sec .hy-chips{margin:0 -16px}
.hy-cat__img img{width:100%;height:100%;object-fit:contain}
.hy-cat,.hy-brand,.hy-line{color:var(--ink)!important}
.hy-line{color:#fff!important}
.hy-cat__name{color:var(--ink)}
@media(min-width:1025px){
 .lch-hero{padding:56px 32px 48px!important}
 .lch-hero::after{right:6%;top:24px;width:220px;height:360px}
 .lch-hero__t .elementor-heading-title{font-size:64px!important;line-height:64px!important}
 .lch-hero__p p{font-size:18px!important;line-height:28px!important}
 .lch-hero__search{max-width:640px}
 .lch-sec{padding:40px 32px 8px!important}
 .lch-sec__t .elementor-heading-title{font-size:28px!important;line-height:34px!important}
 .lch-lines{grid-template-columns:repeat(5,1fr)}
 .lch-bens{grid-template-columns:repeat(4,1fr)}
 .lch-sec .hy-brands{margin:0}
}
@media(max-width:1024px){body.home .lch-msearch{display:none!important}body.home .lch-sbtn{display:inline-flex!important}}
@media(min-width:1025px){.lch-hero__search .hy-search{max-width:640px}.lch-hero__t .elementor-heading-title{max-width:18ch}}
/* ---- Página de cotización ---- */
.lch-cotpage .lch-cot-t .elementor-heading-title{font-family:var(--font-display)!important;font-weight:800!important;text-transform:uppercase;font-variation-settings:"wdth" 78;font-size:28px!important;line-height:32px!important;color:var(--ink)!important}
.lch-cot-sub p{color:var(--ink-muted)!important;margin:4px 0 16px!important}
.mm-cot__grid{display:grid;gap:16px}
.mm-cot__list,.mm-cot__form{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:16px;display:grid;gap:12px;align-content:start}
.mm-cot__list .hy-qitem{border-radius:var(--radius-md)}
.mm-cot__list .hy-qitem__name{color:var(--ink)!important;text-decoration:none}
.mm-cot__qty{display:grid;gap:4px;justify-items:end}
.mm-cot__qty .hy-stepper button{padding:0!important;border:0!important;background:none!important;color:var(--hyca-blue)!important}
button.mm-cot__del{border:0!important;background:none!important;color:var(--ink-muted)!important;font-size:13px;padding:6px!important;text-decoration:underline;cursor:pointer}
.mm-cot__total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--border);padding-top:12px;font-weight:600}
.mm-cot__total b{font-size:22px;font-variant-numeric:tabular-nums}
.mm-cot .hy-field label{color:var(--ink)}
.mm-cot .hy-field__error{margin:0}
.mm-cot__empty .hy-row{gap:8px;flex-wrap:wrap}
.mm-cot__ok{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg)}
@media(max-width:480px){.mm-cot .hy-qitem{flex-wrap:wrap}.mm-cot__qty{width:100%;grid-template-columns:auto auto;justify-content:space-between;align-items:center}}
@media(min-width:1025px){.mm-cot__grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:start}.mm-cot__form{position:sticky;top:calc(var(--lch-hdr-h,160px) + 16px)}.lch-cotpage .lch-cot-t .elementor-heading-title{font-size:40px!important;line-height:44px!important}}

/* ---- Fix oct-03: chips solo con scroll lateral; radios del orden ---- */
.hy-chips,.lch-subcats{overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;align-items:center;flex-wrap:nowrap!important}
.hy-chips .hy-chip{flex:none;white-space:nowrap}
.hy-opt.lch-sort{display:flex;align-items:center;gap:14px}
.hy-opt.lch-sort .lch-radio{flex:0 0 22px!important;width:22px!important;height:22px!important;min-width:0;padding:0;box-sizing:border-box}
.hy-opt.lch-sort span:last-child{flex:1}

/* ---- Facetas de vehículo (oct-03) ---- */
.lch-fnote{margin:0 0 4px;padding:10px 12px;background:var(--surface-100);border-radius:var(--radius-md)}
.lch-togs{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
.lch-tog{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;padding:6px 4px;border:1.5px solid var(--border);border-radius:var(--radius-md);background:var(--surface);cursor:pointer;font-size:15px;font-weight:600;color:var(--ink);text-align:center;line-height:1.15}
.lch-tog input{position:absolute;opacity:0;pointer-events:none}
.lch-tog small{font-size:11px;font-weight:500;color:var(--ink-muted)}
.lch-tog:has(input:checked){border-color:var(--hyca-blue);background:var(--blue-50,#e8f2f9);color:var(--hyca-blue)}
.lch-tog:has(input:focus-visible){outline:2px solid var(--focus,#0070b0);outline-offset:2px}
.is-zero{opacity:.38}
.lch-optlist{display:flex;flex-direction:column}
.lch-optlist .hy-opt small{margin-left:auto}
.lch-fmore{margin:8px 0 0}
.hy-fsec__body .hy-bf__search{margin-bottom:10px}
.lch-subcats .hy-chip .hy-ico{width:18px;height:18px;flex:none;color:var(--hyca-blue)}
.lch-subcats .hy-chip{gap:6px}

.lch-fsheet label[hidden],.lch-fsheet .hy-fsec[hidden]{display:none!important}
