.alms-hcc-home{--alms-primary:#174EA6;--alms-primary-hover:#123E86;--alms-navy:#071A34;--alms-teal:#0D5260;--alms-light:#F7F9FC;--alms-blue-light:#EEF4FF;--alms-text:#101828;--alms-muted:#667085;--alms-border:#DCE6F2;--alms-width:1240px;--alms-space:72px;--alms-radius:16px;--alms-button-radius:10px;color:var(--alms-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}.alms-hcc-home *{box-sizing:border-box}.alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 48px));margin:0 auto}.alms-hcc-hero{padding:46px 0;position:relative;overflow:hidden}.alms-hcc-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-150px;top:-190px;background:radial-gradient(circle,rgba(73,140,255,.18),rgba(73,140,255,0));pointer-events:none}.alms-hcc-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:30px;align-items:center;position:relative;z-index:1}.alms-hcc-hero-centered .alms-hcc-hero-grid{grid-template-columns:1fr}.alms-hcc-hero-copy{padding:52px 46px;border:1px solid rgba(141,180,255,.2);border-radius:26px;background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.012));box-shadow:inset 0 1px rgba(255,255,255,.03)}.alms-hcc-hero-centered .alms-hcc-hero-copy{max-width:900px;text-align:center;margin:0 auto}.alms-hcc-eyebrow{font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;color:var(--alms-primary);margin-bottom:12px}.alms-hcc-home h1,.alms-hcc-home h2,.alms-hcc-home h3{font-family:inherit}.alms-hcc-home h1{font-size:clamp(38px,5vw,62px);line-height:.98;letter-spacing:-.052em;margin:18px 0 20px;font-weight:800}.alms-hcc-home h2{font-size:clamp(31px,3.5vw,43px);line-height:1.05;letter-spacing:-.038em;margin:10px 0 14px;font-weight:780}.alms-hcc-home h3{font-size:18px;line-height:1.25;margin:12px 0 7px;font-weight:750}.alms-hcc-hero-lead,.alms-hcc-lead{font-size:16px;line-height:1.68;margin:0;color:var(--alms-muted);max-width:780px}.alms-hcc-light-lead{color:#D2DFEF}.alms-hcc-hero-search{margin:26px 0 17px}.alms-hcc-search-compact{max-width:620px}.alms-hcc-hero-centered .alms-hcc-hero-search{margin-left:auto;margin-right:auto;max-width:760px}.alms-hcc-hero-search form,.alms-hcc-hero-search .alms-search-wrap,.alms-hcc-hero-search .alms-search-bar{width:100%!important;max-width:none!important}.alms-hcc-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.alms-hcc-actions-center{justify-content:center}.alms-hcc-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:13px 20px;border-radius:var(--alms-button-radius);background:var(--alms-primary);color:#fff;text-decoration:none!important;font-size:14px;font-weight:800;transition:.2s ease;border:1px solid transparent}.alms-hcc-button:hover{transform:translateY(-1px);filter:brightness(.97)}.alms-hcc-button.outline{border-color:var(--alms-border)}.alms-hcc-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.alms-hcc-hero-chips span{font-size:11px;color:#D8E5F5;border:1px solid rgba(255,255,255,.13);padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.04)}.alms-hcc-trending-panel{background:#fff;border-radius:24px;padding:24px;box-shadow:0 28px 70px rgba(0,0,0,.22);position:relative;z-index:2}.alms-hcc-trending-panel h2{font-size:23px;letter-spacing:-.025em;margin:4px 0 14px;color:var(--alms-text)}.alms-hcc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.alms-hcc-slider-arrows{display:flex;gap:7px}.alms-hcc-slider-arrows button{width:36px;height:36px;border-radius:50%;border:1px solid var(--alms-border);background:#fff;color:var(--alms-navy);cursor:pointer;font-size:16px}.alms-hcc-slider-viewport{overflow:hidden}.alms-hcc-product-slider ul.products{display:flex!important;flex-wrap:nowrap!important;gap:14px!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 12px!important;margin:0!important;scrollbar-width:none}.alms-hcc-product-slider ul.products::-webkit-scrollbar{display:none}.alms-hcc-product-slider ul.products li.product{float:none!important;flex:0 0 calc((100% - (var(--slides-desktop) - 1)*14px)/var(--slides-desktop))!important;width:auto!important;margin:0!important;scroll-snap-align:start;background:#fff;border:1px solid #E5EAF1;border-radius:14px;padding:12px!important;box-shadow:none!important}.alms-hcc-product-slider ul.products li.product img{border-radius:10px;margin-bottom:10px!important;aspect-ratio:1/1;object-fit:contain;background:#fff}.alms-hcc-product-slider ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;line-height:1.35!important;padding:0!important;margin:4px 0 6px!important;color:var(--alms-text)}.alms-hcc-product-slider ul.products li.product .price{font-size:14px!important;color:var(--alms-primary)!important;font-weight:800!important}.alms-hcc-product-slider ul.products li.product .button{font-size:11px!important;padding:8px 10px!important;border-radius:8px!important;margin-top:8px!important}.alms-hcc-slider-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}.alms-hcc-slider-dots button{width:7px;height:7px;border-radius:50%;padding:0;border:0;background:#CFD7E3;cursor:pointer}.alms-hcc-slider-dots button.is-active{background:var(--alms-primary)}.alms-hcc-benefits{padding:22px 0;border-bottom:1px solid #E8EDF3;background:#fff}.alms-hcc-grid{display:grid;gap:16px}.alms-hcc-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.alms-hcc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.alms-hcc-benefit-card,.alms-hcc-card,.alms-hcc-dark-card{padding:22px 20px;border:1px solid var(--alms-border);border-radius:var(--alms-radius);background:#fff}.alms-hcc-benefit-card p,.alms-hcc-card p,.alms-hcc-dark-card p{margin:0;color:var(--alms-muted);font-size:13px;line-height:1.55}.alms-hcc-section{padding:var(--alms-space) 0}.alms-hcc-soft{background:var(--alms-light)}.alms-hcc-blue-light{background:var(--alms-blue-light)}.alms-hcc-section-header{margin-bottom:30px}.alms-hcc-section-header.alms-hcc-center{text-align:center}.alms-hcc-section-header.alms-hcc-center .alms-hcc-lead{margin-left:auto;margin-right:auto}.alms-hcc-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#EFF5FF;color:var(--alms-primary)}.alms-hcc-icon svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.alms-hcc-brand-grid{display:grid;grid-template-columns:repeat(var(--brand-cols),minmax(0,1fr));gap:14px;margin:28px 0}.alms-hcc-brand-card{display:flex;align-items:center;gap:12px;min-height:80px;padding:15px;border-radius:14px;border:1px solid var(--alms-border);background:#fff;text-decoration:none!important;color:var(--alms-text)!important;transition:.2s}.alms-hcc-brand-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,24,40,.08)}.alms-hcc-brand-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:11px;background:#EEF4FF;color:var(--alms-primary);font-weight:850}.alms-hcc-brand-logo{width:58px!important;height:44px!important;object-fit:contain!important}.alms-hcc-brand-name{font-size:14px;font-weight:780}.alms-hcc-brand-count{display:block;margin-left:auto;color:var(--alms-muted);font-size:10px}.alms-hcc-category-shell ul.products{display:grid!important;grid-template-columns:repeat(var(--cat-cols),minmax(0,1fr))!important;gap:16px!important}.alms-hcc-category-shell li.product-category{width:auto!important;float:none!important;margin:0!important;border:1px solid var(--alms-border);border-radius:var(--alms-radius);overflow:hidden;background:#fff;padding:0!important}.alms-hcc-category-shell li.product-category a{display:block;text-decoration:none!important}.alms-hcc-category-shell li.product-category img{width:100%!important;aspect-ratio:1.25/1;object-fit:contain;background:#fff;margin:0!important;padding:16px}.alms-hcc-category-shell li.product-category h2{font-size:14px!important;padding:14px 16px!important;margin:0!important;border-top:1px solid #EDF1F5;letter-spacing:-.01em}.alms-hcc-feature-card{padding:28px;min-height:230px;display:flex;flex-direction:column}.alms-hcc-feature-card p{font-size:14px;flex:1}.alms-hcc-text-link{display:inline-flex;align-items:center;gap:5px;margin-top:16px;color:var(--alms-primary)!important;font-weight:800;text-decoration:none!important;font-size:13px}.alms-hcc-products-grid ul.products{display:grid!important;grid-template-columns:repeat(var(--product-cols),minmax(0,1fr));gap:18px!important}.alms-hcc-products-grid ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--alms-border);border-radius:var(--alms-radius);padding:14px!important;transition:.2s}.alms-hcc-products-grid ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(16,24,40,.08)}.alms-hcc-products-grid ul.products li.product img{border-radius:10px;aspect-ratio:1/1;object-fit:contain}.alms-hcc-split{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:40px;align-items:center}.alms-hcc-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.alms-hcc-dark-card{background:#10294A;border-color:#28496C;color:#fff}.alms-hcc-dark-card h3{color:#fff}.alms-hcc-dark-card p{color:#C9D7E8}.alms-hcc-dark-card .alms-hcc-icon{background:rgba(255,255,255,.07)}.alms-hcc-mini-card{min-height:150px}.alms-hcc-sourcing-panel{padding:34px;border-radius:22px;border:1px solid rgba(125,224,213,.28);background:rgba(3,28,36,.28);text-align:center}.alms-hcc-sourcing-panel .alms-hcc-icon{background:rgba(255,255,255,.08)}.alms-hcc-sourcing-panel h3{font-size:23px;color:#fff}.alms-hcc-sourcing-panel p{color:#D9EEF0}.alms-hcc-editor-placeholder{border:1px dashed #BCC8D8;background:#F7F9FC;color:#667085;padding:24px;border-radius:12px;text-align:center;font-size:13px}.alms-hcc-span-all{grid-column:1/-1}.alms-hcc-empty{padding:24px;text-align:center;color:var(--alms-muted)}
@media(max-width:1024px){.alms-hcc-hero-grid,.alms-hcc-split{grid-template-columns:1fr}.alms-hcc-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-tablet) - 1)*14px)/var(--slides-tablet))!important}.alms-hcc-brand-grid{grid-template-columns:repeat(var(--brand-cols-tablet),minmax(0,1fr))}.alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-tablet),minmax(0,1fr))!important}.alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-tablet),minmax(0,1fr))}.alms-hcc-trending-panel{max-width:760px;width:100%;margin:0 auto}.alms-hcc-hero-copy{padding:46px 36px}}
@media(max-width:680px){.alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 28px))}.alms-hcc-hero{padding:24px 0}.alms-hcc-hero-copy{padding:34px 23px;border-radius:20px}.alms-hcc-grid-4,.alms-hcc-grid-3,.alms-hcc-mini-grid{grid-template-columns:1fr}.alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-mobile) - 1)*14px)/var(--slides-mobile))!important}.alms-hcc-brand-grid{grid-template-columns:repeat(var(--brand-cols-mobile),minmax(0,1fr))}.alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-mobile),minmax(0,1fr))!important}.alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-mobile),minmax(0,1fr))}.alms-hcc-section{padding:52px 0}.alms-hcc-actions .alms-hcc-button{flex:1 1 100%}.alms-hcc-hero-chips{display:none}}

