/* Home presentation. Shared cards, search and cart retain their owners. */
.catalog-page { background:var(--card); }
.storefront-main { width:100%; }
.home-skip { position:fixed; top:8px; left:12px; transform:translateY(-160%); z-index:100; padding:14px 20px; background:var(--yellow); color:var(--ink); font-weight:700; }
.home-skip:focus { transform:none; }
.home-page .site-head-row { display:grid; grid-template-columns:1fr auto 1fr; height:92px!important; }
.home-page .site-head-row>a { order:2; }
.home-page .site-search { order:1; max-width:300px!important; }
.catalog-page .site-search input::placeholder { color:#bdb8b0; opacity:1; }
.home-page .site-head-row>div { order:3; justify-self:end; }
.home-page .national-shipping { max-width:140px; text-align:right; line-height:1.5; }
.home-nav { color:#fff; background:var(--ink); border-top:1px solid var(--ink-700); }
.home-nav-inner { min-height:51px; display:flex; align-items:center; gap:32px; }
.home-nav a { display:inline-flex; align-items:center; min-height:48px; font-size:13px; font-weight:600; white-space:nowrap; }
.home-nav a:hover { color:var(--yellow); }
.home-nav-inner>span { display:flex; align-items:center; gap:8px; color:var(--yellow); margin-left:auto; font-size:12px; white-space:nowrap; }
.home-hero { position:relative; color:#fff; background:var(--ink-900); overflow:hidden; }
.home-hero-image { position:absolute; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.54),rgba(0,0,0,.1) 55%,transparent 78%); pointer-events:none; }
.home-hero-inner { position:relative; z-index:1; min-height:600px; padding-top:64px; padding-bottom:68px; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.home-hero-copy { max-width:460px; }
.home-eyebrow { font-size:11px; font-weight:700; line-height:1.5; letter-spacing:1.8px; text-transform:uppercase; margin:0 0 18px; }
.home-hero .home-eyebrow { color:var(--yellow); }
.home-hero h1 { font-size:clamp(70px,7.3vw,104px); line-height:.91; letter-spacing:.5px; margin:0 0 26px; }
.home-hero h1 span { color:var(--yellow); }
.home-hero-description { max-width:390px; color:#fff; font-size:16px; line-height:1.7; margin:0 0 28px; text-wrap:pretty; }
.home-hero-actions { display:flex; flex-wrap:wrap; align-items:center; gap:24px; }
.home-hero-actions>.btn { min-height:50px; }
.home-story-link { display:inline-flex; align-items:center; min-height:44px; font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.home-story-link:hover { color:var(--yellow); }
.home-featured { display:flex; align-items:center; gap:14px; align-self:flex-end; background:rgba(17,17,17,.9); padding:12px 16px 12px 12px; border:1px solid rgba(255,255,255,.35); max-width:380px; }
.home-featured>img { width:70px; height:70px; object-fit:contain; background:#fff; }
.home-featured>span { display:grid; gap:7px; }
.home-featured small { color:var(--yellow); font-size:10px; letter-spacing:.8px; text-transform:uppercase; }
.home-featured strong { font-size:14px; line-height:1.4; }
.home-featured span>span { color:#fff; font-size:12px; }
.home-featured>svg { flex-shrink:0; }
.home-featured:hover { border-color:var(--yellow); }
.home-categories { background:var(--paper); border-bottom:1px solid var(--line); }
.home-category-list { display:flex; justify-content:space-between; gap:20px; overflow-x:auto; scrollbar-width:thin; }
.home-category { display:flex; align-items:center; gap:10px; min-height:108px; flex:0 0 auto; font-size:13px; font-weight:700; }
.home-category img { width:64px; height:64px; object-fit:contain; background:#fff; }
.home-category:hover span { text-decoration:underline; text-underline-offset:5px; }
.home-catalog { padding-top:64px; padding-bottom:70px; scroll-margin-top:115px; }
.home-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:28px; margin-bottom:30px; }
.home-section-heading .home-eyebrow { margin-bottom:10px; color:#5b5751; }
.home-section-heading h1,.home-section-heading h2 { margin:0; font-size:44px; }
.home-section-heading p:not(.home-eyebrow) { color:#5b5751; font-size:13px; margin:12px 0 0; }
.home-catalog-note { max-width:240px; font-size:13px; color:#5b5751; line-height:1.6; }
.home-catalog .pcard { border-radius:0; border-color:transparent; }
.home-catalog .pcard:hover { transform:none; box-shadow:none; border-color:var(--line); }
.home-catalog .pcard .thumb { aspect-ratio:1; background:var(--paper); }
.home-catalog .pcard .thumb img { mix-blend-mode:multiply; }
.home-catalog .pcard .body { padding:18px 10px 14px; }
.home-catalog .pcard .brand { color:#5b5751; }
.home-catalog .pcard .btn { min-height:44px; }
.home-catalog .pcard .btn:hover:not(:disabled) { background:var(--yellow); color:var(--ink); }
.home-empty { display:flex; align-items:center; flex-direction:column; text-align:center; gap:16px; min-height:300px; padding:48px 22px; background:var(--paper); }
.home-empty h2,.home-empty p { margin:0; line-height:1.5; }
.home-empty p { color:#5b5751; }
.home-service-band { background:var(--yellow); color:var(--ink); }
.home-service-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; padding-top:30px; padding-bottom:30px; }
.home-service-list>div { display:flex; align-items:center; gap:16px; }
.home-service-list svg { flex-shrink:0; }
.home-service-list span { display:grid; gap:6px; }
.home-service-list strong { font-size:14px; }
.home-service-list small { font-size:12px; line-height:1.5; }
.home-about { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:80px; padding-top:86px; padding-bottom:90px; scroll-margin-top:110px; }
.home-store-photo { margin:0; position:relative; aspect-ratio:1.12; overflow:hidden; background:var(--paper); }
.home-store-photo>img { position:absolute; left:50%; top:48%; width:129%; max-width:none; height:auto; transform:translate(-50%,-50%); }
.home-store-photo figcaption { position:absolute; left:20px; bottom:20px; display:flex; align-items:center; gap:8px; background:var(--yellow); color:var(--ink); padding:12px 16px; font-size:12px; font-weight:700; }
.home-about .home-eyebrow { color:#5b5751; }
.home-about h2 { font-size:clamp(40px,4vw,58px); line-height:1; margin:0 0 26px; }
.home-about h2 span { text-decoration:underline; text-decoration-color:var(--yellow); text-underline-offset:7px; text-decoration-thickness:5px; }
.home-about-copy>p:not(.home-eyebrow) { color:#5b5751; line-height:1.75; font-size:14px; margin:0 0 16px; }
.home-about .btn { margin-top:12px; }
@media (min-width:1600px) {
  .home-hero-inner { min-height:680px; }
}
@media (max-width:1050px) {
  .home-page .site-head-row { grid-template-columns:1fr auto auto; }
  .home-page .national-shipping { display:none; }
  .home-featured { max-width:340px; }
  .home-about { gap:40px; }
  .home-service-list { gap:22px; }
}
@media (max-width:760px) {
  .home-page .site-head-row { display:flex; flex-wrap:wrap; height:auto!important; }
  .home-page .site-head-row>a { order:0; }
  .home-page .site-head-row>div { order:0; }
  .home-page .site-search { order:3; max-width:none!important; }
  .home-nav-inner { gap:24px; overflow-x:auto; min-height:46px; }
  .home-nav a { font-size:12px; min-height:46px; }
  .home-nav a[href="#nuestra-ferreteria"] { display:none; }
  .home-nav-inner>span { display:none; }
  .home-hero-image { position:relative; aspect-ratio:16/9; height:auto; object-fit:contain; }
  .home-hero::after { display:none; }
  .home-hero-inner { min-height:0; padding-top:28px; padding-bottom:32px; display:block; }
  .home-hero-copy { max-width:100%; }
  .home-hero .home-eyebrow { font-size:10px; margin-bottom:14px; letter-spacing:1.4px; }
  .home-hero h1 { font-size:64px; margin-bottom:18px; }
  .home-hero h1 br { display:none; }
  .home-hero-description { font-size:14px; max-width:500px; margin-bottom:20px; }
  .home-hero-actions { gap:22px; }
  .home-hero-actions .btn { font-size:15px; }
  .home-featured { display:none; }
  .home-category-list { gap:22px; }
  .home-category { min-height:92px; font-size:12px; }
  .home-category img { width:54px; height:54px; }
  .home-category>svg { display:none; }
  .home-catalog { padding-top:38px; padding-bottom:40px; scroll-margin-top:160px; }
  .home-section-heading { gap:16px; align-items:flex-start; flex-direction:column; margin-bottom:22px; }
  .home-section-heading h1,.home-section-heading h2 { font-size:36px; }
  .home-section-heading .home-eyebrow { font-size:10px; letter-spacing:1.2px; }
  .home-catalog-note { max-width:none; }
  .home-catalog .pcard .body { padding:14px 2px 10px; }
  .home-catalog .pcard .btn { font-size:12px; padding-inline:8px; gap:6px; }
  .home-service-list { grid-template-columns:1fr; padding-top:26px; padding-bottom:26px; gap:22px; }
  .home-service-list>div { gap:18px; }
  .home-about { grid-template-columns:1fr; gap:30px; padding-top:42px; padding-bottom:48px; scroll-margin-top:160px; }
  .home-about h2 { font-size:44px; }
  .home-store-photo { aspect-ratio:1.15; }
  .home-store-photo figcaption { left:14px; bottom:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .catalog-page .pcard,.catalog-page .btn { transition:none; }
}
@media (max-width:380px) {
  .home-page .site-head-row { column-gap:10px!important; }
  .home-page .site-head-row>a .display { font-size:18px!important; }
  .home-page .site-head-row>a>span:first-child { width:34px!important; height:34px!important; }
  .home-page .site-head-row>a .col>span:last-child { font-size:8.5px!important; letter-spacing:1.5px!important; }
  .home-hero-actions { gap:14px; }
  .home-hero-actions .btn { padding-inline:16px; }
  .home-catalog .pcard .btn { font-size:11px; gap:4px; }
}
