@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color-scheme:dark;--bg:#111412;--panel:#191d19;--text:#f5f6ef;--muted:#9ba397;--line:#30372e;--accent:#d6fb78;--ink:#161b0c;--card:#e7e6e0;--radius:15px;--display:'Manrope',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);transition:background .25s,color .25s}button,select,a{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer;color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button{border:0}a{color:inherit}select{border:1px solid var(--line);background:var(--bg);color:var(--text);border-radius:30px;padding:10px 30px 10px 15px;font-size:12px;max-width:200px}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;padding:42px 26px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column}.wordmark{text-decoration:none;font-size:31px;letter-spacing:-1.8px;font-weight:800;display:flex;align-items:center;gap:9px}.brand-symbol{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--ink);font-size:32px;line-height:1}.brand-dot{font-size:11px;align-self:flex-start;margin-top:5px;letter-spacing:0}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;line-height:1.6}.sidebar>.eyebrow{font-size:9px;margin:13px 0 48px 4px;color:var(--muted)}nav{display:flex;flex-direction:column;gap:9px}.nav-button{display:flex;gap:12px;background:transparent;padding:14px 12px;text-align:left;border-radius:8px;font-size:13px;color:var(--muted);align-items:center}.nav-button>span{font-size:20px}.nav-button b{margin-left:auto;font-weight:400}.nav-button.active{background:var(--accent);color:var(--ink)}.sidebar-note{margin-top:55px;padding:0 8px}.spark{font-size:36px;color:var(--accent)}.sidebar-note h2{font-size:20px;line-height:1.4;letter-spacing:-.5px}.sidebar-note p,footer p{color:var(--muted);font-size:12px;line-height:1.9}.learning{font-size:10px;display:flex;gap:7px;align-items:center;margin-top:24px;color:var(--muted)}.learning i,.live-dot{width:6px;height:6px;background:var(--accent);border-radius:50%;display:inline-block}.live-dot{margin-right:7px}footer{margin-top:auto;font-size:11px}footer p{margin:5px 0 20px}.danish-flag{background:#ca4743;color:white;padding:0 4px;margin-right:5px}.prototype-label{font-size:8px;color:var(--muted);letter-spacing:1px}.workspace{margin-left:245px}.topbar{height:87px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 44px;gap:22px}.top-label{font-size:10px;letter-spacing:1.8px;color:var(--muted)}.concept-picker{margin-left:auto;display:flex;align-items:center;gap:14px}.concept-picker label{font-size:11px;color:var(--muted)}.concept-picker select{background:var(--panel);border-radius:7px;padding:10px 30px 10px 12px}.avatar{width:33px;height:33px;border-radius:50%;background:var(--accent);color:var(--ink);font-size:23px}main{max-width:1390px;margin:auto;padding:35px 44px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.intro .eyebrow{color:var(--accent)}h1{font-family:var(--display);font-size:clamp(38px,4.1vw,61px);line-height:1.09;letter-spacing:-2.7px;margin:16px 0}h1 em{font-style:normal;color:var(--accent)}.intro p{font-size:12px;color:var(--muted);line-height:1.8}.intro-note{padding:30px 0 0 20px;min-width:170px}.intro-note>span:first-child{font-size:9px;letter-spacing:1.3px;color:var(--accent)}.intro-note p{font-size:12px}.scribble{display:block;font-size:47px;text-align:center;color:var(--accent);transform:rotate(12deg)}.feed-tools{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:16px}.view-tabs{display:flex;gap:24px;white-space:nowrap}.view-tabs button{background:none;padding:8px 0;font-size:15px;color:var(--muted)}.view-tabs button.active{color:var(--text)}.view-tabs button span{color:var(--accent);margin-left:5px}.filters{display:flex;gap:8px}.category-bar{display:flex;gap:8px;overflow:auto;padding:20px 0 15px;scrollbar-width:none}.category-bar button{white-space:nowrap;background:var(--panel);border:1px solid var(--line);color:var(--muted);padding:9px 17px;border-radius:30px;font-size:11px}.category-bar button.active{background:var(--text);color:var(--bg);border-color:var(--text)}.feed-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin:3px 0 17px}.caption-hint{font-size:8px;letter-spacing:1px}.feed-page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 18px;margin-bottom:27px}.product-card{min-width:0;position:relative}.image-button{width:100%;display:block;background:var(--product-bg,var(--card));outline:2px solid var(--product-outline,transparent);outline-offset:-2px;padding:0;border-radius:var(--radius);overflow:hidden;position:relative;aspect-ratio:1/.99}.image-button img{width:100%;height:100%;object-fit:contain;padding:0;transform:scale(1.1);transition:transform .2s}.image-button:hover img{transform:scale(1.1)}.image-button:after{content:'↗';position:absolute;bottom:12px;right:12px;background:#fff9;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;color:#171b13;opacity:0;transition:opacity .2s}.image-button:hover:after{opacity:1}.like-button{position:absolute;right:10px;top:10px;border-radius:50%;width:36px;height:36px;background:#fffdf2e8;color:#252923;font-size:24px;display:grid;place-items:center;z-index:1;box-shadow:0 2px 8px #0000000a}.like-button.liked{background:var(--accent);color:var(--ink)}.price-tag{position:absolute;left:10px;top:12px;border-radius:20px;padding:5px 9px;background:#fffdf2e8;color:#252923;font-size:9px}.card-meta{padding:12px 1px 0}.store-label{font-size:8px;letter-spacing:1.2px;color:var(--muted);text-transform:uppercase;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-title{margin:6px 0 7px;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.price{font-size:12px;font-weight:700}.old-price{text-decoration:line-through;color:var(--muted);font-size:10px;margin-left:6px}.category-label{font-size:9px;color:var(--muted)}#feed-end{text-align:center;padding:10px 0 25px}#feed-message{font-size:11px;color:var(--muted)}.next-button{background:var(--accent);color:var(--ink);padding:14px 25px;border-radius:30px;font-size:12px}.next-button span{margin-left:20px}.next-button:disabled{opacity:.4;cursor:default}.empty-state{padding:60px 20px;text-align:center;border:1px dashed var(--line);border-radius:15px;color:var(--muted);line-height:1.9}.mobile-nav{display:none}dialog{border:1px solid var(--line);padding:0;background:var(--bg);color:var(--text);border-radius:20px;max-width:min(900px,94vw);max-height:90dvh;width:850px;overflow:auto}dialog::backdrop{background:#000b;backdrop-filter:blur(7px)}.close-dialog{position:absolute;right:14px;top:14px;z-index:3;border-radius:50%;width:38px;height:38px;font-size:25px;background:var(--text);color:var(--bg)}#product-content{display:grid;grid-template-columns:1.1fr 1fr}.detail-photo{background:var(--product-bg,var(--card));outline:2px solid var(--product-outline,transparent);outline-offset:-2px;min-height:450px;position:relative;display:flex;align-items:center}.detail-photo img{width:100%;max-height:75dvh;object-fit:contain}.image-switch{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);border-radius:30px;padding:10px 15px;background:#fff;color:#222;font-size:11px}.detail-info{padding:60px 28px 30px}.detail-info h2{font:700 25px/1.25 var(--display);letter-spacing:-.6px;margin:15px 0}.detail-info .price{font-size:24px}.reason{color:var(--accent);font-size:12px;margin:22px 0}.sizes{display:flex;gap:6px;flex-wrap:wrap;max-height:100px;overflow:auto}.sizes span{font-size:11px;padding:6px 9px;border:1px solid var(--line);border-radius:5px}.small{font-size:11px;color:var(--muted);line-height:1.7}.shop-link{display:block;text-decoration:none;text-align:center;background:var(--accent);color:var(--ink);padding:16px;border-radius:8px;font-size:13px;margin-top:25px}.detail-like{background:transparent;border:1px solid var(--line);border-radius:8px;padding:13px;width:100%;margin-top:9px}.detail-info hr{border:0;border-top:1px solid var(--line);margin:20px 0}.settings-content{padding:45px;max-width:540px}.settings-content h2{font-size:29px}.settings-content>p{line-height:1.8;color:var(--muted);font-size:13px}#settings-dialog{width:540px}.toggle-row{border-block:1px solid var(--line);padding:25px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.toggle-row strong{font-size:14px}.toggle-row small{display:block;color:var(--muted);font-size:11px;margin-top:8px}.toggle-row input{width:24px;height:24px;accent-color:var(--accent)}.reset-button{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:12px;margin:10px 0;font-size:12px}.source-info{border-top:1px solid var(--line);margin-top:20px;padding-top:20px;font-size:11px;line-height:1.9;color:var(--muted)}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:10;background:var(--accent);color:var(--ink);border-radius:30px;padding:12px 22px;font-size:12px;box-shadow:0 5px 25px #0003;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.show{opacity:1}
body[data-theme=fitfyn]{color-scheme:light;--bg:#f4f1e9;--panel:#ebe7df;--text:#292f25;--muted:#797c70;--line:#d7d8c9;--accent:#64714f;--ink:#fff;--radius:2px;--display:Georgia,serif}body[data-theme=fitfyn] h1{font-weight:400;letter-spacing:-2px}body[data-theme=fitfyn] h1 em{font-style:italic}body[data-theme=fitfyn] .image-button{aspect-ratio:1/1.1}body[data-theme=fitfyn] .card-title{font-family:Georgia,serif;font-size:16px}body[data-theme=swipstitch]{color-scheme:light;--bg:#eae2ff;--panel:#ddd2f4;--text:#2a183f;--muted:#726081;--line:#c6b4e0;--accent:#ff623b;--ink:#211336;--radius:22px;--display:'Manrope',sans-serif}body[data-theme=swipstitch] h1{text-transform:uppercase;font-weight:800;letter-spacing:-3px}body[data-theme=swipstitch] .image-button{border:2px solid var(--text);box-shadow:4px 4px 0 var(--text)}body[data-theme=swipstitch] .product-card:nth-child(3n+2){transform:rotate(1deg)}body[data-theme=swipstitch] .category-bar button{border-color:var(--text)}body[data-theme=loomsynd]{color-scheme:light;--bg:#edf2f5;--panel:#e1e9ee;--text:#17304a;--muted:#657888;--line:#c9d7df;--accent:#175cf0;--ink:#fff;--radius:0px;--display:'Manrope',sans-serif}body[data-theme=loomsynd] .eyebrow,body[data-theme=loomsynd] .store-label{font-family:monospace}body[data-theme=loomsynd] .feed-page{gap:1px;background:var(--line);border:1px solid var(--line)}body[data-theme=loomsynd] .product-card{background:var(--bg);padding:12px}body[data-theme=loomsynd] h1{letter-spacing:-3px}body[data-theme=loomsynd] .card-meta{padding:12px 3px}.mobile-nav button.active{color:var(--accent)}
@media(min-width:1600px){.image-button{aspect-ratio:1/1.05}}@media(max-width:1150px){.sidebar{width:205px;padding:35px 18px}.workspace{margin-left:205px}main{padding:30px 25px}.topbar{padding:0 25px}.intro-note{display:none}.filters select{max-width:135px}.view-tabs{gap:14px}.sidebar-note{padding:0}.wordmark{font-size:26px}.concept-picker label{display:none}}
@media(max-width:800px){.sidebar{display:none}.workspace{margin:0}.topbar{height:65px;padding:0 20px}.top-label{font-size:12px;font-weight:800;letter-spacing:-.3px;color:var(--text)}main{padding:23px 20px}.intro{margin-bottom:22px}h1{font-size:44px;letter-spacing:-2px}.intro p{max-width:280px;font-size:11px}.intro .eyebrow{font-size:8px}.feed-tools{flex-wrap:wrap;gap:12px}.view-tabs{gap:22px}.filters{width:100%}.filters select{flex:1;max-width:unset;min-width:0;padding:9px 20px 9px 10px;font-size:10px}.category-bar{padding:15px 0 12px}.category-bar button{padding:8px 13px;font-size:10px}.caption-hint{display:none}.feed-page{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.image-button,body[data-theme=fitfyn] .image-button{aspect-ratio:1/1.05}.card-title{font-size:11px}.card-meta{padding-top:9px}.store-label{font-size:7px}.price{font-size:11px}.category-label{font-size:8px}.old-price{font-size:9px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;background:var(--bg);border-top:1px solid var(--line);padding:8px 10px max(8px,env(safe-area-inset-bottom));z-index:4;justify-content:space-around}.mobile-nav button{background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px;min-width:65px;font-size:22px}.mobile-nav span{font-size:9px}.workspace{padding-bottom:78px}#toast{bottom:90px;width:max-content}#product-content{display:block}.detail-photo{min-height:0}.detail-photo img{height:42dvh;object-fit:contain}.detail-info{padding:22px}.detail-info h2{font-size:21px}.detail-info .price{font-size:21px}.detail-info .reason{margin:12px 0}.detail-info hr{margin:14px 0}dialog{max-height:91dvh}.settings-content{padding:40px 25px}.like-button{width:35px;height:35px}.price-tag{font-size:8px;top:12px;left:8px}body[data-theme=loomsynd] .product-card{padding:7px}.concept-picker select{max-width:157px;font-size:11px}.topbar{gap:12px}.avatar{width:29px;height:29px;flex-shrink:0}#feed-end{padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Keep a six-piece desktop or four-piece phone batch within one viewport. */
.feed-page{scroll-snap-align:start;scroll-margin-top:20px}.image-button,body[data-theme=fitfyn] .image-button{aspect-ratio:auto;height:clamp(160px,27svh,310px)}
@media(max-width:800px){.image-button,body[data-theme=fitfyn] .image-button{height:clamp(145px,25svh,245px)}}
html{scroll-snap-type:y proximity}
/* Optional catalogue diagnostics and fixture labels; existing feed layout is unchanged. */
#catalog-debug{margin:0 0 18px;padding:12px;border:1px solid var(--line);border-radius:8px}
#catalog-debug summary{cursor:pointer;font-weight:700}
#catalog-debug-shown{max-height:160px;overflow:auto;padding-left:20px;overflow-wrap:anywhere}
#catalog-debug label{display:block;margin-top:10px}

/* Native shell only: preserve the existing browser layout and Fitfyn styling. */
.native-ios .topbar{padding-top:env(safe-area-inset-top);height:calc(65px + env(safe-area-inset-top))}
.native-ios .workspace{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
.native-ios dialog{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}

/* A quieter Fitfyn layout, with the catalogue as the focus. */
body[data-theme=fitfyn]{--bg:#faf9f6;--panel:#f0eee8;--text:#292d27;--muted:#686d62;--line:#e2e3db;--accent:#53634b;--ink:#fff;--radius:8px;--display:'DM Sans',sans-serif}
html{scroll-snap-type:none}
.sidebar{width:220px;padding:36px 24px}.workspace{margin-left:220px}
.wordmark{font-size:29px;letter-spacing:-1.3px}.brand-symbol{width:29px;height:29px;font-size:25px}
.sidebar nav{margin-top:48px;gap:6px}.nav-button{min-height:48px;padding:12px;font-size:13px}.nav-button.active{background:var(--panel);color:var(--text)}
.sidebar-note{margin-top:auto;padding:0}.learning{font-size:11px;line-height:1.6}footer{margin-top:22px;color:var(--muted);font-size:11px;line-height:1.7}
.topbar{height:72px;padding:0 40px;justify-content:space-between}.top-label{font-size:20px;font-weight:700;letter-spacing:-.8px;color:var(--text)}
.avatar{width:44px;height:44px;background:transparent;color:var(--muted);font-size:23px;border:1px solid var(--line)}
main{max-width:1260px;padding:36px 40px}.intro{margin-bottom:30px}.intro h1{font-size:clamp(30px,3.2vw,44px);line-height:1.2;letter-spacing:-1.5px;margin:0 0 10px;font-weight:500}.intro p{font-size:14px;margin:0;line-height:1.6}
.feed-tools{flex-wrap:wrap;gap:16px;padding-bottom:16px}.view-tabs{gap:24px}.view-tabs button{min-height:44px;font-size:14px}.view-tabs button.active{box-shadow:inset 0 -2px var(--accent)}
.filters{flex-wrap:wrap;gap:8px}.filters select{min-height:44px;border-radius:8px;font-size:12px;max-width:180px}
.category-bar{gap:6px;padding:16px 0}.category-bar button{min-height:44px;background:transparent;border-color:transparent;font-size:12px;padding:10px 15px}.category-bar button.active{background:var(--panel);color:var(--text);border-color:var(--line)}
.feed-caption{font-size:12px;margin:4px 0 20px}.feed-page{gap:30px 20px;margin-bottom:32px}
.image-button,body[data-theme=fitfyn] .image-button{height:clamp(170px,27svh,310px)}.image-button img,.image-button:hover img{transform:none}
.like-button{width:44px;height:44px;font-size:25px;background:#fffffff0;box-shadow:none}.card-meta{padding:13px 2px 0}.store-label{font-size:10px;letter-spacing:.65px}body[data-theme=fitfyn] .card-title{font-family:inherit;font-size:14px;line-height:1.5;font-weight:500;margin:5px 0 7px}.price{font-size:13px}.category-label{display:none}.old-price{font-size:11px}
.next-button{min-height:48px;border-radius:8px;font-size:13px}.empty-state{border-style:solid}.settings-content h2{font-weight:500}.close-dialog{width:44px;height:44px}
@media(max-width:1150px){.sidebar{width:190px;padding:30px 18px}.workspace{margin-left:190px}main{padding:30px 24px}.topbar{padding:0 24px}.filters{width:100%}.filters select{flex:1;max-width:none;min-width:0}}
@media(max-width:800px){.workspace{margin-left:0}.topbar{height:64px;padding:0 18px}main{padding:26px 18px}.intro{margin-bottom:22px}.intro h1{font-size:32px;letter-spacing:-1px}.intro p{font-size:13px;max-width:none}.filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters select{width:100%;font-size:12px;padding:10px}.feed-page{gap:24px 12px}.image-button,body[data-theme=fitfyn] .image-button{height:clamp(160px,25svh,245px)}body[data-theme=fitfyn] .card-title{font-size:13px}.store-label{font-size:9px}.price{font-size:12px}.old-price{font-size:10px}.mobile-nav button{min-height:48px;min-width:80px}.mobile-nav span{font-size:11px}.category-bar button{font-size:12px}.feed-caption{font-size:11px}}

/* Custom select chrome keeps filter targets consistent in Safari. */
.filters select{appearance:none;-webkit-appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23686d62' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.image-button{outline:none;border:1px solid var(--line)}

/* Keep the complete product visible, including on hover and in the detail view. */
.image-button img,.image-button:hover img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:3px;transform:none}
.detail-photo{justify-content:center}
.detail-photo img{display:block;width:100%;height:clamp(300px,65dvh,650px);object-fit:contain;object-position:center;padding:4px;transform:none}
@media(max-width:800px){.detail-photo img{height:48dvh;padding:4px}}

/* Larger product presentation while retaining the entire photo. */
.image-button,body[data-theme=fitfyn] .image-button{height:clamp(210px,34svh,380px)}
@media(max-width:800px){.image-button,body[data-theme=fitfyn] .image-button{height:clamp(190px,31svh,300px)}}

/* A quiet, always-visible search field with comfortable keyboard and touch controls. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.product-search{display:flex;align-items:center;flex:1;min-width:0;max-width:640px;height:46px;margin:0 auto;background:var(--panel);border:1px solid transparent;border-radius:10px;transition:border-color .15s,background .15s}
.product-search:focus-within{background:var(--bg);border-color:var(--accent);box-shadow:0 0 0 2px #53634b14}
.product-search input{flex:1;min-width:0;width:100%;height:100%;border:0;outline:none;background:transparent;color:var(--text);font:inherit;font-size:14px;padding:0 4px;border-radius:0;appearance:none;-webkit-appearance:none}
.product-search input::placeholder{color:var(--muted);opacity:1}
.product-search input::-webkit-search-cancel-button{display:none}
.search-submit,.search-clear{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;background:transparent;color:var(--muted);border-radius:8px}
.search-clear{font-size:24px;font-weight:400}.search-clear[hidden]{display:none}.search-submit:hover,.search-clear:hover{color:var(--text)}
.topbar>.avatar{flex-shrink:0}
@media(max-width:800px){.topbar{display:grid;grid-template-columns:1fr auto;gap:12px;min-height:64px;height:auto;padding:12px 18px 16px}.product-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin:0}.product-search input{font-size:16px}.native-ios .topbar{height:auto;padding-top:calc(12px + env(safe-area-inset-top))}}

/* Keep the longer Cachewear wordmark comfortable in the narrow sidebar. */
.wordmark{font-size:23px;letter-spacing:-1.2px;gap:7px;white-space:nowrap}
.wordmark .brand-symbol{width:26px;height:26px;font-size:24px;flex-shrink:0}
.top-label{white-space:nowrap}
@media(min-width:801px) and (max-width:1150px){.wordmark{font-size:21px;gap:6px}.wordmark .brand-symbol{width:24px;height:24px;font-size:22px}}

/* Accounts share the site's calm forms and work on small screens. */
.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.account-button{min-height:44px;max-width:180px;padding:10px 16px;border:1px solid var(--line);border-radius:8px;background:var(--bg);font:inherit;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-button:hover{background:var(--panel)}.account-button:disabled{opacity:.5;cursor:wait}
#account-dialog{width:460px}.account-content{padding:40px 32px 28px}.account-content h2{font-size:29px;font-weight:500;letter-spacing:-.8px;margin:8px 0}.account-content>p,.account-content #account-member>p{color:var(--muted);font-size:13px;line-height:1.7}
.account-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:22px 0}.account-tabs button{background:none;min-height:44px;padding:8px 0;font-size:14px;color:var(--muted)}.account-tabs button[aria-pressed=true]{color:var(--text);box-shadow:inset 0 -2px var(--accent)}
#account-form>label:not(.remember-choice){display:block;font-size:13px;margin:18px 0 8px}
#account-form>input{display:block;width:100%;min-height:46px;border:1px solid var(--line);border-radius:8px;padding:11px 12px;font:inherit;font-size:16px;color:var(--text);background:var(--bg)}
#account-form input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.field-help{font-size:11px;color:var(--muted);line-height:1.6;margin:7px 0}
.remember-choice{display:flex;align-items:center;gap:10px;min-height:44px;margin:14px 0;font-size:12px}.remember-choice input{width:18px;height:18px;accent-color:var(--accent)}
.account-primary{width:100%;min-height:46px;background:var(--accent);color:var(--ink);border-radius:8px;padding:12px 18px;font-size:14px;margin:8px 0}.account-primary:disabled{opacity:.55;cursor:wait}.account-error{color:#9d352c!important;min-height:20px;margin-bottom:0}
#account-member[hidden],#account-guest[hidden],.field-help[hidden]{display:none}
@media(max-width:800px){.header-actions{grid-column:2;grid-row:1;gap:8px}.account-button{max-width:140px;padding:10px 12px}.account-content{padding:36px 22px 24px}}

/* Cachewear monogram and restrained Scandinavian wordmark. */
.logo-lockup{display:block;width:156px;max-width:100%;height:auto}.header-logo{display:block;width:136px;height:auto}.wordmark{max-width:100%}.top-label{flex-shrink:0}
@media(min-width:801px) and (max-width:1150px){.logo-lockup{width:150px}}
@media(max-width:380px){.header-logo{width:120px}}

/* A spacious conversation canvas, with the composer always within reach. */
.assistant-launch svg{flex-shrink:0;color:var(--accent)}
#assistant-dialog{width:min(820px,calc(100vw - 40px));max-width:none;height:min(780px,90dvh);max-height:90dvh;padding:0;overflow:hidden;border-radius:20px;background:var(--bg)}
.chat-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);flex-shrink:0}
.chat-brand{display:flex;align-items:center;gap:12px;min-width:0}.chat-brand h2{font-size:15px;font-weight:600;margin:0;letter-spacing:-.2px}.chat-brand p{font-size:11px;color:var(--muted);margin:5px 0 0}
.chat-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.chat-actions button:not(.close-dialog){height:40px;background:transparent;border-radius:8px;padding:8px 10px;font-size:12px}.chat-actions button:not(.close-dialog):hover{background:var(--panel)}
#assistant-dialog .close-dialog{position:static;flex:0 0 44px}
.chat-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 40px;scrollbar-width:thin}
.chat-welcome{max-width:610px;margin:28px auto 0;text-align:center}.chat-welcome>img{margin-bottom:16px}.chat-welcome .eyebrow{font-size:9px;color:var(--muted)}.chat-welcome h3{font-size:clamp(25px,4vw,36px);font-weight:500;letter-spacing:-1px;margin:12px 0}.chat-welcome>p:not(.eyebrow){font-size:13px;line-height:1.7;color:var(--muted);margin:0 auto;max-width:340px}
.chat-suggestions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:30px 0 12px}.chat-suggestions button{border:1px solid var(--line);border-radius:12px;background:transparent;padding:16px;text-align:left;min-height:80px}.chat-suggestions button:hover{border-color:var(--accent);background:var(--panel)}.chat-suggestions strong{display:block;font-size:12px;font-weight:500;margin-bottom:7px}.chat-suggestions span{display:block;font-size:11px;color:var(--muted);line-height:1.5}
#chat-messages{max-width:650px;margin:auto}.chat-message{display:flex;flex-direction:column;align-items:flex-start;margin:0 0 26px;gap:7px}.chat-message-label{font-size:10px;color:var(--muted)}.chat-message-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;max-width:100%}.chat-user{align-items:flex-end}.chat-user .chat-message-body{max-width:85%;background:var(--panel);border:1px solid var(--line);border-radius:18px 18px 4px 18px;padding:12px 18px}
#chat-pending{font-size:13px;color:var(--muted);max-width:650px;margin:12px auto}#chat-pending span{animation:chat-pulse 1.4s ease-in-out infinite}@keyframes chat-pulse{50%{opacity:.3}}
.chat-bottom{padding:12px 30px 18px;flex-shrink:0;background:var(--bg)}#chat-form{display:flex;align-items:flex-end;gap:12px;padding:12px 14px 12px 18px;border:1px solid var(--line);border-radius:22px;background:var(--panel)}#chat-form:focus-within{border-color:var(--accent)}#chat-input{font:inherit;font-size:14px;line-height:1.6;color:var(--text);resize:none;min-width:0;flex:1;max-height:150px;min-height:36px;border:0;outline:none;background:transparent;padding:6px 0}#chat-input::placeholder{color:var(--muted)}#chat-send{width:36px;height:36px;flex-shrink:0;border-radius:50%;background:var(--accent);color:var(--ink);font-size:24px;line-height:1;padding:0}#chat-send:disabled{opacity:.35;cursor:default}.chat-footnote{font-size:10px;color:var(--muted);text-align:center;margin:10px 0 0;line-height:1.5}.chat-error{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#9d352c;padding:0 4px 12px;line-height:1.6}.chat-error button{background:transparent;text-decoration:underline;color:inherit;min-height:36px;flex-shrink:0}
.chat-welcome[hidden],.chat-error[hidden],#chat-pending[hidden]{display:none}
@media(max-width:800px){.mobile-nav button{min-width:0;flex:1}.mobile-nav #mobile-assistant svg{width:22px;height:26px}}
@media(max-width:600px){#assistant-dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.chat-header{padding:calc(12px + env(safe-area-inset-top)) 14px 12px}.chat-brand{gap:8px}.chat-brand h2{font-size:13px}.chat-brand p{font-size:10px}.chat-actions{gap:0}.chat-actions #chat-new{font-size:24px}.chat-actions #chat-new span{display:none}.chat-scroll{padding:22px 18px}.chat-welcome{margin-top:20px}.chat-suggestions{gap:8px;margin-top:24px}.chat-suggestions button{padding:13px}.chat-bottom{padding:10px 12px calc(14px + env(safe-area-inset-bottom))}#chat-input{font-size:16px}.chat-user .chat-message-body{max-width:92%}.chat-footnote{font-size:9px}}
@media(prefers-reduced-motion:reduce){#chat-pending span{animation:none}}

.reset-search-filters{display:block;margin:18px auto 0;padding:12px 18px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-size:13px;color:var(--text)}
.reset-search-filters:hover{border-color:var(--accent)}

/* Four full-frame inspiration photos, separate from shoppable pieces. */
.intro.intro-editorial{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.7fr);align-items:center;gap:32px;padding:10px 0 28px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.intro-editorial .intro-copy{min-width:0}.intro-editorial .intro-copy .eyebrow{font-size:9px;letter-spacing:2px;color:var(--muted);margin:0 0 18px}.intro-editorial h1{max-width:350px;font-size:clamp(32px,3.4vw,48px);line-height:1.12;letter-spacing:-1.7px;margin:0 0 16px}.intro-editorial #tagline{font-size:13px;margin:0}.intro-editorial .intro-inspiration-note{max-width:230px;font-size:12px;line-height:1.8;margin:26px 0 0;color:var(--muted)}
.intro-inspiration{min-width:0;width:100%}.intro-looks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:12px;width:100%}.intro-look{min-width:0;margin:0}.intro-look:nth-child(even){transform:translateY(14px)}.intro-look a{display:block;text-decoration:none;border-radius:8px}.intro-look img{display:block;width:100%;height:auto;border-radius:8px;background:var(--panel)}.intro-editorial .intro-look figcaption{display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:10px;line-height:1.5;padding:10px 1px;color:var(--muted)}.intro-look:hover figcaption{color:var(--text)}.intro-editorial .intro-photo-credit{font-size:9px;letter-spacing:.3px;text-align:right;margin:24px 0 0;color:var(--muted)}.intro-swipe-hint{display:none}
@media(max-width:1050px) and (min-width:801px){.intro.intro-editorial{grid-template-columns:185px minmax(0,1fr);gap:20px}.intro-editorial h1{font-size:34px}.intro-looks{gap:9px}.intro-editorial .intro-look figcaption{font-size:9px}}
@media(max-width:800px){.intro.intro-editorial{grid-template-columns:1fr;gap:22px;padding-top:0}.intro-editorial h1{font-size:34px;max-width:none}.intro-editorial .intro-copy .eyebrow{margin-bottom:10px}.intro-editorial .intro-inspiration-note{display:none}.intro-looks{max-width:650px;margin:auto}}
@media(max-width:560px){.intro.intro-editorial{padding-bottom:22px}.intro-looks{display:flex;align-items:center;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;gap:14px;padding:4px 4px 22px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}.intro-look{flex:0 0 42%;scroll-snap-align:start}.intro-look:nth-child(even){transform:translateY(10px)}.intro-editorial .intro-photo-credit{margin-top:8px;font-size:9px}.intro-swipe-hint{display:inline}}

/* Keep the added Trending tab comfortable on narrower layouts. */
.feed-tools{flex-wrap:wrap}.filters select:disabled{opacity:.5;cursor:default}

.profile-form{margin:22px 0;padding:20px 0;border-block:1px solid var(--line)}.profile-form h3{font-size:20px;font-weight:500;margin:0 0 10px}.profile-form>label{display:block;font-size:13px;margin:16px 0 8px}.profile-form>input,.profile-form>select{display:block;width:100%;max-width:none;min-height:46px;padding:11px 12px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;font:inherit;font-size:16px}.profile-form>input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.profile-skip{display:block;margin:0 auto;min-height:40px;padding:8px 16px;background:transparent;color:var(--muted);font-size:12px}

.detail-gallery{min-width:0;background:var(--panel)}.detail-gallery .detail-photo{min-height:0}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:#faf9f6ee;color:var(--text);font-size:30px;line-height:1}.gallery-prev{left:10px}.gallery-next{right:10px}.gallery-arrow:hover{background:var(--text);color:var(--bg)}.gallery-thumbnails{display:flex;gap:8px;overflow-x:auto;padding:14px 14px 6px;scrollbar-width:thin}.gallery-thumb{flex:0 0 58px;width:58px;height:70px;border:2px solid transparent;border-radius:6px;padding:3px;background:var(--bg)}.gallery-thumb[aria-pressed=true]{border-color:var(--accent)}.gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}.gallery-status{text-align:center;font-size:11px;line-height:1.5;color:var(--muted);margin:6px 12px 14px}