/* v1.3 direct live catalog rendering */
.alms-hcc-category-fallback{display:flex;align-items:center;justify-content:center;aspect-ratio:1.25/1;background:#f8fafc}.alms-hcc-category-fallback .alms-hcc-icon{width:62px;height:62px;border-radius:16px}.alms-hcc-category-shell li.product-category mark.count{background:transparent;color:var(--alms-muted);font-size:10px;font-weight:650;margin-left:5px}.alms-hcc-products-grid ul.products,.alms-hcc-product-slider ul.products{list-style:none}.alms-hcc-products-grid ul.products:before,.alms-hcc-products-grid ul.products:after,.alms-hcc-product-slider ul.products:before,.alms-hcc-product-slider ul.products:after{display:none!important;content:none!important}
/* v1.4 live catalog hydration */
.alms-hcc-brand-grid>.alms-hcc-live-content{grid-column:1/-1;display:grid;grid-template-columns:repeat(var(--brand-cols),minmax(0,1fr));gap:14px}
.alms-hcc-live-content{min-width:0}
@media(max-width:1024px){.alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-tablet),minmax(0,1fr))}}
@media(max-width:680px){.alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-mobile),minmax(0,1fr))}}

/* v1.5.1 safe alignment hardening. Scoped to the managed shortcode only. */
.alms-hcc-home ul.products{list-style:none!important;margin:0!important;padding-left:0!important;padding-right:0!important}
.alms-hcc-home ul.products li.product{box-sizing:border-box!important;min-width:0}
.alms-hcc-category-shell>.alms-hcc-live-content,.alms-hcc-products-grid>.alms-hcc-live-content{width:100%;min-width:0}
.alms-hcc-product-slider,.alms-hcc-slider-viewport{width:100%;min-width:0;max-width:100%}
.alms-hcc-product-slider ul.products{width:100%!important;max-width:100%!important}
.alms-hcc-category-shell li.product-category img,.alms-hcc-products-grid ul.products li.product img,.alms-hcc-product-slider ul.products li.product img{display:block!important;width:100%!important}


