/* ERLONSO Master 1.0 — isolated contact, shop and light/dark layouts */
.erm-contact,.erm-shop{--erm-bg:#fff;--erm-surface:#fff;--erm-text:#111;--erm-muted:#565656;--erm-border:#dedede;--erm-soft:#fafafa;font-family:inherit;color:var(--erm-text);background:var(--erm-bg)}
.erm-contact *, .erm-shop *{box-sizing:border-box}
.erm-contact svg,.erm-shop svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65}
.erm-contact-route .er-page-heading{display:none!important}
.erm-contact-route .er-page-body{margin:0!important;padding:0!important;max-width:none!important}
.erm-contact-route .er-page>.er-container{max-width:none!important;width:100%!important;padding:0!important}
.erm-contact .erm-wrap{max-width:1250px;margin-inline:auto;padding-inline:28px}
.erm-contact-hero{position:relative;isolation:isolate;min-height:445px;display:flex;align-items:center;background:#141414;margin:0;color:#fff}
.erm-contact-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.86) 27%,rgba(0,0,0,.53) 52%,rgba(0,0,0,.07) 100%),var(--erm-hero-image);background-size:cover,cover;background-position:center,center 54%;z-index:-1}
.erm-contact-hero-inner{width:100%;padding-block:75px}
.erm-contact .erm-hero-content{max-width:610px}
.erm-contact .erm-eyebrow{font-size:11px;letter-spacing:.2em;font-weight:800;color:inherit;margin:0 0 22px;text-transform:uppercase}
.erm-contact-hero h1{font-size:clamp(40px,5.2vw,65px)!important;letter-spacing:-.054em!important;line-height:1.07!important;font-weight:650!important;color:#fff!important;margin:0 0 18px!important}
.erm-contact-hero .erm-intro{font-size:clamp(15px,1.45vw,18px)!important;line-height:1.65!important;color:#e5e5e5!important;margin:0 0 24px!important;max-width:540px}
.erm-hero-buttons{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap}
.erm-contact .erm-cta{display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;padding:14px 17px;border-radius:12px;text-decoration:none!important;font-size:14px;font-weight:750;min-height:58px;min-width:215px;border:1px solid rgba(255,255,255,.8);transition:transform .2s,opacity .2s,background .2s;color:#fff!important}
.erm-contact .erm-cta:hover{transform:translateY(-2px)}
.erm-contact .erm-cta:focus-visible,.erm-shop :is(a,button,input,select):focus-visible{outline:3px solid #555;outline-offset:3px}
.erm-contact .erm-cta-wa{background:#111}
.erm-contact .erm-cta-email{background:#fff;color:#111!important;border-color:#fff}
.erm-contact .erm-cta svg:last-child{width:18px;height:18px;margin-left:auto}
.erm-contact-form-section{padding:78px 0 60px;background:var(--erm-bg);color:var(--erm-text)}
.erm-contact-form-grid{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.2fr);gap:clamp(32px,5vw,80px);align-items:start}
.erm-contact .erm-eyebrow-dark{color:var(--erm-text)}
.erm-contact-about h2{font-size:clamp(34px,4vw,50px)!important;line-height:1.1!important;letter-spacing:-.05em!important;color:var(--erm-text)!important;margin:0 0 17px!important}
.erm-contact-subtitle{color:var(--erm-muted)!important;font-size:15px!important;line-height:1.75!important;margin:0 0 35px!important;max-width:530px}
.erm-advantages{display:grid;gap:26px}
.erm-advantage{display:grid;grid-template-columns:56px minmax(0,1fr);gap:18px;align-items:start}
.erm-advantage-icon{display:grid;place-items:center;border:1px solid var(--erm-border);width:54px;height:54px;border-radius:100%;color:var(--erm-text)}
.erm-advantage>span:last-child{display:flex;flex-direction:column;padding-top:4px;gap:5px}
.erm-advantage strong{font-size:15px;color:var(--erm-text)}
.erm-advantage small{font-size:13px;color:var(--erm-muted);line-height:1.65;max-width:320px}
.erm-form-card{border:1px solid var(--erm-border);background:var(--erm-surface);box-shadow:0 14px 44px rgba(0,0,0,.025);padding:30px;border-radius:20px}
.erm-contact-form{display:block}
.erm-contact-form .erm-honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0;pointer-events:none}
.erm-contact-form label{display:block;font-size:13px;font-weight:700;color:var(--erm-text);margin:0 0 18px}
.erm-contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),.erm-contact-form textarea{display:block;width:100%;margin-top:9px;background:var(--erm-surface);border:1px solid var(--erm-border);color:var(--erm-text);border-radius:12px;padding:14px 15px;font:inherit;font-size:14px;min-height:49px;box-shadow:none!important;outline-color:#666}
.erm-contact-form textarea{resize:vertical;min-height:142px}
.erm-contact-form input::placeholder,.erm-contact-form textarea::placeholder{color:var(--erm-muted);opacity:.8}
.erm-contact-form .erm-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.erm-topics{min-width:0;margin:0 0 18px;padding:0;border:0;display:flex;gap:8px;flex-wrap:wrap}
.erm-topics legend{font-size:13px;font-weight:700;color:var(--erm-text);padding:0 0 10px}
.erm-topics label{display:inline-flex;align-items:center;gap:8px;margin:0!important;border:1px solid var(--erm-border);border-radius:999px;padding:9px 13px;font-weight:650;font-size:12px;cursor:pointer;min-height:38px}
.erm-topics label:has(input:checked){background:var(--erm-text);color:var(--erm-bg);border-color:var(--erm-text)}
.erm-topics label:has(input:checked) span{color:inherit}
.erm-topics input{accent-color:#111;flex:0 0 auto}
.erm-contact-form .erm-consent{display:flex;align-items:flex-start;gap:10px;margin-top:6px;font-size:12px!important;font-weight:450;line-height:1.6;color:var(--erm-muted)}
.erm-consent input{margin-top:3px;flex:0 0 auto;accent-color:#111}
.erm-consent a{color:var(--erm-text);text-underline-offset:2px}
.erm-contact-form .erm-send{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;padding:15px 20px;min-height:53px;background:var(--erm-text)!important;color:var(--erm-bg)!important;border:1px solid var(--erm-text)!important;border-radius:11px;font-weight:750;font-size:14px;cursor:pointer}
.erm-contact-form .erm-send svg{width:18px;height:18px;color:inherit}
.erm-contact-form .erm-send:hover{opacity:.85}
.erm-success,.erm-error{border-radius:10px;padding:15px 18px;margin:0 0 20px;font-size:14px;background:#f6f6f6;border:1px solid #bbb;color:#111}
.erm-error{border-color:#999}
.erm-contact-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:42px}
.erm-quick-card{display:flex;align-items:center;gap:14px;min-width:0;min-height:90px;padding:18px;border:1px solid var(--erm-border);border-radius:14px;background:var(--erm-soft);text-decoration:none!important;color:var(--erm-text)!important}
.erm-quick-card>svg:first-child{width:27px;height:27px;flex:0 0 27px}
.erm-quick-card>span{min-width:0;display:flex;flex-direction:column;gap:4px}
.erm-quick-card small{font-size:10px;letter-spacing:.1em;color:var(--erm-muted)}
.erm-quick-card strong{font-size:14px;overflow-wrap:anywhere;color:var(--erm-text)}
.erm-quick-card span span{font-size:12px;overflow-wrap:anywhere;color:var(--erm-muted)}
.erm-quick-card>svg:last-child{margin-left:auto;width:18px;height:18px;flex:0 0 18px}
.erm-quick-static{cursor:default}
.erm-shipping-area{background:#111;color:#fff;margin:0;padding:38px 0}
.erm-shipping-grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:35px;align-items:center}
.erm-shipping-copy .erm-eyebrow{color:#d8d8d8}
.erm-shipping-copy h2{color:#fff!important;line-height:1.1!important;letter-spacing:-.04em!important;font-size:clamp(33px,4vw,48px)!important;margin:0 0 18px!important}
.erm-shipping-copy>p:not(.erm-eyebrow){color:#d0d0d0!important;font-size:15px!important;line-height:1.7!important}
.erm-shipping-tag{display:flex;align-items:center;gap:12px;font-weight:700;font-size:13px!important;color:#fff!important;margin-top:25px!important}
.erm-shipping-tag svg{flex:0 0 21px}
.erm-shipping-map{overflow:hidden;border-radius:20px;border:1px solid #333;min-height:300px;align-self:stretch}
.erm-shipping-map img{width:100%;height:100%;object-fit:cover;display:block}
/* Master contact dark mode: readable form and fields, hero deliberately remains dark. */
html[data-er-theme="dark"] .erm-contact,html[data-theme="dark"] .erm-contact{--erm-bg:#111;--erm-surface:#1a1a1a;--erm-text:#fff;--erm-muted:#cbcbcb;--erm-border:#414141;--erm-soft:#202020}
html[data-er-theme="dark"] .erm-contact-form .erm-topics label:has(input:checked),html[data-theme="dark"] .erm-contact-form .erm-topics label:has(input:checked){background:#fff;color:#111}
html[data-er-theme="dark"] .erm-contact-form .erm-topics label:has(input:checked) span,html[data-theme="dark"] .erm-contact-form .erm-topics label:has(input:checked) span{color:#111!important}

/* SHOP: fixed left-side filter navigation without nested scrolling. */
.erm-shop{padding:30px 0 80px;max-width:1280px;margin:0 auto}
.erm-shop-top{margin:0 0 34px}
.erm-shop-kicker{font-size:11px!important;letter-spacing:.2em;font-weight:800;color:var(--erm-muted)}
.erm-shop-top h1{margin:6px 0 12px!important;font-size:clamp(35px,4.8vw,58px)!important;line-height:1.1!important;letter-spacing:-.05em!important;color:var(--erm-text)!important}
.erm-shop-top>p:not(.erm-shop-kicker){font-size:15px;line-height:1.6;color:var(--erm-muted);margin:0}
.erm-shop-grid{display:grid;grid-template-columns:minmax(220px,255px) minmax(0,1fr);gap:32px;align-items:start}
.erm-shop-side{position:static;align-self:start;padding:0 21px 20px 0;border-right:1px solid var(--erm-border);max-height:none!important;overflow:visible!important}
.erm-filter-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:19px;border-bottom:1px solid var(--erm-border)}
.erm-filter-header strong{font-size:17px}
.erm-filter-header a{font-size:12px;color:var(--erm-muted);text-decoration:underline}
.erm-search-label,.erm-sort-label{display:block;font-size:13px;font-weight:700;margin:20px 0;color:var(--erm-text)}
.erm-search-label input,.erm-sort-label select{width:100%;border:1px solid var(--erm-border);border-radius:11px;background:var(--erm-surface);padding:12px;margin-top:8px;min-height:46px;color:var(--erm-text);font-size:13px;box-shadow:none}
.erm-filter-set{border:0;padding:16px 0 20px;border-top:1px solid var(--erm-border);min-width:0;margin:0;display:flex;flex-direction:column;gap:7px}
.erm-filter-set legend{font-size:14px;font-weight:800;padding:10px 0;color:var(--erm-text)}
.erm-check{display:flex;align-items:center;gap:11px;padding:8px 0;cursor:pointer;font-size:13px;line-height:1.4;color:var(--erm-text)}
.erm-check input{margin:0;flex:0 0 17px;width:17px;height:17px;accent-color:#111}
.erm-check span{flex:1}
.erm-check:has(input:checked) span{font-weight:750}
.erm-filter-empty{font-size:12px;color:var(--erm-muted);padding:12px 0}
.erm-filter-fallback{padding:13px 15px;background:#111;color:#fff;border:1px solid #111;border-radius:10px;width:100%;cursor:pointer}
.erm-js-active .erm-filter-fallback{display:none}
.erm-product-results{min-width:0}
.erm-shop-results-head{display:flex;justify-content:flex-end;align-items:center;margin-bottom:15px;font-size:13px;color:var(--erm-muted)}
.erm-product-results ul.products,.erm-product-results .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:17px!important;margin:0!important;padding:0!important}
.erm-product-results ul.products li.product{float:none!important;min-width:0;width:auto!important;margin:0!important;padding:11px!important;border:1px solid var(--erm-border)!important;border-radius:17px!important;background:var(--erm-surface)!important;list-style:none;overflow:hidden}
.erm-product-results ul.products li.product a img{width:100%!important;aspect-ratio:1;object-fit:contain!important;background:#f7f7f7!important;border-radius:10px!important}
.erm-product-results ul.products li.product .woocommerce-loop-product__title{color:var(--erm-text)!important;font-size:14px!important;line-height:1.4!important}
.erm-product-results ul.products li.product .price{color:var(--erm-text)!important;font-size:15px!important}
.erm-no-results{padding:28px;border:1px solid var(--erm-border);border-radius:13px}
.erm-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:7px;justify-content:center;margin-top:32px}
.erm-pagination a,.erm-pagination .erm-ellipsis{display:flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 9px;border:1px solid var(--erm-border);border-radius:10px;color:var(--erm-text);background:var(--erm-surface);font-weight:700;text-decoration:none}
.erm-pagination a.is-current{background:var(--erm-text);color:var(--erm-bg);border-color:var(--erm-text)}
.erm-pagination .erm-ellipsis{border:0;background:transparent;color:var(--erm-muted)}
html[data-er-theme="dark"] .erm-shop,html[data-theme="dark"] .erm-shop{--erm-bg:#111;--erm-surface:#191919;--erm-text:#fff;--erm-muted:#d2d2d2;--erm-border:#373737;--erm-soft:#191919}
@media(max-width:1120px){.erm-product-results ul.products,.erm-product-results .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:880px){
 .erm-contact-form-grid{grid-template-columns:1fr;gap:26px}
 .erm-contact-about{max-width:680px}
 .erm-contact-form-section{padding:52px 0 50px}
 .erm-shop-grid{grid-template-columns:minmax(185px,215px) minmax(0,1fr);gap:20px}
 .erm-product-results ul.products,.erm-product-results .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .erm-contact-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
 .erm-shipping-grid{grid-template-columns:1fr}
 .erm-shipping-map{height:360px}
}
@media(max-width:650px){
 .erm-contact .erm-wrap{padding-inline:18px}
 .erm-contact-hero{min-height:480px;align-items:flex-end}
 .erm-contact-hero:before{background-image:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.8) 35%,rgba(0,0,0,.25) 100%),var(--erm-hero-image);background-position:center,54% center}
 .erm-contact-hero-inner{padding-block:165px 36px}
 .erm-contact-hero h1{font-size:clamp(36px,9vw,49px)!important}
 .erm-contact .erm-cta{min-width:0;flex:1 1 160px;padding:11px;gap:9px;font-size:13px;min-height:54px}
 .erm-contact .erm-cta svg{height:20px;width:20px}
 .erm-contact-quick{grid-template-columns:1fr;gap:10px}
 .erm-form-card{padding:18px 15px}
 .erm-contact-form .erm-form-row{grid-template-columns:1fr;gap:0}
 .erm-shipping-area{padding:35px 0}
 .erm-shipping-map{height:260px}
 .erm-shop{padding:12px 0 48px}
 .erm-shop-grid{display:block}
 .erm-shop-side{position:static;max-height:none;overflow:visible;border:1px solid var(--erm-border);border-radius:17px;padding:18px;margin:0 0 25px}
 .erm-filter-set{gap:5px}
 .erm-product-results ul.products,.erm-product-results .woocommerce ul.products{gap:9px!important}
 .erm-product-results ul.products li.product{padding:9px!important}
 .erm-pagination a,.erm-pagination .erm-ellipsis{min-width:36px;height:38px;font-size:13px}
}
@media (prefers-reduced-motion:reduce){.erm-contact .erm-cta{transition:none}}
/* Native radio buttons can inherit unreadable OS styles in dark mode: draw a clear ring. */
.erm-topics input[type="radio"]{appearance:none;-webkit-appearance:none;display:inline-block;width:13px;height:13px;min-width:13px;margin:0;border:1.5px solid currentColor;border-radius:50%;background:transparent;position:relative;color:inherit;vertical-align:middle}
.erm-topics input[type="radio"]:checked:after{content:"";position:absolute;inset:3px;background:currentColor;border-radius:50%}
