/* Mi Ferretería 1.3 · Portada editorial. Conserva los colores del Personalizador. */
.reference-store .mf-home{color:#000;font-size:18px;line-height:1.75}
.reference-store .mf-home>.container,.mf-home-band>.container{max-width:1280px}
.mf-home :is(section,article,nav,div){min-width:0}
.reference-store .mf-home :is(h1,h2,h3){color:var(--primary,#073b73);letter-spacing:-.025em;overflow-wrap:break-word}
.reference-store .mf-home h2{font-size:clamp(27px,2.6vw,38px);line-height:1.22;margin:0}
.reference-store .mf-home h3{font-size:23px;line-height:1.3;margin:0 0 14px}
.mf-home p{margin:0 0 1em}
.mf-home p:last-child{margin-bottom:0}
.mf-home .mf-home-eyebrow{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--primary);margin:0 0 14px}
.mf-home-eyebrow:before{content:"";display:block;width:25px;height:4px;border-radius:3px;background:var(--accent,#ff7a0a);flex-shrink:0}
.reference-store .mf-home-intro{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:64px;padding-block:60px 48px}
.reference-store .mf-home h1{font-size:clamp(36px,3.8vw,57px);line-height:1.12;max-width:22ch;margin:0 0 25px;font-weight:800}
.mf-home-lead{font-size:19px;max-width:65ch;line-height:1.75;color:#000}
.mf-home-actions{display:flex;flex-wrap:wrap;gap:12px;margin-block:26px}
.mf-home .mf-home-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 19px;border:2px solid var(--primary);border-radius:8px;font-size:16px;font-weight:750;line-height:1.5;text-decoration:none;text-align:center;transition:box-shadow .15s;white-space:normal}
.mf-home .mf-home-button .icon{width:20px;height:20px}
.mf-home .mf-home-button-primary{background:var(--primary);color:#fff}
.mf-home .mf-home-button-outline{background:#fff;color:var(--primary)}
.mf-home .mf-home-button:hover{box-shadow:0 3px 0 var(--accent);text-decoration:none}
.mf-home .mf-home-button:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
.mf-home-assurances{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:12px 22px;font-size:14px;line-height:1.5}
.mf-home-assurances li{display:flex;align-items:center;gap:7px}
.mf-home-assurances .icon{width:18px;height:18px;color:var(--primary)}
.reference-store .mf-home-projects{background:var(--primary);border-radius:16px;padding:30px;box-shadow:8px 8px 0 var(--accent);color:#fff}
.mf-home .mf-home-projects-title{font-size:24px;font-weight:750;line-height:1.35;color:#fff;margin:0 0 18px}
.mf-home-project{display:grid;grid-template-columns:40px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:18px 0;border-top:1px solid #ffffff40;color:#fff;border-radius:2px}
.mf-home-project:hover strong{text-decoration:underline;text-underline-offset:4px}
.mf-home-project:focus-visible{outline:2px solid #fff;outline-offset:5px}
.mf-home-project-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:8px;background:#ffffff18;color:#fff}
.mf-home-project>span>strong{display:block;font-size:19px;line-height:1.4;margin-bottom:4px}
.mf-home-project-description{display:block;font-size:15px;line-height:1.6}
.mf-home-project>.icon{width:18px;height:18px}
.mf-home .mf-home-projects-note{font-size:14px;line-height:1.65;color:#fff;border-top:1px solid #ffffff40;margin:0;padding-top:18px}
.reference-store .mf-home .mf-home-campaigns{margin-top:8px;border-radius:12px}
.mf-home .campaign-note{font-size:13px;line-height:1.6;margin-top:12px;text-align:left;color:#000}
.reference-store .mf-home-section{padding-block:54px;margin-top:0}
.mf-home-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:25px;margin-bottom:20px}
.mf-home-section-heading>div{max-width:850px}
.mf-home-section-copy{max-width:88ch;margin-bottom:30px;color:#000}
.mf-home .text-link{font-size:15px;line-height:1.5;color:var(--primary);white-space:normal;flex-shrink:0}
.reference-store .mf-home .category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.reference-store .mf-home .category-card{padding:20px 14px;background:var(--paper,#f6f8fb);border:1px solid var(--line);border-radius:10px}
.reference-store .mf-home .category-card h3{font-size:16px;line-height:1.4;margin:0;min-height:2.8em;letter-spacing:0}
.reference-store .mf-home .category-art{width:100px;height:100px;max-width:100%;margin:0 auto 15px;overflow:hidden}
.reference-store .mf-home .category-art img{width:100%;height:100%;object-fit:contain}
.mf-home .products-section{border-top:1px solid var(--line)}
.mf-home .woocommerce ul.products{margin-bottom:0}
.reference-store .mf-home ul.products li.product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;min-width:0}
.reference-store .mf-home ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.45;letter-spacing:0;color:#000;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;overflow-wrap:anywhere;min-height:5.8em;max-height:5.8em;padding:0;margin:0 0 12px}
.reference-store .mf-home ul.products li.product .price{font-size:21px;line-height:1.4;min-height:2.8em;margin:auto 0 12px}
.reference-store .mf-home ul.products li.product>a.button{font-size:14px;line-height:1.4;min-height:44px;margin-top:auto}
.mf-home-band{background:var(--paper,#f6f8fb);border-block:1px solid var(--line)}
.mf-home-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.mf-home-topic{display:flex;flex-direction:column;align-items:flex-start;background:#fff;padding:30px;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:10px}
.mf-home-topic-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:20px;background:var(--paper);color:var(--primary);border-radius:8px}
.mf-home-topic>div:not(.mf-home-topic-links){margin-bottom:24px}
.mf-home-topic-links{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:auto}
.mf-home-topic-links a{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-size:15px;line-height:1.6;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.mf-home-topic-links .icon{width:17px;height:17px}
.mf-home-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;padding:0;margin:0 0 28px}
.mf-home-steps li{border-top:2px solid var(--line);padding-top:24px}
.mf-home-step-number{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--accent);border-radius:50%;margin-bottom:18px;font-size:19px;font-weight:800;color:var(--primary)}
.mf-home .mf-home-guides .guide-card{padding-top:24px;border-top:3px solid var(--accent)}
.reference-store .mf-home .mf-home-guides .guide-card p{font-size:18px;line-height:1.75;color:#000;max-width:none}
.reference-store .mf-home .guide-image{aspect-ratio:16/9;border-radius:10px;overflow:hidden;margin-bottom:20px}
.mf-home .guide-image img{height:100%;width:100%;object-fit:cover}
.mf-home-guide-index{display:block;color:var(--primary);font-size:14px;font-weight:800;letter-spacing:.1em;margin-bottom:14px}
.reference-store .mf-home-local{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;border-block:1px solid var(--line)}
.mf-home-local .mf-home-button{margin-top:26px}
.mf-home-local-detail{display:flex;align-items:flex-start;gap:10px;font-size:16px}
.mf-home-local-detail .icon{margin-top:4px;color:var(--primary);width:20px;height:20px}
.mf-home-faq-list{display:grid;gap:12px;max-width:1020px}
.mf-home-faq details{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#fff}
.mf-home-faq summary{position:relative;cursor:pointer;list-style:none;font-size:19px;line-height:1.5;font-weight:700;color:var(--primary);padding:20px 54px 20px 22px}
.mf-home-faq summary::-webkit-details-marker{display:none}
.mf-home-faq summary:after{content:"+";position:absolute;right:22px;top:20px;font-size:22px;line-height:1.3}
.mf-home-faq details[open]>summary:after{content:"−"}
.mf-home-faq details[open]>summary{background:var(--paper)}
.mf-home-faq details>div{padding:22px}
.mf-home-faq summary:focus-visible{outline:3px solid var(--primary);outline-offset:-4px}
.reference-store .mf-home-editor{font-size:18px;color:#000}
@media(max-width:1000px){
 .reference-store .mf-home-intro{gap:32px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 .reference-store .mf-home h1{font-size:40px}
 .reference-store .mf-home-projects{padding:24px}
 .mf-home .mf-home-projects-title{font-size:23px}
 .mf-home-project{gap:10px}
 .mf-home-project-description{font-size:14px}
 .mf-home-section-heading{align-items:flex-start;flex-direction:column;gap:16px}
 .reference-store .mf-home .category-grid{grid-auto-flow:row;grid-auto-columns:auto;overflow:visible}
 .mf-home-steps{gap:20px}
 .reference-store .mf-home-local{gap:30px}
}
@media(max-width:760px){
 .reference-store .mf-home>.container,.mf-home-band>.container{width:calc(100% - 36px)}
 .reference-store .mf-home-intro{grid-template-columns:minmax(0,1fr);gap:30px;padding-block:32px 36px}
 .reference-store .mf-home h1{font-size:clamp(32px,7.8vw,42px);max-width:23ch;margin-bottom:20px}
 .mf-home-lead{font-size:18px}
 .mf-home-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-block:24px}
 .mf-home .mf-home-button{font-size:16px;width:100%}
 .mf-home-assurances{font-size:14px;gap:10px 18px}
 .reference-store .mf-home-projects{box-shadow:5px 5px 0 var(--accent);margin-right:5px}
 .mf-home-project{grid-template-columns:36px minmax(0,1fr) 16px}
 .mf-home-project-icon{width:36px;height:36px}
 .mf-home-project>span>strong{font-size:19px}
 .mf-home-project-description{font-size:15px}
 .reference-store .mf-home-section{padding-block:36px}
 .mf-home .mf-home-eyebrow{font-size:12px;letter-spacing:.06em}
 .reference-store .mf-home h2{font-size:28px}
 .reference-store .mf-home h3{font-size:23px}
 .mf-home-section-copy{margin-bottom:24px}
 .reference-store .mf-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .reference-store .mf-home .category-card{padding:18px 12px}
 .reference-store .mf-home .category-card h3{font-size:16px}
 .reference-store .mf-home .category-art{width:94px;height:94px}
 .mf-home-topic-grid,.mf-home-steps,.reference-store .mf-home .guide-grid,.reference-store .mf-home-local{grid-template-columns:minmax(0,1fr)}
 .mf-home-topic{padding:24px}
 .mf-home-steps{gap:24px}
 .mf-home-steps li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;padding-top:22px}
 .mf-home-step-number{margin:0;width:38px;height:38px}
 .mf-home .guide-grid{gap:28px}
 .reference-store .mf-home-local{gap:24px}
 .mf-home-local .mf-home-button{margin-top:22px}
 .mf-home-faq summary{font-size:18px;padding-left:18px}
 .mf-home-faq details>div{padding:20px 18px}
}
@media(prefers-reduced-motion:reduce){.mf-home .mf-home-button{transition:none}}
@media print{.mf-home .mf-home-actions,.mf-home .mf-home-button,.mf-home-campaigns{display:none!important}.reference-store .mf-home-intro,.mf-home-topic-grid,.mf-home-steps,.reference-store .mf-home-local{display:block}.mf-home-faq details>div{display:block}}
/* Fotografías originales y navegación táctil de departamentos. */
.reference-store .mf-home .mf-home-campaigns{margin-top:22px}
.mf-category-carousel{display:flex;align-items:center;gap:10px}
.reference-store .mf-home .mf-category-rail{display:flex;flex:1;min-width:0;gap:18px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:5px 3px 14px;scrollbar-width:thin;scrollbar-color:#a6b5c6 transparent}
.reference-store .mf-home .mf-category-rail .category-card{flex:0 0 120px;padding:0;background:transparent;border:0;border-radius:0;scroll-snap-align:start}
.reference-store .mf-home .mf-category-rail .category-art{width:104px;height:104px;margin:0 auto 12px;border-radius:50%;border:1px solid var(--line);background:#f6f8fb}
.reference-store .mf-home .mf-category-rail .category-art img{width:100%;height:100%;object-fit:cover}
.reference-store .mf-home .mf-category-rail h3{font-size:15px;line-height:1.4;min-height:2.8em;letter-spacing:0;color:var(--primary)}
.mf-category-arrow{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;color:var(--primary);background:#fff;font-size:30px;line-height:1}
.mf-category-arrow[hidden]{display:none}
.mf-category-arrow:disabled{opacity:.35;cursor:default}
.reference-store .mf-home .mf-home-promos{margin-top:0;margin-bottom:20px}
.reference-store .mf-home-promos a:focus-visible{outline:3px solid var(--primary);outline-offset:3px}
.reference-store .mf-home-promos img{aspect-ratio:687/462;object-fit:contain;background:#fff}
@media(max-width:760px){
 .reference-store .mf-home .mf-home-campaigns{margin-top:14px}
 .reference-store .mf-home .reference-categories{padding-block:28px}
 .mf-category-carousel{gap:4px}
 .mf-category-arrow{flex-basis:32px;width:32px;height:44px;font-size:26px}
 .reference-store .mf-home .mf-category-rail{gap:12px}
 .reference-store .mf-home .mf-category-rail .category-card{flex-basis:110px}
 .reference-store .mf-home .mf-category-rail .category-art{width:90px;height:90px}
 .reference-store .mf-home .mf-category-rail h3{font-size:14px}
 .reference-store .mf-home-promos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}
.reference-store .mf-home .carousel-arrow{width:44px;height:44px}
@media(min-width:640px) and (max-width:760px){.reference-store .mf-home .reference-slide img{aspect-ratio:1970/522}}
@media(max-width:639px){.reference-store .mf-home .reference-slide img{aspect-ratio:760/710}}
/* Encuadra la fotografía incluida en cada archivo sin mostrar rótulos del recorte original. */
.reference-store .mf-home .mf-category-rail .category-art{position:relative;display:block}
.reference-store .mf-home .mf-category-rail .category-art img{position:absolute;width:150%;height:150%;max-width:none;left:-25%;top:-50%;object-fit:cover}
.mf-home p.campaign-note{margin-inline:auto}