/* v1.7.0 adaptive responsive template: desktop + tablet/mobile portrait/landscape. */
.alms-hcc-home{width:100%;max-width:100%;overflow-x:clip;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.alms-hcc-home img,.alms-hcc-home svg,.alms-hcc-home video{max-width:100%}
.alms-hcc-home .alms-hcc-wrap{padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}
.alms-hcc-home .alms-hcc-button,.alms-hcc-home button,.alms-hcc-home a{touch-action:manipulation}
.alms-hcc-home .alms-hcc-hero-copy,.alms-hcc-home .alms-hcc-trending-panel,.alms-hcc-home .alms-hcc-card,.alms-hcc-home .alms-hcc-dark-card{min-width:0}
.alms-hcc-home .alms-hcc-section-header h2,.alms-hcc-home .alms-hcc-section-header p,.alms-hcc-home .alms-hcc-hero-copy h1,.alms-hcc-home .alms-hcc-hero-copy p{overflow-wrap:anywhere}

/* Wide desktop and laptop. */
@media (min-width:1181px){
  .alms-hcc-home .alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 56px))}
}

/* Tablet landscape / compact laptop. Keep a premium two-column hero when room allows. */
@media (min-width:821px) and (max-width:1180px) and (orientation:landscape){
  .alms-hcc-home{--alms-space:clamp(52px,6vw,68px)}
  .alms-hcc-home .alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 40px))}
  .alms-hcc-home .alms-hcc-hero{padding:34px 0}
  .alms-hcc-home .alms-hcc-hero-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.88fr);gap:22px}
  .alms-hcc-home .alms-hcc-hero-copy{padding:38px 32px}
  .alms-hcc-home h1{font-size:clamp(36px,4.2vw,50px)}
  .alms-hcc-home h2{font-size:clamp(28px,3vw,38px)}
  .alms-hcc-home .alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-tablet-landscape) - 1)*14px)/var(--slides-tablet-landscape))!important}
  .alms-hcc-home .alms-hcc-brand-grid,.alms-hcc-home .alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-tablet-landscape),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-tablet-landscape),minmax(0,1fr))!important}
  .alms-hcc-home .alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-tablet-landscape),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Tablet portrait. Stack hero and keep merchandising spacious. */
