#filters,#searchScreen{max-width:440px;color:#191a1c;background:white}
#filters .filterHead,#searchScreen .searchHead{position:static;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px 8px;height:auto;border:0}
#filters .filterHead h2,#searchScreen .searchHead h1{display:block;flex:1;text-align:left;margin:0;font:650 28px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.055em}
#filters #dismissFilters{font-size:29px;width:36px;min-height:40px;padding:0;text-align:center}
#searchScreen #leaveSearch{order:2;width:auto;min-height:44px;color:#494b50;font-size:14px}
#filters #clearFilters{color:#4e5055;font-weight:500}
#filters #settings{padding:4px 23px 20px}
.filterSection{padding:20px 0 14px;border-bottom:1px solid #e9e9eb}.filterSection:last-child{border:0}
.filterSection h3{font-size:16px;letter-spacing:-.025em;font-weight:650;margin:0 0 8px}
.sortLine,.saleLine{width:100%;display:flex;align-items:center;justify-content:space-between;min-height:43px;text-align:left;padding:0;color:#3c3e42;font-size:15px}
.sortLine i{width:17px;height:17px;border:1.5px solid #c8cbd0;border-radius:50%}.sortLine[aria-pressed=true] i{border:5px solid #22252a}
.priceHeading{display:flex;align-items:baseline;justify-content:space-between}.priceHeading output{font-size:14px;font-weight:600;color:#464950}
#settings #priceRange{appearance:auto;accent-color:#23262b;width:100%;padding:0;margin:0;min-height:35px;border:0}
.rangeEnds{display:flex;justify-content:space-between;font-size:12px;color:#62656c}
#settings label.filterLine,.saleLine{display:flex;align-items:center;justify-content:space-between;min-height:50px;margin:0;font-size:15px;font-weight:500;border-bottom:1px solid #efeff1}
#settings .filterLine select{width:auto;max-width:60%;border:0;border-radius:0;color:#595c64;padding:6px;background:white;font-size:14px}
.saleLine{border:0}.saleLine i{width:35px;height:21px;border-radius:16px;background:#cccfd2;padding:3px}.saleLine i:after{content:'';display:block;width:15px;height:15px;border-radius:50%;background:white}.saleLine[aria-checked=true] i{background:#202329}.saleLine[aria-checked=true] i:after{margin-left:auto}
#filters .filterFoot{padding:12px 20px max(16px,env(safe-area-inset-bottom));border-top:1px solid #eee}#applyFilters{border-radius:14px;min-height:46px}
#searchScreen .queryBox{margin:4px 20px 10px;border:0;background:#f2f3f4;border-radius:13px;height:46px}#searchHome{padding:0 20px 20px}
.queryHeading{text-transform:none;letter-spacing:-.025em;font-size:17px;font-weight:650;margin:22px 0 12px}.queryHeading button{text-transform:none;font-size:13px}
.photoTopics{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photoTopics button{padding:0;text-align:left;font-size:14px}.photoTopics img{width:100%;aspect-ratio:2.1;object-fit:cover;display:block;border-radius:10px;background:#f0f0ee}.photoTopics strong{display:block;margin:6px 0 0;font-weight:570}
.suggestLine{display:flex;gap:12px;align-items:center;width:100%;min-height:45px;padding:0;border-bottom:1px solid #eee;text-align:left}.suggestLine svg{width:16px;color:#737780}.suggestLine small{margin-left:auto;color:#646870}
.recentRow{padding:9px 0;min-height:43px}.recentRow span{width:22px;height:22px;background:transparent}
#browseChips .cat{background:transparent;border:0;border-radius:0;border-bottom:2px solid transparent;padding:8px 3px;color:#63666b}#browseChips .cat[aria-pressed=true]{border-color:#242629;color:#17191b;background:transparent}
#workspaceScreen .rowGroup,#workspaceScreen .formGroup,#workspaceScreen .legalBody{border:0;border-radius:0;background:transparent}
#workspaceScreen .rowGroup{border-block:1px solid #eaeaec}#workspaceScreen .designRow{padding-inline:2px}#workspaceScreen .legalBody,#workspaceScreen .formGroup{padding:4px 2px}#workspaceScreen .legalBody h3{margin-top:24px}#workspaceScreen .legalBody p{line-height:1.55}
#personalPrefs input,#personalPrefs select{border:0;background:#f4f4f5;border-radius:10px;font-weight:450}
#productDetail .merchantOffer{border:0;border-radius:0;border-bottom:1px solid #e5e6e8}#productDetail .merchantOffer summary{padding:14px 0}#productDetail .merchantOffer dl{margin-inline:0}#productDetail .merchantGlyph{border-radius:50%}
#app[data-page=profile] #workspaceScreen{padding:0 9px 24px}
.profileIdentity{display:flex;align-items:center;gap:12px;padding:20px 0 21px}.profileIdentity>img{width:52px;height:52px;border-radius:50%;object-fit:cover}.profileIdentity>div{min-width:0;flex:1}.profileIdentity small{font-size:12px;color:#65676d}.profileIdentity h2{font-size:23px;letter-spacing:-.04em;margin:3px 0 0;overflow-wrap:anywhere}.profileIdentity button{font-size:13px;font-weight:550;padding:10px 13px;border-radius:18px;background:#f0f1f2}
#workspaceScreen .profileSection h3{margin:0;font-size:16px;font-weight:620}
.profileSection{padding:22px 0 0}.profileRoute{display:flex;align-items:center;gap:10px;width:100%;min-height:50px;padding:4px 0;border-bottom:1px solid #e8e9eb}.profileRoute strong{font-weight:500}.profileRoute small{margin-left:auto;color:#64666b}.profileRoute i{font-style:normal}.profileSection h4{margin:14px 0 8px;font-size:13px}.recentProducts{display:flex;gap:8px}.recentProducts button{width:24%;padding:0;text-align:left}.recentProducts img{width:100%;height:62px;object-fit:contain;background:#f3f3f2;border-radius:8px}.recentProducts small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profileBrands{display:flex;justify-content:space-between;margin-top:12px;gap:4px}.profileBrands button{display:grid;justify-items:center;gap:6px;font-size:12px;font-weight:530;padding:2px}.profileBrands span{display:grid;place-items:center;width:41px;height:41px;background:#f1f2f3;border-radius:50%;font-size:19px;font-weight:650}.profileSection .designRow{padding-inline:0}.profileSection .rowIcon{background:none}.profileSection .designRow small{margin-left:auto}#editDisplayName{display:grid;gap:12px}#editDisplayName label{font-size:14px;font-weight:550}
.wordmark{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-style:normal;font-size:22px;letter-spacing:-.055em;font-weight:750}
.accountAvatar{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#f0f1f3;color:#50545a}.accountAvatar svg{width:25px;height:25px}

.accountLogos{justify-content:flex-start;align-items:center;gap:clamp(4px,1.5vw,10px);overflow-x:auto}
.accountLogos button{box-sizing:border-box;flex:none;width:44px;height:44px;max-width:none;border-radius:50%;display:grid;place-items:center;background:white;line-height:1;font-size:23px}
.accountLogos img{display:block;object-fit:contain}
.storeChoices{margin:16px 0}
.storeChoices label{display:flex;align-items:center;gap:12px;min-height:52px;border-bottom:1px solid #e5e5e5;cursor:pointer}
.storeChoices img{width:34px;height:34px;object-fit:contain;border-radius:50%}
.storeChoices input[type=checkbox]{margin-left:auto;width:20px;height:20px;accent-color:#171717}
.merchantLinkRow{display:flex;align-items:center;gap:12px;min-height:60px;border-bottom:1px solid #e5e5e5}
.merchantLinkRow img{width:36px;height:36px;border-radius:50%;object-fit:contain}
.merchantLinkRow small{display:block;color:#555}
.merchantLinkRow form{margin-left:auto}

:root {
  --shw-red: #a60b1e;
  --shw-blue: #0a42ba;
  --shw-blush: #fff1f2;
  --shw-ice: #edf3ff;
}
#app header {background:#fff8f8}
.deviceStatus {background:#fff8f8}
.screenTitle, .wordmark {color:var(--shw-red)}
#categories .cat[aria-pressed=true] {color:var(--shw-red);border-bottom-color:var(--shw-red)}
header #viewModes {background:#eddfdf}
header #viewModes [aria-pressed=true] {background:white;color:var(--shw-red)}
#tabs button[aria-current=page] {color:var(--shw-blue)}
.figTile .tileSave {color:var(--shw-blue);border-color:#d6e2fc}
.shelfStrip [aria-pressed=true], #browseChips button[aria-pressed=true],
.pills button[aria-pressed=true] {color:var(--shw-blue);background:var(--shw-ice);border-color:#a4bdef}
.primary, .filterFoot #applyFilters, .emptyShelf button {background:var(--shw-blue);color:white}
.queryBox:focus-within {border-color:var(--shw-blue);outline:2px solid var(--shw-blue)}
.productBrand, .profileIdentity button, .filterHead #clearFilters {color:var(--shw-blue)}
.accountAvatar, .merchantGlyph {background:var(--shw-ice);color:var(--shw-blue)}
.accountLogos button {border-color:#ce8590}
.accountLogos button:last-child {background:var(--shw-ice);border-color:#b5c8f0;color:var(--shw-blue)}

header button[hidden] { display:none !important }
.exploreSearch {
  display:flex;align-items:center;gap:10px;width:100%;min-height:46px;
  margin:10px 0 4px;padding:0 14px;border:1px solid #cbd7ed;
  border-radius:12px;background:#f5f8ff;color:#304568;text-align:left;
  font:inherit;font-size:1rem;
}
.exploreSearch svg {width:19px;height:19px;color:var(--shw-blue)}
#app header h1.screenTitle, #app:is([data-page=swipe],[data-page=scroll]) header h1.screenTitle,
#searchTitle, .productIntro h1, #workspaceScreen .largeTitle {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  font-weight:650;letter-spacing:-.025em;line-height:1.16;
}
#app header h1.screenTitle, #app:is([data-page=swipe],[data-page=scroll]) header h1.screenTitle {font-size:1.25rem}
#swipeHint {margin:0;padding:5px 12px;text-align:center;font:500 .8125rem/1.4 system-ui;color:#444753}
#app:not([data-page=swipe]) #swipeHint {display:none}
#shelfFeedback:not(:empty) {position:absolute;z-index:5;bottom:78px;left:50%;transform:translateX(-50%);padding:9px 15px;border-radius:12px;background:#18243c;color:white;font-size:.875rem;pointer-events:none}
#contents [data-target-shelf] {min-height:44px}
#contents [data-target-shelf][aria-pressed=true],.figTile .tileSave[data-saved=true] {color:#0a42ba;background:#edf3ff}

#app {--toolbar-height:52px;--toolbar-inset:12px;--target:44px}
#app:not([data-page=menu]) {padding-inline:var(--toolbar-inset)}
#app header,.drawerTitle {height:var(--toolbar-height);box-sizing:border-box}
#app header [data-act=menu],.drawerTitle button,#app header [data-act=filter] {
  display:grid;place-items:center;flex:none;width:var(--target);height:var(--target);padding:0;line-height:1;
}
#app header [data-act=menu] svg,.drawerTitle button svg {width:24px;height:24px}
.drawer {padding:0 var(--toolbar-inset) 18px}
.drawerTitle {position:sticky;top:0;z-index:1;background:white;margin:0 0 12px}
#app:is([data-page=swipe],[data-page=scroll]) header .headerActions {gap:8px}
header #viewModes {margin:0}
header #viewModes button {width:var(--target);height:var(--target)}
#filters #dismissFilters,#filters #clearFilters,#detailBack {min-width:44px;min-height:44px}
.sortLine,.recentRow,#browseChips .cat,.profileIdentity button {min-height:44px}
#app .profileSection>h3 {margin-bottom:12px}
.recentProducts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.recentProducts button {width:100%}
#app .tileSave {width:44px;height:44px}

/* Discover filter sheet */
#filters {
  width:min(440px,100%);height:min(854px,90dvh);max-height:90dvh;
  inset:auto 0 0;margin:0 auto;border:0;border-radius:24px 24px 0 0;
  overflow:hidden;box-shadow:0 -8px 32px #1112;
}
#filters::before {content:"";width:36px;height:5px;flex:none;border-radius:4px;background:#d3d3d5;margin:12px auto 7px}
#filters .filterHead {position:relative;flex:none;justify-content:center;padding:12px 64px 16px;border-bottom:1px solid #eee}
#filters .filterHead h2 {text-align:center;font-size:22px;letter-spacing:-.025em}
#filters #dismissFilters {position:absolute;left:12px;top:50%;transform:translateY(-50%);border:0;background:none;color:#202124}
#filters #settings {flex:1;min-height:0;overflow-y:auto;padding:0 20px 20px}
#filters .filterSection {padding:20px 0}
#filters .filterSection h3 {margin:0 0 12px}
#filters .filterSortOptions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#filters .sortLine {border:1px solid #d9dbe0;border-radius:12px;justify-content:center;text-align:center;min-height:44px;padding:6px;font-size:13px}
#filters .sortLine[aria-pressed=true] {background:var(--shw-ice);color:var(--shw-blue);border-color:var(--shw-blue);font-weight:650}
#filters .filterFoot {display:flex;align-items:center;gap:12px;padding:16px 20px max(16px,env(safe-area-inset-bottom));flex:none}
#filters #clearFilters {width:auto;padding-inline:12px;color:#303238;background:transparent}
#filters #applyFilters {flex:1;width:auto;border-radius:14px}

/* Keep authentication portals out of the app's horizontal layout. */
html {width:100%;min-height:100%;-webkit-text-size-adjust:100%}
body {display:block;gap:0;padding:0;margin:0;min-width:0}
#app {width:100%;min-width:0;margin-inline:auto;height:100vh;height:100dvh}
#app>header,#stage,#workspaceScreen {min-width:0}
.queryBox input {min-width:0;flex:1}
.accountActions button {max-width:100%;white-space:normal;overflow-wrap:anywhere}
.analyticsChoice input,.interestChoice input {flex-shrink:0}
@media (max-width:600px) {
  #app {max-width:none;max-height:none;box-shadow:none}
  .deviceStatus {display:none}
  #app {padding-top:env(safe-area-inset-top,0px)}
  #app:not([data-page=menu]):not([data-page=camera]) {
    padding-left:max(var(--toolbar-inset),env(safe-area-inset-left,0px));
    padding-right:max(var(--toolbar-inset),env(safe-area-inset-right,0px))
  }
  #searchScreen,#productDetail {width:100%;max-width:100%;height:100vh;height:100dvh;max-height:100dvh}
}
@media (max-width:360px) {
  #app:is([data-page=swipe],[data-page=scroll]) header .headerActions {gap:2px}
  #app:is([data-page=swipe],[data-page=scroll]) header h1.screenTitle {font-size:1.0625rem}
}

.liveOffers,.catalogEmpty{padding:20px;overflow-wrap:anywhere}.liveOffer{border:1px solid #d1d5db;border-radius:16px;padding:18px;margin:16px 0;background:white}.liveOffer h3{margin:8px 0}.liveOffer p{line-height:1.5}.liveOffer .primary,.productIntro a.primary{display:inline-block;padding:12px 18px;border-radius:12px;background:#174dcc;color:white;text-decoration:none}.offerNote{line-height:1.5}.catalogEmpty h2{font-size:24px}

.storeLetter{display:grid;place-items:center;width:100%;height:100%;min-width:36px;min-height:36px;border-radius:50%;background:var(--shw-ice,#eef3ff);color:var(--shw-blue,#0a42ba);font-weight:700;font-size:17px}
.merchantLinkRow .storeLetter{width:40px;height:40px;flex:none}
/* Icon set: one 24px outline style for rows */
.rowIcon .lineIcon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.rowIcon .lineIcon .nav-solid{fill:none}.rowIcon .lineIcon .nav-detail{fill:none;stroke:currentColor}
.designRow small .noteBadge,.noteBadge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--shw-red);color:#fff;font:600 12px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#app header [data-act=menu]{position:relative}
#app header [data-act=menu].hasNotes:after{content:'';position:absolute;top:9px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--shw-red);box-shadow:0 0 0 2px #fff}
.noteList{display:grid;border-top:1px solid #eaeaec}
.noteRow{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;width:100%;padding:12px 2px;text-align:left;border-bottom:1px solid #eaeaec}
.noteRow .rowIcon{width:44px;height:44px;border-radius:12px;overflow:hidden}
.noteRow .rowIcon img{width:100%;height:100%;object-fit:cover}
.noteRow strong{display:block;font-size:15px;line-height:1.3}
.noteRow small{display:block;color:#6a6d72;font-size:13px;margin-top:2px}
.noteRow time{color:#8a8d92;font-size:12px;align-self:start;padding-top:3px}
.noteRow.unread strong:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--shw-blue);margin-right:7px;vertical-align:2px}
.noteHint{color:#8a8d92;font-size:13px;padding:14px 2px}
/* Undo stays readable on light photos */
.card .top .glass{background:rgba(13,16,18,.62);box-shadow:0 1px 8px rgba(0,0,0,.18)}
.card .top .glass.disabled{opacity:1}.card .top .glass.disabled svg{opacity:.45}
/* Product details: full-screen, photo first, pinned Buy button */
#productDetail.pdxMode .detailHead{display:none}
#productDetail.pdxMode{background:#fff}
#productDetail.pdxMode[open]{animation:pdxIn .28s cubic-bezier(.2,.8,.2,1)}
@keyframes pdxIn{from{transform:translateY(8%);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){#productDetail.pdxMode[open]{animation:none}}
#productDetail.pdxMode #productBody{flex:1;overflow-y:auto;padding:0;transition:transform .2s}
.pdx{min-height:100%;display:flex;flex-direction:column}
.pdxHero{position:relative;background:#f4f4f2;aspect-ratio:1/1;max-height:58dvh;width:100%}
.pdxHero img{width:100%;height:100%;object-fit:contain;padding:6%;mix-blend-mode:multiply}
.pdxRound{position:absolute;top:max(14px,env(safe-area-inset-top));width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 2px 10px rgba(0,0,0,.12);display:grid;place-items:center;color:#1b1c1e}
.pdxRound svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pdxClose{left:14px}.pdxShare{right:14px}
.pdxBody{padding:18px 20px 120px;flex:1}
.pdxStore{display:flex;align-items:center;gap:9px;font-size:14px;color:#55585d}
.pdxStore b{color:#1b1c1e;font-weight:600}
.pdxStoreMark{width:26px;height:26px;border-radius:50%;background:var(--shw-ice);color:var(--shw-blue);display:grid;place-items:center;font-weight:700;font-size:13px}
.pdx h1{font-size:23px;line-height:1.22;letter-spacing:-.02em;font-weight:650;margin:12px 0 10px;color:#151618}
.pdxPrice{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.pdxPrice strong{font-size:28px;letter-spacing:-.03em}
.pdxPrice del{color:#8a8d92;font-size:17px}
.pdxOff{background:#e8f6ee;color:#137a43;font-weight:700;font-size:13px;padding:3px 8px;border-radius:8px}
.pdxNote{color:#6a6d72;font-size:13px;line-height:1.45;margin:8px 0 6px}
.pdxMore{border-top:1px solid #eceded;border-bottom:1px solid #eceded;margin:16px 0 4px}
.pdxMore summary{list-style:none;padding:15px 0;font-weight:600;font-size:15px;cursor:pointer;display:flex;justify-content:space-between}
.pdxMore summary::-webkit-details-marker{display:none}
.pdxMore summary:after{content:'+';color:#8a8d92;font-weight:400;font-size:20px;line-height:1}
.pdxMore[open] summary:after{content:'−'}
.pdxMore p{color:#44474c;font-size:14px;line-height:1.55;margin:0 0 16px}
.pdxOffers h2,.pdxSimilar h2{font-size:17px;margin:22px 0 10px;letter-spacing:-.01em}
.pdxOffer{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eceded;color:#1b1c1e;text-decoration:none;font-size:15px}
.pdxRail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -20px;padding:0 20px 4px;scrollbar-width:none}
.pdxRail button{flex:0 0 132px;scroll-snap-align:start;text-align:left;display:grid;gap:4px}
.pdxRail img{width:132px;height:132px;object-fit:contain;background:#f4f4f2;border-radius:14px;padding:8px;mix-blend-mode:multiply}
.pdxRail small{font-size:12px;line-height:1.3;color:#3a3d42;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pdxRail b{font-size:13px}
.pdxDisclosure{color:#8a8d92;font-size:12px;margin:22px 0 0}
.pdxReport{margin:0;padding:6px 0 0}
.pdxBar{position:fixed;left:0;right:0;bottom:0;margin:0 auto;width:min(490px,100%);display:flex;gap:10px;padding:12px 16px max(14px,env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid #ececec}
.pdxSave{width:54px;height:54px;flex:none;border-radius:16px;border:1px solid #d9dbe0;display:grid;place-items:center;color:#1b1c1e}
.pdxSave svg{width:24px;height:24px}
.pdxSave.on{background:var(--shw-ice);border-color:#b5c8f0;color:var(--shw-blue)}
.pdxBuy{flex:1;height:54px;border-radius:16px;background:var(--shw-blue);color:#fff;font-weight:650;font-size:17px;display:grid;place-items:center;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 14px}
/* First-load placeholder instead of an empty state */
.catalogSkeleton{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:16px}
.catalogSkeleton p{color:#6b6e74;font-size:15px;margin:0}
.skCard{width:min(360px,88%);border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.08);padding:14px;display:grid;gap:12px}
.skPhoto,.skLine{border-radius:16px;background:linear-gradient(90deg,#eef0f3 0%,#f7f8fa 50%,#eef0f3 100%);background-size:200% 100%;animation:skShine 1.2s linear infinite}
.skPhoto{aspect-ratio:4/5}.skLine{height:16px;border-radius:8px}.skLine.short{width:55%}
@keyframes skShine{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.skPhoto,.skLine{animation:none}}
