500;600;700;800&display=swap');
:root{font-family:Manrope,Arial,sans-serif;color:#151515;background:#eeedeb;font-synthesis:none;font-size:14px;--safe:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid #777;outline-offset:4px}button{border:0;background:none}a{color:inherit}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{max-width:520px;min-height:100dvh;margin:auto;background:#fff}.top{padding:22px 23px 16px;display:flex;align-items:center;justify-content:space-between;padding-top:max(22px,env(safe-area-inset-top));gap:20px}.wordmark{text-align:left;font-size:23px;font-weight:800;letter-spacing:-1px;line-height:1;padding:0}.wordmark span{display:block;font-size:8px;letter-spacing:2px;font-weight:600;margin-top:7px}.round{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f3f3f1;flex-shrink:0}.round img{width:100%;height:100%;border-radius:50%;object-fit:cover}#main{padding:4px 22px 112px;min-height:calc(100dvh - 90px)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:9px;font-weight:700}.muted{color:#777}.intro{display:flex;justify-content:space-between;align-items:end;margin:13px 0 21px}.intro h1{font-size:31px;line-height:1.14;font-weight:600;letter-spacing:-1.4px;margin:0}.intro h1 em{font-family:Georgia,serif;font-weight:400}.intro .edition{font-size:9px;line-height:1.6;text-align:right;color:#777}.hero{height:355px;position:relative;border-radius:25px;overflow:hidden;background:#a9aaa6;color:white;margin-bottom:23px}.hero img{width:100%;height:100%;object-fit:cover;object-position:center 40%;filter:brightness(.8)}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#0008,transparent 60%);pointer-events:none}.hero-top,.hero-copy{position:absolute;z-index:1;left:22px;right:22px}.hero-top{top:20px;display:flex;justify-content:space-between;align-items:center}.hero-top span{font-size:9px;letter-spacing:1.6px}.hero-copy{bottom:22px}.hero h2{font-size:52px;line-height:.95;letter-spacing:-2px;margin:0 0 13px;font-weight:600}.hero h2 em{font-family:Georgia,serif;font-weight:400}.hero-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.hero-bottom p{font-size:10px;line-height:1.6;max-width:180px;margin:0}.hero-bottom button{border-radius:30px;background:#fff;color:#111;padding:12px 17px;display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700}.heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 16px;gap:10px}.heading h2{font-size:22px;font-weight:600;letter-spacing:-.8px;margin:0}.text-btn{font-size:11px;border-bottom:1px solid #bbb;padding:2px 0}.search-row{display:flex;gap:9px;margin:16px 0}.search-box{border-radius:30px;background:#f5f5f3;display:flex;align-items:center;gap:9px;padding:13px 15px;flex:1;min-width:0}.search-box svg{width:18px;height:18px;color:#777}.search-box input{border:none;outline:none;background:none;min-width:0;width:100%;font-size:12px}.filter-btn{background:#111;color:#fff;width:46px;height:46px;border-radius:50%;display:grid;place-items:center}.chips{display:flex;overflow-x:auto;gap:7px;margin:0 -22px 20px;padding:0 22px 4px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{padding:10px 17px;background:#f5f5f3;border-radius:24px;white-space:nowrap;font-size:11px}.chip.active{color:white;background:#111}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}.card{min-width:0;position:relative}.product-link{text-align:left;padding:0;width:100%;display:block}.photo{position:relative;aspect-ratio:3/4;background:#f0efed;border-radius:20px;overflow:hidden;margin-bottom:10px}.photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.product-link:hover img{transform:scale(1.035)}.tag{position:absolute;left:10px;top:11px;background:#fffdf3e8;color:#333;border-radius:20px;font-size:8px;padding:5px 8px}.like{position:absolute;top:9px;right:9px;background:#fff;border-radius:50%;width:29px;height:29px;display:grid;place-items:center;z-index:2;padding:0}.like svg{width:16px;height:16px}.like.selected svg{fill:#111}.card .brand{font-size:8px;letter-spacing:1.5px;text-transform:uppercase;color:#777;margin-bottom:4px}.card h3{font-size:12px;font-weight:600;margin:0 0 6px;line-height:1.4}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:4px}.card b{font-size:12px;font-weight:800}.card small{font-size:9px;color:#888}.note{font-size:10px;color:#888;line-height:1.8;margin:25px 0 0}.campaign{border-top:1px solid #e6e6e6;margin-top:29px;padding:21px 0;display:flex;justify-content:space-between;align-items:center}.campaign p{font-family:Georgia,serif;font-size:24px;margin:5px 0}.bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);padding:11px 15px calc(12px + var(--safe));display:grid;grid-template-columns:repeat(5,1fr);background:#ffffffed;border-top:1px solid #ededed;backdrop-filter:blur(14px);z-index:10}.bottom button{display:flex;align-items:center;flex-direction:column;gap:5px;color:#999;font-size:8px;position:relative;padding:4px 0}.bottom button.active{color:#111}.bottom button.active:after{content:'';height:3px;width:3px;border-radius:50%;background:#111;position:absolute;bottom:-5px}.counter{position:absolute;top:-3px;left:calc(50% + 5px);font-size:8px;min-width:15px;height:15px;line-height:15px;background:#111;color:#fff;border-radius:20px;padding:0 4px}.page-title{font-size:30px;letter-spacing:-1px;font-weight:600;margin:21px 0 8px}.subtitle{font-size:12px;color:#888;line-height:1.7;margin:0 0 22px}.empty{padding:65px 10px;text-align:center;line-height:1.8;color:#777}.empty svg{width:40px;height:40px;margin-bottom:15px}.empty h2{font-size:21px;color:#111;font-weight:600}.primary{width:100%;border-radius:28px;min-height:50px;background:#111;color:white;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;text-decoration:none}.secondary{border:1px solid #ddd;border-radius:26px;padding:13px 20px;width:100%;margin-top:10px;font-size:12px}.empty .primary{margin-top:24px}.cart-item{display:flex;gap:15px;padding:18px 0;border-bottom:1px solid #eee}.cart-item img{width:84px;height:110px;object-fit:cover;border-radius:13px;background:#eee}.cart-info{flex:1;min-width:0}.cart-info h3{font-size:13px;margin:3px 0 6px}.cart-info p{font-size:11px;color:#888;margin:0 0 12px}.cart-controls{display:flex;justify-content:space-between;align-items:center}.stepper{display:flex;align-items:center;gap:13px;font-size:12px}.stepper button{width:29px;height:29px;border-radius:50%;background:#f4f4f2}.delete{padding:0;color:#999;font-size:11px}.summary{display:flex;justify-content:space-between;font-size:18px;margin:25px 0 10px}.checkout{margin-top:26px;display:grid;gap:15px}label{display:grid;gap:7px;font-size:11px;color:#555}input,select,textarea{width:100%;padding:13px 15px;background:#f7f7f5;border:1px solid #e8e8e5;border-radius:13px;color:#111;outline-color:#777}textarea{resize:vertical;min-height:80px}.checkout .note{margin:0}.profile-head{display:flex;align-items:center;gap:18px;margin:30px 0}.profile-photo{width:75px;height:75px;border-radius:50%;background:#f1f1ef;display:grid;place-items:center;font-size:26px;object-fit:cover}.profile-head h1{font-size:24px;letter-spacing:-.7px;margin:0 0 5px}.profile-head p{color:#888;font-size:12px;margin:0}.profile-stats{display:grid;grid-template-columns:1fr 1fr;background:#f5f5f3;border-radius:18px;padding:21px 12px;text-align:center;margin-bottom:25px}.profile-stats div+div{border-left:1px solid #ddd}.profile-stats b{display:block;font-size:24px;margin-bottom:4px}.profile-stats span{font-size:10px;color:#777}.order-row{display:flex;text-align:left;width:100%;align-items:center;justify-content:space-between;padding:19px 0;border-bottom:1px solid #eee;gap:15px}.order-row b{font-size:12px;display:block;margin-bottom:7px}.order-row small{font-size:10px;color:#777}.order-row .pill{font-size:9px;background:#f3f3f1;padding:7px 10px;border-radius:20px}.profile-link{padding:18px 0;border-bottom:1px solid #eee;display:flex;align-items:center;justify-content:space-between;width:100%;text-decoration:none;font-size:12px}dialog{border:0;border-radius:26px 26px 0 0;padding:0;background:#fff;color:#111;width:min(520px,100%);max-width:100%;max-height:92dvh;margin:auto auto 0;overscroll-behavior:contain}dialog::backdrop{background:#0006;backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;background:#fff;position:sticky;top:0;z-index:3;font-size:12px}.dialog-top .round{width:33px;height:33px}.detail-photo{margin:0 17px;border-radius:22px;overflow:hidden;background:#eee;aspect-ratio:4/4.8;position:relative}.detail-photo img{width:100%;height:100%;object-fit:cover}.detail-content{padding:24px 23px 20px}.detail-name{display:flex;justify-content:space-between;gap:15px;align-items:start;margin:7px 0 12px}.detail-name h1{font-size:23px;font-weight:600;letter-spacing:-.7px;margin:0}.detail-name b{font-size:18px;white-space:nowrap}.detail-content p{font-size:12px;line-height:1.8;color:#777}.size-label{display:flex;justify-content:space-between;font-size:11px;margin:25px 0 12px}.sizes{display:flex;gap:8px;flex-wrap:wrap}.size{min-width:42px;padding:11px;border:1px solid #e4e4e2;border-radius:50px;font-size:11px}.size.selected{background:#111;border-color:#111;color:#fff}.detail-features{padding:0;list-style:none;margin:23px 0 0}.detail-features li{font-size:11px;padding:12px 0;border-top:1px solid #eee;color:#666}.detail-bottom{position:sticky;bottom:0;background:#fffc;backdrop-filter:blur(15px);padding:12px 20px calc(15px + var(--safe));z-index:3}.filter-content{padding:10px 24px 30px;display:grid;gap:20px}.filter-content h2{font-size:25px;margin:0}#toast{position:fixed;bottom:calc(95px + var(--safe));left:50%;transform:translate(-50%,15px);max-width:calc(100% - 40px);background:#181818;color:#fff;border-radius:15px;padding:13px 20px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1;transform:translate(-50%,0)}.success{padding:40px 0}.success .check{width:65px;height:65px;background:#111;color:#fff;border-radius:50%;display:grid;place-items:center;margin-bottom:24px}.success h1{font-size:32px;font-weight:600;letter-spacing:-1px}.success p{font-size:13px;line-height:1.9;color:#777}.success .primary{margin-top:30px}.order-detail{padding:5px 23px 28px}.order-detail p{font-size:12px;line-height:1.7}.order-detail .row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #eee;padding:15px 0;font-size:12px}@media(min-width:700px){body{padding:28px 0}.shell{border-radius:30px 30px 0 0;box-shadow:0 10px 100px #0001}.hero{height:400px}}@media(max-width:360px){#main{padding-left:16px;padding-right:16px}.top{padding-left:16px;padding-right:16px}.intro h1{font-size:28px}.hero{height:320px}.hero h2{font-size:45px}.hero-bottom button{padding:11px}.grid{gap:20px 10px}.card small{font-size:8px}.chips{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}#adminDialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border-radius:0}#adminDialog iframe{border:0;width:100%;height:100%;display:block}.hero img{filter:brightness(.8) saturate(.65)}
/* ClothesCloud mobile storefront / v2 */
:root{--safe:max(env(safe-area-inset-bottom,0px),var(--tg-safe-bottom,0px));font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#f2f2f2}html{scroll-padding-top:18px;overflow-x:clip}body{overflow-x:clip}.shell{max-width:560px;width:100%;min-width:0}.top{padding:calc(18px + var(--tg-safe-top,0px)) 20px 16px;gap:12px}.wordmark{font-size:24px;letter-spacing:-1.1px}.wordmark span{font-size:7px;letter-spacing:1.9px}.round{width:44px;height:44px}.top .round{background:#f5f5f5}#main{padding:0 20px calc(108px + var(--safe));min-width:0}.home-greeting{margin:10px 0 19px}.home-greeting .eyebrow{font-size:8px;color:#888;letter-spacing:1.6px}.home-greeting h1{font-size:clamp(25px,7.1vw,34px);font-weight:800;line-height:1.13;letter-spacing:-1.3px;margin:10px 0 0}.shop-banner{position:relative;min-height:220px;border-radius:23px;background:#111;color:#fff;overflow:hidden;isolation:isolate;display:flex;align-items:center}.shop-banner>img{position:absolute;inset:0 0 0 auto;width:52%;height:100%;object-fit:cover;object-position:50% 32%;z-index:-2;filter:saturate(.35)}.shop-banner:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111 28%,#111e 46%,#1110 85%);z-index:-1}.banner-copy{padding:24px 19px;width:75%}.banner-kicker{font-size:7px;letter-spacing:1.4px;color:#bbb}.banner-copy h2{font-size:clamp(22px,6.5vw,29px);letter-spacing:-1px;line-height:1.08;margin:10px 0}.banner-copy p{font-size:10px;line-height:1.65;color:#ccc;max-width:180px;margin:0 0 16px}.banner-copy button{display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:25px;background:#fff;color:#111;padding:11px 14px;font-size:10px;font-weight:800;min-height:42px}.banner-copy button svg{width:17px;height:17px}.shop-points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:17px 0 28px;padding:0 0 18px;border-bottom:1px solid #eee;gap:7px}.shop-points span{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;color:#666;line-height:1.4}.shop-points svg{width:15px;height:15px;flex-shrink:0;color:#222}.category-heading{margin-top:0;align-items:end}.category-heading .eyebrow{font-size:7px;letter-spacing:1.5px}.category-heading h2{font-size:25px;font-weight:800;letter-spacing:-1px;margin:5px 0 0}.category-heading .text-btn{display:flex;align-items:center;gap:5px;white-space:nowrap;border:0;font-size:10px;min-height:40px}.category-heading .text-btn svg{width:14px;height:14px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.category-tile{padding:0;text-align:left;min-width:0;display:flex;flex-direction:column}.category-picture{aspect-ratio:1.08;width:100%;position:relative;background:#f0f0ef;overflow:hidden;border-radius:18px}.category-picture img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.category-tile:hover img{transform:scale(1.04)}.category-number{position:absolute;top:10px;left:10px;display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border-radius:50%;background:#fff;font-size:8px;font-weight:800}.category-arrow{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:29px;height:29px;background:#fff;border-radius:50%}.category-arrow svg{width:16px;height:16px;transform:rotate(-35deg)}.category-tile h3{font-size:12px;line-height:1.4;letter-spacing:-.2px;font-weight:800;margin:10px 0 3px;overflow-wrap:anywhere}.category-tile p{font-size:9px;color:#888;line-height:1.5;margin:0}.category-tile:last-child:nth-child(odd){grid-column:1/-1;display:grid;grid-template-columns:42% 1fr;grid-template-rows:auto auto;column-gap:17px;align-items:end;background:#f6f6f4;border-radius:18px;overflow:hidden;padding-right:14px}.category-tile:last-child:nth-child(odd) .category-picture{grid-row:1/3;border-radius:18px 0 0 18px;aspect-ratio:1.1}.category-tile:last-child:nth-child(odd) h3{align-self:end;margin-bottom:4px}.category-tile:last-child:nth-child(odd) p{align-self:start}.how-to{margin-top:29px;background:#f5f5f3;border-radius:20px;padding:23px 20px}.how-to .eyebrow{font-size:7px;letter-spacing:1.1px;color:#888}.how-to h2{font-size:23px;letter-spacing:-.8px;margin:12px 0 8px}.how-to p{font-size:11px;line-height:1.8;color:#777;margin:0 0 20px}.how-to .primary{font-size:11px;min-height:46px}.bottom{width:min(520px,calc(100% - 24px));bottom:calc(10px + var(--safe));border:1px solid #eaeaea;border-radius:26px;padding:10px 8px 12px;background:#fffffff2;box-shadow:0 6px 30px #00000012}.bottom button{min-height:41px;font-size:8px;gap:4px}.bottom button svg{width:22px;height:22px}.bottom button.active svg{stroke-width:2.2}.bottom button.active:after{display:none}.bottom button.active{font-weight:800}.counter{top:-2px}.page-title{font-size:30px;font-weight:800;letter-spacing:-1.2px;margin:16px 0 7px}.subtitle{font-size:11px}.photo{border-radius:18px;background:#f1f1ef}.grid{gap:22px 12px}.card h3{font-weight:800;font-size:12px}.card .brand{font-size:8px}.card-foot{flex-wrap:wrap;row-gap:5px}.card small{font-size:9px;max-width:100%;overflow-wrap:anywhere}.like{width:33px;height:33px;top:9px;right:9px;background:#111;color:#fff}.like svg{width:16px;height:16px}.like.selected svg{fill:#fff}.chip{min-height:40px;font-size:10px;padding:10px 15px}.chips{margin-left:-20px;margin-right:-20px;padding-left:20px;padding-right:20px}.search-row{margin-top:20px}.search-box{min-height:46px}.search-box input{font-size:16px}.search-box input::placeholder{font-size:11px}.filter-btn{flex-shrink:0}.detail-name{flex-wrap:wrap;align-items:baseline}.detail-name h1{font-weight:800;font-size:25px;line-height:1.15;flex:1;min-width:160px}.detail-name b{font-size:20px}.detail-photo{border-radius:0 0 25px 25px;margin:0;aspect-ratio:1/1;max-height:48dvh}.detail-photo img{object-position:center 35%}.detail-content{padding:22px 20px}.detail-content>.eyebrow{color:#888;font-size:9px}.detail-content p{font-size:11px}.size{min-width:44px;min-height:44px;background:#f4f4f2;border-color:transparent;font-weight:800}.size.selected{background:#111}.detail-bottom{padding:12px 20px calc(16px + var(--safe))}.detail-bottom .primary{min-height:52px;justify-content:center;gap:14px}.detail-bottom .primary svg{order:-1}.dialog-top{padding:12px 17px}.dialog-top .round{width:40px;height:40px}.dialog-top>span{font-weight:700;font-size:11px}.cart-controls{flex-wrap:wrap;gap:10px}.cart-item img{width:78px;height:100px}.stepper button{width:34px;height:34px}.delete{min-height:35px}.cart-info h3{overflow-wrap:anywhere}.checkout input,.checkout select,.checkout textarea,.filter-content input,.filter-content select{font-size:16px}.checkout input::placeholder,.checkout textarea::placeholder{font-size:12px}.checkout{gap:17px}.primary{min-height:50px}.size-label{gap:12px;line-height:1.5}.size-label .muted{text-align:right;font-size:9px}.profile-head h1{overflow-wrap:anywhere}.profile-head>div{min-width:0}.profile-head{gap:14px}.profile-photo{flex-shrink:0}dialog{max-height:94dvh;width:min(560px,100%)}.order-row{flex-wrap:wrap}.order-row>span:first-child{flex:1;min-width:130px}.keyboard-open .bottom{display:none}.note{font-size:10px;line-height:1.7}.empty{padding:45px 5px}#toast{bottom:calc(95px + var(--safe));width:max-content;text-align:center;line-height:1.5}button{touch-action:manipulation}@media(max-width:359px){.top{padding-left:14px;padding-right:14px}#main{padding-left:14px;padding-right:14px}.home-greeting h1{font-size:26px}.shop-banner{min-height:214px}.banner-copy{padding:20px 15px;width:83%}.banner-copy p{max-width:165px}.category-grid{gap:20px 10px}.category-tile h3{font-size:11px}.category-tile p{font-size:8px}.shop-points span{font-size:7px;gap:3px}.shop-points svg{width:13px;height:13px}.chips{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.category-heading .text-btn{font-size:9px}.wordmark{font-size:22px}.category-tile:last-child:nth-child(odd){column-gap:12px}.bottom{width:calc(100% - 16px)}.bottom button{font-size:7px}.detail-name h1{font-size:23px;min-width:140px}}@media(min-width:700px){body{padding:24px 0}.shell{border-radius:28px 28px 0 0}.shop-banner{min-height:250px}.banner-copy{padding:27px}.banner-copy h2{font-size:32px}.banner-copy p{font-size:11px;max-width:210px}.category-tile h3{font-size:14px}.category-tile p{font-size:10px}}@media(prefers-reduced-motion:reduce){.category-picture img{transition:none}}
/* v3: consistent mobile sizing and alignment */
:root{--control:46px;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{max-width:100%}button{line-height:1.25}.top{align-items:center;min-height:76px}.top .wordmark{flex:1;min-width:0}.wordmark span{line-height:1.5}.top .round{width:42px;height:42px}.home-greeting{margin:4px 0 18px}.home-greeting h1{font-size:clamp(24px,6.6vw,31px);line-height:1.15}.shop-banner{height:216px;min-height:0}.banner-copy{width:72%;padding:18px}.banner-copy h2{font-size:24px;line-height:1.08;margin:9px 0;letter-spacing:-.7px}.banner-copy p{font-size:11px;line-height:1.45;max-width:170px;margin-bottom:13px}.banner-copy button{height:40px;min-height:40px;padding:0 13px;font-size:10px;gap:10px;width:max-content;max-width:100%;white-space:nowrap}.banner-kicker{font-size:8px;letter-spacing:1px}.shop-points{margin:15px 0 22px;padding-bottom:15px;gap:8px}.shop-points span{font-size:9px;flex-direction:column;gap:6px;text-align:center}.shop-points svg{width:17px;height:17px}.heading{align-items:center;min-width:0;gap:10px}.heading h2{min-width:0}.category-heading .text-btn{flex-shrink:0;font-size:11px;min-height:40px;align-self:center}.category-heading h2{font-size:24px}.category-heading .eyebrow{font-size:8px}.category-grid{align-items:stretch;gap:18px 12px}.category-tile{display:flex!important;grid-column:auto!important;padding:0!important;background:none!important;align-items:stretch!important;border-radius:0!important;gap:0!important;min-width:0}.category-picture,.category-tile:last-child:nth-child(odd) .category-picture{aspect-ratio:1/1;flex:none;border-radius:16px;grid-row:auto;width:100%}.category-tile h3,.category-tile:last-child:nth-child(odd) h3{font-size:12px;line-height:1.4;min-height:34px;margin:9px 0 4px;align-self:stretch;display:flex;align-items:flex-start;font-weight:750;overflow-wrap:normal;word-break:normal}.category-tile p,.category-tile:last-child:nth-child(odd) p{font-size:10px;line-height:1.45;align-self:stretch;min-height:29px}.category-number{width:24px;height:24px;min-width:24px;font-size:8px}.category-arrow{width:28px;height:28px}.category-arrow svg{width:15px;height:15px}.how-to{padding:20px 17px}.how-to p{font-size:12px;line-height:1.65}.how-to h2{font-size:22px}.primary,.how-to .primary,.detail-bottom .primary{min-height:var(--control);padding:12px 17px;border-radius:25px;font-size:12px;font-weight:650;line-height:1.4}.primary>svg{width:20px;height:20px}.secondary{min-height:44px;padding:11px 16px;font-size:12px;line-height:1.5}.text-btn{width:auto;max-width:100%;font-size:11px;min-height:36px;white-space:normal;flex-shrink:0}.search-row{align-items:center;gap:9px}.search-box{height:var(--control);padding:0 14px;min-height:0}.search-box input{height:44px;padding:0;border:0;border-radius:0;line-height:normal}.filter-btn{width:var(--control);height:var(--control)}.chips{margin-bottom:12px}.chip{min-height:36px;padding:9px 13px;font-size:11px;line-height:1.4}.page-title{font-size:28px;line-height:1.2}.subtitle{font-size:12px;line-height:1.6;margin-bottom:18px}.grid{align-items:stretch;gap:20px 12px}.card{display:flex;flex-direction:column}.product-link{height:100%;display:flex;flex-direction:column;align-items:stretch}.photo{aspect-ratio:3/4;width:100%;flex:none;margin:0 0 9px;border-radius:16px}.card .brand{font-size:9px;margin-bottom:5px}.card h3{font-size:13px;line-height:1.4;min-height:37px;margin:0 0 7px;overflow-wrap:anywhere}.card-foot{margin-top:auto;display:grid;grid-template-columns:1fr;align-items:start;gap:5px}.card-foot b{font-size:13px;line-height:1.5}.card-foot small{font-size:10px;line-height:1.4;min-height:14px}.like{width:34px;height:34px;right:8px;top:8px}.like:after{content:'';position:absolute;inset:-5px}.detail-name{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px}.detail-name h1{min-width:0;font-size:23px;line-height:1.15;overflow-wrap:anywhere}.detail-name b{font-size:17px;line-height:1.6}.size-label{margin-top:20px;align-items:center}.size-label b{font-size:12px}.size-label .muted{max-width:145px;font-size:10px}.size{min-width:42px;min-height:42px;padding:10px 12px;font-size:12px}.sizes{gap:8px}.detail-content{padding:19px 18px}.detail-content p{font-size:12px;line-height:1.65}.detail-features li{font-size:11px;line-height:1.6}.detail-bottom{padding:10px 18px calc(12px + var(--safe))}.dialog-top{min-height:60px;padding:10px 16px}.dialog-top .round{width:40px;height:40px}.cart-item{gap:12px;padding:16px 0;align-items:start}.cart-item>button[data-product]{width:76px;flex:0 0 76px}.cart-item img{width:76px;height:101px;display:block}.cart-info{min-width:0}.cart-info h3{font-size:13px;line-height:1.4;margin-top:1px}.cart-info p{font-size:11px;line-height:1.5;margin-bottom:10px}.cart-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.cart-controls>b{font-size:12px;white-space:nowrap}.stepper{display:grid;grid-template-columns:30px 18px 30px;align-items:center;gap:2px;text-align:center}.stepper button{width:30px;height:32px;line-height:1;padding:0;font-size:17px}.delete{min-height:36px;font-size:11px;line-height:1;padding:8px 0}.summary{font-size:19px;line-height:1.4;gap:12px}.checkout label,.filter-content label{font-size:12px;line-height:1.5;gap:7px}.checkout input,.checkout select,.filter-content input,.filter-content select{min-height:46px;height:46px;padding:10px 13px;line-height:normal}.checkout textarea{padding:12px 13px;min-height:85px}.checkout .primary{margin-top:2px}.filter-content{padding:8px 20px 24px;gap:17px}.filter-content .text-btn{justify-self:center}.profile-stats{padding:18px 10px}.profile-link{font-size:13px;line-height:1.5;min-height:50px;padding:14px 0}.order-row{display:grid;grid-template-columns:minmax(0,1fr) auto 18px;gap:8px}.order-row>span:first-child{min-width:0}.order-row b{line-height:1.5}.order-row .pill{max-width:105px;font-size:9px;text-align:center;line-height:1.5}.order-row>svg{width:18px;height:18px}.order-detail .row{font-size:12px;line-height:1.5}.order-detail .row>span{min-width:0;overflow-wrap:anywhere}.order-detail .row>b{white-space:nowrap}.bottom{height:65px;align-items:center;padding:7px 6px 9px;border-radius:23px}.bottom button{padding:3px 0;min-height:45px;line-height:1.3;font-size:9px;gap:4px}.bottom button svg{width:21px;height:21px}.note{font-size:11px;line-height:1.65}.empty h2{line-height:1.3}.empty p{font-size:13px}.empty .primary{max-width:320px;margin-left:auto;margin-right:auto}.success h1{font-size:30px;line-height:1.15}.success p{font-size:13px;line-height:1.75}@media(max-width:359px){:root{--control:44px}.banner-copy{padding:15px;width:77%}.banner-copy h2{font-size:22px}.banner-copy p{max-width:158px;font-size:10px}.banner-copy button{font-size:10px;padding:0 11px;height:38px;min-height:38px}.shop-banner{height:212px}.category-tile h3,.category-tile:last-child:nth-child(odd) h3{font-size:11px;min-height:32px}.category-tile p{font-size:9px}.shop-points span{font-size:8px}.category-heading .text-btn{font-size:10px}.detail-name h1{font-size:21px}.detail-name b{font-size:15px}.card h3{font-size:12px;min-height:34px}.card-foot b{font-size:12px}.cart-item>button[data-product],.cart-item img{width:66px}.cart-item>button[data-product]{flex-basis:66px}.cart-item img{height:88px}.cart-item{gap:9px}.cart-controls{grid-template-columns:1fr;gap:6px}.stepper{justify-content:start}.order-row{grid-template-columns:minmax(0,1fr) auto}.order-row>svg{display:none}.bottom button{font-size:8px}.wordmark{font-size:22px}.size-label .muted{max-width:125px}}@media(min-width:700px){.shop-banner{height:228px;min-height:0}.banner-copy{padding:22px}.banner-copy h2{font-size:26px}.banner-copy p{font-size:12px;max-width:205px}.category-tile h3{font-size:13px}}
/* v4: quiet editorial intro, category picker and useful filters */
.collection-intro{padding:18px 0 24px;margin-bottom:22px;border-bottom:1px solid #e9e9e7}.collection-meta{display:flex;justify-content:space-between;gap:12px;font-size:8px;font-weight:700;letter-spacing:1px;color:#858580}.collection-intro h1{font-size:clamp(33px,9.1vw,44px);line-height:1.04;letter-spacing:-1.9px;font-weight:800;margin:25px 0 16px}.collection-intro h1>span{color:#9b9b94}.collection-intro>p{font-size:12px;line-height:1.75;color:#777;margin:0 0 23px}.intro-actions{display:flex;gap:10px;align-items:center}.intro-actions .primary{width:auto;flex:1;justify-content:center;font-size:12px;min-width:0}.intro-saved{min-height:46px;padding:0 13px;background:#f3f3f0;border-radius:25px;display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px}.intro-saved svg{width:17px;height:17px}.collection-foot{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#8b8b84;margin-top:21px;line-height:1.5}.category-heading .text-btn{background:#f3f3f0;border-radius:20px;padding:9px 13px;min-height:36px}.category-grid{gap:18px 11px}.category-picture{border-radius:18px}.category-number{background:#ffffffed}.category-tile h3{min-height:34px;font-size:12px}.category-tile p{min-height:0;font-size:10px;color:#555;margin-bottom:3px;line-height:1.55}.category-description{color:#999}.category-arrow{display:none}.how-to .primary{justify-content:center}.catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px}.catalog-heading .page-title{margin:7px 0 0}.catalog-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.catalog-categories{display:flex;align-items:center;gap:6px;border:1px solid #e8e8e4;border-radius:24px;padding:10px 12px;min-height:42px;font-size:11px;flex-shrink:0}.catalog-categories svg{width:17px;height:17px}.filter-btn{position:relative}.filter-badge{position:absolute;top:-4px;right:-3px;background:#e6e6df;color:#111;border-radius:50%;min-width:18px;height:18px;display:grid;place-items:center;font-size:9px;border:2px solid white;font-weight:800}.selected-category{background:#f5f5f1;border:1px solid #eeeee9;border-radius:15px;display:grid;grid-template-columns:1fr auto;width:100%;padding:12px 14px;text-align:left;gap:5px 10px;align-items:center}.selected-category .muted{font-size:9px;grid-column:1}.selected-category b{font-size:12px;line-height:1.5;grid-column:1;overflow-wrap:anywhere;font-weight:650}.selected-category>span:last-child{grid-column:2;grid-row:1/3;font-size:10px;color:#777}.catalog-result-line{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 13px}.catalog-result-line>#count{font-size:11px;color:#888}.catalog-result-line .text-btn{font-size:10px;border:0;color:#444;min-height:36px}.applied-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.applied-filters button{display:flex;align-items:center;gap:7px;max-width:100%;min-height:30px;border-radius:16px;background:#efefeb;font-size:10px;line-height:1.4;padding:7px 10px;text-align:left;overflow-wrap:anywhere}.applied-filters button svg{width:12px;height:12px;flex-shrink:0}.applied-filters .clear-all{background:none;color:#888;text-decoration:underline;text-underline-offset:3px}.category-picker{padding:5px 20px calc(25px + var(--safe))}.category-picker h2{font-size:27px;letter-spacing:-1px;margin:5px 0 20px}.category-picker .search-box{margin-bottom:16px}.category-picker input{background:none;min-width:0;font-size:16px;border:0;padding:0;outline:none}.category-option{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 24px 18px;gap:10px;text-align:left;align-items:center;min-height:53px;padding:13px 12px;border-radius:13px;margin-bottom:4px;font-size:12px;line-height:1.4}.category-option small{font-size:10px;color:#999;text-align:right}.category-option>svg{width:17px;height:17px}.category-option.chosen{background:#111;color:white}.category-option.chosen small{color:#bbb}.category-dot{height:14px;width:14px;border:1px solid #ddd;border-radius:50%;justify-self:end}.refined-filters{gap:22px}.filter-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.filter-title h2{font-size:28px;letter-spacing:-1px;margin:0}.filter-title .text-btn{border:0;color:#888;font-size:11px}.refined-filters fieldset{border:0;padding:0;margin:0;min-width:0}.refined-filters legend{font-size:12px;font-weight:700;margin-bottom:12px;padding:0}.size-options{display:flex;flex-wrap:wrap;gap:8px}.size-options label{position:relative;display:block;cursor:pointer}.size-options input{position:absolute;opacity:0;width:1px;height:1px;margin:0;min-height:0;padding:0;pointer-events:none}.size-options span{display:flex;align-items:center;justify-content:center;min-height:40px;min-width:40px;padding:10px 13px;border:1px solid #e9e9e4;border-radius:21px;background:#f5f5f2;font-size:11px;font-weight:650}.size-options input:checked+span{background:#111;color:#fff;border-color:#111}.size-options input:focus-visible+span{outline:2px solid #777;outline-offset:3px}.price-range,.filter-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.refined-filters select{appearance:none;-webkit-appearance:none;background:#f6f6f3;padding-right:12px}.filter-pair label{min-width:0}.refined-filters>label,.filter-pair>label{font-size:12px;font-weight:650}.refined-filters select,.refined-filters input{border-color:#eaeae4}.refined-filters select{font-size:13px;font-weight:400}.filter-apply{position:sticky;bottom:0;background:#fff;padding:12px 0 0;box-shadow:0 -10px 15px #fffc}.filter-apply .primary{justify-content:center}.filter-apply p{font-size:10px;line-height:1.5;text-align:center;color:#999;margin:9px 0 0}.admin-entry{width:100%;background:#171717;color:#fff;padding:19px 16px;border-radius:19px;text-align:left;display:grid;grid-template-columns:37px minmax(0,1fr);gap:12px;margin:0 0 18px;align-items:center;position:relative;box-shadow:0 8px 23px #00000012}.admin-entry-icon{width:37px;height:37px;background:#ffffff15;display:grid;place-items:center;border-radius:12px}.admin-entry-icon svg{width:21px;height:21px}.admin-entry small{display:block;font-size:8px;letter-spacing:1px;color:#aaa;margin-bottom:7px}.admin-entry b{display:block;font-size:15px;letter-spacing:-.3px;line-height:1.3}.admin-entry em{display:block;font-size:10px;font-style:normal;color:#999;line-height:1.6;margin-top:5px}.admin-access{grid-column:2;font-size:8px;color:#d9d9d0;border:1px solid #ffffff25;border-radius:20px;padding:4px 8px;width:max-content;margin-top:0}.order-row{grid-template-columns:minmax(0,1fr) auto}.order-row>svg{display:none}.primary{justify-content:center}.button-primary{justify-content:center}.empty .primary,.success .primary{justify-content:center}.category-option:active,.intro-saved:active{opacity:.75}@media(max-width:359px){.collection-meta{font-size:7px;letter-spacing:.7px}.collection-intro h1{font-size:34px;letter-spacing:-1.6px}.collection-intro>p{font-size:11px}.intro-actions{gap:7px}.intro-actions .primary{font-size:11px;padding:11px 10px}.intro-saved{padding:0 11px;font-size:10px}.intro-saved span{display:none}.intro-saved svg{width:19px;height:19px}.collection-foot{font-size:8px}.category-tile h3{font-size:11px}.category-description{display:none}.catalog-categories{font-size:10px;padding:9px 10px}.catalog-heading .page-title{font-size:27px}.filter-pair{grid-template-columns:1fr}.admin-entry{padding:17px 13px;gap:10px}.admin-entry b{font-size:14px}.admin-entry small{font-size:7px}.selected-category b{font-size:11px}.category-picker{padding-left:16px;padding-right:16px}.category-option{font-size:11px}}@media(min-width:700px){.collection-intro h1{font-size:46px}.collection-intro>p{font-size:13px}}
input[type=number]{appearance:textfield;-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* v5 home inspired by the supplied compact store reference */
.home-mode .top{display:none}.home-mode #main{padding-top:calc(17px + var(--tg-safe-top,0px))}.store-home-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.home-person{display:flex;align-items:center;gap:9px;padding:0;min-width:0;text-align:left;min-height:40px}.home-person-photo{display:grid;place-items:center;width:34px;height:40px;border-radius:18px;background:#f1efeb;overflow:hidden;flex-shrink:0}.home-person-photo img{width:100%;height:100%;object-fit:cover}.home-person-photo svg{width:20px;height:20px}.home-person>span:last-child{min-width:0}.home-person small{font-size:9px;color:#888;line-height:1.5;display:block}.home-person b{font-size:12px;line-height:1.5;font-weight:750;display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-top-actions{display:flex;gap:7px;flex-shrink:0}.home-top-actions .round{width:35px;height:35px;background:#fafaf8;border:1px solid #eeeee9;position:relative}.home-top-actions svg{width:17px;height:17px}.home-top-actions i{position:absolute;width:5px;height:5px;border-radius:50%;background:#111;top:6px;right:6px;border:1px solid #fff}.home-search{display:flex;align-items:center;gap:9px;margin-bottom:20px}.home-search .search-box{height:43px;flex:1;border-radius:12px;background:#f5f5f2;padding:0 12px}.home-search input{font-size:16px;min-width:0;height:40px;padding:0;background:none;border:0;border-radius:0}.home-search input::placeholder{font-size:11px;color:#aaa}.home-search .search-box svg{width:16px;height:16px;color:#999}.home-filter{width:40px;height:43px;background:#f5f5f2;border-radius:12px;display:grid;place-items:center;flex-shrink:0}.home-filter svg{width:19px;height:19px}.home-promo{background:#111;position:relative;border-radius:18px;overflow:hidden;isolation:isolate;min-height:175px;color:white;display:flex;align-items:center}.home-promo>div{padding:21px 17px;width:68%;z-index:1}.home-promo>div>span{font-size:7px;letter-spacing:1px;color:#c1c1b9}.home-promo h1{font-size:clamp(25px,7.1vw,34px);letter-spacing:-1px;line-height:1.05;margin:11px 0 15px}.home-promo button{font-size:10px;background:#fff;color:#111;min-height:33px;padding:9px 13px;border-radius:10px;font-weight:650}.home-promo>img{position:absolute;right:0;top:0;width:49%;height:100%;object-fit:cover;object-position:50% 33%;z-index:0}.home-promo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#111 28%,#111d 49%,transparent 82%);pointer-events:none}.home-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:21px 0 13px;min-height:30px}.home-section-heading h2{font-size:16px;letter-spacing:-.5px;font-weight:750;margin:0}.home-section-heading>button{font-size:10px;color:#999;min-height:32px;padding:5px 0;flex-shrink:0}.brand-strip{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 27px)/4);gap:9px;overflow-x:auto;scrollbar-width:none;padding:0 0 4px}.brand-strip::-webkit-scrollbar{display:none}.brand-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:69px;border-radius:13px;background:#f4f4f1;padding:10px 4px;min-width:0}.brand-tile b{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}.brand-symbol{font-size:23px;line-height:1;font-weight:800}.brand-symbol-1{font-size:26px}.home-new .home-section-heading{margin-top:20px}.home-new .grid{gap:19px 12px}.home-new .photo{aspect-ratio:4/5;border-radius:15px}.home-new .tag{display:none}.home-new .like{width:29px;height:29px;top:8px;right:8px}.home-new .like svg{width:14px;height:14px}.home-new .card .brand{font-size:8px;margin-bottom:3px}.home-new .card h3{font-size:11px;line-height:1.4;min-height:31px;margin-bottom:5px}.home-new .card-foot b{font-size:12px}.home-new .card-foot small{font-size:9px;min-height:12px}.home-category-link{display:flex;align-items:center;gap:12px;text-align:left;width:100%;border:1px solid #eaeae5;border-radius:15px;padding:15px;margin-top:24px}.home-category-link>svg{width:23px;height:23px;flex-shrink:0}.home-category-link b{font-size:12px;display:block;line-height:1.5}.home-category-link small{font-size:10px;display:block;color:#999;line-height:1.6}.home-demo-note{font-size:10px;color:#aaa;line-height:1.7;margin:18px 0 0}@media(max-width:359px){.store-home-header{gap:8px;margin-bottom:17px}.home-person b{font-size:11px;max-width:150px}.home-person small{font-size:8px}.home-top-actions{gap:5px}.home-top-actions .round{width:32px;height:34px}.home-promo{min-height:163px}.home-promo>div{padding:19px 15px;width:71%}.home-promo h1{font-size:26px}.home-promo>div>span{font-size:6px;letter-spacing:.7px}.home-section-heading h2{font-size:15px}.home-section-heading>button{font-size:9px}.brand-tile b{font-size:8px}.brand-tile{min-height:63px}.brand-symbol{font-size:21px}.home-new .card h3{font-size:11px}.home-new .grid{gap:17px 10px}}@media(min-width:700px){.home-promo{min-height:210px}.home-promo>div{padding:27px}.home-promo h1{font-size:36px}.brand-tile{min-height:78px}.home-section-heading h2{font-size:18px}}


/* CLOTHESCLOUD UI v6 — consistent Telegram avatars, real brand wordmarks, quiet motion */
.home-person-photo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #f1f1ef;
}
.home-person-photo img,
#avatar img,
img.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
#avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
#avatar img {
  border-radius: inherit;
}
.profile-photo {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  object-position: 50% 50%;
}
span.profile-photo {
  display: grid;
  place-items: center;
}
img.profile-photo {
  border-radius: 50%;
}

/* Brand tiles use the actual brand name from the product catalogue, not placeholder symbols. */
.brand-tile {
  min-height: 76px;
  border: 1px solid #e9e9e6;
  background: linear-gradient(145deg, #fafaf9, #f1f1ef);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.brand-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  padding: 0 3px;
  color: #171717;
  font-size: 12px;
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.045em;
  text-align: center;
  overflow-wrap: anywhere;
}
.brand-wordmark[data-brand-key="adidas"] { font-size: 15px; letter-spacing: -.07em; }
.brand-wordmark[data-brand-key="nike"] { font-size: 14px; font-style: italic; letter-spacing: -.055em; }
.brand-wordmark[data-brand-key="new balance"] { font-size: 10px; letter-spacing: -.035em; }
.brand-wordmark[data-brand-key="the north face"] { font-size: 9px; letter-spacing: .015em; }
.brand-wordmark[data-brand-key="carhartt wip"] { font-size: 10px; letter-spacing: -.025em; }
.brand-wordmark[data-brand-key="tommy hilfiger"] { font-size: 9px; letter-spacing: -.015em; }
.brand-wordmark[data-brand-key="polo ralph lauren"] { font-size: 9px; letter-spacing: -.015em; }
.brand-wordmark[data-brand-key="under armour"] { font-size: 10px; letter-spacing: -.02em; }
.brand-wordmark[data-brand-key="calvin klein"] { font-size: 10px; letter-spacing: .025em; }
.brand-wordmark[data-brand-key="stone island"] { font-size: 10px; letter-spacing: -.015em; }
.brand-wordmark[data-brand-key="arc'teryx"] { font-size: 11px; letter-spacing: -.025em; }

@keyframes ccSoftEnter {
  from { opacity: 0; transform: translate3d(0, 7px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes ccDialogEnter {
  from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  #main > * {
    animation: ccSoftEnter .48s cubic-bezier(.2, .72, .25, 1) both;
  }
  #main .grid .card {
    animation: ccSoftEnter .52s cubic-bezier(.2, .72, .25, 1) both;
  }
  #main .grid .card:nth-child(2) { animation-delay: 35ms; }
  #main .grid .card:nth-child(3) { animation-delay: 70ms; }
  #main .grid .card:nth-child(4) { animation-delay: 105ms; }
  button:not(:disabled) {
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  button:active:not(:disabled) { transform: scale(.985); }
  .photo img, .category-picture img {
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
  }
  .brand-tile:active { transform: scale(.97); }
  dialog[open] { animation: ccDialogEnter .28s cubic-bezier(.2, .75, .25, 1) both; }
  dialog::backdrop { background: rgb(15 15 15 / 24%);  }
  .card { transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-3px); }
  .brand-tile:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: #d9d9d5;
  }
  .product-link:hover .photo img,
  .category-tile:hover .category-picture img { transform: scale(1.035); }
}
@media (prefers-reduced-motion: reduce) {
  #main > *, #main .grid .card { animation: none !important; }
  .brand-tile, button, .card, .photo img, .category-picture img, dialog[open] {
    transition: none !important;
    animation: none !important;
  }
}


/* v7 featured brand icons + lightweight performance helpers */
.brand-strip-featured {
  grid-auto-columns: calc((100% - 27px)/4);
}
.brand-tile-featured {
  min-height: 76px;
  padding: 10px;
  background: #f7f7f5;
  border: 1px solid #ecece8;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(17,17,17,.03);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 34px;
  color: #111;
  text-align: center;
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
}
.brand-mark-nike {
  font-size: 15px;
  font-style: italic;
  letter-spacing: -.07em;
}
.brand-mark-hermes {
  font-size: 28px;
  letter-spacing: -.08em;
  font-weight: 700;
}
.brand-mark-louis-vuitton {
  font-size: 22px;
  letter-spacing: -.08em;
}
.brand-mark-prada {
  font-size: 13px;
  letter-spacing: .14em;
  padding-left: .14em;
}

img[loading="lazy"] {
  will-change: auto;
}
@media (max-width: 359px) {
  .brand-mark-nike { font-size: 13px; }
  .brand-mark-hermes { font-size: 24px; }
  .brand-mark-louis-vuitton { font-size: 19px; }
  .brand-mark-prada { font-size: 11px; }
}


/* v8: polished storefront, fast mobile layout and low-cost loading states. */
:root { color-scheme: light; }
#main { contain: layout; }
.home-person-photo, .top .round#avatar {
  width: 40px !important; height: 40px !important;
  aspect-ratio: 1; border-radius: 50% !important;
  flex: 0 0 40px; padding: 0; overflow: hidden;
}
.home-person-photo img, .top .round#avatar img, .profile-photo img,
img.profile-photo { width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: center; }
.brand-strip-featured { gap: 9px; overflow: hidden; padding-bottom: 0; }
.brand-tile-featured {
  min-height: 76px; border: 1px solid #eaeae8; border-radius: 15px;
  background: #f7f7f6; box-shadow: none; padding: 7px 2px;
}
.brand-mark-nike { font-size: clamp(11px,3.8vw,17px); font-weight: 950; letter-spacing: -.075em; }
.brand-mark-hermes { font-family: Georgia, 'Times New Roman', serif; font-weight: 800; font-size: clamp(22px,7.5vw,32px); }
.brand-mark-louis-vuitton { font-family: Georgia, 'Times New Roman', serif; font-weight: 900; font-size: clamp(20px,6.5vw,29px); letter-spacing: -.1em; }
.brand-mark-prada { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(10px,2.8vw,14px); font-weight: 800; letter-spacing: .04em; }
.home-new .grid .photo, .grid .photo { overflow: hidden; }
.photo img, .detail-photo img { display: block; object-fit: cover; }
.card .tag { font-size: 8px; letter-spacing: .08em; }
.catalog-more {
  display: block; margin: 24px auto 0; min-height: 48px;
  padding: 12px 22px; border-radius: 14px;
  background: #171717; color: #fff; font-size: 12px; font-weight: 650;
}
.loading-skeleton { padding-top: 14px; pointer-events: none; }
.skeleton-line, .skeleton-hero, .skeleton-brands>div, .skeleton-products>div {
  background: #eeefed; border-radius: 12px;
}
.skeleton-greeting { width: 42%; height: 38px; margin: 0 0 24px; }
.skeleton-hero { width: 100%; height: 175px; border-radius: 19px; margin-bottom: 24px; }
.skeleton-heading { height: 19px; width: 49%; margin: 0 0 14px; }
.skeleton-brands { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-bottom: 28px; }
.skeleton-brands>div { height: 72px; border-radius: 15px; }
.skeleton-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr));gap: 12px; }
.skeleton-products>div { height: 190px; border-radius: 16px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media (prefers-reduced-motion: no-preference) {
  .loading-skeleton .skeleton-line, .loading-skeleton .skeleton-hero,
  .loading-skeleton .skeleton-brands>div, .loading-skeleton .skeleton-products>div {
    animation: ccLoadingPulse 1.6s ease-in-out infinite alternate;
  }
}
@keyframes ccLoadingPulse { from {opacity:.72;} to {opacity:1;} }
@media (max-width: 359px) { .brand-tile-featured { min-height: 63px; } }
@media (prefers-reduced-motion: reduce) { .loading-skeleton * { animation: none !important; } }

/* CLOTHESCLOUD v11 — product card & image sizing. Local, lightweight, no dependencies. */
.grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: stretch;
  gap: 22px 12px;
}
.grid .card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
}
.grid .card .product-link {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  text-align: left;
  padding: 0;
}
.grid .photo,
.home-new .grid .photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 0;
  flex: 0 0 auto;
  margin: 0 0 11px;
  border-radius: 15px;
  background: #f5f4f2;
  overflow: hidden;
  isolation: isolate;
}
.grid .photo img,
.home-new .grid .photo img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 8px;
  background: transparent;
  object-fit: contain !important;
  object-position: 50% 50%;
  transform: none !important;
  transition: none !important;
}
.grid .card .brand,
.home-new .grid .card .brand {
  margin: 0 0 5px;
  color: #777;
  font-size: 9px;
  line-height: 1.25;
  letter-spacing: .09em;
  font-weight: 650;
}
.grid .card h3,
.home-new .grid .card h3 {
  min-height: 37px;
  max-height: 40px;
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}
.grid .card-foot,
.home-new .grid .card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.grid .card-foot b { font-size: 13px; line-height: 1.35; font-weight: 800; }
.grid .card-foot small { font-size: 9px; line-height: 1.4; color: #8d8d8d; }
.grid .card .like {
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #efefed;
  border-radius: 50%;
  color: #151515;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.grid .card .like.selected { background: #161616; color: #fff; }
.grid .card .like.selected svg { fill: #fff; }
.grid .card .tag {
  top: 10px; left: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  color: #404040;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: .05em;
}
/* Make the landscape demo photo fill the small catalog card without visible letterboxing. */
.grid .card:has(.product-link[data-product="cc-v8-hermes-shirt"]) .photo img {
  object-fit: cover !important;
  object-position: 50% 43%;
  padding: 0;
}
/* Product detail: contain the entire garment, never crop or stretch it. */
#productDialog[open] {
  width: min(520px,100%);
  max-width: 100%;
  max-height: min(94dvh, 960px);
  overflow-x: hidden;
  overflow-y: auto;
  background: #fff;
  border-radius: 24px 24px 0 0;
  scrollbar-width: thin;
}
#productDialog .dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 10px 18px;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #f1f1ef;
  z-index: 4;
}
#productDialog .dialog-top .round { width: 38px; height: 38px; }
#productDialog .detail-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(258px,42dvh,460px);
  max-height: 45dvh;
  min-height: 258px;
  margin: 0;
  padding: 12px 18px;
  overflow: hidden;
  aspect-ratio: auto;
  border-radius: 0;
  background: #f6f5f2;
}
#productDialog .detail-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
  filter: none !important;
}
#productDialog .detail-content {
  padding: 20px 20px 16px;
}
#productDialog .detail-content>.eyebrow {
  display: block;
  color: #777;
  font-size: 10px;
  letter-spacing: .08em;
}
#productDialog .detail-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 9px 0 10px;
}
#productDialog .detail-name h1 {
  min-width: 0;
  width: 100%;
  margin: 0;
  font-size: clamp(21px,6vw,27px);
  line-height: 1.19;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
