#storefrontHome{margin-bottom:36px}
.home-section{margin-bottom:24px}
.home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-tile{padding:14px 16px;border:1px solid var(--shop-tint-border);border-radius:6px;background:var(--shop-tint)}
.home-tile strong{display:block;line-height:1.35}
.home-tile ul{padding:0;margin:8px 0 0;list-style:none;font-size:14px}
.home-tile a:hover,.home-tile a:focus-visible{color:var(--shop-accent-hover);text-decoration:underline}
.home-tile p{margin:6px 0 0;font-size:14px}
.home-brands .home-tile{text-align:center}
.home-plain .home-tile{background:#fff}
@media(max-width:850px){.home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.home-section h2{font-size:22px}.home-tile{padding:10px;font-size:14px}.home-tile ul,.home-tile p{font-size:13px}}
@media(min-width:1001px){
 html.storefront-home body:not(.product-page-open)>header{grid-template-columns:minmax(0,1fr) repeat(4,72px);grid-template-rows:auto auto;position:sticky}
 html.storefront-home body:not(.product-page-open)>header>.logo{position:absolute;left:50%;top:24px;transform:translateX(-50%);display:flex;align-items:center;height:52px}
 html.storefront-home body:not(.product-page-open)>header>.catalog-button{justify-self:start;grid-column:1;grid-row:1}
 html.storefront-home body:not(.product-page-open)>header>.search{grid-column:1/-1;grid-row:2;width:min(100%,860px);justify-self:center}
 html.storefront-home body:not(.product-page-open)>header>#favorites{grid-column:2;grid-row:1}
 html.storefront-home body:not(.product-page-open)>header>.header-action[onclick*="openCart"]{grid-column:3;grid-row:1}
 html.storefront-home body:not(.product-page-open)>header>.compare-header{grid-column:4;grid-row:1}
 html.storefront-home body:not(.product-page-open)>header>#customerAccount{grid-column:5;grid-row:1}
 html.storefront-home body:not(.product-page-open)>nav:not(.home-menu-open){display:none}
}
/* Distinguish section actions from category names on desktop and mobile. */
#storefrontHome .home-category-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
#storefrontHome .home-category-heading h2{min-width:0;margin:0}
#storefrontHome .home-category-heading h2 a{color:inherit;text-decoration:none}
#storefrontHome .home-category-heading h2 a:hover,#storefrontHome .home-category-heading h2 a:focus-visible{text-decoration:underline}
#storefrontHome .home-show-all{
 display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
 height:33px;min-height:33px;padding:0 12px;border:1px solid var(--shop-accent,#29b3cd);border-radius:5px;
 background:var(--shop-accent,#29b3cd);color:#fff;font:600 13px/1.3 Arial,sans-serif;
 text-decoration:none;white-space:nowrap;flex-shrink:0;
}
#storefrontHome .home-show-all:hover,#storefrontHome .home-show-all:focus-visible{
 background:var(--shop-accent-hover,#179bb5);border-color:var(--shop-accent-hover,#179bb5);color:#fff;text-decoration:none;
}
#storefrontHome .home-major .home-tile,#storefrontHome .home-categories .home-tile{display:flex;flex-direction:column}
#storefrontHome .home-major .home-tile>ul,#storefrontHome .home-categories .home-tile>ul{display:flex;flex-direction:column;flex:1}
#storefrontHome .home-tile li:has(>.home-show-all){margin-top:auto;padding-top:10px}
@media(max-width:480px){
 #storefrontHome .home-category-heading{gap:10px;align-items:flex-start}
}

#storefrontHome .home-section-all{display:inline-flex;align-items:center;min-height:40px;color:var(--shop-accent-hover,#179bb5);font:inherit;text-decoration:none;white-space:nowrap;flex-shrink:0}
#storefrontHome .home-section-all:hover,#storefrontHome .home-section-all:focus-visible{text-decoration:underline}
@media(max-width:480px){#storefrontHome .home-section-all{min-height:44px}}

#storefrontHome .home-brands-heading h2 a{color:inherit;text-decoration:none}
#storefrontHome .home-brands-heading h2 a:hover,#storefrontHome .home-brands-heading h2 a:focus-visible{text-decoration:none}
@media(pointer:coarse){
 #storefrontHome .home-show-all{position:relative;margin-block:6px}
 #storefrontHome .home-show-all::after{content:"";position:absolute;inset:-6px 0}
}

/* Use the same cyan for all section-level Show all links. */
#storefrontHome .home-brands-heading>a{color:var(--shop-accent-hover,#179bb5)}

#storefrontHome .home-brands-heading h2 a:hover,
#storefrontHome .home-brands-heading h2 a:focus-visible{
 color:var(--shop-accent-hover,#179bb5);
}

/* Approved compact, aligned section links on the mobile homepage. */
@media(max-width:650px){
 #storefrontHome .home-category-heading,
 #storefrontHome .home-brands-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:12px}
 #storefrontHome .home-brands-heading h2{min-width:0;margin:0}
 #storefrontHome .home-section-all,
 #storefrontHome .home-brands-heading>a{position:relative;display:block;min-height:0;padding:0;font-size:13px;line-height:20px;white-space:nowrap}
 #storefrontHome .home-section-all::after,
 #storefrontHome .home-brands-heading>a::after{content:"";position:absolute;inset:-12px 0}
}

/* Homepage brand links retain their clean appearance on hover. */
#storefrontHome .home-brands a:hover,
#storefrontHome .home-brands a:focus-visible{text-decoration:none}
