/* NOVYAR Customer UI v18 — professional responsive polish */
:root{
  --nv18-bg:#f6f7f9;--nv18-card:#ffffff;--nv18-text:#111827;--nv18-muted:#667085;
  --nv18-line:#e5e7eb;--nv18-soft:#f2f4f7;--nv18-dark:#0f172a;--nv18-accent:#ff6b35;
  --nv18-radius:18px;--nv18-shadow:0 12px 34px rgba(15,23,42,.08);
}
html{scroll-behavior:smooth}
body.customer-ui{background:var(--nv18-bg);color:var(--nv18-text);overflow-x:hidden}
.customer-ui a{text-underline-offset:3px}
.customer-ui .container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.customer-ui .nvUtility{background:#0b1220;color:#dbe2ea;font-size:11px}
.customer-ui .nvHeader{position:sticky;top:0;z-index:45;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(229,231,235,.92)}
.customer-ui .nvNav{min-height:72px;gap:22px}
.customer-ui .nvBrand{font-weight:950;letter-spacing:-.04em}
.customer-ui .nvPrimaryNav a{font-weight:700;color:#475467}
.customer-ui .nvPrimaryNav a:hover{color:#111827}
.customer-ui .nvSearch{border:1px solid #dfe3e8;background:#f8fafc;border-radius:14px;box-shadow:none}
.customer-ui .nvSearch:focus-within{background:#fff;border-color:#98a2b3;box-shadow:0 0 0 4px rgba(15,23,42,.05)}
.customer-ui .nvActions{gap:8px}
.customer-ui .nvAccountLink,.customer-ui .nvIconBtn,.customer-ui .nvNoticeButton{border:1px solid transparent;border-radius:12px}
.customer-ui .nvAccountLink:hover,.customer-ui .nvIconBtn:hover,.customer-ui .nvNoticeButton:hover{background:#f2f4f7;border-color:#eaecf0}
.customer-ui .panel,.customer-ui .productCard,.customer-ui .reviewForm,.customer-ui .reviewCard,.customer-ui .guestBuyBox{
  border-color:var(--nv18-line);box-shadow:0 1px 2px rgba(15,23,42,.03)
}
.customer-ui .productCard{border-radius:20px;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}
.customer-ui .productCard:hover{transform:translateY(-3px);box-shadow:var(--nv18-shadow)}
.customer-ui .productMedia{background:#f1f3f5}
.customer-ui .productInfo h3{line-height:1.35}
.customer-ui .btn{border-radius:12px;font-weight:800}
.customer-ui .btn-primary,.customer-ui .btn-dark{box-shadow:none}
.customer-ui input,.customer-ui select,.customer-ui textarea{font:inherit}
.customer-ui .field input,.customer-ui .field select,.customer-ui .field textarea,
.customer-ui .accountForm input,.customer-ui .accountForm select,.customer-ui .accountForm textarea{
  border-color:#d0d5dd!important;border-radius:12px!important;background:#fff
}
.customer-ui .field input:focus,.customer-ui .field select:focus,.customer-ui .field textarea:focus,
.customer-ui .accountForm input:focus,.customer-ui .accountForm select:focus,.customer-ui .accountForm textarea:focus{
  outline:none;border-color:#667085!important;box-shadow:0 0 0 4px rgba(15,23,42,.06)
}

/* mobile navigation */
.nvMobileMenuButton{display:none;border:0;background:transparent;width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;cursor:pointer}
.nvMobileMenuButton svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.nvMobileMenuBackdrop{position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:95;opacity:0;pointer-events:none;transition:.2s}
.nvMobileMenuBackdrop.show{opacity:1;pointer-events:auto}
.nvMobileMenu{position:fixed;left:0;top:0;bottom:0;width:min(360px,88vw);z-index:100;background:#fff;transform:translateX(-104%);transition:.24s ease;box-shadow:22px 0 60px rgba(15,23,42,.2);display:flex;flex-direction:column}
.nvMobileMenu.show{transform:translateX(0)}
.nvMobileMenuHead{display:flex;align-items:center;justify-content:space-between;padding:18px;border-bottom:1px solid #eaecf0}
.nvMobileMenuHead .brand{font-size:24px;font-weight:950}
.nvMobileMenuClose{width:40px;height:40px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;font-size:20px}
.nvMobileMenuBody{padding:14px;overflow:auto}
.nvMobileMenuBody>a,.nvMobileMenuBody summary,.nvMobileSub a{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:12px;font-weight:750;color:#344054}
.nvMobileMenuBody>a:hover,.nvMobileMenuBody summary:hover,.nvMobileSub a:hover{background:#f2f4f7;color:#101828}
.nvMobileMenuBody details{border-top:1px solid #f0f1f3;margin-top:6px;padding-top:6px}
.nvMobileMenuBody summary{list-style:none;cursor:pointer;justify-content:space-between}
.nvMobileMenuBody summary::-webkit-details-marker{display:none}
.nvMobileSub{padding-left:10px}
.nvMobileSub a{font-size:13px;padding:11px 12px}
.nvMobileMenuFoot{margin-top:auto;padding:14px;border-top:1px solid #eaecf0;display:grid;gap:8px}
.nvMobileMenuFoot a{border:1px solid #e4e7ec;border-radius:12px;padding:12px;text-align:center;font-weight:800}

/* notification center */
.nvNoticeWrap{position:relative}
.nvNoticeButton{position:relative;width:42px;height:42px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer}
.nvNoticeButton svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.nvNoticeBadge{position:absolute;right:1px;top:1px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e11d48;color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center;border:2px solid #fff}
.nvNoticeMenu{position:absolute;right:0;top:50px;width:min(390px,calc(100vw - 28px));background:#fff;border:1px solid #e4e7ec;border-radius:18px;box-shadow:0 24px 70px rgba(15,23,42,.18);padding:10px;display:none;z-index:70}
.nvNoticeMenu.show{display:block}
.nvNoticeHead{display:flex;justify-content:space-between;align-items:center;padding:8px 8px 10px}
.nvNoticeHead b{font-size:15px}
.nvNoticeHead a{font-size:12px;font-weight:800;color:#475467}
.nvNoticeItem{display:grid;grid-template-columns:36px 1fr;gap:10px;padding:11px;border-radius:13px;color:#344054}
.nvNoticeItem:hover{background:#f8fafc}
.nvNoticeItem.unread{background:#f7f8ff}
.nvNoticeDot{width:34px;height:34px;border-radius:11px;background:#f2f4f7;display:grid;place-items:center;font-size:14px}
.nvNoticeItem b,.nvNoticeItem span,.nvNoticeItem small{display:block}
.nvNoticeItem span{font-size:12px;color:#667085;margin-top:3px;line-height:1.4}
.nvNoticeItem small{font-size:10px;color:#98a2b3;margin-top:4px}
.nvNoticeEmpty{padding:24px 12px;text-align:center;color:#667085}

/* professional review composer */
.nvReviewComposer{display:grid;gap:14px}
.nvRatingBlock{display:grid;gap:7px}
.nvRatingLabel{font-size:12px;font-weight:800;color:#475467}
.nvStarPicker{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:3px;width:max-content}
.nvStarPicker input{position:absolute;opacity:0;pointer-events:none}
.nvStarPicker label{font-size:34px;line-height:1;cursor:pointer;color:#d0d5dd;transition:transform .12s,color .12s}
.nvStarPicker label:hover,.nvStarPicker label:hover~label,.nvStarPicker input:checked~label{color:#f59e0b}
.nvStarPicker label:hover{transform:scale(1.08)}
.nvRatingText{font-size:12px;color:#667085;min-height:18px}
.nvReviewHelp{background:#f8fafc;border:1px solid #eaecf0;border-radius:12px;padding:11px 12px;font-size:12px;color:#667085}
.reviewMedia{display:flex;gap:8px;overflow:auto;margin:10px 0}
.reviewMedia img,.reviewMedia video{width:92px;height:92px;border-radius:12px;object-fit:cover;background:#f2f4f7}
.reviewCard{position:relative}
.reviewStars{font-size:17px;letter-spacing:1px}

/* account mobile menu stays within account page, no secondary side popup */
.nvAccountMenuBtn{display:none;align-items:center;gap:8px;border:1px solid #d0d5dd;background:#fff;border-radius:11px;padding:9px 12px;font-weight:800}
.nvAccountMobileNav{display:none;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:7px;margin:-6px 0 14px;box-shadow:0 10px 30px rgba(15,23,42,.08)}
.nvAccountMobileNav.show{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.nvAccountMobileNav a{padding:10px;border-radius:10px;font-size:12px;font-weight:750;color:#475467}
.nvAccountMobileNav a.active{background:#101828;color:#fff}
.nvAccountMobileNav em{float:right;background:#e11d48;color:#fff;border-radius:999px;padding:1px 6px;font-style:normal;font-size:10px}
.nvNotificationFeed{display:grid;gap:8px}
.nvNotificationRow{display:grid;grid-template-columns:40px 1fr auto;gap:10px;align-items:start;padding:12px;border:1px solid #eaecf0;border-radius:14px}
.nvNotificationRow.unread{background:#f7f8ff;border-color:#d9ddff}
.nvNotificationRow .icon{width:40px;height:40px;border-radius:12px;background:#f2f4f7;display:grid;place-items:center}
.nvNotificationRow b,.nvNotificationRow span,.nvNotificationRow small{display:block}
.nvNotificationRow span{font-size:12px;color:#667085;margin-top:3px}
.nvNotificationRow small{font-size:10px;color:#98a2b3;white-space:nowrap}
.settingsChecks label{border:1px solid #eaecf0;background:#fff!important;border-radius:12px;padding:11px!important}

/* general mobile overflow + layout corrections */
@media(max-width:900px){
  .customer-ui .nvUtility{display:none}
  .customer-ui .nvPrimaryNav{display:none!important}
  .nvMobileMenuButton{display:flex;flex:0 0 auto}
  .customer-ui .nvNav{display:grid;grid-template-columns:auto auto 1fr auto;gap:8px;min-height:64px;padding-block:8px}
  .customer-ui .nvBrand{grid-column:2}
  .customer-ui .nvSearch{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0}
  .customer-ui .nvActions{grid-column:4;grid-row:1}
  .customer-ui .nvAccountLink span{display:none}
  .customer-ui .nvDesktopOnly{display:none!important}
  .nvNoticeMenu{position:fixed;left:14px;right:14px;top:74px;width:auto;max-height:70vh;overflow:auto}
  .customer-ui .nvHomeHero{padding-top:14px}
  .customer-ui .nvHeroCard{border-radius:24px}
  .customer-ui .productDetailV4{gap:20px}
  .customer-ui .mainStage{max-height:78vh}
}
@media(max-width:760px){
  .accountMobileHead select{display:none!important}
  .nvAccountMenuBtn{display:flex}
  .accountMobileHead{position:sticky!important;top:74px!important}
  .accountV9Main{overflow:visible}
  .accountV9Main .tableWrap{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
}
@media(max-width:600px){
  body.customer-ui{padding-bottom:72px}
  .customer-ui .container{width:min(100% - 20px,1180px)}
  .customer-ui .nvNav{grid-template-columns:auto auto 1fr auto}
  .customer-ui .nvBrand{font-size:20px}
  .customer-ui .nvActions{gap:2px}
  .customer-ui .nvIconBtn,.customer-ui .nvNoticeButton,.customer-ui .nvCartButton{width:38px;height:38px}
  .customer-ui .nvMobileDock{height:64px;box-shadow:0 -8px 24px rgba(15,23,42,.08)}
  .customer-ui .nvProductGrid{gap:10px}
  .customer-ui .productCard{border-radius:16px}
  .customer-ui .productInfo{padding:11px}
  .customer-ui .reviewForm{padding:14px}
  .nvStarPicker label{font-size:32px}
  .nvAccountMobileNav.show{grid-template-columns:1fr}
  .nvNotificationRow{grid-template-columns:36px 1fr}
  .nvNotificationRow small{grid-column:2}
  .customer-ui .footerGrid,.customer-ui .nvFooterGrid{grid-template-columns:1fr!important}
}
@media(max-width:390px){
  .customer-ui .nvActions .nvAccountLink{display:none}
  .customer-ui .nvProductGrid{grid-template-columns:1fr 1fr!important}
  .customer-ui .productInfo h3{font-size:12px}
}
[data-theme="dark"] .nvMobileMenu,[data-theme="dark"] .nvNoticeMenu,[data-theme="dark"] .nvAccountMobileNav{background:#141c2a;color:#eef2f7;border-color:#263246}
[data-theme="dark"] .nvMobileMenuBody>a,[data-theme="dark"] .nvMobileMenuBody summary,[data-theme="dark"] .nvMobileSub a{color:#cbd5e1}
[data-theme="dark"] .nvNotificationRow,[data-theme="dark"] .settingsChecks label{background:#141c2a;border-color:#263246}

/* v18.1 PREMIUM DENSITY PASS */
:root{
  --nv18-bg:#eef1f5;
  --nv18-dark:#0b1220;
  --nv18-deep:#111c2f;
  --nv18-accent:#f97316;
  --nv18-accent-2:#ff8a3d;
}
body.customer-ui{background:#eef1f5!important}
.customer-ui .nvUtility{background:#070d17!important;color:#cbd5e1!important;border-bottom:1px solid #1f2937!important}
.customer-ui .nvUtilityInner{min-height:31px!important}
.customer-ui .nvUtility a{color:#e5e7eb!important}
.customer-ui .nvHeader{
  background:#0b1220!important;
  border-bottom:1px solid #202b3c!important;
  box-shadow:0 8px 24px rgba(2,6,23,.18)!important;
  backdrop-filter:none!important;
}
.customer-ui .nvNav{min-height:66px!important;gap:17px!important}
.customer-ui .nvBrand{color:#fff!important;font-size:23px!important}
.customer-ui .nvBrand span{color:#fb7a2d!important}
.customer-ui .nvPrimaryNav a{color:#d5dbe5!important;font-size:13px!important}
.customer-ui .nvPrimaryNav a:hover{color:#fff!important}
.customer-ui .nvHeaderIcon{stroke:#e5e7eb!important}
.customer-ui .nvAccountLink{color:#e5e7eb!important}
.customer-ui .nvAccountLink:hover,.customer-ui .nvIconBtn:hover,.customer-ui .nvNoticeButton:hover{background:#172235!important;border-color:#26344a!important}
.customer-ui .nvSearch{
  min-height:44px!important;
  background:#fff!important;
  border:1px solid #fff!important;
  border-radius:10px!important;
  box-shadow:0 3px 12px rgba(0,0,0,.14)!important;
}
.customer-ui .nvSearch input{color:#101828!important}
.customer-ui .nvSearch .nvHeaderIcon,.customer-ui .nvSearchIcon svg,.customer-ui .voiceSearchBtn svg{stroke:#475467!important}
.customer-ui .nvCartButton{color:#fff!important}
.customer-ui .nvCartButton .cartBadge,.customer-ui .nvIconBtn .cartBadge{background:#f97316!important;color:#fff!important;border-color:#0b1220!important}

.nvBrowseBar{background:#111c2f;border-bottom:1px solid #26344a;color:#cbd5e1}
.nvBrowseBarInner{min-height:38px;display:flex;align-items:center;gap:23px;overflow:auto;white-space:nowrap;scrollbar-width:none}
.nvBrowseBarInner::-webkit-scrollbar{display:none}
.nvBrowseBar a{font-size:12px;font-weight:700;color:#cbd5e1}
.nvBrowseBar a:hover{color:#fff}
.nvBrowseBar a:first-child{color:#ff9b5c}
.nvBrowseSpacer{flex:1}

.customer-ui .nvOfferStrip{
  background:#fff7ed!important;
  color:#8a3b12!important;
  border-block:1px solid #fed7aa!important;
}
.customer-ui .nvOfferStrip *{color:#8a3b12!important}

.customer-ui .nvHomeHero{padding-top:14px!important;padding-bottom:0!important}
.customer-ui .nvHeroCard{
  min-height:430px!important;
  background:
    radial-gradient(circle at 82% 16%,rgba(249,115,22,.24),transparent 26%),
    radial-gradient(circle at 68% 92%,rgba(59,130,246,.16),transparent 34%),
    linear-gradient(120deg,#0b1220 0%,#111c2f 57%,#18263a 100%)!important;
  border:1px solid #26344a!important;
  border-radius:22px!important;
  box-shadow:0 22px 48px rgba(2,6,23,.22)!important;
}
.customer-ui .nvHeroCopy{padding:46px 42px 42px 50px!important}
.customer-ui .nvKicker{
  background:rgba(249,115,22,.14)!important;
  color:#ffad75!important;
  border:1px solid rgba(249,115,22,.30)!important;
  padding:7px 11px!important;
  margin-bottom:14px!important;
}
.customer-ui .nvHeroCopy h1{
  color:#fff!important;
  font-size:clamp(40px,4.5vw,61px)!important;
  line-height:1.00!important;
  letter-spacing:-.048em!important;
  max-width:650px!important;
  margin-bottom:16px!important;
}
.customer-ui .nvHeroCopy p{
  color:#c6cfdb!important;
  font-size:15px!important;
  line-height:1.58!important;
  max-width:570px!important;
}
.customer-ui .nvHeroButtons{margin-top:22px!important;gap:18px!important}
.customer-ui .nvBlackButton{
  background:#f97316!important;
  border-color:#f97316!important;
  color:#fff!important;
  box-shadow:0 10px 25px rgba(249,115,22,.24)!important;
}
.customer-ui .nvBlackButton:hover{background:#ea650c!important;border-color:#ea650c!important}
.customer-ui .nvTextButton{color:#fff!important;border-bottom-color:#64748b!important}
.customer-ui .nvHeroMini{color:#aeb9c8!important;margin-top:24px!important;gap:18px!important}
.customer-ui .nvHeroVisual{
  background:linear-gradient(145deg,#ffffff 0%,#eef2f7 100%)!important;
  border-left:1px solid rgba(255,255,255,.10)!important;
  margin:18px!important;
  border-radius:18px!important;
  min-height:390px!important;
  overflow:hidden!important;
}
.customer-ui .nvHeroBackdrop{
  background:radial-gradient(circle,#ffd6bd 0%,#f5f7fb 62%,#e8edf4 100%)!important;
  opacity:1!important;
}
.customer-ui .nvHeroProductMeta{
  background:rgba(255,255,255,.96)!important;
  border-color:#d8dee8!important;
  box-shadow:0 14px 32px rgba(15,23,42,.15)!important;
}
.customer-ui .nvHeroProductMeta small{color:#d9560c!important}
.customer-ui .nvRoundBadge{background:#f97316!important;color:#fff!important}
.customer-ui .nvHeroDots{display:none!important}

.nvHeroTrustStrip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  border:1px solid #dfe4ea;
  border-radius:16px;
  box-shadow:0 10px 26px rgba(15,23,42,.07);
  margin-top:10px!important;
  overflow:hidden;
}
.nvHeroTrustStrip>div{display:flex;align-items:center;gap:11px;padding:14px 16px;border-right:1px solid #e8ebef}
.nvHeroTrustStrip>div:last-child{border-right:0}
.nvHeroTrustStrip>div>span{width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#fff3e8;color:#d9560c;display:grid;place-items:center;font-weight:950}
.nvHeroTrustStrip p,.nvHeroTrustStrip b,.nvHeroTrustStrip small{display:block;margin:0}
.nvHeroTrustStrip b{font-size:12px;color:#1d2939}
.nvHeroTrustStrip small{font-size:10px;color:#7b8794;margin-top:2px}

.customer-ui .nvCategories{
  margin-top:14px!important;
  margin-bottom:10px!important;
  gap:8px!important;
}
.customer-ui .nvCategoryTile{
  min-height:86px!important;
  padding:12px 9px!important;
  border-radius:14px!important;
  box-shadow:0 4px 12px rgba(15,23,42,.04)!important;
}
.customer-ui .nvCategoryTile span{font-size:22px!important}
.customer-ui .nvCategoryTile b{font-size:11px!important}
.customer-ui .nvCategoryTile:hover,.customer-ui .nvCategoryTile.active{
  background:#fff7ed!important;
  border-color:#fdba74!important;
  transform:translateY(-2px)!important;
}
.customer-ui .nvCategoryTile.active span{color:#d9560c!important}

.customer-ui .nvGuestNotice{margin-top:10px!important;border-radius:14px!important;box-shadow:none!important}
.customer-ui .nvShopSection{padding-top:28px!important}
.customer-ui .nvSectionTitle{margin-bottom:14px!important}
.customer-ui .nvSectionTitle h2{color:#101828!important;letter-spacing:-.035em!important}
.customer-ui .nvSectionTitle span,.customer-ui .nvSectionTitle>a{color:#d9560c!important}
.customer-ui .nvShopControls{margin-bottom:14px!important}
.customer-ui .categoryChip.active{background:#0b1220!important;border-color:#0b1220!important}
.customer-ui .nvToolbar{background:#fff!important;border:1px solid #e1e5ea!important;border-radius:13px!important;padding:8px 10px!important}

.customer-ui .nvProductGrid{gap:14px!important}
.customer-ui .nvProductCard{
  border:1px solid #dce2e9!important;
  border-radius:16px!important;
  box-shadow:0 7px 18px rgba(15,23,42,.055)!important;
}
.customer-ui .nvProductCard:hover{box-shadow:0 18px 40px rgba(15,23,42,.13)!important}
.customer-ui .nvProductMedia{background:linear-gradient(180deg,#f8fafc,#eef2f6)!important}
.customer-ui .nvProductInfo{padding:13px 14px 15px!important}
.customer-ui .nvProductInfo h3{font-size:14px!important;color:#101828!important}
.customer-ui .price{color:#0b1220!important}
.customer-ui .addIcon,.customer-ui .quickBtn{background:#0b1220!important}
.customer-ui .guestBuyLink{background:#f97316!important}
.customer-ui .nvDiscount{background:#fff1e8!important;color:#c54d0a!important}

.customer-ui .nvPromoGrid{gap:12px!important;margin-top:28px!important}
.customer-ui .nvPromo{min-height:190px!important;border-radius:16px!important;padding:24px!important}
.customer-ui .nvPromoDark{background:linear-gradient(135deg,#0b1220,#1a2940)!important}
.customer-ui .nvPromoLight{background:linear-gradient(135deg,#ffffff,#eef3f8)!important;color:#1d2939!important}
.customer-ui .nvPromoWarm{background:linear-gradient(135deg,#fff3e8,#ffe4cf)!important;color:#7c3510!important}
.customer-ui .nvTrustRow{margin-top:14px!important;border-radius:16px!important;box-shadow:0 7px 20px rgba(15,23,42,.05)!important}

.customer-ui .nvFooter{margin-top:34px!important}

@media(max-width:900px){
  .nvBrowseBar{display:none}
  .customer-ui .nvHeader{background:#0b1220!important}
  .customer-ui .nvMobileMenuButton{color:#fff!important;background:#172235!important}
  .customer-ui .nvNav{min-height:60px!important}
  .customer-ui .nvSearch{margin-top:2px!important}
  .customer-ui .nvHomeHero{padding-top:10px!important}
  .customer-ui .nvHeroCard{min-height:0!important}
  .customer-ui .nvHeroCopy{padding:31px 22px 23px!important}
  .customer-ui .nvHeroCopy h1{font-size:39px!important;line-height:1.02!important}
  .customer-ui .nvHeroCopy p{font-size:14px!important}
  .customer-ui .nvHeroVisual{margin:0 12px 12px!important;min-height:260px!important;border-radius:15px!important}
  .customer-ui .nvHeroProductLink{height:235px!important}
  .nvHeroTrustStrip{grid-template-columns:1fr 1fr;margin-top:8px!important}
  .nvHeroTrustStrip>div:nth-child(2){border-right:0}
  .nvHeroTrustStrip>div:nth-child(-n+2){border-bottom:1px solid #e8ebef}
  .customer-ui .nvCategories{margin-top:10px!important}
}
@media(max-width:600px){
  .customer-ui .nvHeader{box-shadow:0 5px 18px rgba(2,6,23,.22)!important}
  .customer-ui .nvHeroCopy h1{font-size:34px!important}
  .customer-ui .nvHeroMini{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;font-size:10px!important}
  .nvHeroTrustStrip>div{padding:11px 9px!important;gap:8px!important}
  .nvHeroTrustStrip>div>span{width:30px;height:30px;flex-basis:30px}
  .nvHeroTrustStrip b{font-size:11px}
  .nvHeroTrustStrip small{font-size:9px}
  .customer-ui .nvCategories{grid-template-columns:repeat(4,1fr)!important}
  .customer-ui .nvCategoryTile{min-height:75px!important;padding:9px 6px!important}
  .customer-ui .nvCategoryTile span{font-size:19px!important}
  .customer-ui .nvShopSection{padding-top:20px!important}
  .customer-ui .nvPromo{min-height:auto!important;padding:20px!important}
}

/* v18.2 MOBILE MARKETPLACE REBUILD */
.nvMobileMarketHeader{display:none}

@media(max-width:900px){
  /* Dedicated mobile marketplace header: never reuse the desktop grid */
  .customer-ui .nvUtility,
  .customer-ui .nvHeader,
  .customer-ui .nvBrowseBar{display:none!important}
  .nvMobileMarketHeader{
    display:block;
    position:relative;
    z-index:46;
    background:#101a29;
    color:#fff;
    border-bottom:1px solid #2b3a4f;
    box-shadow:0 5px 18px rgba(2,6,23,.18);
  }
  .nvMobileMarketTop{
    height:58px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    padding:7px 12px 5px;
  }
  .nvMobileMarketTop .nvMarketMenuButton{
    display:grid!important;
    place-items:center;
    position:static!important;
    width:40px!important;
    height:40px!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    color:#fff!important;
    border-radius:8px!important;
  }
  .nvMobileMarketTop .nvMarketMenuButton svg{width:26px;height:26px;stroke-width:2}
  .nvMobileMarketBrand{
    color:#fff;
    font-size:22px;
    line-height:1;
    font-weight:950;
    letter-spacing:-.045em;
    text-decoration:none;
    justify-self:start;
  }
  .nvMobileMarketBrand span{color:#ff7a2f}
  .nvMobileMarketActions{display:flex;align-items:center;gap:4px;justify-self:end}
  .nvMobileMarketIcon{
    width:39px;height:39px;position:relative;
    display:grid;place-items:center;
    border:0;background:transparent;color:#fff;border-radius:9px;text-decoration:none;
    padding:0;
  }
  .nvMobileMarketIcon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .nvMobileMarketIcon em{
    position:absolute;top:-1px;right:-1px;min-width:17px;height:17px;padding:0 4px;
    border-radius:99px;background:#ff7a2f;color:#fff;border:2px solid #101a29;
    font-size:9px;font-style:normal;font-weight:900;display:grid;place-items:center;
  }
  .nvMobileSignIn{color:#fff;text-decoration:none;font-size:13px;font-weight:800;padding:8px 6px;white-space:nowrap}

  .nvMobileMarketSearch{
    margin:2px 12px 10px;
    height:48px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 48px;
    align-items:center;
    background:#fff;
    border:0;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.20);
  }
  .nvMobileMarketSearch>span{display:grid;place-items:center;color:#64748b}
  .nvMobileMarketSearch svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .customer-ui .nvMobileMarketSearch input{
    width:100%!important;height:46px!important;min-height:0!important;
    padding:0 4px!important;margin:0!important;border:0!important;background:#fff!important;
    box-shadow:none!important;border-radius:0!important;color:#111827!important;font-size:16px!important;
  }
  .nvMobileMarketSearch input::placeholder{color:#8993a1!important}
  .nvMobileMarketSearch button{
    align-self:stretch;border:0;background:#ffb35f;color:#111827;display:grid;place-items:center;
  }

  .nvMobileQuickNav{
    display:flex;gap:22px;overflow-x:auto;white-space:nowrap;
    padding:2px 14px 11px;scrollbar-width:none;
  }
  .nvMobileQuickNav::-webkit-scrollbar{display:none}
  .nvMobileQuickNav a{color:#f3f4f6;text-decoration:none;font-size:13px;font-weight:700}
  .nvMobileQuickNav a:first-child{color:#ffbd7a}
  .nvMobileDeliveryBar{
    display:grid;grid-template-columns:24px 1fr auto;gap:8px;align-items:center;
    min-height:47px;padding:8px 14px;background:#26384d;color:#fff;text-decoration:none;
    border-top:1px solid rgba(255,255,255,.05);
  }
  .nvMobileDeliveryBar>span:first-child{font-size:21px}
  .nvMobileDeliveryBar b,.nvMobileDeliveryBar small{display:block}
  .nvMobileDeliveryBar b{font-size:12px}
  .nvMobileDeliveryBar small{font-size:9px;color:#c7d1dc;margin-top:1px}
  .nvMobileDeliveryBar>span:last-child{font-size:22px;color:#cbd5e1}

  /* The old bottom app dock made the site look like a template; remove it on web mobile. */
  .customer-ui .mobileDock,.customer-ui .nvMobileDock{display:none!important}
  body.customer-ui{padding-bottom:0!important}

  /* Mobile homepage: compact commerce banner, not a full-screen landing hero. */
  .customer-ui .nvHomeHero{padding:10px 0 0!important}
  .customer-ui .nvHeroCard{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(120px,.85fr)!important;
    align-items:stretch!important;
    min-height:225px!important;
    height:225px!important;
    border-radius:14px!important;
    overflow:hidden!important;
    box-shadow:0 8px 20px rgba(15,23,42,.16)!important;
  }
  .customer-ui .nvHeroCopy{
    padding:22px 12px 18px 18px!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
    min-width:0!important;
  }
  .customer-ui .nvKicker{
    font-size:8px!important;
    letter-spacing:.07em!important;
    padding:5px 7px!important;
    margin:0 0 9px!important;
    white-space:nowrap!important;
  }
  .customer-ui .nvHeroCopy h1{
    font-size:28px!important;
    line-height:1.02!important;
    letter-spacing:-.045em!important;
    margin:0 0 8px!important;
    max-width:280px!important;
  }
  .customer-ui .nvHeroCopy p{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    font-size:10.5px!important;
    line-height:1.38!important;
    margin:0 0 12px!important;
  }
  .customer-ui .nvHeroButtons{margin:0!important;gap:8px!important}
  .customer-ui .nvBlackButton{
    min-height:34px!important;
    padding:8px 11px!important;
    border-radius:8px!important;
    font-size:10px!important;
  }
  .customer-ui .nvTextButton{display:none!important}
  .customer-ui .nvHeroMini{display:none!important}
  .customer-ui .nvHeroVisual{
    position:relative!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    min-height:225px!important;
    height:225px!important;
    background:linear-gradient(150deg,#fff,#e7ebf0)!important;
  }
  .customer-ui .nvHeroProductLink{
    position:absolute!important;inset:8px 5px 8px 5px!important;
    height:auto!important;display:grid!important;place-items:center!important;
  }
  .customer-ui .nvHeroProductLink img{
    width:100%!important;height:100%!important;object-fit:contain!important;max-width:none!important;max-height:none!important;
  }
  .customer-ui .nvHeroProductMeta,.customer-ui .nvRoundBadge{display:none!important}
  .customer-ui .nvHeroBackdrop{inset:0!important}

  .nvHeroTrustStrip{
    margin-top:7px!important;
    border-radius:11px!important;
    grid-template-columns:repeat(4,minmax(92px,1fr))!important;
    overflow-x:auto!important;
    box-shadow:none!important;
  }
  .nvHeroTrustStrip>div{
    min-width:112px!important;
    padding:9px 8px!important;
    border-bottom:0!important;
    border-right:1px solid #e8ebef!important;
  }
  .nvHeroTrustStrip>div>span{width:28px;height:28px;flex-basis:28px;border-radius:8px;font-size:11px}
  .nvHeroTrustStrip b{font-size:10px}
  .nvHeroTrustStrip small{display:none}

  /* Categories should feel like browse shortcuts, not large dashboard cards. */
  .customer-ui .nvCategories{
    display:flex!important;
    overflow-x:auto!important;
    gap:7px!important;
    margin:8px auto 4px!important;
    padding-bottom:3px!important;
    scrollbar-width:none!important;
  }
  .customer-ui .nvCategories::-webkit-scrollbar{display:none}
  .customer-ui .nvCategoryTile,
  .customer-ui .nvCategoryTile:nth-child(n){
    display:grid!important;
    flex:0 0 76px!important;
    min-height:68px!important;
    padding:8px 5px!important;
    border-radius:10px!important;
  }
  .customer-ui .nvCategoryTile span{font-size:17px!important}
  .customer-ui .nvCategoryTile b{font-size:9.5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:65px}
  .customer-ui .nvCategoryTile small{font-size:8px!important}

  .customer-ui .nvGuestNotice{
    margin-top:7px!important;
    padding:9px 11px!important;
    border-radius:10px!important;
    font-size:10px!important;
  }
  .customer-ui .nvGuestNotice p{margin:0!important;line-height:1.35!important}
  .customer-ui .nvGuestNotice a{font-size:10px!important;white-space:nowrap}

  .customer-ui .nvShopSection{padding-top:14px!important}
  .customer-ui .nvSectionTitle{margin-bottom:9px!important}
  .customer-ui .nvSectionTitle h2{font-size:20px!important;margin:2px 0!important}
  .customer-ui .nvSectionTitle span{font-size:8px!important}
  .customer-ui .nvSectionTitle>a{font-size:10px!important}
  .customer-ui .nvShopControls{margin-bottom:9px!important}
  .customer-ui .nvCategoryChips{padding-bottom:4px!important}
  .customer-ui .categoryChip{padding:7px 9px!important;font-size:10px!important}
  .customer-ui .nvToolbar{padding:6px 8px!important}
  .customer-ui .nvToolbar select{min-height:34px!important;height:34px!important;font-size:11px!important;padding:0 8px!important}

  .customer-ui .nvProductGrid{gap:8px!important}
  .customer-ui .nvProductCard{border-radius:10px!important;box-shadow:0 3px 10px rgba(15,23,42,.06)!important}
  .customer-ui .nvProductInfo{padding:9px 8px 10px!important}
  .customer-ui .nvProductInfo h3{font-size:12px!important;line-height:1.28!important}
  .customer-ui .ratingLine{font-size:9.5px!important}
  .customer-ui .nvBrandLine{font-size:8.5px!important}
  .customer-ui .price{font-size:14px!important}
  .customer-ui .oldPrice{font-size:9px!important}
  .customer-ui .stockLine{font-size:8.5px!important}
  .customer-ui .quickBtn{display:none!important}
}

@media(max-width:390px){
  .nvMobileMarketTop{padding-inline:9px}
  .nvMobileMarketSearch{margin-inline:9px}
  .nvMobileQuickNav{padding-inline:11px;gap:18px}
  .customer-ui .nvHeroCard{grid-template-columns:minmax(0,1.2fr) minmax(108px,.8fr)!important}
  .customer-ui .nvHeroCopy{padding-left:14px!important;padding-right:8px!important}
  .customer-ui .nvHeroCopy h1{font-size:25px!important}
}

/* v18.3 ROOT HORIZONTAL OVERFLOW LOCK */
@media(max-width:900px){
  html{
    width:100%!important;
    max-width:100%!important;
    overflow-x:clip!important;
    overscroll-behavior-x:none!important;
  }
  body.customer-ui{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:clip!important;
    position:relative!important;
    overscroll-behavior-x:none!important;
  }
  body.customer-ui>*{
    max-width:100%!important;
  }

  .customer-ui .container{
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  .nvMobileMarketHeader,
  .nvMobileMarketTop,
  .nvMobileMarketSearch,
  .nvMobileQuickNav,
  .nvMobileDeliveryBar,
  .customer-ui .nvHomeHero,
  .customer-ui .nvShopSection,
  .customer-ui .nvFooter{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .nvMobileMarketTop>*,
  .nvMobileMarketActions,
  .customer-ui .nvHeroCard>*,
  .customer-ui .nvShopSection>*{
    min-width:0!important;
  }

  /* Horizontal lists scroll inside themselves, never the document. */
  .nvMobileQuickNav,
  .customer-ui .nvCategories,
  .nvHeroTrustStrip,
  .customer-ui .nvCategoryChips,
  .customer-ui .categoryRail{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-x!important;
  }

  .nvHeroTrustStrip{
    box-sizing:border-box!important;
  }

  .customer-ui .nvHeroCard{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .customer-ui .nvHeroCopy,
  .customer-ui .nvHeroVisual{
    min-width:0!important;
    max-width:100%!important;
  }

  .customer-ui .nvProductGrid,
  .customer-ui .nvPromoGrid,
  .customer-ui .nvTrustRow{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  img,svg,video,canvas{
    max-width:100%;
  }
}

/* v18.4 MOBILE READABILITY + CLIPPING FIX */
@media(max-width:900px){
  /* Keep the mobile storefront visually consistent even when the phone/browser prefers dark mode. */
  html[data-theme="dark"] body.customer-ui,
  body.customer-ui{
    background:#eef1f5!important;
    color:#101828!important;
    color-scheme:light!important;
  }

  html[data-theme="dark"] body.customer-ui .productCard,
  html[data-theme="dark"] body.customer-ui .miniCard,
  html[data-theme="dark"] body.customer-ui .panel,
  html[data-theme="dark"] body.customer-ui .reviewForm,
  html[data-theme="dark"] body.customer-ui .reviewCard,
  html[data-theme="dark"] body.customer-ui .specGrid>div,
  html[data-theme="dark"] body.customer-ui .buyBenefits>div,
  html[data-theme="dark"] body.customer-ui .accountMobileHead,
  html[data-theme="dark"] body.customer-ui .accountMetricGrid>a,
  html[data-theme="dark"] body.customer-ui .accountMetricGrid>div{
    background:#fff!important;
    color:#101828!important;
    border-color:#dfe4ea!important;
  }

  /* Account pages need a compact utility header; search/browse belongs on the store, not inside account settings. */
  body.account-customer-page .nvMobileMarketSearch,
  body.account-customer-page .nvMobileQuickNav,
  body.account-customer-page .nvMobileDeliveryBar{
    display:none!important;
  }
  body.account-customer-page .nvMobileMarketHeader{
    min-height:58px!important;
  }

  /* Account shell: consistent light workspace and readable typography. */
  body.customer-ui .accountV9Shell{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    background:#eef1f5!important;
    color:#101828!important;
  }
  body.customer-ui .accountV9Main{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:12px 12px 34px!important;
    overflow:visible!important;
    background:#eef1f5!important;
    color:#101828!important;
  }
  body.customer-ui .accountMobileHead{
    position:relative!important;
    top:auto!important;
    z-index:10!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 0 10px!important;
    padding:10px!important;
    background:#fff!important;
    border:1px solid #dce3eb!important;
    color:#101828!important;
    box-shadow:0 5px 14px rgba(15,23,42,.06)!important;
  }
  body.customer-ui .accountMobileHead .accountIdentity b{color:#101828!important}
  body.customer-ui .accountMobileHead .accountIdentity small{color:#667085!important}
  body.customer-ui .nvAccountMenuBtn{
    display:flex!important;
    color:#101828!important;
    background:#f8fafc!important;
    border:1px solid #d0d5dd!important;
    padding:9px 11px!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
  body.customer-ui .nvAccountMobileNav{
    width:100%!important;
    max-width:100%!important;
    background:#fff!important;
    color:#101828!important;
    border-color:#dfe4ea!important;
  }
  body.customer-ui .nvAccountMobileNav a{color:#344054!important}
  body.customer-ui .nvAccountMobileNav a.active{background:#101828!important;color:#fff!important}

  body.customer-ui .accountWelcome{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    border-radius:16px!important;
    padding:20px!important;
    gap:16px!important;
    background:linear-gradient(135deg,#0b1626,#173252)!important;
    color:#fff!important;
    box-shadow:0 10px 28px rgba(15,23,42,.14)!important;
  }
  body.customer-ui .accountWelcome .eyebrow{color:#ff9d61!important}
  body.customer-ui .accountWelcome h1{
    color:#fff!important;
    opacity:1!important;
    font-size:30px!important;
    line-height:1.03!important;
    letter-spacing:-.04em!important;
    margin:5px 0 9px!important;
  }
  body.customer-ui .accountWelcome p{
    color:#d8e0ea!important;
    opacity:1!important;
    font-size:13px!important;
    line-height:1.5!important;
  }
  body.customer-ui .accountScoreRing{
    color:#fff!important;
    border-color:rgba(255,255,255,.18)!important;
    outline-color:rgba(255,255,255,.15)!important;
  }
  body.customer-ui .accountScoreRing b{color:#fff!important}
  body.customer-ui .accountScoreRing small{color:#d8e0ea!important}

  body.customer-ui .accountMetricGrid{
    width:100%!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:10px 0!important;
  }
  body.customer-ui .accountMetricGrid>a,
  body.customer-ui .accountMetricGrid>div{
    min-width:0!important;
    padding:13px!important;
    border-radius:13px!important;
    background:#fff!important;
    color:#101828!important;
    border:1px solid #dfe4ea!important;
  }
  body.customer-ui .accountMetricGrid b{color:#101828!important;font-size:21px!important}
  body.customer-ui .accountMetricGrid span{color:#667085!important;font-size:11px!important}

  body.customer-ui .accountPageHead{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:3px 0 10px!important;
    gap:8px!important;
  }
  body.customer-ui .accountPageHead h1{
    color:#101828!important;
    opacity:1!important;
    font-size:26px!important;
    line-height:1.08!important;
    margin:4px 0!important;
    overflow-wrap:anywhere!important;
  }
  body.customer-ui .accountPageHead p{color:#667085!important;font-size:12px!important}
  body.customer-ui .accountPageHead .eyebrow{color:#c55213!important}

  body.customer-ui .accountV9Main .panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:14px!important;
    margin-top:9px!important;
    border-radius:14px!important;
    background:#fff!important;
    color:#101828!important;
    border:1px solid #dfe4ea!important;
    box-shadow:none!important;
  }
  body.customer-ui .accountV9Main .panel h2,
  body.customer-ui .accountV9Main .panel h3{
    color:#101828!important;
    opacity:1!important;
  }
  body.customer-ui .accountV9Main .muted,
  body.customer-ui .accountV9Main .panel p,
  body.customer-ui .accountV9Main .panel small{
    color:#667085!important;
  }

  /* Alerts / list rows must never disappear into a dark page. */
  body.customer-ui .nvNotificationRow,
  body.customer-ui .accountListRow,
  body.customer-ui .verifyCard,
  body.customer-ui .settingsChecks,
  body.customer-ui .securityChecklist span,
  body.customer-ui .quickAccountGrid a{
    color:#101828!important;
  }
  body.customer-ui .nvNotificationRow{
    background:#fff!important;
    border-color:#e1e6ec!important;
  }
  body.customer-ui .nvNotificationRow.unread{background:#fff7ed!important;border-color:#fed7aa!important}

  /* Homepage hero: let content define height so CTA can never be clipped. */
  body.customer-ui .nvHeroCard{
    height:auto!important;
    min-height:238px!important;
    align-items:stretch!important;
  }
  body.customer-ui .nvHeroCopy{
    min-height:238px!important;
    height:auto!important;
    padding:20px 12px 18px 16px!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  body.customer-ui .nvHeroCopy h1{
    font-size:24px!important;
    line-height:1.04!important;
    margin:0 0 8px!important;
    max-width:100%!important;
  }
  body.customer-ui .nvHeroCopy p{
    font-size:10.5px!important;
    line-height:1.4!important;
    -webkit-line-clamp:3!important;
    margin:0 0 11px!important;
  }
  body.customer-ui .nvHeroButtons{margin:0!important;flex:0 0 auto!important}
  body.customer-ui .nvBlackButton{
    display:inline-flex!important;
    align-items:center!important;
    min-height:34px!important;
    padding:8px 11px!important;
    font-size:10px!important;
    line-height:1!important;
    overflow:visible!important;
  }
  body.customer-ui .nvHeroVisual{
    min-height:238px!important;
    height:auto!important;
  }

  /* Trust benefits: 2x2, fully visible. No half card at the edge. */
  body.customer-ui .nvHeroTrustStrip{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    overflow:hidden!important;
    margin:7px auto 0!important;
    padding:0!important;
    gap:0!important;
  }
  body.customer-ui .nvHeroTrustStrip>div{
    min-width:0!important;
    width:auto!important;
    padding:9px!important;
    border-right:1px solid #e7ebef!important;
    border-bottom:1px solid #e7ebef!important;
  }
  body.customer-ui .nvHeroTrustStrip>div:nth-child(2n){border-right:0!important}
  body.customer-ui .nvHeroTrustStrip>div:nth-last-child(-n+2){border-bottom:0!important}

  /* Categories: show exactly four complete shortcuts on mobile. */
  body.customer-ui .nvCategories{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    width:calc(100% - 20px)!important;
    max-width:calc(100% - 20px)!important;
    overflow:hidden!important;
    gap:7px!important;
    margin:8px auto 4px!important;
  }
  body.customer-ui .nvCategoryTile,
  body.customer-ui .nvCategoryTile:nth-child(n){
    display:grid!important;
    min-width:0!important;
    width:auto!important;
    min-height:72px!important;
    padding:8px 4px!important;
  }
  body.customer-ui .nvCategoryTile:nth-child(n+5){display:none!important}
  body.customer-ui .nvCategoryTile b{
    max-width:100%!important;
    white-space:normal!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    line-height:1.12!important;
    text-align:center!important;
  }

  /* Product cards: readable and stable in two columns. */
  body.customer-ui .products,
  body.customer-ui .nvProductGrid,
  body.customer-ui .relatedSection .products{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.customer-ui .productCard{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    background:#fff!important;
    color:#101828!important;
    border:1px solid #dfe4ea!important;
    border-radius:11px!important;
    overflow:hidden!important;
  }
  body.customer-ui .productMedia{
    background:linear-gradient(180deg,#f8fafc,#eef2f6)!important;
    color:#101828!important;
  }
  body.customer-ui .productImage{
    width:100%!important;
    aspect-ratio:1/1!important;
    height:auto!important;
  }
  body.customer-ui .productImage img{
    width:100%!important;height:100%!important;object-fit:contain!important;
  }
  body.customer-ui .productInfo{
    min-width:0!important;
    padding:9px!important;
    background:#fff!important;
    color:#101828!important;
  }
  body.customer-ui .productInfo h3{
    color:#101828!important;
    font-size:12px!important;
    line-height:1.28!important;
    white-space:normal!important;
    overflow:hidden!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    min-height:31px!important;
    margin:5px 0!important;
  }
  body.customer-ui .productInfo .ratingLine{color:#667085!important;font-size:9.5px!important}
  body.customer-ui .productInfo .nvBrandLine{color:#7b8794!important;font-size:8.5px!important}
  body.customer-ui .productInfo .price{color:#101828!important;font-size:14px!important}
  body.customer-ui .productInfo .oldPrice{color:#98a2b3!important;font-size:9px!important}
  body.customer-ui .productInfo .stockLine{font-size:8.5px!important}

  /* Recently viewed: replace broken side-by-side desktop card with clean mobile cards. */
  body.customer-ui .recentSection{width:100%!important;max-width:100%!important}
  body.customer-ui .miniGrid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    width:100%!important;
    max-width:100%!important;
  }
  body.customer-ui .miniCard{
    display:block!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:8px!important;
    background:#fff!important;
    color:#101828!important;
    border:1px solid #dfe4ea!important;
    border-radius:12px!important;
    overflow:hidden!important;
  }
  body.customer-ui .miniImg{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1.2/1!important;
    border-radius:9px!important;
    background:#f2f4f7!important;
    overflow:hidden!important;
    margin:0 0 8px!important;
  }
  body.customer-ui .miniImg img{width:100%!important;height:100%!important;object-fit:contain!important}
  body.customer-ui .miniCard>div{min-width:0!important}
  body.customer-ui .miniCard small{
    display:block!important;
    color:#7b8794!important;
    font-size:8px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.customer-ui .miniCard b{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    color:#101828!important;
    font-size:11px!important;
    line-height:1.25!important;
    min-height:28px!important;
    margin:4px 0!important;
  }
  body.customer-ui .miniCard strong{
    display:block!important;
    color:#101828!important;
    font-size:13px!important;
  }

  /* Account product rail is horizontal by design, but each card stays complete. */
  body.customer-ui .accountProductRail{
    grid-auto-columns:128px!important;
    gap:9px!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overscroll-behavior-x:contain!important;
  }
  body.customer-ui .accountProductRail>a{
    min-width:0!important;
    width:128px!important;
    color:#101828!important;
  }
  body.customer-ui .accountProductRail>a>div{height:105px!important}
  body.customer-ui .accountProductRail b{
    color:#101828!important;
    font-size:11px!important;
    line-height:1.25!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  /* Inputs / controls should always fit the phone. */
  body.customer-ui input,
  body.customer-ui select,
  body.customer-ui textarea,
  body.customer-ui button,
  body.customer-ui .btn{
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}

@media(max-width:420px){
  body.customer-ui .accountWelcome{display:block!important}
  body.customer-ui .accountScoreRing{margin-top:16px!important}
  body.customer-ui .accountWelcome h1{font-size:27px!important}
  body.customer-ui .nvHeroCopy h1{font-size:22px!important}
}

/* v18.5 ACCOUNT OVERVIEW ISOLATED FIX */
@media(max-width:760px){
  /* Neutralize legacy dark-mode blocks only inside the customer account workspace. */
  html[data-theme="dark"] body.account-customer-page .accountV9Main .panel,
  html[data-theme="dark"] body.account-customer-page .quickAccountGrid a,
  html[data-theme="dark"] body.account-customer-page .securityChecklist span,
  html[data-theme="dark"] body.account-customer-page .accountRecent,
  html[data-theme="dark"] body.account-customer-page .accountProductRail>a{
    background:#fff!important;
    color:#101828!important;
    border-color:#dfe4ea!important;
  }

  body.account-customer-page .accountV9Main .panel{
    background:#fff!important;
    color:#101828!important;
  }

  /* Security: compact 2x2 readable checklist. */
  body.account-customer-page .securityChecklist{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin:12px 0 14px!important;
  }
  body.account-customer-page .securityChecklist span{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:54px!important;
    padding:10px 11px!important;
    border:1px solid #e4e7ec!important;
    border-radius:11px!important;
    background:#f8fafc!important;
    color:#475467!important;
    font-size:11px!important;
    font-weight:750!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }
  body.account-customer-page .securityChecklist span.done{
    background:#ecfdf3!important;
    color:#067647!important;
    border-color:#abefc6!important;
  }

  /* Quick actions: 2x2 marketplace-style shortcuts instead of four huge dark bars. */
  body.account-customer-page .quickAccountGrid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  body.account-customer-page .quickAccountGrid a{
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    min-height:66px!important;
    padding:12px!important;
    border:1px solid #e1e6ec!important;
    border-radius:12px!important;
    background:#f8fafc!important;
    color:#101828!important;
    font-size:12px!important;
    font-weight:850!important;
    line-height:1.2!important;
    box-shadow:none!important;
  }
  body.account-customer-page .quickAccountGrid a:hover{
    background:#fff7ed!important;
    border-color:#fdba74!important;
    color:#9a3f0a!important;
  }

  /* Recently viewed on account overview: full cards only, no half-cut third card. */
  body.account-customer-page .accountRecent .accountProductRail{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
    overflow:visible!important;
    padding:0!important;
  }
  body.account-customer-page .accountRecent .accountProductRail>a{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:block!important;
    color:#101828!important;
  }
  body.account-customer-page .accountRecent .accountProductRail>a>div{
    width:100%!important;
    height:auto!important;
    aspect-ratio:1.25/1!important;
    border-radius:11px!important;
    background:#f2f4f7!important;
    overflow:hidden!important;
  }
  body.account-customer-page .accountRecent .accountProductRail img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }
  body.account-customer-page .accountRecent .accountProductRail b{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    color:#101828!important;
    font-size:11px!important;
    line-height:1.25!important;
    min-height:28px!important;
    margin-top:6px!important;
  }
  body.account-customer-page .accountRecent .accountProductRail small{
    color:#667085!important;
    font-size:10px!important;
    margin-top:3px!important;
  }

  body.account-customer-page .accountRecent .accountSectionHead{
    align-items:center!important;
    gap:10px!important;
  }
  body.account-customer-page .accountRecent .accountSectionHead h2{
    font-size:19px!important;
    line-height:1.1!important;
    margin:2px 0!important;
  }
  body.account-customer-page .accountRecent .accountSectionHead>a{
    flex:0 0 auto!important;
    color:#c55213!important;
    font-size:11px!important;
    font-weight:850!important;
  }
}

@media(max-width:380px){
  body.account-customer-page .securityChecklist,
  body.account-customer-page .quickAccountGrid{
    grid-template-columns:1fr!important;
  }
}


/* v18.6 DESKTOP STOREFRONT SCALE + WIDTH FIX */
/* Desktop only. Mobile/tablet stability rules remain unchanged. */
@media (min-width:901px){
  body.customer-ui .container{
    width:min(1560px,calc(100% - 40px))!important;
    max-width:none!important;
    padding-left:0!important;
    padding-right:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Header uses the extra desktop width instead of leaving large empty gutters. */
  body.customer-ui .nvNav{
    gap:24px!important;
    min-height:72px!important;
  }
  body.customer-ui .nvPrimaryNav{gap:21px!important}
  body.customer-ui .nvPrimaryNav a{font-size:14px!important}
  body.customer-ui .nvSearch{
    flex:1 1 520px!important;
    max-width:610px!important;
    margin-left:auto!important;
    min-height:46px!important;
  }
  body.customer-ui .nvBrowseBarInner{gap:28px!important}

  /* Hero: larger, wider and better balanced. */
  body.customer-ui .nvHomeHero{padding-top:18px!important}
  body.customer-ui .nvHeroCard{
    grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
    min-height:500px!important;
    border-radius:26px!important;
  }
  body.customer-ui .nvHeroCopy{
    padding:58px 54px 54px 62px!important;
  }
  body.customer-ui .nvHeroCopy h1{
    font-size:clamp(54px,4.7vw,74px)!important;
    line-height:.98!important;
    max-width:720px!important;
    margin-bottom:20px!important;
  }
  body.customer-ui .nvHeroCopy p{
    font-size:17px!important;
    line-height:1.62!important;
    max-width:640px!important;
  }
  body.customer-ui .nvHeroButtons{margin-top:26px!important}
  body.customer-ui .nvBlackButton{
    min-height:48px!important;
    padding:13px 22px!important;
    font-size:14px!important;
  }
  body.customer-ui .nvTextButton{font-size:14px!important}
  body.customer-ui .nvHeroMini{font-size:12px!important;margin-top:28px!important}

  body.customer-ui .nvHeroVisual{
    min-height:460px!important;
    margin:20px!important;
    border-radius:22px!important;
  }
  body.customer-ui .nvHeroProductLink{
    width:min(88%,680px)!important;
    height:440px!important;
  }
  body.customer-ui .nvRoundBadge{
    width:96px!important;
    height:96px!important;
    right:24px!important;
    top:82px!important;
    font-size:12px!important;
  }
  body.customer-ui .nvHeroProductMeta{
    left:24px!important;
    bottom:24px!important;
    padding:14px 17px!important;
  }

  body.customer-ui .nvHeroTrustStrip{margin-top:12px!important}
  body.customer-ui .nvHeroTrustStrip>div{padding:17px 20px!important}
  body.customer-ui .nvHeroTrustStrip b{font-size:13px!important}
  body.customer-ui .nvHeroTrustStrip small{font-size:11px!important}

  /* Categories now use the available width instead of tiny narrow tiles. */
  body.customer-ui .nvCategories{
    grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
    gap:12px!important;
    margin-top:16px!important;
    margin-bottom:16px!important;
  }
  body.customer-ui .nvCategoryTile{
    min-height:98px!important;
    padding:14px 12px!important;
  }
  body.customer-ui .nvCategoryTile span{font-size:25px!important}
  body.customer-ui .nvCategoryTile b{font-size:12px!important}

  body.customer-ui .nvGuestNotice{
    padding:14px 18px!important;
    font-size:13px!important;
  }

  /* Shop typography/controls. */
  body.customer-ui .nvShopSection{padding-top:34px!important}
  body.customer-ui .nvSectionTitle{margin-bottom:18px!important}
  body.customer-ui .nvSectionTitle h2{font-size:34px!important}
  body.customer-ui .nvSectionTitle span{font-size:10px!important}
  body.customer-ui .nvSectionTitle>a{font-size:13px!important}
  body.customer-ui .nvCategoryChips{gap:10px!important;padding-bottom:12px!important}
  body.customer-ui .categoryChip{
    padding:10px 15px!important;
    font-size:12px!important;
  }
  body.customer-ui .nvToolbar{
    min-height:48px!important;
    padding:9px 12px!important;
    margin-bottom:20px!important;
  }
  body.customer-ui .nvProductTotal,
  body.customer-ui .searchResult,
  body.customer-ui .nvToolbar label{font-size:12px!important}
  body.customer-ui .nvToolbar select{
    min-height:36px!important;
    font-size:12px!important;
  }

  /* Critical fix: override the legacy 5-column desktop grid. */
  body.customer-ui .products.nvProductGrid,
  body.customer-ui .nvProductGrid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:20px!important;
    width:100%!important;
  }
  body.customer-ui .nvProductCard{
    width:100%!important;
    min-width:0!important;
    border-radius:18px!important;
  }
  body.customer-ui .emojiProduct{font-size:92px!important}
  body.customer-ui .nvProductInfo{padding:16px 17px 18px!important}
  body.customer-ui .nvProductInfo h3{
    font-size:16px!important;
    line-height:1.32!important;
    margin:2px 0 8px!important;
  }
  body.customer-ui .ratingLine{font-size:12px!important}
  body.customer-ui .nvBrandLine{font-size:10px!important;margin-top:7px!important}
  body.customer-ui .productBottom{margin-top:12px!important}
  body.customer-ui .price{font-size:20px!important}
  body.customer-ui .oldPrice{font-size:11px!important}
  body.customer-ui .nvDiscount{font-size:10px!important}
  body.customer-ui .stockLine{font-size:10px!important;margin-top:10px!important}
  body.customer-ui .guestBuyLink{
    padding:10px 14px!important;
    border-radius:10px!important;
    font-size:12px!important;
    text-decoration:none!important;
  }
  body.customer-ui .addIcon{
    width:42px!important;
    height:42px!important;
  }
  body.customer-ui .productBadges .badge{font-size:10px!important;padding:6px 9px!important}

  body.customer-ui .nvPromoGrid{gap:18px!important}
  body.customer-ui .nvPromo{min-height:215px!important;padding:28px!important}
  body.customer-ui .nvTrustRow>div{padding:8px 22px!important}
}

/* Keep medium desktop/laptop screens comfortably large without overflow. */
@media (min-width:901px) and (max-width:1199px){
  body.customer-ui .container{width:calc(100% - 28px)!important}
  body.customer-ui .nvHeroCard{min-height:450px!important}
  body.customer-ui .nvHeroCopy{padding:42px 34px!important}
  body.customer-ui .nvHeroCopy h1{font-size:48px!important}
  body.customer-ui .nvHeroCopy p{font-size:15px!important}
  body.customer-ui .nvHeroVisual{min-height:410px!important;margin:16px!important}
  body.customer-ui .nvHeroProductLink{height:380px!important}
  body.customer-ui .products.nvProductGrid,
  body.customer-ui .nvProductGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* v18.7 IMAGE FALLBACK */
.customer-ui .nvImageFallback{
  width:100%;height:100%;min-height:140px;display:none;place-items:center;
  font-size:72px;line-height:1;background:linear-gradient(180deg,#f8fafc,#eef2f6);
}
.customer-ui .nvImageFallback.show{display:grid!important}
.customer-ui .nvHeroImageFallback{
  position:absolute;inset:0;display:none;place-items:center;
  font-size:150px;z-index:2;
}
.customer-ui .nvHeroImageFallback.show{display:grid!important}
@media(max-width:900px){
  .customer-ui .nvImageFallback{min-height:0;font-size:52px}
  .customer-ui .nvHeroImageFallback{font-size:92px}
}


/* v18.8 PRODUCT DETAIL MEDIA RESILIENCE */
.customer-ui .mainStage .detailFallbackImage{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
}
.customer-ui .mainStage .detailMediaFallback{
  width:100%;
  height:100%;
  min-height:360px;
  align-items:center;
  justify-content:center;
  font-size:150px;
  line-height:1;
}
@media(max-width:900px){
  .customer-ui .mainStage .detailMediaFallback{min-height:260px;font-size:96px}
}
