/* REWAA 38.3.1 — one product-card system for every homepage collection. */
.home-v2 .home384-products{gap:14px;min-width:0}
.home-v2 .home384-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;grid-auto-columns:unset;grid-template-rows:unset;padding:4px 2px 14px;scrollbar-width:thin;scrollbar-color:#d6e2f2 transparent;overscroll-behavior-inline:contain}
.home-v2 .home384-rail>.home384-product{flex:none;width:248px;min-width:0;scroll-snap-align:start}
.home-v2 .home383-grid>.home384-product{width:100%;min-width:0}
.home-v2 .home384-product{display:flex;flex-direction:column;height:auto;min-height:0;transform:none}
.home-v2 .home384-product:hover{transform:none}
.home-v2 .home384-product .product-card{width:100%;height:100%;display:flex;flex-direction:column;border-radius:15px;overflow:hidden}
.home-v2 .home384-product .product-card-media{height:auto;aspect-ratio:1/1;flex:none}
.home-v2 .home384-product .product-card-body{display:flex;flex:1;flex-direction:column;padding:12px}
.home-v2 .home384-product .product-card h3{min-height:42px}
.home-v2 .home384-product .product-card-foot{margin-top:auto}
.home-v2 .home384-product .quick-add{display:flex;min-height:36px}
.home-v2 .home384-product .product-badges{top:51px;right:9px;z-index:2}
.home-v2 .home384-product .card-icon-btn.wishlist-toggle{top:51px}
.home-v2 .home384-product .card-icon-btn.compare-toggle{top:87px}
/* Overlay notices belong to the photograph, never below the card. */
.home384-alert-bar{position:absolute;top:0;left:0;right:0;height:44px;z-index:5;display:grid;pointer-events:none;overflow:hidden;background:rgba(9,26,49,.91);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.17);border-radius:14px 14px 0 0;color:#fff}
.home384-alert{grid-area:1/1;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;padding:5px 10px;min-width:0;opacity:0;visibility:hidden;transform:translateY(9px);transition:opacity .44s ease,transform .44s ease,visibility .44s;color:#f5f9ff;font-size:10.5px;font-weight:800;line-height:1.5}
.home384-alert.is-active{opacity:1;visibility:visible;transform:translateY(0)}
.home384-alert>svg{flex:none;width:14px;height:14px}
.home384-alert>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-width:0}
.home384-tone-success{box-shadow:inset 0 3px #30be88}
.home384-tone-warning{box-shadow:inset 0 3px #e7aa3d}
.home384-tone-danger{box-shadow:inset 0 3px #e96374}
.home384-tone-brand{box-shadow:inset 0 3px #35b7eb}
.home384-tone-neutral{box-shadow:inset 0 3px #9daabe}
/* Marquee: identical full-width duplicated tracks, distance measured by JS. */
.home-v2 [data-home384-brands] .brand-marquee-track{display:flex;direction:ltr;gap:0;width:max-content;animation:none;will-change:transform}
.home-v2 [data-home384-brands] .brand-marquee-group{flex:none;display:flex;align-items:center;justify-content:flex-start;min-width:0;width:max-content;gap:16px;padding-inline:8px;box-sizing:border-box}
.home-v2 [data-home384-brands] .brand-marquee-item{flex:none}
.home-v2 [data-home384-brands].is-ready .brand-marquee-track{animation:rewaa384Brands var(--brand384-duration,34s) linear infinite}
@keyframes rewaa384Brands{from{transform:translate3d(0,0,0)}to{transform:translate3d(var(--brand384-travel,-800px),0,0)}}
@media(max-width:780px){.home-v2 .home384-rail>.home384-product{width:212px}}
@media(max-width:470px){.home-v2 .home384-products{gap:9px}.home-v2 .home384-rail>.home384-product{width:185px}.home-v2 .home384-product .product-card-body{padding:9px}.home384-alert{font-size:9px;gap:5px}.home384-alert-bar{height:42px}.home-v2 .home384-product .product-badges,.home-v2 .home384-product .card-icon-btn.wishlist-toggle{top:49px}.home-v2 .home384-product .card-icon-btn.compare-toggle{top:85px}}
@media(prefers-reduced-motion:reduce){.home384-alert{transition:none!important}.home-v2 [data-home384-brands].is-ready .brand-marquee-track{animation:none!important}.home-v2 .home384-rail{scroll-behavior:auto!important}}