@media (min-width:681px) and (max-width:1024px) and (orientation:portrait){
  .alms-hcc-home{--alms-space:58px}
  .alms-hcc-home .alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 36px))}
  .alms-hcc-home .alms-hcc-hero{padding:32px 0}
  .alms-hcc-home .alms-hcc-hero-grid,.alms-hcc-home .alms-hcc-split{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-hero-copy{padding:42px 34px}
  .alms-hcc-home h1{font-size:clamp(38px,7vw,52px)}
  .alms-hcc-home h2{font-size:clamp(30px,5vw,40px)}
  .alms-hcc-home .alms-hcc-trending-panel{max-width:none;width:100%}
  .alms-hcc-home .alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-tablet-portrait) - 1)*14px)/var(--slides-tablet-portrait))!important}
  .alms-hcc-home .alms-hcc-brand-grid,.alms-hcc-home .alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-tablet-portrait),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-tablet-portrait),minmax(0,1fr))!important}
  .alms-hcc-home .alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-tablet-portrait),minmax(0,1fr))}
}

/* Phone landscape and small-tablet landscape. Compact vertical rhythm without squeezing cards. */
@media (max-width:900px) and (orientation:landscape) and (max-height:620px){
  .alms-hcc-home{--alms-space:42px}
  .alms-hcc-home .alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 30px))}
  .alms-hcc-home .alms-hcc-hero{padding:20px 0}
  .alms-hcc-home .alms-hcc-hero-grid{grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);gap:18px;align-items:stretch}
  .alms-hcc-home .alms-hcc-hero-centered .alms-hcc-hero-grid{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-hero-copy{padding:26px 24px;border-radius:18px}
  .alms-hcc-home h1{font-size:clamp(30px,6vw,42px);margin:12px 0 14px}
  .alms-hcc-home h2{font-size:clamp(25px,4.5vw,34px)}
  .alms-hcc-home .alms-hcc-hero-lead{font-size:14px;line-height:1.55}
  .alms-hcc-home .alms-hcc-hero-search{margin:16px 0 12px}
  .alms-hcc-home .alms-hcc-hero-chips{display:none}
  .alms-hcc-home .alms-hcc-button{min-height:42px;padding:10px 15px}
  .alms-hcc-home .alms-hcc-trending-panel{padding:17px;border-radius:18px}
  .alms-hcc-home .alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-mobile-landscape) - 1)*12px)/var(--slides-mobile-landscape))!important}
  .alms-hcc-home .alms-hcc-brand-grid,.alms-hcc-home .alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-mobile-landscape),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-mobile-landscape),minmax(0,1fr))!important}
  .alms-hcc-home .alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-mobile-landscape),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Standard mobile portrait. */
