/* Shared BricoDato navigation, accessible controls and responsive refinements. */
:root{--bd-ui-ink:#0b192e;--bd-ui-navy:#091627;--bd-ui-blue:#2455dc;--bd-ui-amber:#ffb44d;--bd-ui-muted:#52647a;--bd-ui-line:#dce5ef;--bd-ui-radius:12px}
.bd-site-header,.bd-site-footer,.bd-site-header *,.bd-site-footer *{box-sizing:border-box;font-family:Inter,"Segoe UI",Arial,sans-serif}
.bd-site-header{position:sticky;top:0;z-index:150;background:#fff;color:var(--bd-ui-ink);border-bottom:1px solid var(--bd-ui-line);box-shadow:0 2px 12px #09162708}
.bd-site-header .bd-ui-inner{width:min(1240px,calc(100% - 40px));min-height:74px;margin:auto;display:flex;align-items:center;gap:20px}
.bd-ui-brand{display:inline-flex;align-items:center;gap:9px;color:#10365d;text-decoration:none;white-space:nowrap;font-size:20px;font-weight:800;letter-spacing:-.04em;line-height:1.2}
.bd-ui-brand img{display:block;width:34px;height:34px;object-fit:contain;flex:none}
.bd-ui-brand .bd-ui-dato{color:#a64a00}
.bd-ui-languages{display:flex;align-items:center;gap:3px;border:1px solid var(--bd-ui-line);border-radius:9px;padding:3px}
.bd-ui-languages a{display:flex;justify-content:center;align-items:center;min-width:35px;min-height:34px;padding:5px;color:#42566f;border-radius:5px;font-size:12px;font-weight:750;text-decoration:none}
.bd-ui-languages a[aria-current=page]{background:#eaf0ff;color:#1643a5}
.bd-ui-nav{margin-left:auto;display:flex;align-items:center;gap:4px}
.bd-ui-nav>a,.bd-ui-more>summary{display:flex;align-items:center;min-height:44px;padding:10px 12px;color:#344e6c;text-decoration:none;font-size:14px;font-weight:650;line-height:1.4;border-radius:7px;white-space:nowrap}
.bd-ui-nav>a:hover,.bd-ui-more>summary:hover{background:#edf3fc;color:#163d86}
.bd-ui-nav a[aria-current=page]{color:#1643a5;background:#eaf0ff}
.bd-ui-more{position:relative;margin:0}
.bd-ui-more>summary{list-style:none;cursor:pointer;gap:5px}
.bd-ui-more>summary::-webkit-details-marker{display:none}
.bd-ui-more-panel{position:absolute;right:0;top:calc(100% + 6px);width:230px;padding:7px;border:1px solid var(--bd-ui-line);border-radius:10px;background:#fff;box-shadow:0 12px 32px #09162726}
.bd-ui-more-panel a{display:block;padding:12px;border-radius:6px;color:#344e6c;text-decoration:none;font-size:14px;line-height:1.4}
.bd-ui-more-panel a:hover{background:#edf3fc}
.bd-ui-menu{display:none;align-items:center;justify-content:center;gap:7px;margin-left:auto;border:1px solid #cbd8e9;border-radius:9px;min-height:44px;padding:8px 12px;background:#fff;color:#163d86;font:700 13px/1.2 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.bd-ui-icon{display:inline-block;width:24px;height:24px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.bd-ui-menu .bd-ui-icon,.bd-ui-more .bd-ui-icon{width:20px;height:20px}
.bd-site-header :is(a,button,summary):focus-visible,.bd-site-footer a:focus-visible{outline:3px solid #2455dc;outline-offset:3px}
.bd-site-footer{margin-top:0;padding:48px 0 20px;background:#091627;color:#d8e4f2;font-size:14px;line-height:1.65}
.bd-site-footer .bd-ui-footer-inner{width:min(1240px,calc(100% - 40px));margin:auto;display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:35px}
.bd-site-footer .bd-ui-brand{color:#f5f8ff}
.bd-site-footer .bd-ui-dato{color:#ffb44d}
.bd-site-footer .bd-ui-footer-about{color:#c7d5e5;max-width:310px;margin:15px 0}
.bd-site-footer h2{font-size:14px;line-height:1.5;color:#f5f8ff;margin:4px 0 12px;font-weight:750;letter-spacing:0}
.bd-site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bd-site-footer a{color:#d8e4f2;text-decoration:none}
.bd-site-footer a:hover{text-decoration:underline;color:#ffcc80}
.bd-ui-social{display:flex;flex-wrap:wrap;gap:8px}
.bd-ui-social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #51627a;border-radius:9px}
.bd-site-footer .bd-ui-social .bd-ui-icon{width:20px;height:20px}
.bd-ui-footer-bottom{width:min(1240px,calc(100% - 40px));margin:32px auto 0;padding-top:18px;border-top:1px solid #344456;display:flex;gap:25px;justify-content:space-between;font-size:12px;color:#b8c8db}
.bd-ui-footer-bottom p{margin:0;max-width:700px}
.bd-ui-footer-bottom a{text-decoration:underline;text-underline-offset:3px}
.bd-site-footer a:focus-visible{outline-color:#ffb44d}
.bd-ui-skip{position:fixed;left:12px;top:0;transform:translateY(-150%);z-index:300;background:#fff;color:#163d86;padding:12px 16px;border:2px solid #2455dc;border-radius:8px;font:700 15px/1.4 Inter,"Segoe UI",Arial,sans-serif}
.bd-ui-skip:focus{transform:translateY(12px)}
.bd-ui-page main :is(.calc-field small,.paint-pro-title p,.paint-pro-stat>span,.paint-pro-stat>small,.paint-pro-price label,.paint-pro-status,.paint-pro-row>span,.paint-pro-note){color:#52647a!important}
.bd-ui-page main :is(.calc-field small,.paint-pro-stat>span,.paint-pro-stat>small,.paint-pro-price label,.paint-pro-note){font-size:12px!important;line-height:1.5!important}
.bd-ui-page main :is(.offer-link,.paint-pro-btn-primary,.v16-btn.primary){background:#ffb44d!important;border-color:#ffb44d!important;color:#14243b!important}
.bd-ui-page main :is(.offer-link,.paint-pro-btn-primary,.v16-btn.primary):hover{background:#ffc574!important;border-color:#ffc574!important}
.bd-ui-page .cat-count{color:#344e6c!important;font-size:11px!important}
.bd-ui-page :is(.is-active,.active)> .cat-count{background:#ffb44d!important;color:#14243b!important}
.bd-ui-page .affiliate-note strong{color:#783500!important}
.bd-ui-page .cat>.bd-ui-icon{width:18px;height:18px;margin-right:5px}
.bd-ui-page main :is(.converter-head small,.converter-note,.p520-coming>p){color:#52647a!important}
.bd-ui-page main .calc-next>a>span{color:#9b4300!important;font-size:11px!important}
.bd-ui-page .p520-breadcrumb a{text-decoration:underline;text-underline-offset:3px}
.bd-ui-page main .product-pick{color:#783500!important;background:#fff0e1!important;font-size:11px!important}
.bd-ui-page main :is(.product-brandline,.marketplace-note,.marketplace-note span){color:#52647a!important}
.bd-ui-page main :is(.v1212-head>p,.v1212-providers .v1212-head>div>span){color:#52647a!important}
.bd-ui-page main .store-info-v3 .eyebrow{background:transparent!important;color:#783500!important}
.bd-ui-page main .bd-f-consumption .bd-f-consumption-note{color:#52647a!important}
.bd-ui-page main :is(.v16-head p,.v16-rank .eyebrow){color:#52647a!important}
.bd-ui-page main :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2455dc;outline-offset:3px}
.bd-ui-page main :is(.calc-result-card,.bd-f-hero,.bd-f-price) :is(a,button,input,summary):focus-visible{outline-color:#ffb44d}
.bd-ui-page .bd-f-category-icon .bd-ui-icon{width:26px;height:26px}
.bd-ui-page .bd-f-search-icon{display:flex;align-items:center}
.bd-ui-page .bd-f-search-icon .bd-ui-icon{width:22px;height:22px}
.bd-ui-page .bd-f-search input::placeholder{color:#52647a;opacity:1}
.bd-ui-page .bd-f-search input{font-size:16px!important}
.bd-ui-page .bd-f-hero-copy .bd-f-search{margin-top:24px}
.bd-ui-page .bd-f-hero h1{font-size:clamp(36px,3.8vw,58px);max-width:800px}
.bd-ui-page .mobile-dock a{min-height:44px;min-width:44px;font-size:11px!important;color:#344e6c!important}
.bd-ui-page .mobile-dock .bd-ui-icon{display:block;width:21px;height:21px;margin:0 auto 4px}
.bd-ui-page .calc-hero-badge img{filter:brightness(0) invert(1);opacity:.95}
.bd-ui-page .bd-table-wrap{scroll-margin-top:90px}
.bd-ui-page .bd-table-wrap:focus-visible{outline:3px solid #2455dc;outline-offset:3px}
.bd-ui-page .bd-paint-purchase{width:100%!important;max-width:none!important;margin:20px 0!important}
@media(min-width:981px){.bd-ui-nav{display:flex!important}}
@media(max-width:980px){
 .bd-site-header .bd-ui-inner{min-height:68px;gap:12px;width:calc(100% - 32px);flex-wrap:wrap;padding:10px 0}
 .bd-ui-menu{display:inline-flex}
 .bd-ui-brand{font-size:18px}.bd-ui-brand img{width:31px;height:31px}
 .bd-ui-languages{margin-left:auto}.bd-ui-menu{margin-left:0}
 .bd-ui-nav{display:none;width:100%;margin:0;flex-direction:column;align-items:stretch;gap:2px;border-top:1px solid var(--bd-ui-line);padding-top:8px;max-height:calc(100dvh - 90px);overflow:auto}
 .bd-ui-nav[data-open]{display:flex}
 .bd-ui-nav>a,.bd-ui-more>summary{min-height:46px;padding:10px 12px;font-size:15px}
 .bd-ui-more-panel{position:static;width:100%;box-shadow:none;border:0;background:#f4f7fc;margin:4px 0}
 .bd-ui-nav .bd-ui-more-panel a{min-height:44px}
 .bd-site-footer .bd-ui-footer-inner{grid-template-columns:1.2fr 1fr;gap:30px}
 .bd-ui-page .calc-hero{padding-top:24px!important;padding-bottom:24px!important}
 .bd-ui-page .calc-hero .hub-hero-grid{gap:16px!important}
 .bd-ui-page .calc-hero .calc-hero-badge{display:none!important}
 .bd-ui-page .calc-hero .calc-trust{margin-top:14px!important}
 .bd-ui-page .calc-hero h1{font-size:clamp(29px,7vw,39px)!important;margin:12px 0!important}
 .bd-ui-page .calc-hero .hub-hero-grid>div:first-child>p{font-size:15px!important;line-height:1.6!important}
}
@media(max-width:520px){
 .bd-site-header .bd-ui-inner{width:calc(100% - 24px);gap:8px}
 .bd-ui-brand{gap:6px;font-size:17px}.bd-ui-brand img{width:29px;height:29px}
 .bd-ui-languages a{min-width:30px;min-height:32px;font-size:11px}
 .bd-ui-menu{padding:8px;gap:4px;font-size:12px}
 .bd-ui-menu .bd-ui-icon{width:18px;height:18px}
 .bd-site-footer{padding-top:34px}
 .bd-site-footer .bd-ui-footer-inner{width:calc(100% - 32px);gap:28px 20px;grid-template-columns:1fr 1fr}
 .bd-ui-footer-intro{grid-column:1/-1}
 .bd-ui-footer-bottom{width:calc(100% - 32px);display:block;padding-bottom:12px}
 .bd-ui-footer-bottom p+p{margin-top:12px}
 .bd-ui-page .bd-f-hero{padding-top:28px;padding-bottom:30px}
 .bd-ui-page .bd-f-hero h1{font-size:35px;line-height:1.12;letter-spacing:-.04em}
 .bd-ui-page .bd-f-hero-copy .bd-f-search{grid-template-columns:auto minmax(0,1fr) auto;padding:7px 8px;gap:4px;margin-top:22px}
 .bd-ui-page .bd-f-hero-copy .bd-f-search button{grid-column:auto;padding:0 12px;min-height:44px;margin:0}
 .bd-ui-page .bd-f-hero-copy .bd-f-search input{padding-left:2px}
 .bd-ui-page .bd-f-paint-card{margin-top:4px}
 .bd-ui-page .hub-band p{min-width:0!important;max-width:100%!important}
 .bd-ui-page .hub-band{min-width:0!important}
 .bd-ui-page .hub-section-heading{min-width:0!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .bd-ui-page .hub-section-heading>p{min-width:0!important;width:100%!important;max-width:100%!important}
}
@media(prefers-reduced-motion:reduce){.bd-ui-page{scroll-behavior:auto}.bd-ui-page *{scroll-behavior:auto!important}}
@media print{.bd-site-header,.bd-site-footer,.mobile-dock,.bd-ui-skip{display:none!important}}

/* Live store popularity section: readable eyebrow on the warm background. */
.bd-ui-page .popular-head .eyebrow{color:#783500!important}

/* BRICODATO RESTORED LANGUAGE FLAGS 20261108 */
.bd-ui-languages a{gap:5px;min-width:54px}
.bd-ui-languages a[lang]::before{content:"";display:inline-block;flex:0 0 24px;width:24px;height:16px;border-radius:2px;background-position:center;background-repeat:no-repeat;background-size:24px 16px;box-shadow:0 0 0 1px #09162712}
.bd-ui-languages a[lang="es"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2016%22%3E%3Crect%20width%3D%2224%22%20height%3D%2216%22%20fill%3D%22%23AA151B%22%2F%3E%3Crect%20y%3D%224%22%20width%3D%2224%22%20height%3D%228%22%20fill%3D%22%23F1BF00%22%2F%3E%3C%2Fsvg%3E")}
.bd-ui-languages a[lang="en"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2016%22%3E%3Crect%20width%3D%2224%22%20height%3D%2216%22%20fill%3D%22%23012169%22%2F%3E%3Cpath%20d%3D%22M0%200l24%2016M24%200L0%2016%22%20stroke%3D%22%23fff%22%20stroke-width%3D%223.2%22%2F%3E%3Cpath%20d%3D%22M0%200l24%2016M24%200L0%2016%22%20stroke%3D%22%23C8102E%22%20stroke-width%3D%221.5%22%2F%3E%3Cpath%20d%3D%22M12%200v16M0%208h24%22%20stroke%3D%22%23fff%22%20stroke-width%3D%225%22%2F%3E%3Cpath%20d%3D%22M12%200v16M0%208h24%22%20stroke%3D%22%23C8102E%22%20stroke-width%3D%222.7%22%2F%3E%3C%2Fsvg%3E")}
@media(max-width:520px){.bd-ui-languages a{font-size:0;gap:0;min-width:34px;min-height:32px;padding:5px}}


/* BRICODATO_TOUCH_INPUTS_V6 — 2026-11-09
   Keep text entry readable on touch devices, including iPhone/iPad layouts. */
@media (pointer:coarse){
  body input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=button]):not([type=submit]):not([type=reset]):not([type=image]),
  body select,
  body textarea{font-size:16px!important}
}

/* BRICODATO_PAGE_HERO_LABEL_CONTRAST_V9 */
.bd-ui-page .page-hero .eyebrow{color:#9a3412}

/* ==== BRICODATO DESIGN SYSTEM v1 · páginas en español e inglés con plantilla bd-ui (añadido 2026-11-14) ==== */

@font-face{font-family:'BD Inter';font-weight:400;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-400.woff) format("woff")}
@font-face{font-family:'BD Inter';font-weight:600;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-600.woff) format("woff")}
@font-face{font-family:'BD Inter';font-weight:700;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-700.woff) format("woff")}
@font-face{font-family:'BD Inter';font-weight:800;font-style:normal;font-display:swap;src:url(/assets/fonts/inter-800.woff) format("woff")}
html:is([lang="es"],[lang="en"]){--ink:#0b1b3a;--navy:#081f49;--blue:#1558c0;--blue-hi:#2878ff;--soft:#e8f0ff;--bg:#f6f8fc;--line:#dbe4f0;--muted:#4f6480;--accent:#ff8a3d;--accent-ink:#a63f00;--r-s:12px;--r-m:18px;--sh:0 10px 30px rgba(8,31,73,.08);--f:'BD Inter',Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
html:is([lang="es"],[lang="en"]) body{font-family:var(--f);font-size:16px;line-height:1.65;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html:is([lang="es"],[lang="en"]) body :is(h1,h2,h3,h4,button,input,select,textarea){font-family:var(--f)}
html:is([lang="es"],[lang="en"]) body :is(h1,h2,h3){letter-spacing:-.02em;line-height:1.15;font-weight:800}
html:is([lang="es"],[lang="en"]) body h2{font-size:clamp(1.5rem,2.6vw,2rem)}html:is([lang="es"],[lang="en"]) body h3{font-size:1.2rem}
html:is([lang="es"],[lang="en"]) body :is(.eyebrow,.guide-kicker){font:700 12px/1.2 var(--f);letter-spacing:.08em;text-transform:uppercase}
html:is([lang="es"],[lang="en"]) body small{font-size:12px}
html:is([lang="es"],[lang="en"]) :focus-visible{outline:3px solid var(--blue-hi);outline-offset:2px;border-radius:6px}

html:is([lang="es"],[lang="en"]) .ic{width:1.15em;height:1.15em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.2em}
html:is([lang="es"],[lang="en"]) .bd-f-category-icon{display:grid!important;place-items:center;width:46px;height:46px;border-radius:var(--r-s);background:var(--soft)!important;color:var(--blue)!important}
html:is([lang="es"],[lang="en"]) .bd-f-category-icon .ic{width:24px;height:24px}
html:is([lang="es"],[lang="en"]) .bd-f-search-icon .ic{width:20px;height:20px}
html:is([lang="es"],[lang="en"]) .mobile-dock a span{display:grid;place-items:center}html:is([lang="es"],[lang="en"]) .mobile-dock a span .ic{width:22px;height:22px}

html:is([lang="es"],[lang="en"]) body .site-header{background:#fff;border-bottom:1px solid var(--line)}
html:is([lang="es"],[lang="en"]) body .site-header :is(nav a,.nav a,nav button,.nav summary){font:600 14px/1.2 var(--f)!important;color:#1b2f52!important;min-height:44px;display:inline-flex;align-items:center;padding-inline:12px;border-radius:10px}
html:is([lang="es"],[lang="en"]) body .site-header :is(nav a,.nav a):hover{background:var(--soft);color:var(--blue)!important}
html:is([lang="es"],[lang="en"]) body .site-header .bd-social-873{display:none!important}
html:is([lang="es"],[lang="en"]) body .site-footer a{min-height:36px;display:inline-flex;align-items:center}

html:is([lang="es"],[lang="en"]) body :is(.btn,.v16-btn,.calculator-panel button){min-height:44px;border-radius:var(--r-s);font:700 15px/1 var(--f)}
html:is([lang="es"],[lang="en"]) body :is(.btn-primary,.v16-btn.primary,.v16-search-card button){background:var(--accent)!important;border-color:var(--accent)!important;color:var(--navy)!important}
html:is([lang="es"],[lang="en"]) body.bd-home-v16 .v16-search-card button{background:var(--blue)!important;border-color:var(--blue)!important;color:#fff!important}

html:is([lang="es"],[lang="en"]) body :is(.muted,.v16-head p,.guide-meta small,.hub-hero p+*){color:var(--muted)}
html:is([lang="es"],[lang="en"]) body .v16-head span{color:var(--blue)!important}

html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero{background:var(--navy)!important;padding:26px 0 26px!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero h1{font-size:clamp(1.9rem,3.6vw,2.7rem)!important;max-width:24ch;margin:.35em 0 .3em!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-intro{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;max-width:64ch!important;font-size:1.08rem!important;color:#d4e1f6!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-actions{margin-top:16px!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-meta-grid{display:flex!important;flex-wrap:wrap;gap:6px 24px!important;margin-top:18px!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-meta{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;min-height:0!important;display:flex!important;gap:8px;align-items:baseline;color:#e6eefb!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-meta small{color:#9fb4d6!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-meta strong{color:#fff!important;font-size:15px}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-guide,.bd-editorial-unified-20261108) .guide-hero .guide-meta:last-child{flex-basis:100%;padding-top:10px!important;border-top:1px solid rgba(255,255,255,.14)!important;margin-top:2px}

html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-calc,.bd-calc-unified-20261108) .calc-hero{padding:20px 0 24px!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-calc,.bd-calc-unified-20261108) .calc-hero h1{font-size:clamp(1.9rem,3.6vw,2.7rem)!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-calc,.bd-calc-unified-20261108) .calc-hero .calc-hero-badge{display:none!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-calc,.bd-calc-unified-20261108) .calc-hero .calc-trust span{display:inline-flex!important;gap:6px;align-items:center;font:600 13px/1 var(--f)!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:is(.bd-d-calc,.bd-calc-unified-20261108) .calc-trust .ic{width:14px;height:14px;color:var(--accent)}
@media(max-width:700px){html:is([lang="es"],[lang="en"]) body.bd-ui-page .guide-hero h1,html:is([lang="es"],[lang="en"]) body.bd-ui-page .calc-hero h1{font-size:1.85rem!important}}

html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2>summary{font:600 14px/1.2 var(--f)!important;color:#1b2f52!important;min-height:44px;display:inline-flex;align-items:center;padding-inline:12px;border-radius:10px;cursor:pointer}
html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2>summary:hover{background:var(--soft);color:var(--blue)!important}

html:is([lang="es"],[lang="en"]) body .site-header .brand-logo,html:is([lang="es"],[lang="en"]) body .site-footer .brand-logo{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;border-radius:11px!important}
html:is([lang="es"],[lang="en"]) body .site-header :is(.brand-text,.brand-name){font-size:21px!important;line-height:1!important;letter-spacing:-.02em;font-weight:800!important}
html:is([lang="es"],[lang="en"]) body .site-header :is(.brand-brico,.brand-dato,.brand-name span){font-size:inherit!important;font-weight:inherit!important}
html:is([lang="es"],[lang="en"]) body .site-header .brand{gap:10px!important}
@media(max-width:420px){html:is([lang="es"],[lang="en"]) body .site-header .brand-logo{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important}html:is([lang="es"],[lang="en"]) body .site-header :is(.brand-text,.brand-name){font-size:19px!important}}

html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2{display:flex!important;align-items:center;vertical-align:middle}
html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2>summary{line-height:1.2!important;list-style:none}
html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2>summary::-webkit-details-marker{display:none}
html:is([lang="es"],[lang="en"]) body .site-header details.bd-nav-more-v2>summary::after{content:""!important;display:inline-block;width:6px;height:6px;margin:-3px 0 0 8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);font-size:0!important}

html:is([lang="es"],[lang="en"]) body.bd-ui-page.bd-ui-page.bd-ui-page.bd-ui-page .shell{width:min(1180px,calc(100% - 40px))!important;max-width:1180px!important;margin-inline:auto!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .site-header details.bd-nav-more-v2>summary{display:inline-flex!important;align-items:center!important;height:44px;padding-block:0!important}

/* Cabecera y pie compartidos (plantilla bd-ui) igualados a las páginas renovadas */
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header{box-shadow:none;border-bottom:1px solid var(--line)}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-inner,html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-footer .bd-ui-footer-inner,html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-footer-bottom{width:min(1180px,calc(100% - 40px))}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-inner{min-height:72px}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand{gap:10px;font-size:21px;font-weight:800;letter-spacing:-.02em;color:#073f77}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand img{width:38px;height:38px;border-radius:11px;object-fit:cover}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-brand .bd-ui-dato{color:#ff8614}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-footer .bd-ui-brand img{width:38px;height:38px;border-radius:11px;object-fit:cover}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-nav>a,html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-more>summary{font:600 14px/1.2 var(--f);color:#1b2f52;border-radius:10px;padding-inline:12px}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-nav>a:hover,html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-more>summary:hover{background:var(--soft);color:var(--blue)}
html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-more>summary .bd-ui-icon{width:18px;height:18px}
@media(max-width:980px){html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand{font-size:20px}html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand img{width:36px;height:36px}html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-nav>a,html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-ui-more>summary{font-size:15px}}
@media(max-width:520px){html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand{font-size:19px}html:is([lang="es"],[lang="en"]) body.bd-ui-page .bd-site-header .bd-ui-brand img{width:34px;height:34px}}

/* Páginas legales y de contacto: cabecera azul compacta y texto en columna legible */
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero{background:var(--navy)!important;padding:18px 0!important;margin:0!important;border-radius:0!important;box-shadow:none!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero::before,html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero::after{display:none!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero .container{width:min(1180px,calc(100% - 40px));margin-inline:auto;background:none!important;padding:0!important;box-shadow:none!important;border-radius:0!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero .breadcrumb,html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero .breadcrumb a{color:#c9d7ee!important;font-size:13px;font-weight:600}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main .container.content{width:min(780px,calc(100% - 40px));margin:28px auto 48px;padding:clamp(20px,3vw,36px);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh)}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main .content h1{font-size:clamp(1.9rem,3.4vw,2.5rem);margin:0 0 .4em}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main .content h2{font-size:1.25rem;margin:1.6em 0 .5em}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main .content :is(p,li){color:#24364f;max-width:70ch}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main .content a{color:var(--blue);text-underline-offset:3px}
html:is([lang="es"],[lang="en"]) body.bd-ui-page main{background:var(--bg)}

/* Cabecera azul con título dentro (páginas en inglés: about, precio de la luz…): texto claro y más aire */
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero:has(h1){padding:clamp(34px,5vw,56px) 0 clamp(30px,4vw,48px)!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero:has(h1) h1{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;margin:.35em 0 .3em!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero:has(h1) h1 *{color:inherit!important;-webkit-text-fill-color:inherit!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero:has(h1) :is(p,.lead,.hero-lead,small){color:#d6e2f5!important}
html:is([lang="es"],[lang="en"]) body.bd-ui-page:not(.bd-editorial-unified-20261108) main>.page-hero:has(h1) :is(.eyebrow,.badge,.pill,.chip,[class*="badge"],[class*="pill"]){color:#173a6b}

/* Índice de temas en inglés: el texto destacado del título no se leía sobre el azul */
html[lang="en"] body.bd-ui-page:has([aria-labelledby^="topic-extra-topics-index"]) .hub-hero h1 em{color:#ffc061!important;-webkit-text-fill-color:#ffc061!important}
/* Redes que no se usan (YouTube, Pinterest): fuera de cabeceras y pies. Instagram, Facebook y TikTok se mantienen. 2026-11-14 */
a[href*="youtube.com/@Bricodato" i],a[href*="youtube.com/bricodato" i],a[href*="pinterest.com/bricodato" i],a[href*="pinterest.es/bricodato" i]{display:none!important}

/* ==== BRICODATO MÓVIL 20261115 ==== */
@media (max-width:900px){
  /* Índices (calculadoras, herramientas, guías, comparativas): rejilla legible */
  html body main .hub-grid.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  html body main .hub-grid.hub-grid>*:nth-child(n):nth-child(n){grid-column:span 1!important;grid-row:auto!important;min-width:0}
  html body main .hub-grid.hub-grid>.hub-card-featured:nth-child(n):nth-child(n):nth-child(n){grid-column:1/-1!important}
  html body main .hub-section-heading.hub-section-heading{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
  html body main .hub-section-heading.hub-section-heading>*{max-width:none!important;width:auto!important;margin:0!important;grid-column:auto!important}
  html body main .hub-card .hub-card-footer{position:static!important;margin-top:auto!important;padding-top:14px!important}
  /* La barra de búsqueda y filtros no se queda pegada ocupando media pantalla */
  html body main .hub-toolbar.hub-toolbar{position:static!important;top:auto!important}
}
@media (max-width:600px){
  html body main .hub-grid.hub-grid{grid-template-columns:minmax(0,1fr)!important}
  html body main .hub-grid.hub-grid>*:nth-child(n):nth-child(n):nth-child(n):nth-child(n){grid-column:1/-1!important}
  /* Tablas de comparativas: caben en la pantalla sin cortar columnas */
  main .table-wrap{overflow-x:visible!important}
  main table.data-table{min-width:0!important;width:100%!important;table-layout:fixed}
  main table.data-table :is(th,td){padding:10px 8px!important;font-size:14px!important;line-height:1.4!important;overflow-wrap:anywhere;word-break:normal;hyphens:auto}
  main table.data-table :is(th,td):first-child{width:31%}
  /* Entradilla de comparativas sin caja */
  .compare-hero .lead{border:0!important;padding:0!important;background:none!important}
  /* Campos de formulario a 16 px: el iPhone no hace zoom al tocarlos */
  main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
  /* Etiquetas pequeñas legibles */
  :is(.hub-card-kicker,.section-kicker,.option-label,.live-label,.result-kicker,.guide-kicker,.product-kicker){font-size:11.5px!important;letter-spacing:.06em!important}
  /* Banderas de idioma con zona táctil cómoda */
  header a[hreflang]{min-height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center}
  /* Barra inferior: iconos repartidos y sin tapar el final de la página */
  .mobile-dock{grid-template-columns:repeat(auto-fit,minmax(0,1fr))!important;justify-items:center}
  .mobile-dock>*{justify-content:center}
  body:has(.mobile-dock){padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important}
  /* Calculadoras: ayudas de los campos y etiquetas de resultados legibles */
  html body main .calc-field small{font-size:12.5px!important;line-height:1.45!important}
  html body main .calculator-panel-head span{font-size:11.5px!important}
  html body main .result-metrics span{font-size:11.5px!important;line-height:1.3!important}
  html body main .calc-result-card small{font-size:12.5px!important}
  html body main [data-filter]{font-size:13px!important;min-height:38px}
  html body main table th{font-size:12.5px!important}
  html body header a.bd-lang-link{min-height:36px!important;min-width:40px!important}
}

/* ==== BRICODATO ILUSTRACIONES 20261115 ==== */
html body main figure.bd-art{margin:0 0 26px!important;padding:0!important;border-radius:20px;overflow:hidden;background:#eef6fc;box-shadow:0 10px 30px rgba(12,53,78,.08);border:1px solid #dfe7ef;max-width:100%}
html body main figure.bd-art img{display:block;width:100%;height:auto;aspect-ratio:5/2;object-fit:cover;border:0;border-radius:0;margin:0}
html body main .hub-content>.shell>figure.bd-art,html body main .content>figure.bd-art{margin-top:6px!important}
@media (max-width:600px){html body main figure.bd-art{border-radius:16px;margin-bottom:20px!important}html body main .section.reco-strip{padding-top:28px!important}}
html body main .hub-content>.shell>figure.bd-art{max-width:860px}
@media (max-width:600px){html body main table.appliance-table{min-width:0!important;width:100%!important;table-layout:fixed}html body main table.appliance-table :is(th,td){padding:9px 8px!important;font-size:13.5px!important;overflow-wrap:anywhere}html body main :has(>table.appliance-table){overflow-x:visible!important}}
