/*
Theme Name: REMOLQUES LOMBREBA — WoodMart Child
Theme URI: https://remolqueslombreba.com/
Description: Tema hijo de WoodMart. Mantiene el encabezado, navegación, widgets, carrito y plantillas originales de WoodMart. Diseño premium para remolques.
Author: Remolques Lombreba SL
Version: 1.1.0
Template: woodmart
Text Domain: lombreba-child
Requires PHP: 7.4
*/
:root{--lmb-green:#83b735;--lmb-green-hover:#709e29;--lmb-ink:#273037;--lmb-muted:#68737a;--lmb-border:#e5e9e9;--lmb-paper:#f6f8f6;--lmb-white:#fff}
body{color:var(--lmb-ink);--wd-primary-color:#83b735;--wd-primary-color-hover:#709e29}
a{outline-offset:3px}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--lmb-green)!important;outline-offset:3px}
html{scroll-behavior:smooth}
body .wd-nav-main>li>a:hover,body a:hover{color:var(--lmb-green)}
/* Keep WoodMart sticky behavior. Do not override header positioning or native menu. */
.whb-general-header,.whb-header-bottom{background:#fff}
/* Live HTML content superimposed on the photo itself (no separate split image). */
.lmb-hero{width:100%;max-width:100%;position:relative;isolation:isolate;min-height:510px;display:flex;align-items:center;color:#fff;border-radius:16px;overflow:hidden;background:#1a2b2d url('assets/hero-trailer.webp') center center / cover no-repeat;margin:8px auto 42px}
.lmb-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,23,32,.91) 0%,rgba(17,30,36,.81) 33%,rgba(13,31,34,.43) 62%,rgba(12,22,26,.13) 100%)}
.lmb-hero-inner{position:relative;z-index:1;width:min(700px,100%);padding:65px clamp(26px,6.5vw,82px)}
.lmb-hero-kicker{display:inline-flex;gap:8px;align-items:center;margin:0 0 17px;font-size:12px;letter-spacing:.14em;font-weight:760;color:#d2f49b;text-transform:uppercase}
.lmb-hero h1{color:#fff!important;font-size:clamp(32px,4.4vw,59px);line-height:1.075;letter-spacing:-.038em;font-weight:800;margin:0 0 20px;text-wrap:balance}
.lmb-hero p.lmb-hero-desc{font-size:clamp(15px,1.5vw,18px);line-height:1.65;color:#f6fbf2!important;max-width:560px;margin:0 0 31px}
.lmb-hero-actions{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.lmb-hero-actions a{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 22px;font-weight:760;font-size:14px;text-decoration:none;border-radius:6px;transition:background-color .18s ease,border-color .18s ease}
.lmb-hero .lmb-btn-primary{background:var(--lmb-green);color:#18251c!important;border:2px solid var(--lmb-green)}
.lmb-hero .lmb-btn-primary:hover{background:#a2d258;border-color:#a2d258;color:#18251c!important}
.lmb-hero .lmb-btn-secondary{border:2px solid rgba(255,255,255,.8);color:#fff!important;background:rgba(255,255,255,.08)}
.lmb-hero .lmb-btn-secondary:hover{background:rgba(255,255,255,.2)}
/* Native WoodMart header retains its own alignment. */
.lmb-home{width:100%;padding-bottom:35px}
.lmb-home .lmb-section{margin:40px 0 54px}
.lmb-section-intro{max-width:750px;margin:0 auto 30px;text-align:center}
.lmb-section-intro h2{font-size:clamp(25px,3vw,37px);line-height:1.18;letter-spacing:-.025em;margin:0 0 12px}
.lmb-section-intro p{font-size:15px;color:var(--lmb-muted);line-height:1.7;margin:0}
.lmb-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.lmb-category{min-width:0;display:flex;flex-direction:column;border:1px solid var(--lmb-border);border-radius:12px;overflow:hidden;background:#fff;text-decoration:none!important;box-shadow:0 6px 26px rgba(26,40,35,.025);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.lmb-category:hover{transform:translateY(-4px);box-shadow:0 15px 36px rgba(26,40,35,.09);border-color:#b7d19d}
.lmb-category-visual{aspect-ratio:1.58;display:flex;align-items:center;justify-content:center;background:#f8faf8}
.lmb-category-visual img{width:100%;height:100%;object-fit:contain;display:block}
.lmb-category-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:7px;flex:1}
.lmb-category h3{font-size:17px;line-height:1.35;margin:0;color:var(--lmb-ink)!important}
.lmb-category p{font-size:13px;line-height:1.55;margin:0;color:var(--lmb-muted);flex:1}
.lmb-category-link{font-size:13px;color:#587c23;font-weight:760;margin-top:9px}
.lmb-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:38px auto 30px}
.lmb-point{display:flex;gap:12px;align-items:flex-start;border-radius:10px;background:#f4f7f1;padding:20px}
.lmb-point-mark{width:36px;height:36px;min-width:36px;border-radius:50%;display:grid;place-items:center;background:#e3efcf;color:#4c7620;font-weight:bold}
.lmb-point h3{margin:0 0 6px;font-size:15px}.lmb-point p{margin:0;color:#606d66;font-size:13px;line-height:1.5}
.lmb-product-showcase{padding:10px 0 0}.lmb-products-empty{border:1px solid var(--lmb-border);background:#f9fbf8;border-radius:10px;text-align:center;padding:24px;font-size:14px;color:var(--lmb-muted)}
/* Product grids stay native: never stretch or crop product photographs. */
.woocommerce .wd-product .wd-product-img-link{display:flex!important;align-items:center;justify-content:center;aspect-ratio:1.24;background:#fff}
.woocommerce .wd-product .wd-product-img-link img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;transform:none!important;padding:8px;box-sizing:border-box}
.woocommerce .wd-product .hover-img img{width:100%!important;height:100%!important;object-fit:contain!important}
.woocommerce .price,.wd-product .price{font-weight:730}
.woocommerce a.button:not(.alt),.woocommerce button.button:not(.alt),.woocommerce input.button:not(.alt){border-radius:5px}
/* Documents (legal, shipping and service) */
.lmb-document{max-width:980px;margin:0 auto 46px;line-height:1.78;font-size:15px;overflow-wrap:anywhere}
.lmb-document .lmb-eyebrow{font-size:12px;text-transform:uppercase;color:#60852a;letter-spacing:.11em;font-weight:800}
.lmb-document h1{font-size:clamp(30px,4vw,46px);line-height:1.12;margin-bottom:22px}
.lmb-document h2{font-size:clamp(21px,2.3vw,26px);line-height:1.28;margin:32px 0 13px}
.lmb-document h3{font-size:18px;margin:23px 0 10px}
.lmb-document p,.lmb-document ul,.lmb-document ol{margin:0 0 18px}
.lmb-document ul,.lmb-document ol{padding-left:22px}
.lmb-document a{text-decoration:underline;text-underline-offset:3px}
.lmb-document .lmb-note{background:#f5f9ef;border-left:4px solid var(--lmb-green);padding:16px 18px;margin:22px 0}
.lmb-document table{width:100%;table-layout:fixed;border-collapse:collapse;margin:20px 0 27px}
.lmb-document th,.lmb-document td{vertical-align:top;padding:13px;border:1px solid var(--lmb-border);overflow-wrap:anywhere;text-align:left}
.lmb-document th{background:#f6f8f5}
.lmb-document .lmb-faq details{padding:18px 0;border-bottom:1px solid var(--lmb-border)}
.lmb-document .lmb-faq summary{cursor:pointer;font-weight:760}
.lmb-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.lmb-contact-card{background:#f8faf7;border:1px solid var(--lmb-border);border-radius:10px;padding:19px}
.lmb-contact-card h2{font-size:18px;margin:0 0 9px}
.lmb-form{max-width:700px;margin:20px 0 35px}
.lmb-form .lmb-field{margin-bottom:17px}
.lmb-form label{display:block;font-size:14px;font-weight:680;margin-bottom:7px}
.lmb-form input:not([type=checkbox]),.lmb-form textarea,.lmb-form select{width:100%;height:auto;max-width:100%;border:1px solid #cdd5cf;background:#fff;padding:12px 14px;border-radius:6px}
.lmb-form button{min-height:45px;border:0;background:var(--lmb-green);color:#21331b;padding:12px 22px;border-radius:6px;font-weight:750;cursor:pointer}
.lmb-form-feedback{padding:16px;border-radius:8px;background:#edf6e2;border-left:4px solid var(--lmb-green);margin:18px 0}
.lmb-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
/* Footer companion under the original WoodMart footer. */
.lmb-footer{background:#202b2f;color:#e8eff0;padding:46px 0 24px;margin-top:38px}
.lmb-footer-shell{width:min(1180px,calc(100% - 44px));margin:auto}
.lmb-footer-grid{display:grid;grid-template-columns:1.7fr repeat(3,minmax(0,1fr));gap:30px}
.lmb-footer h2,.lmb-footer h3{color:#fff!important;margin:0 0 15px}
.lmb-footer h3{font-size:15px}
.lmb-footer p{color:#c1cbd0;font-size:13px;line-height:1.7}
.lmb-footer a{display:block;color:#d5e3e5;text-decoration:none;margin:0 0 11px;font-size:13px}
.lmb-footer a:hover{color:#bde783}
.lmb-footer .lmb-footer-logo{width:235px;max-width:100%;height:auto;filter:brightness(0) invert(1);margin:0 0 12px}
.lmb-footer small{color:#a7b7bd}
.lmb-footer-bottom{border-top:1px solid rgba(255,255,255,.13);padding-top:20px;margin-top:25px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:12px;color:#b2c2c3}
/* Native WooCommerce checkout/thank-you - compact, accessible, no forced table hacks. */
body.woocommerce-order-received .woocommerce-order{max-width:920px;margin:0 auto 40px}
body.woocommerce-order-received .woocommerce-thankyou-order-received{font-size:21px;font-weight:720;margin-bottom:17px}
body.woocommerce-order-received ul.woocommerce-order-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;list-style:none;padding:8px 20px!important;border:1px solid #e2e8df;border-radius:11px;background:#f8faf7}
body.woocommerce-order-received ul.woocommerce-order-overview li{min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0!important;padding:13px 0;border:0!important;border-bottom:1px solid #e1e6de;font-size:13px;overflow-wrap:anywhere}
body.woocommerce-order-received ul.woocommerce-order-overview li strong{font-size:17px;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums}
body.woocommerce-order-received ul.woocommerce-order-overview li strong .woocommerce-Price-currencySymbol{display:inline!important;white-space:nowrap!important;font-size:inherit!important}
body.woocommerce-order-received .woocommerce-bacs-bank-details{background:#fff;border:1px solid #e2e8df;border-radius:11px;padding:22px;margin:25px 0}
body.woocommerce-order-received .woocommerce-bacs-bank-details h2{font-size:22px}
.lmb-copy-bank{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid #d2dbd1;border-radius:5px;background:#fff;color:#263231;font-size:12px;margin-left:10px;cursor:pointer}
.lmb-copy-bank:hover{background:#eef6e5}
@media(max-width:990px){.lmb-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.lmb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lmb-hero{min-height:480px}}
@media(max-width:767px){
 .lmb-hero{border-radius:0;margin:0 calc(-1 * var(--wd-container-spacing,15px)) 30px;min-height:520px;background-position:61% center}
 .lmb-hero:before{background:linear-gradient(90deg,rgba(12,22,29,.91),rgba(12,22,29,.79) 63%,rgba(12,22,29,.44))}
 .lmb-hero-inner{padding:55px 27px}
 .lmb-hero h1{font-size:clamp(31px,8vw,45px)}
 .lmb-hero-actions a{min-height:47px}
 .lmb-points{grid-template-columns:1fr;gap:10px}
 .lmb-section-intro h2{font-size:27px}
 .lmb-categories{gap:12px}
 .lmb-category-body{padding:12px}
 .lmb-category h3{font-size:15px}.lmb-category p{font-size:12px}
 .lmb-category-visual{aspect-ratio:1.4}
 .lmb-footer-grid{gap:22px}
 body.woocommerce-order-received ul.woocommerce-order-overview{grid-template-columns:1fr}
}
@media(max-width:420px){.lmb-hero{min-height:550px}.lmb-hero-actions{flex-direction:column;align-items:stretch}.lmb-hero-actions a{width:100%}.lmb-footer-grid{grid-template-columns:1fr}.lmb-contact-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.lmb-category,.lmb-hero-actions a{transition:none}}

/* LOMBREBA 1.1.0 — WoodMart child. Original WoodMart header and footer are retained. */
body.home .page-title,body.home .wd-page-title,body.home .title-size-default,body.home .page-title-section{display:none!important}
body.home .site-content{padding-top:0!important}
body.home .wd-content-layout{margin-top:0}
body.home .lmb-home{max-width:1400px;margin-inline:auto}
body .whb-general-header{background:#fff!important}
body .whb-header-bottom{background:#f4f8ef!important}
body .whb-general-header .wd-logo img,body .whb-general-header .site-logo img{max-height:62px!important;object-fit:contain!important}
body .whb-general-header .whb-col-mobile img{max-height:54px!important}
/* Native footer with four configured areas, not demo copyrights or card-brand graphics. */
body .footer-container{background:#202c30!important;color:#dce6e5!important}
body .footer-container .main-footer{padding:48px 0 25px!important}
body .footer-container .widget-title,body .footer-container h4,body .footer-container h5{color:#f6faf9!important}
body .footer-container a,body .footer-container p,body .footer-container li{color:#c4d0d1!important}
body .footer-container a:hover{color:#b6e17e!important}
body .footer-container .lmb-footer-native-logo{width:235px;max-width:100%;height:auto;display:block;margin-bottom:15px}
body .footer-container .lmb-footer-native-identity{font-size:13px;line-height:1.7}
body .footer-container .lmb-footer-native-identity p{margin-bottom:12px}
body .footer-container .lmb-footer-native-identity a{display:inline-block!important}
body .footer-container .copyrights-wrapper{background:#182328!important;color:#cbd7d7!important}
body .footer-container .copyrights-wrapper a{color:#dbe7e7!important}
/* Keep amounts and the EUR symbol together in the checkout/confirmation. */
.woocommerce .woocommerce-Price-amount, .woocommerce .woocommerce-Price-amount bdi,.woocommerce .woocommerce-Price-currencySymbol{white-space:nowrap!important;font-size:inherit}
body.woocommerce-order-received .woocommerce-order-overview li strong{overflow-wrap:normal!important}
/* Remove WoodMart floating demo toolbars if WooCommerce is not available. */
body:not(.woocommerce-page) .wd-sticky-toolbar.wd-set-mb{display:none}
@media(max-width:767px){
  .lmb-hero{margin:0 -15px 30px!important;border-radius:0!important;min-height:500px!important;background-position:60% center!important}
  .lmb-hero-inner{padding:54px 24px!important}
  body.home .lmb-home{overflow-x:clip}
  body .whb-general-header .wd-logo img{max-width:182px!important;max-height:52px!important}
  .lmb-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
}
@media(max-width:420px){.lmb-footer-grid{grid-template-columns:1fr}.lmb-hero h1{font-size:34px!important}}