#productDialog .detail-name>b {
  font-size: 20px;
  line-height: 1.25;
  white-space: normal;
  font-weight: 800;
}
#productDialog .detail-content p {
  margin: 8px 0 14px;
  color: #777;
  font-size: 12px;
  line-height: 1.65;
}
#productDialog .size-label { margin: 20px 0 10px; gap: 9px; }
#productDialog .sizes { display:flex; flex-wrap:wrap; gap:8px; }
#productDialog .size {
  min-width: 49px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #e4e4e1;
  border-radius: 13px;
  background: #f7f7f6;
  color: #191919;
  font-size: 12px;
  font-weight: 700;
}
#productDialog .size.selected {
  background: #151515;
  border-color: #151515;
  color: #fff;
}
#productDialog .detail-features { margin: 17px 0 0; }
#productDialog .detail-features li { padding: 10px 0; line-height: 1.55; }
#productDialog .detail-bottom {
  position: sticky;
  bottom: 0;
  display: flex;
  padding: 12px 18px calc(12px + var(--safe));
  border-top: 1px solid #eee;
  background: rgba(255,255,255,.98);
  backdrop-filter: none;
  z-index: 4;
}
#productDialog .detail-bottom .primary {
  min-height: 50px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13px;
}
/* Cart preview uses the same no-crop image treatment. */
.cart-item>button[data-product] img,
.cart-item img {
  object-fit: contain !important;
  background: #f6f5f2;
  padding: 5px;
}
@media(max-width:359px){
  .grid { gap: 18px 10px; }
  .grid .photo { border-radius: 12px; }
  .grid .photo img { padding: 6px; }
  #productDialog .detail-photo { min-height: 225px; height: 36dvh; padding: 10px; }
  #productDialog .detail-content { padding: 17px 15px; }
  #productDialog .detail-name h1 { font-size: 21px; }
}
@media(prefers-reduced-motion:reduce){
  .grid .card, .grid .card * { animation: none !important; transition: none !important; }
}