@media (max-width:680px) and (orientation:portrait){
  .alms-hcc-home{--alms-space:46px}
  .alms-hcc-home .alms-hcc-wrap{width:min(var(--alms-width),calc(100% - 24px))}
  .alms-hcc-home .alms-hcc-hero{padding:18px 0}
  .alms-hcc-home .alms-hcc-hero-grid,.alms-hcc-home .alms-hcc-split{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-hero-copy{padding:28px 20px;border-radius:18px}
  .alms-hcc-home h1{font-size:clamp(32px,10vw,44px);line-height:1.02;letter-spacing:-.042em;margin:14px 0 16px}
  .alms-hcc-home h2{font-size:clamp(27px,8vw,35px)}
  .alms-hcc-home h3{font-size:17px}
  .alms-hcc-home .alms-hcc-hero-lead,.alms-hcc-home .alms-hcc-lead{font-size:15px;line-height:1.6}
  .alms-hcc-home .alms-hcc-actions{gap:9px}
  .alms-hcc-home .alms-hcc-actions .alms-hcc-button{width:100%;flex:1 1 100%}
  .alms-hcc-home .alms-hcc-product-slider ul.products li.product{flex-basis:calc((100% - (var(--slides-mobile-portrait) - 1)*12px)/var(--slides-mobile-portrait))!important}
  .alms-hcc-home .alms-hcc-brand-grid,.alms-hcc-home .alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:repeat(var(--brand-cols-mobile-portrait),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-category-shell ul.products{grid-template-columns:repeat(var(--cat-cols-mobile-portrait),minmax(0,1fr))!important}
  .alms-hcc-home .alms-hcc-products-grid ul.products{grid-template-columns:repeat(var(--product-cols-mobile-portrait),minmax(0,1fr))}
  .alms-hcc-home .alms-hcc-grid-4,.alms-hcc-home .alms-hcc-grid-3,.alms-hcc-home .alms-hcc-mini-grid{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-section-header{margin-bottom:22px}
  .alms-hcc-home .alms-hcc-feature-card{min-height:0;padding:23px 20px}
  .alms-hcc-home .alms-hcc-sourcing-panel{padding:27px 19px}
  .alms-hcc-home .alms-hcc-brand-count{display:none}
}

/* Extra-small phones. Prevent two-column cards from becoming unreadable even if admin is set to 2. */
@media (max-width:420px){
  .alms-hcc-home .alms-hcc-wrap{width:calc(100% - 20px)}
  .alms-hcc-home .alms-hcc-hero-copy{padding:24px 17px}
  .alms-hcc-home .alms-hcc-trending-panel{padding:16px 12px}
  .alms-hcc-home .alms-hcc-brand-grid,.alms-hcc-home .alms-hcc-brand-grid>.alms-hcc-live-content{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-category-shell ul.products{grid-template-columns:1fr!important}
  .alms-hcc-home .alms-hcc-products-grid ul.products{grid-template-columns:1fr}
  .alms-hcc-home .alms-hcc-category-shell li.product-category img{aspect-ratio:1.6/1;padding:12px}
  .alms-hcc-home .alms-hcc-button{font-size:13px;min-height:46px}
  .alms-hcc-home .alms-hcc-panel-head{align-items:flex-start}
}

/* Very small / legacy phone widths. */
@media (max-width:360px){
  .alms-hcc-home .alms-hcc-wrap{width:calc(100% - 16px)}
  .alms-hcc-home h1{font-size:30px}
  .alms-hcc-home h2{font-size:26px}
  .alms-hcc-home .alms-hcc-hero-copy{padding:22px 14px}
  .alms-hcc-home .alms-hcc-section{padding:40px 0}
}

/* Touch devices: avoid hover-only movement and keep controls finger friendly. */
@media (hover:none),(pointer:coarse){
  .alms-hcc-home .alms-hcc-button:hover,.alms-hcc-home .alms-hcc-brand-card:hover,.alms-hcc-home .alms-hcc-products-grid ul.products li.product:hover{transform:none}
  .alms-hcc-home .alms-hcc-slider-arrows button{width:42px;height:42px}
}

/* Accessibility: no forced animation for users requesting reduced motion. */
@media (prefers-reduced-motion:reduce){
  .alms-hcc-home *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}
