*{box-sizing:border-box}html{scroll-behavior:smooth}:root{--bg:#f7f7fb;--surface:rgba(255,255,255,.82);--card:#fff;--text:#181824;--muted:#77778a;--line:rgba(24,24,36,.08);--brand:#725cff;--brand2:#a36bff;--soft:#f0edff;--green:#1f9f72;--danger:#dd5470;--shadow:0 24px 70px rgba(34,28,73,.10);--shadow2:0 12px 35px rgba(34,28,73,.07)}
body{margin:0;background:radial-gradient(circle at 8% 2%,rgba(143,117,255,.11),transparent 28%),radial-gradient(circle at 92% 12%,rgba(255,190,219,.15),transparent 26%),linear-gradient(180deg,#fcfbff 0,#f7f7fb 42%,#fafafe 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}.shell{width:min(1180px,calc(100% - 34px));margin:auto}.topbar{position:sticky;top:0;z-index:50;background:rgba(252,251,255,.72);backdrop-filter:blur(22px) saturate(150%);border-bottom:1px solid rgba(24,24,36,.055)}.nav{height:74px;display:flex;align-items:center;gap:22px}.logo{font-weight:950;letter-spacing:-.045em;text-decoration:none;color:var(--text);font-size:21px}.logo i{font-style:normal;color:var(--brand)}.navlinks{display:flex;gap:22px;margin-left:30px}.navlinks a,.minor{color:var(--muted);text-decoration:none;font-size:13px;font-weight:650;transition:.2s}.navlinks a:hover,.minor:hover{color:var(--text)}.nav-actions{margin-left:auto;display:flex;gap:9px;align-items:center}.cart-pill{position:relative}.cart-count{min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:var(--brand);color:#fff;display:inline-grid;place-items:center;font-size:10px;font-weight:900}.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:13px 18px;text-decoration:none;cursor:pointer;font-weight:850;font-size:13px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;box-shadow:0 10px 26px rgba(114,92,255,.22);transition:transform .22s ease,box-shadow .22s ease,filter .22s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 15px 32px rgba(114,92,255,.28);filter:saturate(1.06)}.btn:active{transform:translateY(0) scale(.98)}.btn.ghost{background:rgba(255,255,255,.8);color:var(--text);border:1px solid var(--line);box-shadow:none}.btn.ghost:hover{background:#fff;box-shadow:var(--shadow2)}.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.hero{padding:86px 0 66px;display:grid;grid-template-columns:1.12fr .88fr;gap:58px;align-items:center}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);font-weight:900}.eyebrow:before{content:"";width:18px;height:2px;border-radius:2px;background:currentColor}.hero h1{font-size:clamp(50px,7vw,84px);line-height:.94;letter-spacing:-.072em;margin:16px 0 24px;max-width:760px}.hero h1 .accent{background:linear-gradient(115deg,#6754f6,#a55df0 70%,#d27bb5);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{font-size:17px;line-height:1.74;color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}.hero-panel{position:relative;isolation:isolate;border-radius:34px;padding:28px;min-height:420px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,237,255,.9));border:1px solid rgba(114,92,255,.1);box-shadow:var(--shadow);overflow:hidden}.hero-panel:before{content:"";position:absolute;width:290px;height:290px;border-radius:50%;background:linear-gradient(135deg,rgba(114,92,255,.27),rgba(236,128,205,.18));filter:blur(2px);right:-80px;top:-80px;z-index:-1;animation:floatOrb 7s ease-in-out infinite}.hero-panel:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;border:1px solid rgba(114,92,255,.12);left:-55px;bottom:-40px;z-index:-1;animation:floatOrb 9s ease-in-out infinite reverse}.hero-badge{align-self:flex-start;padding:8px 12px;border-radius:99px;background:rgba(255,255,255,.78);border:1px solid rgba(114,92,255,.12);color:#6553e4;font-size:11px;font-weight:850;backdrop-filter:blur(8px)}.hero-metric{font-size:68px;font-weight:950;letter-spacing:-.07em}.hero-panel p{font-size:14px}.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:27px}.trust div{padding:15px;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:16px;font-size:11px;color:var(--muted);backdrop-filter:blur(8px);transition:.2s}.trust div:hover{transform:translateY(-3px);background:#fff}.trust b{display:block;color:var(--text);font-size:13px;margin-bottom:5px}.section{padding:68px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.section h2{font-size:clamp(34px,5vw,44px);letter-spacing:-.058em;margin:9px 0}.section-head p{color:var(--muted);max-width:560px;line-height:1.6}.catalog-tools{display:flex;gap:9px;flex-wrap:wrap}.search{min-width:250px;border:1px solid var(--line);background:rgba(255,255,255,.86);border-radius:13px;padding:12px 14px;font:inherit;outline:none;transition:.2s}.search:focus,.buybox input:focus,.support-form input:focus,.support-form select:focus,.support-form textarea:focus{border-color:rgba(114,92,255,.4);box-shadow:0 0 0 4px rgba(114,92,255,.08)}.filter{border:1px solid var(--line);background:rgba(255,255,255,.8);color:var(--muted);padding:10px 14px;border-radius:12px;font-weight:780;cursor:pointer;transition:.2s}.filter:hover{background:#fff;color:var(--text)}.filter.active{background:var(--text);color:#fff;border-color:var(--text)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{display:flex;flex-direction:column;background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:25px;overflow:hidden;box-shadow:0 8px 30px rgba(37,42,65,.03);transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s ease,border-color .3s ease}.product:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:rgba(114,92,255,.13)}.visual{aspect-ratio:16/10.4;background:linear-gradient(135deg,#eeeaff,#f9f4ff);position:relative;overflow:hidden}.visual:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(17,14,28,.16));pointer-events:none}.visual img{width:100%;height:100%;object-fit:cover;transition:transform .55s cubic-bezier(.2,.7,.2,1)}.product:hover .visual img{transform:scale(1.045)}.fallback{height:100%;display:flex;align-items:flex-end;padding:22px;font-size:58px;font-weight:950;color:rgba(75,68,150,.17)}.badge{position:absolute;left:14px;top:14px;z-index:2;padding:7px 10px;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-radius:99px;font-size:10px;font-weight:900}.heart{position:absolute;right:12px;top:12px;z-index:2;width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.5);background:rgba(255,255,255,.88);backdrop-filter:blur(10px);cursor:pointer;font-size:17px;transition:.2s}.heart:hover{transform:scale(1.08)}.heart.on{color:#e04d77;background:#fff0f5}.product-body{padding:19px;display:flex;flex-direction:column;flex:1}.product-title{font-size:20px;letter-spacing:-.036em;margin:0 0 7px}.product-desc{color:var(--muted);font-size:13px;line-height:1.58;min-height:41px}.chips{display:flex;gap:6px;flex-wrap:wrap;margin:13px 0}.chip{background:#f3f1f8;border-radius:9px;padding:6px 8px;color:#696779;font-size:10px;font-weight:780}.rating{font-size:12px;color:#94731c}.stock{font-size:11px;color:var(--green);font-weight:850}.product-bottom{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid var(--line)}.price{font-size:21px;font-weight:950;letter-spacing:-.035em}.product-bottom .btn{margin-left:auto;padding:10px 12px}.steps{display:grid;grid-template-columns:.9fr 1.1fr;gap:42px}.step-list{display:grid;gap:11px}.step{background:rgba(255,255,255,.84);border:1px solid var(--line);border-radius:19px;padding:18px;display:grid;grid-template-columns:46px 1fr;gap:14px;transition:.25s}.step:hover{transform:translateX(5px);box-shadow:var(--shadow2)}.step span{width:40px;height:40px;border-radius:13px;background:var(--soft);color:var(--brand);display:grid;place-items:center;font-weight:900}.step p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.review{background:rgba(255,255,255,.86);border:1px solid var(--line);border-radius:20px;padding:20px;transition:.25s}.review:hover{transform:translateY(-4px);box-shadow:var(--shadow2)}.review p{color:var(--muted);font-size:13px;line-height:1.65}.verified{color:var(--green);font-size:10px;font-weight:900;margin-top:4px}.faq details{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:16px;padding:17px 19px;margin-bottom:10px;transition:.2s}.faq details[open]{background:#fff;box-shadow:var(--shadow2)}.faq summary{font-weight:850;cursor:pointer}.faq p{color:var(--muted);line-height:1.65}.footer{border-top:1px solid var(--line);padding:30px 0 46px;color:var(--muted);font-size:12px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:18px}.product-hero{padding:64px 0;display:grid;grid-template-columns:1fr 1fr;gap:52px;align-items:center}.product-image{aspect-ratio:1.06;border-radius:30px;overflow:hidden;background:#edeefe;border:1px solid var(--line);position:relative;box-shadow:var(--shadow)}.product-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease}.product-image:hover img{transform:scale(1.035)}.product-copy h1{font-size:clamp(45px,6vw,64px);line-height:.98;letter-spacing:-.065em;margin:14px 0 18px}.buybox{margin-top:24px;border:1px solid rgba(114,92,255,.1);background:rgba(255,255,255,.9);border-radius:22px;padding:20px;box-shadow:var(--shadow2)}.buybox form{display:grid;gap:10px}.buybox input,.buybox select,.support-form input,.support-form select,.support-form textarea{width:100%;border:1px solid var(--line);background:#fbfbfd;border-radius:12px;padding:12px 13px;font:inherit;outline:none;transition:.2s}.promo-row{display:grid;grid-template-columns:1fr auto;gap:8px}.promo-note{font-size:11px;color:var(--muted);min-height:15px}.related{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mini-product{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px;text-decoration:none;color:var(--text);transition:.2s}.mini-product:hover{transform:translateY(-3px);box-shadow:var(--shadow2)}.orders{display:grid;gap:13px}.order-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px;display:grid;grid-template-columns:1fr auto;gap:16px;box-shadow:0 8px 25px rgba(20,20,40,.03)}.order-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.status{padding:7px 10px;border-radius:99px;background:#f0f1f5;font-size:10px;font-weight:900}.status.ok{color:var(--green);background:#eaf8f2}.forms-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 12px}.support-form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:19px}.support-form textarea{min-height:110px;resize:vertical}.cart-backdrop{position:fixed;inset:0;z-index:69;background:rgba(26,22,42,.2);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:.25s}.cart-backdrop.show{opacity:1;pointer-events:auto}.cart-drawer{position:fixed;right:16px;top:16px;bottom:16px;width:min(430px,calc(100% - 32px));z-index:70;background:rgba(255,255,255,.98);border:1px solid var(--line);border-radius:28px;padding:22px;box-shadow:0 35px 100px rgba(38,29,70,.22);transform:translateX(calc(100% + 36px));transition:transform .36s cubic-bezier(.2,.75,.2,1);display:flex;flex-direction:column}.cart-drawer.show{transform:translateX(0)}.cart-head{display:flex;align-items:center;justify-content:space-between}.cart-title{font-size:24px;font-weight:950;letter-spacing:-.04em}.cart-close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;cursor:pointer;font-size:20px}.cart-list{display:grid;gap:9px;margin:20px 0;overflow:auto;max-height:42vh}.cart-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:13px;border-radius:16px;background:#f7f6fb}.cart-item-name{font-weight:800;font-size:13px}.cart-item-meta{font-size:11px;color:var(--muted);margin-top:4px}.qty{display:flex;align-items:center;gap:7px}.qty button{width:28px;height:28px;border-radius:9px;border:1px solid var(--line);background:#fff;cursor:pointer}.cart-summary{margin-top:auto;border-top:1px solid var(--line);padding-top:17px}.cart-total{display:flex;justify-content:space-between;align-items:end;margin-bottom:13px}.cart-total strong{font-size:25px}.cart-checkout{display:grid;gap:9px}.cart-checkout input{width:100%;border:1px solid var(--line);background:#fbfbfd;border-radius:12px;padding:12px 13px;font:inherit;outline:none}.cart-empty{text-align:center;padding:50px 10px;color:var(--muted)}.cart-note{font-size:11px;line-height:1.5;color:var(--muted);margin-top:8px}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,18px);opacity:0;transition:.25s;background:#1c1a27;color:#fff;padding:11px 15px;border-radius:12px;font-size:12px;z-index:90;box-shadow:0 12px 35px rgba(0,0,0,.18)}.toast.show{opacity:1;transform:translate(-50%,0)}.reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}.reveal.visible{opacity:1;transform:none}@keyframes floatOrb{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-14px,18px,0)}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}
@media(max-width:900px){.hero,.product-hero,.steps{grid-template-columns:1fr}.grid,.reviews{grid-template-columns:repeat(2,1fr)}.hero-panel{min-height:310px}.trust{grid-template-columns:repeat(2,1fr)}.navlinks{display:none}}
@media(max-width:620px){.nav-actions .desktop-only{display:none}.hero{padding-top:52px}.hero h1{font-size:51px}.grid,.reviews,.related,.forms-grid{grid-template-columns:1fr}.section{padding:52px 0}.section h2{font-size:34px}.section-head{align-items:stretch;flex-direction:column}.catalog-tools{width:100%}.search{width:100%;min-width:0}.product-copy h1{font-size:44px}.footer-inner{align-items:flex-start;flex-direction:column}.order-card{grid-template-columns:1fr}.hero-panel{min-height:270px}.trust{grid-template-columns:1fr 1fr}.product-bottom{flex-wrap:wrap}.product-bottom .btn{margin-left:0}.cart-drawer{right:8px;top:8px;bottom:8px;width:calc(100% - 16px);border-radius:24px}}

/* Homepage builder overrides */
body.homepage{background:radial-gradient(circle at 8% 2%,color-mix(in srgb,var(--brand) 12%,transparent),transparent 28%),radial-gradient(circle at 92% 12%,color-mix(in srgb,var(--brand2) 13%,transparent),transparent 26%),linear-gradient(180deg,color-mix(in srgb,var(--bg) 96%,white) 0,var(--bg) 100%)}
.homepage .topbar{background:color-mix(in srgb,var(--bg) 78%,transparent)}
.homepage .product,.homepage .review,.homepage .step,.homepage .faq details{background:color-mix(in srgb,var(--card) 92%,transparent)}
.hero.hero-has-bg{padding:56px;border-radius:34px;background-size:cover;background-position:center;margin-top:32px;margin-bottom:18px;box-shadow:var(--shadow)}
.home-promo{padding-top:24px;padding-bottom:24px}.promo-banner{min-height:230px;border-radius:30px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:28px;background:linear-gradient(120deg,var(--text),var(--brand));background-size:cover;background-position:center;color:#fff;box-shadow:var(--shadow);overflow:hidden}.promo-banner h2{margin:9px 0 8px;color:#fff;max-width:720px}.promo-banner p{margin:0;color:rgba(255,255,255,.78);line-height:1.7;max-width:650px}.eyebrow.light{color:rgba(255,255,255,.82)}.promo-cta{background:#fff;color:var(--text);box-shadow:none;white-space:nowrap}.promo-cta:hover{background:#fff;color:var(--text)}
@media(max-width:760px){.hero.hero-has-bg{padding:28px 20px;border-radius:25px}.promo-banner{padding:28px 22px;align-items:flex-start;flex-direction:column}.promo-cta{white-space:normal}}

/* Compact homepage hero + standalone catalog */
.homepage .hero{padding:54px 0 42px;grid-template-columns:1.18fr .82fr;gap:48px}
.homepage .hero h1{font-size:clamp(46px,5.4vw,68px);line-height:.98;margin:13px 0 18px;max-width:700px}
.homepage .hero p{font-size:15.5px;line-height:1.68;max-width:610px}
.homepage .hero-actions{margin-top:22px}
.homepage .trust{margin-top:20px;gap:9px}
.homepage .trust div{padding:12px 14px;border-radius:14px}
.homepage .hero-panel{min-height:320px;border-radius:30px;padding:25px}
.homepage .hero-metric{font-size:58px}
.homepage .hero-panel:before{width:235px;height:235px}
.catalog-all{white-space:nowrap;margin-bottom:2px}
.catalog-hero{padding:64px 0 24px}
.catalog-hero h1{font-size:clamp(48px,7vw,78px);line-height:.96;letter-spacing:-.065em;margin:14px 0 16px}
.catalog-hero p{max-width:680px;color:var(--muted);font-size:16px;line-height:1.7}
.catalog-standalone{padding-top:30px}
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px;padding:14px;background:rgba(255,255,255,.62);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(14px)}
.catalog-search{flex:1;max-width:520px;background:#fff}
.active-link{color:var(--text)!important}
.catalog-empty{grid-column:1/-1;padding:60px;text-align:center;background:rgba(255,255,255,.75);border:1px solid var(--line);border-radius:24px}.catalog-empty p{color:var(--muted)}
@media(max-width:900px){.homepage .hero{padding-top:46px;gap:30px}.homepage .hero-panel{min-height:270px}.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-search{max-width:none}}
@media(max-width:620px){.homepage .hero h1{font-size:46px}.homepage .hero{padding-top:38px;padding-bottom:32px}.homepage .hero-panel{min-height:245px}.catalog-hero{padding-top:46px}.catalog-hero h1{font-size:48px}}

/* Product cards v2 — compact storefront cards */
.product-grid{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-catalog .section-head{margin-bottom:22px}
.home-product-grid{margin-top:4px}
.product-card{border-radius:22px;min-width:0;box-shadow:0 10px 35px rgba(32,27,57,.045);background:rgba(255,255,255,.94)}
.product-card:hover{transform:translateY(-5px);box-shadow:0 20px 48px rgba(48,38,94,.11)}
.product-cover{aspect-ratio:16/9;min-height:0;background:linear-gradient(145deg,#f0ecff,#f8f3ff 55%,#fff0f8)}
.product-cover:after{background:linear-gradient(180deg,transparent 64%,rgba(28,22,48,.09))}
.compact-fallback{height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:4px;padding:20px;background:radial-gradient(circle at 82% 18%,rgba(239,121,198,.18),transparent 30%),linear-gradient(145deg,#efecff,#f8f5ff 62%,#fff)}
.compact-fallback span{font-size:42px;font-weight:950;letter-spacing:-.07em;color:rgba(83,66,170,.24)}
.compact-fallback small{text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:900;color:rgba(77,69,112,.5)}
.product-card .heart{width:34px;height:34px;font-size:15px}
.product-card .product-body{padding:17px 17px 16px}
.product-meta-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.product-card .product-title{font-size:18px;margin:0;line-height:1.15}
.product-card .product-desc{min-height:0;margin-top:7px;font-size:12px;line-height:1.48}
.product-card .chips{margin:11px 0 9px;gap:5px}
.product-card .chip{padding:5px 7px;font-size:9px;border-radius:8px}
.product-card .rating{white-space:nowrap;font-size:11px}
.product-card .stock{margin-top:1px;font-size:10px}
.product-card .product-bottom{align-items:flex-end;justify-content:space-between;gap:12px;margin-top:14px;padding-top:13px}
.product-price-wrap{display:flex;flex-direction:column;gap:2px;min-width:0}
.product-card .price{font-size:22px;line-height:1.05;white-space:nowrap}
.product-price-wrap small{font-size:9px;color:var(--muted)}
.product-actions{display:flex;gap:7px;margin-left:auto}
.product-card .product-actions .btn{margin-left:0;padding:9px 11px;border-radius:11px;font-size:11px;box-shadow:none}
.product-card .details-btn{box-shadow:0 8px 18px rgba(114,92,255,.16)!important}
.catalog-product-grid{margin-top:0}
.catalog-page .product-card{background:#fff}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.product-grid{grid-template-columns:1fr;gap:14px}.product-cover{aspect-ratio:16/9}.product-card .product-bottom{align-items:center}.product-actions{gap:6px}.product-card .price{font-size:20px}}

/* Homepage v3 — soft, quiet, reduced visual noise */
body.homepage{
  background:#faf9fc;
  color:#24212d;
}
.homepage .topbar{
  background:rgba(250,249,252,.88);
  border-bottom:1px solid rgba(36,33,45,.055);
  backdrop-filter:blur(18px);
}
.homepage .nav{height:68px}
.homepage .navlinks{gap:24px}
.homepage .btn{border-radius:13px;box-shadow:none}
.homepage .btn:not(.ghost){background:#6558e8}
.homepage .btn:hover{box-shadow:0 8px 22px rgba(101,88,232,.16)}

.soft-hero{
  padding:74px 0 52px;
  overflow:hidden;
}
.soft-hero-has-bg{
  margin:24px auto 0;
  width:min(1240px,calc(100% - 28px));
  border-radius:32px;
  background-size:cover;
  background-position:center;
}
.soft-hero-inner{max-width:920px;margin-left:auto;margin-right:auto;text-align:center}
.soft-hero .eyebrow{justify-content:center;color:#766be8}
.soft-hero h1{
  max-width:900px;
  margin:14px auto 18px;
  font-size:clamp(44px,6vw,72px);
  line-height:1.01;
  letter-spacing:-.06em;
  font-weight:850;
}
.soft-hero p{
  max-width:680px;
  margin:0 auto;
  color:#777382;
  font-size:16px;
  line-height:1.7;
}
.soft-hero-actions{justify-content:center;margin-top:25px}
.soft-benefits{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:9px 20px;
  margin-top:22px;
  color:#8a8692;
  font-size:12px;
}
.soft-benefits span{white-space:nowrap}
.soft-benefits b{color:#54505d;font-weight:750}

.homepage .section{padding:54px 0}
.homepage .section h2{font-size:clamp(30px,4vw,40px);font-weight:820;letter-spacing:-.045em}
.homepage .section-head{margin-bottom:22px}
.homepage .section-head p{font-size:14px;line-height:1.65;color:#85818d}
.homepage .eyebrow{font-size:10px;letter-spacing:.12em;color:#756ae1}

/* Hide the promotional banner on the calm homepage even when old settings had it enabled. */
.homepage .home-promo{display:none}

.homepage .product-grid{gap:16px}
.homepage .product-card{
  border-radius:20px;
  border-color:rgba(36,33,45,.065);
  box-shadow:none;
  background:#fff;
}
.homepage .product-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(40,34,62,.07);
}
.homepage .product-cover{aspect-ratio:16/9;background:#f2f0f5}
.homepage .compact-fallback{
  background:linear-gradient(145deg,#f1eff7,#f7f5f8);
}
.homepage .compact-fallback span{font-size:34px;color:rgba(74,68,94,.17)}
.homepage .product-card .product-body{padding:15px}
.homepage .product-card .product-title{font-size:17px}
.homepage .product-card .product-desc{color:#85818d}
.homepage .chip{background:#f5f3f7;color:#777281}
.homepage .stock{color:#4b956f}
.homepage .product-card .details-btn{background:#6558e8!important;box-shadow:none!important}
.homepage .product-card .product-actions .btn{border-radius:10px}

.soft-how{background:#f6f4f8}
.soft-section-head{justify-content:flex-start;max-width:720px}
.soft-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.soft-steps article{
  background:transparent;
  border-top:1px solid rgba(36,33,45,.10);
  padding:20px 4px 4px;
}
.soft-steps span{display:block;color:#8e88a0;font-size:11px;font-weight:800;margin-bottom:14px}
.soft-steps b{display:block;font-size:16px;margin-bottom:7px}
.soft-steps p{margin:0;color:#85818d;font-size:13px;line-height:1.55}

.homepage .reviews{gap:12px}
.homepage .review{
  border-radius:18px;
  background:#fff;
  box-shadow:none;
  padding:18px;
}
.homepage .review:hover{transform:none;box-shadow:none}
.homepage .faq{max-width:850px}
.homepage .faq details{
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(36,33,45,.09);
  border-radius:0;
  padding:18px 2px;
  margin:0;
}
.homepage .faq details[open]{background:transparent;box-shadow:none}
.homepage .footer{background:#f6f4f8}

@media(max-width:900px){
  .soft-hero{padding:58px 0 42px}
  .soft-steps{grid-template-columns:1fr}
  .soft-steps article{padding-top:16px}
}
@media(max-width:620px){
  .homepage .nav{height:62px}
  .soft-hero{padding:44px 0 34px}
  .soft-hero h1{font-size:42px}
  .soft-hero p{font-size:14px}
  .soft-benefits{gap:7px 12px}
  .soft-benefits span{white-space:normal}
  .homepage .section{padding:42px 0}
}

/* Storefront v3: product editor / sales / gallery / waitlist */
.old-price{color:#9a96a7;text-decoration:line-through;font-size:13px;font-weight:700}.product-price-wrap .old-price{display:block;margin-top:2px}.sale-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#f3eaff;color:#7547d8;font-size:12px;font-weight:850}.stock-empty{color:#a06a78!important}.product-hero-v3{align-items:start}.product-media{min-width:0}.product-main-image{position:relative}.product-heart{position:absolute;right:16px;top:16px;z-index:3}.product-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:10px}.gallery-thumb{appearance:none;border:1px solid #ece8f2;background:#fff;border-radius:14px;padding:0;overflow:hidden;aspect-ratio:16/10;cursor:pointer;opacity:.72;transition:.18s ease}.gallery-thumb:hover,.gallery-thumb.active{opacity:1;border-color:#b9a8ef;box-shadow:0 8px 24px rgba(66,52,98,.08);transform:translateY(-1px)}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}.product-lead{font-size:16px!important;line-height:1.75!important}.price-line{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:15px}.price-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.restock-box{padding:16px;border-radius:18px;background:#fbfaff;border:1px solid #ece7f5}.restock-box form{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px}.restock-success{margin:10px 0;padding:10px 12px;border-radius:12px;background:#eefaf3;color:#24704a;font-weight:750}.product-info-section{padding-top:10px}.product-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.soft-info-card{padding:24px;border-radius:24px;background:rgba(255,255,255,.68);border:1px solid rgba(77,65,102,.08)}.soft-info-card h2{font-size:24px;margin:5px 0 14px}.preline{white-space:pre-line;line-height:1.7;color:#656171}.catalog-empty .btn{margin-top:14px}@media(max-width:780px){.product-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.product-info-grid{grid-template-columns:1fr}.restock-box form{grid-template-columns:1fr}.price-line{align-items:flex-start;flex-direction:column}}

/* Direct purchase buttons */
.product-actions{flex-wrap:wrap;align-items:center;justify-content:flex-end}
.buy-now-form{margin:0;display:inline-flex}
.product-card .buy-now-btn{background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;border-color:transparent;font-weight:800;box-shadow:0 8px 18px rgba(114,92,255,.18)}
.product-card .buy-now-btn:hover{transform:translateY(-1px);filter:brightness(1.03)}
@media(max-width:760px){.product-actions{width:100%;margin-left:0;justify-content:flex-start}.product-card .product-actions .btn{padding:9px 10px}}

/* Homepage: products first */
.homepage-direct-catalog{padding-top:30px}
.home-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
.home-catalog-search{display:flex;align-items:center;gap:10px;flex-wrap:wrap;flex:1}
.home-catalog-search .search{min-width:280px;max-width:430px;flex:1}
.homepage-direct-catalog .product-grid{margin-top:0}
@media(max-width:760px){.homepage-direct-catalog{padding-top:20px}.home-catalog-toolbar{align-items:stretch;flex-direction:column}.home-catalog-search{align-items:stretch;flex-direction:column}.home-catalog-search .search{min-width:0;max-width:none;width:100%}.home-catalog-toolbar .catalog-all{align-self:flex-start}}

/* Marketplace homepage exact-style redesign */
body.marketplace-home{background:#fff;color:#151426}
.market-shell{width:min(1480px,calc(100% - 48px));margin:0 auto}
.market-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.96);border-bottom:1px solid #ececf4;backdrop-filter:blur(14px)}
.market-nav{height:72px;display:grid;grid-template-columns:auto auto minmax(280px,1fr) auto;align-items:center;gap:28px}
.market-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#171628;min-width:max-content}.brand-orb{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#7d63ff,#5445da);color:#fff;font-size:26px;font-weight:900;box-shadow:0 8px 22px rgba(89,70,218,.2)}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:22px;letter-spacing:-.04em}.brand-copy small{margin-top:5px;font-size:7px;letter-spacing:.13em;color:#aaa6c5;font-weight:800}
.market-links{display:flex;align-items:center;gap:6px}.market-links a{padding:12px 14px;border-radius:12px;text-decoration:none;color:#2a2838;font-size:14px;font-weight:700;white-space:nowrap}.market-links a.active{background:#f0edff;color:#6250ea}.market-links a:hover{background:#f7f6fb}
.market-search{justify-self:center;width:min(100%,420px);height:46px;border:1px solid #e5e4ee;border-radius:13px;background:#fafafd;display:flex;align-items:center;padding:0 14px;gap:10px;box-shadow:0 2px 8px rgba(25,20,50,.025)}.market-search span{font-size:20px;color:#77738c}.market-search input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:14px;color:#232133}.market-search input::placeholder{color:#aaa7b7}
.market-actions{display:flex;align-items:center;gap:10px;justify-content:flex-end}.icon-action{position:relative;width:46px;height:46px;border:0;border-radius:14px;background:#f8f7fb;color:#202033;display:grid;place-items:center;text-decoration:none;font-size:24px;cursor:pointer}.cart-action{font-size:18px}.icon-action:hover{background:#f0edff}.login-action{height:46px;padding:0 17px;border-radius:14px;background:#f0edff;color:#5d4be3;text-decoration:none;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:800;white-space:nowrap}.market-actions .cart-count{position:absolute;right:-2px;top:-4px;background:#6b57f2;border:2px solid #fff}
.market-catalog{padding:24px 0 72px}.category-row{display:flex;align-items:center;gap:18px;margin-bottom:26px}.category-scroll{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none;flex:1}.category-scroll::-webkit-scrollbar{display:none}.category-chip{height:48px;border:1px solid #e5e4ec;border-radius:13px;background:#fff;color:#282636;padding:0 16px;display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;white-space:nowrap;cursor:pointer;transition:.18s}.category-chip span{font-size:15px;font-weight:900}.category-chip:hover{border-color:#cfc9f7;background:#fbfaff}.category-chip.active{background:linear-gradient(135deg,#7059f5,#5d4be4);color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(93,75,228,.18)}.market-sort{height:48px;min-width:205px;border:1px solid #e5e4ec;border-radius:13px;background:#fff;padding:0 42px 0 16px;color:#2b2938;font:inherit;font-size:14px;font-weight:650;outline:none}
.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.market-card{min-width:0;border:1px solid #e8e7ef;border-radius:20px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(29,25,53,.025);transition:.18s ease}.market-card:hover{transform:translateY(-3px);box-shadow:0 14px 36px rgba(31,25,63,.08);border-color:#dfdcec}.market-cover{position:relative;aspect-ratio:1.78/1;background:#f4f3f8;overflow:hidden}.market-cover img{width:100%;height:100%;object-fit:cover;display:block}.market-fallback{width:100%;height:100%;place-items:center;background:linear-gradient(145deg,#f2efff,#f8f8fb)}.market-fallback b{font-size:54px;color:#b8b2df}.market-fallback span{display:none}.discount-badge{position:absolute;left:16px;top:16px;min-width:54px;height:34px;padding:0 10px;border-radius:999px;background:#fff;color:#252336;display:grid;place-items:center;font-size:12px;font-weight:900;box-shadow:0 4px 15px rgba(20,20,40,.08)}.discount-badge.text-badge{min-width:auto}.market-heart{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#222036;font-size:22px;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(20,20,40,.08)}.market-heart.on{color:#6652ef;background:#f0edff}.market-card-body{padding:18px 18px 14px;display:flex;flex-direction:column;flex:1}.market-card-body h3{font-size:19px;line-height:1.2;letter-spacing:-.025em;margin:0 0 8px;font-weight:850}.market-card-body p{margin:0;color:#858190;font-size:13px;line-height:1.52;min-height:40px}.market-tag-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.market-tag-row span{padding:5px 9px;border-radius:999px;background:#f4f3f7;color:#777280;font-size:10px;font-weight:700}.market-stock{margin-top:14px;color:#2b9a62;font-size:11px;font-weight:850}.market-stock.empty{color:#bf5a6e}.market-card-footer{border-top:1px solid #ecebf1;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px}.market-price{display:flex;flex-direction:column;min-width:74px}.market-price strong{font-size:22px;line-height:1;color:#141321}.market-price del{font-size:11px;color:#aaa6b4;margin-top:5px}.market-card-actions{display:flex;align-items:center;gap:8px}.market-card-actions form{margin:0}.market-btn{height:40px;padding:0 14px;border-radius:11px;border:1px solid transparent;text-decoration:none;font:inherit;font-size:12px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;white-space:nowrap;transition:.16s}.market-btn.primary{background:linear-gradient(135deg,#725cff,#5b48e4);color:#fff;box-shadow:0 8px 18px rgba(98,77,232,.16)}.market-btn.secondary{background:#fff;border-color:#e5e3ec;color:#211f2e}.market-btn.pale{background:#f0edff;color:#6852ec}.market-btn:hover{transform:translateY(-1px)}
.marketplace-home .soft-how{margin-top:12px}.marketplace-home .section{padding:58px 0}.marketplace-home .footer{margin-top:20px}
@media(max-width:1250px){.market-nav{grid-template-columns:auto 1fr auto}.market-links{display:none}.market-search{justify-self:stretch;width:100%}.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.market-shell{width:min(100% - 24px,1480px)}.market-nav{height:auto;min-height:68px;grid-template-columns:auto 1fr auto;gap:12px;padding:10px 0}.market-search{grid-column:1/-1;grid-row:2}.login-action{display:none}.category-row{align-items:stretch;flex-direction:column}.market-sort{align-self:flex-end}.market-grid{grid-template-columns:1fr}.market-card-footer{align-items:flex-start;flex-direction:column}.market-card-actions{width:100%}.market-btn{flex:1}.market-card-actions form{display:flex;flex:1}.market-card-actions form .market-btn{width:100%}}
@media(max-width:520px){.brand-copy small{display:none}.brand-copy strong{font-size:19px}.brand-orb{width:38px;height:38px;font-size:23px}.icon-action{width:40px;height:40px;border-radius:12px}.market-actions{gap:6px}.market-catalog{padding-top:16px}.category-chip{height:42px;padding:0 13px;font-size:12px}.market-card-body h3{font-size:17px}.market-card-actions{display:grid;grid-template-columns:1fr 1fr}.market-card-actions form{display:block}.market-btn{width:100%}.market-btn.pale{grid-column:1/-1}}

/* Marketplace card sizing fix: match the approved storefront proportions */
.marketplace-home .market-shell{width:min(1492px,calc(100% - 56px))}
.marketplace-home .market-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.marketplace-home .market-card{border-radius:18px}
.marketplace-home .market-cover{aspect-ratio:1.96/1;min-height:0;background:#f4f3f8}
.marketplace-home .market-cover img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.marketplace-home .market-card-body{padding:17px 17px 13px}
.marketplace-home .market-card-body h3{font-size:19px;line-height:1.18}
.marketplace-home .market-card-footer{padding:13px 16px}
@media(max-width:1250px){.marketplace-home .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.marketplace-home .market-shell{width:min(100% - 24px,1492px)}.marketplace-home .market-grid{grid-template-columns:1fr}.marketplace-home .market-cover{aspect-ratio:1.82/1}}


/* 2026 compact storefront — matches approved 5-column reference */
body.marketplace-home{background:#fff}
.marketplace-home .market-shell{width:min(1510px,calc(100% - 48px))}
.marketplace-home .market-header{box-shadow:0 1px 0 rgba(26,22,52,.03)}
.marketplace-home .market-nav{height:68px;gap:22px}
.marketplace-home .brand-orb{width:40px;height:40px;font-size:24px}
.marketplace-home .brand-copy strong{font-size:20px}
.marketplace-home .market-search{max-width:460px;height:44px}
.marketplace-home .market-catalog{padding:14px 0 64px}
.marketplace-home .category-row{margin-bottom:14px;gap:16px}
.marketplace-home .category-scroll{gap:9px}
.marketplace-home .category-chip{height:44px;padding:0 15px;border-radius:12px}
.marketplace-home .market-sort{height:44px;min-width:190px;border-radius:12px}

/* five compact cards on wide desktop */
.marketplace-home .market-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}
.marketplace-home .market-card{
  border-radius:16px;
  min-width:0;
  box-shadow:0 2px 8px rgba(28,23,55,.035);
}
.marketplace-home .market-card:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(31,25,63,.075);
}
.marketplace-home .market-cover{
  aspect-ratio:1.82/1;
  min-height:0;
  background:#f3f1fb;
}
.marketplace-home .market-cover img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block;
}
.marketplace-home .discount-badge{
  left:10px;top:10px;height:30px;min-width:48px;padding:0 9px;font-size:11px;
}
.marketplace-home .market-heart{
  right:10px;top:10px;width:34px;height:34px;font-size:19px;
}
.marketplace-home .market-fallback b{font-size:38px}
.marketplace-home .market-card-body{padding:12px 13px 10px}
.marketplace-home .market-card-body h3{
  font-size:15px;line-height:1.22;margin:0 0 6px;font-weight:850;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:36px;
}
.marketplace-home .market-card-body p{
  font-size:11.5px;line-height:1.38;min-height:32px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.marketplace-home .market-tag-row{margin-top:9px;gap:5px}
.marketplace-home .market-tag-row span{padding:4px 7px;font-size:9px}
.marketplace-home .market-stock{margin-top:9px;font-size:10px}
.marketplace-home .market-card-footer{
  padding:10px 11px 11px;gap:8px;align-items:flex-end;flex-direction:column;
}
.marketplace-home .market-price{
  width:100%;min-width:0;flex-direction:row;align-items:baseline;gap:8px;
}
.marketplace-home .market-price strong{font-size:20px}
.marketplace-home .market-price del{font-size:10px;margin:0}
.marketplace-home .market-card-actions{display:grid;grid-template-columns:1fr 1.18fr;gap:6px;width:100%}
.marketplace-home .market-card-actions form{display:flex;margin:0;min-width:0}
.marketplace-home .market-btn{height:36px;padding:0 8px;border-radius:9px;font-size:10.5px;width:100%}
.marketplace-home .market-btn.pale{grid-column:1/-1}
.marketplace-home .market-card-actions form .market-btn{width:100%}

/* If all three actions fit, keep "Подробнее" compact on larger 5-col cards */
@media(min-width:1420px){
  .marketplace-home .market-card-actions{
    grid-template-columns:1fr 1.18fr 1.08fr;
  }
  .marketplace-home .market-btn.pale{grid-column:auto}
  .marketplace-home .market-btn{font-size:10px;padding:0 6px}
}
@media(max-width:1399px){
  .marketplace-home .market-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
}
@media(max-width:1120px){
  .marketplace-home .market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .marketplace-home .market-shell{width:min(100% - 24px,1510px)}
  .marketplace-home .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .marketplace-home .market-card-footer{align-items:flex-end;flex-direction:column}
}
@media(max-width:560px){
  .marketplace-home .market-grid{grid-template-columns:1fr}
  .marketplace-home .market-cover{aspect-ratio:1.9/1}
}
/* Product page marketplace redesign */
.product-market-main{padding:18px 0 64px}.product-breadcrumb{display:flex;align-items:center;gap:10px;color:#88849a;font-size:12px;margin:2px 0 18px}.product-breadcrumb a{color:#6652ef;text-decoration:none}.pm-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.16fr);gap:30px;align-items:start}.pm-main-image{position:relative;overflow:hidden;border-radius:12px;background:#f2efff;aspect-ratio:1.85/1}.pm-main-image img{width:100%;height:100%;object-fit:cover;display:block}.pm-image-fallback{width:100%;height:100%;display:grid;place-items:center;font-size:80px;font-weight:900;color:#b8b2df}.pm-discount{position:absolute;left:12px;top:12px;background:#fff;color:#6752ee;border-radius:999px;padding:9px 12px;font-weight:900}.pm-heart{position:absolute;right:12px;top:12px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;font-size:23px;box-shadow:0 5px 18px #19152b1a}.pm-thumbs{display:flex;gap:9px;margin-top:10px;overflow:auto}.pm-thumbs button{border:2px solid transparent;border-radius:9px;overflow:hidden;padding:0;background:#fff;width:112px;aspect-ratio:1.75/1;flex:none;cursor:pointer}.pm-thumbs button.active{border-color:#6652ef}.pm-thumbs img{width:100%;height:100%;object-fit:cover}.pm-status-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.pm-status-row span,.pm-tags span{border-radius:999px;padding:7px 11px;font-size:11px;font-weight:750;background:#f4f3f8}.pm-instock{color:#1f985b!important;background:#effaf4!important}.pm-auto{color:#6652ef!important;background:#f0edff!important}.pm-info h1{font-size:38px;line-height:1.06;letter-spacing:-.04em;margin:0 0 7px}.pm-info h2{font-size:16px;color:#77728a;margin:0 0 16px}.pm-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;color:#88849a;font-size:12px;margin-bottom:17px}.pm-meta b{color:#f3a900}.pm-description{color:#747083;line-height:1.55;font-size:14px}.pm-tags{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.pm-price{display:flex;align-items:center;gap:12px;margin:24px 0}.pm-price strong{font-size:34px}.pm-price del{color:#aaa6b6;font-weight:700}.pm-price>span{background:#f0edff;color:#6652ef;padding:7px 10px;border-radius:999px;font-weight:800}.pm-buy-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pm-buy-form{margin:0}.pm-buy-now,.pm-add-cart{height:66px;width:100%;border-radius:12px;border:1px solid #dcd7ff;display:flex;align-items:center;justify-content:center;gap:12px;font:inherit;cursor:pointer}.pm-buy-now{border:0;background:linear-gradient(135deg,#725cff,#5845ec);color:#fff;font-size:20px}.pm-add-cart{background:#fff;color:#6250e8;font-size:20px}.pm-buy-row span{display:flex;flex-direction:column;text-align:left}.pm-buy-row b{font-size:14px}.pm-buy-row small{font-size:10px;font-weight:500;opacity:.75}.pm-benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.pm-benefits article{border:1px solid #e8e6ef;border-radius:12px;padding:15px;display:flex;gap:12px;align-items:center;background:#fff}.pm-benefits article>span{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#f2efff;font-size:21px;flex:none}.pm-benefits b{font-size:13px}.pm-benefits p{margin:4px 0 0;color:#88849a;font-size:11px;line-height:1.35}.pm-details{border:1px solid #e7e5ee;border-radius:14px;padding:12px;background:#fff}.pm-tabs{display:flex;background:#f6f5fa;border-radius:11px;padding:4px;overflow:auto}.pm-tabs button{border:0;background:transparent;padding:11px 24px;border-radius:9px;font:inherit;font-size:12px;font-weight:750;color:#6e6a7e;white-space:nowrap;cursor:pointer}.pm-tabs button.active{background:linear-gradient(135deg,#725cff,#5845ec);color:#fff}.pm-tab-panel{display:none;padding:16px 3px 3px}.pm-tab-panel.active{display:block}.pm-tab-panel h3{margin:0 0 12px;font-size:16px}.pm-description-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.pm-description-grid>article{border:1px solid #eceaf1;border-radius:10px;padding:14px}.pm-description-grid p,.pm-tab-panel p{color:#777286;line-height:1.5;font-size:12px}.pm-description-grid ul{list-style:none;padding:0;margin:10px 0}.pm-description-grid li{margin:8px 0;color:#656176;font-size:12px}.pm-shot-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pm-shot-grid img{width:100%;aspect-ratio:1.7/1;object-fit:cover;border-radius:8px}.pm-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:10px}.pm-steps article{min-width:0}.pm-steps strong{font-size:27px;display:block;margin-bottom:12px}.pm-steps b{font-size:13px}.pm-steps p{font-size:11px}.pm-benefits-inner{margin:0}.pm-preline{white-space:pre-line;color:#6f6a7e;font-size:12px;line-height:1.6}.product-market-page .reviews{grid-template-columns:repeat(3,1fr)}
@media(max-width:1000px){.pm-hero{grid-template-columns:1fr}.pm-benefits{grid-template-columns:repeat(2,1fr)}.pm-description-grid{grid-template-columns:1fr}.pm-steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.pm-info h1{font-size:29px}.pm-buy-row{grid-template-columns:1fr}.pm-benefits{grid-template-columns:1fr}.pm-steps{grid-template-columns:1fr}.pm-shot-grid{grid-template-columns:repeat(2,1fr)}.pm-tabs button{padding:10px 14px}}

/* Product card: image and title open product page */
.market-cover-link{display:block;width:100%;height:100%;text-decoration:none;color:inherit;cursor:pointer}
.market-cover-link img,.market-cover-link .market-fallback{width:100%;height:100%}
.market-cover-link:hover img{transform:scale(1.025)}
.market-cover-link img{transition:transform .22s ease}
.market-title-link{color:inherit;text-decoration:none}
.market-title-link:hover{color:#6652ef}
.market-heart,.discount-badge{z-index:3}

/* Commerce completion pack */
.search-suggest{position:absolute;top:58px;left:50%;transform:translateX(-50%);width:min(460px,42vw);background:#fff;border:1px solid #e7e6ef;border-radius:15px;box-shadow:0 20px 55px rgba(28,23,55,.14);padding:7px;display:none;z-index:120}.market-nav{position:relative}.search-suggest.show{display:block}.suggest-item{display:flex;gap:10px;align-items:center;padding:9px;border-radius:11px;text-decoration:none;color:#242231}.suggest-item:hover{background:#f6f4ff}.suggest-thumb{width:48px;height:34px;border-radius:8px;object-fit:cover;background:#eee}.suggest-copy{min-width:0;display:grid}.suggest-copy b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggest-copy small{font-size:10px;color:#8e8a99}.checkout-page{background:#f7f8fc}.checkout-nav{grid-template-columns:auto 1fr}.checkout-back{justify-self:end;color:#5f5b70;text-decoration:none;font-size:13px;font-weight:750}.checkout-shell{width:min(1080px,calc(100% - 32px));margin:42px auto;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr);gap:24px;align-items:start}.checkout-product-card,.checkout-summary{background:#fff;border:1px solid #e7e7ef;border-radius:24px;box-shadow:0 15px 45px rgba(30,25,60,.055)}.checkout-product-card{overflow:hidden}.checkout-cover{aspect-ratio:1.8/1;background:#f0eff6}.checkout-cover img{width:100%;height:100%;object-fit:cover}.checkout-product-info{padding:24px}.checkout-kicker{font-size:11px;color:#6854eb;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.checkout-product-info h1{font-size:30px;letter-spacing:-.04em;margin:8px 0}.checkout-product-info p{color:#7b7786;line-height:1.6}.checkout-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.checkout-chips span{background:#f5f3fb;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.checkout-summary{padding:24px;position:sticky;top:92px}.checkout-summary-head{display:flex;align-items:end;justify-content:space-between;gap:16px;padding-bottom:18px;border-bottom:1px solid #ecebf2}.checkout-summary-head>span{font-size:13px;color:#777384;font-weight:750}.checkout-price{display:flex;align-items:baseline;gap:9px}.checkout-price strong{font-size:30px}.checkout-price del{font-size:12px;color:#aaa6b4}.checkout-stock{margin:14px 0;font-size:11px;font-weight:850}.checkout-stock.ok{color:#249a61}.checkout-stock.bad{color:#bf5a6e}.checkout-form{display:grid;gap:8px}.checkout-form label{font-size:11px;font-weight:850;margin-top:8px}.checkout-form label span{font-weight:500;color:#aaa6b4}.checkout-form input{height:44px;border:1px solid #e4e3eb;border-radius:11px;padding:0 12px;background:#fbfbfd;outline:none}.checkout-promo{display:grid;grid-template-columns:1fr auto;gap:7px}.checkout-pay-btn{height:50px;border:0;border-radius:13px;background:linear-gradient(135deg,#7059f5,#5948e1);color:#fff;font-weight:900;font-size:13px;cursor:pointer;margin-top:9px;box-shadow:0 10px 25px rgba(93,75,228,.20)}.checkout-pay-btn:disabled{opacity:.45;cursor:not-allowed}.checkout-safe{display:flex;gap:10px;margin-top:16px;padding:13px;border-radius:13px;background:#f5f9f7}.checkout-safe>span{color:#259a61}.checkout-safe div{display:grid;gap:3px}.checkout-safe b{font-size:11px}.checkout-safe small{font-size:9px;line-height:1.45;color:#7e837f}@media(max-width:760px){.search-suggest{top:112px;width:100%;left:0;transform:none}.checkout-shell{grid-template-columns:1fr;margin-top:20px}.checkout-summary{position:static}.checkout-back{font-size:11px}.checkout-product-info h1{font-size:25px}}

/* Production polish pack */
.error-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 50% 10%,#eeeaff,transparent 38%),#f8f9fd;color:#1e1c29}.error-shell{text-align:center;width:min(520px,calc(100% - 32px));padding:44px;background:#fff;border:1px solid #e8e7ef;border-radius:28px;box-shadow:0 25px 70px rgba(35,29,70,.08)}.error-brand{display:inline-flex;align-items:center;gap:8px;color:#242130;text-decoration:none;font-weight:900}.error-brand span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#6753eb;color:#fff}.error-code{font-size:76px;font-weight:950;letter-spacing:-.08em;color:#6753eb;margin-top:28px}.error-shell h1{font-size:28px;margin:5px 0 8px}.error-shell p{color:#777384;line-height:1.6}.error-actions{display:flex;gap:9px;justify-content:center;margin-top:24px}.error-actions .btn{display:inline-flex;text-decoration:none}.mobile-buybar{display:none}@media(max-width:600px){html,body{overflow-x:hidden}.market-shell,.container{max-width:100%}.pm-hero{gap:18px}.pm-main-image{border-radius:18px}.pm-info h1{font-size:26px!important}.pm-details{border-radius:18px}.pm-tabs{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}.pm-tabs button{white-space:nowrap}.mobile-buybar{position:fixed;z-index:90;left:10px;right:10px;bottom:10px;display:flex;align-items:center;gap:10px;padding:10px 10px 10px 14px;background:rgba(255,255,255,.96);border:1px solid #e7e5ee;border-radius:17px;box-shadow:0 14px 45px rgba(30,25,60,.18);backdrop-filter:blur(15px)}.mobile-buybar strong{font-size:18px;margin-right:auto}.mobile-buybar a,.mobile-buybar button{min-height:42px;border:0;border-radius:11px;background:#6652eb;color:#fff;padding:0 17px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center}.product-market-main{padding-bottom:88px}}

/* ===== AMATEO: LARGE 4-COLUMN CATALOG ===== */

/* Расширяем каталог на больших экранах */
.catalog-page .shell {
    width: min(1320px, calc(100% - 40px));
}

/* Ровно 4 большие карточки */
.catalog-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* Обложка товара */
.catalog-page .product-cover {
    aspect-ratio: 474 / 242;
}

/* Более крупное название */
.catalog-page .product-card .product-title {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -0.025em;
}

/* Немного больше внутреннего пространства */
.catalog-page .product-card .product-body {
    padding: 18px;
}

/* Цена чуть заметнее */
.catalog-page .product-card .price {
    font-size: 23px;
}

/* Планшет */
@media (max-width: 1050px) {
    .catalog-page .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Телефон */
@media (max-width: 620px) {
    .catalog-page .shell {
        width: min(100% - 24px, 1320px);
    }

    .catalog-page .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .catalog-page .product-card .product-title {
        font-size: 19px;
    }
}


/* ===== CLEAN PRODUCT INFO V2 ===== */

.pm-clean-top{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    max-width:720px;
    line-height:1.55;
    font-size:13px;
    color:#706b7b;
}

.pm-clean-info{
    max-width:760px;
}

.pm-clean-intro{
    color:#625d6d;
    font-size:13px;
    line-height:1.65;
    margin-bottom:18px;
}

.pm-clean-section{
    margin-top:18px;
}

.pm-clean-section h4{
    margin:0 0 10px;
    font-size:14px;
    color:#262330;
}

.pm-clean-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px 22px;
}

.pm-clean-item{
    display:flex;
    gap:8px;
    align-items:flex-start;
    padding:5px 0;
}

.pm-clean-item>span{
    flex:0 0 18px;
    width:18px;
    height:18px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#ecf9f0;
    color:#159447;
    font-size:11px;
    font-weight:900;
    margin-top:1px;
}

.pm-clean-item p{
    margin:0;
    color:#575360;
    font-size:12px;
    line-height:1.5;
}

.pm-clean-warning{
    padding:13px 15px;
    border-radius:12px;
    background:#fff9ea;
    border:1px solid #f1dfa7;
}

.pm-clean-warning h4{
    color:#7b5a00;
    margin-bottom:6px;
}

.pm-clean-warning-text{
    color:#685d3f;
    font-size:12px;
    line-height:1.6;
}

@media(max-width:700px){
    .pm-clean-list{
        grid-template-columns:1fr;
    }
}


/* =========================================================
   AMATEO CATALOG REDESIGN V1
   ========================================================= */

.catalog-page{
    background:#f7f7fb;
}

/* ---------- HEADER ---------- */

.catalog-page .topbar{
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(18px);
    border-bottom:1px solid #ececf3;
}

.catalog-page .nav{
    min-height:72px;
}

.catalog-page .logo{
    font-size:23px;
    font-weight:900;
    letter-spacing:-.045em;
}

.catalog-page .navlinks{
    gap:4px;
}

.catalog-page .navlinks a{
    border-radius:11px;
    padding:10px 13px;
    font-size:13px;
    font-weight:750;
}

.catalog-page .navlinks .active-link{
    background:#eeeaff;
    color:#5e4be8;
}

/* ---------- HERO ---------- */

.catalog-page .catalog-hero{
    padding:46px 0 30px;
    background:
        radial-gradient(circle at 15% 10%,rgba(111,87,255,.09),transparent 30%),
        #fff;
    border-bottom:1px solid #efedf5;
}

.catalog-page .catalog-hero .shell{
    max-width:1320px;
}

.catalog-page .catalog-hero .eyebrow{
    margin-bottom:9px;
    color:#6654e8;
    font-weight:850;
    letter-spacing:.12em;
}

.catalog-page .catalog-hero h1{
    margin:0;
    font-size:clamp(36px,4vw,52px);
    line-height:1;
    letter-spacing:-.055em;
    font-weight:900;
    color:#171522;
}

.catalog-page .catalog-hero p{
    max-width:620px;
    margin:14px 0 0;
    color:#777382;
    font-size:14px;
    line-height:1.65;
}

/* ---------- CATALOG AREA ---------- */

.catalog-page .catalog-standalone{
    padding:28px 0 70px;
}

.catalog-page .catalog-standalone>.shell{
    width:min(1320px,calc(100% - 40px));
}

/* ---------- SEARCH + FILTERS ---------- */

.catalog-page .catalog-toolbar{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:24px;
    padding:10px;
    background:#fff;
    border:1px solid #e9e8f0;
    border-radius:18px;
    box-shadow:0 8px 30px rgba(38,31,69,.04);
}

.catalog-page .catalog-search{
    flex:1;
    min-width:240px;
    height:46px;
    padding:0 17px;
    border:0;
    border-radius:12px;
    background:#f6f6fa;
    outline:none;
    font-size:14px;
}

.catalog-page .catalog-search:focus{
    background:#fff;
    box-shadow:inset 0 0 0 2px rgba(101,82,232,.20);
}

.catalog-page .catalog-tools{
    display:flex;
    gap:6px;
}

.catalog-page .filter{
    height:42px;
    padding:0 16px;
    border:0;
    border-radius:11px;
    background:transparent;
    color:#696574;
    font-weight:750;
    cursor:pointer;
    transition:.18s ease;
}

.catalog-page .filter:hover{
    background:#f4f2fa;
    color:#332e46;
}

.catalog-page .filter.active{
    background:#6554e8;
    color:#fff;
    box-shadow:0 6px 16px rgba(101,84,232,.20);
}

/* ---------- 4 PRODUCT GRID ---------- */

.catalog-page .product-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}

/* ---------- CARD ---------- */

.catalog-page .product-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;

    background:#fff;
    border:1px solid #e9e8ef;
    border-radius:18px;

    box-shadow:
        0 2px 4px rgba(27,23,43,.02),
        0 8px 24px rgba(27,23,43,.035);

    transition:
        transform .20s ease,
        box-shadow .20s ease,
        border-color .20s ease;
}

.catalog-page .product-card:hover{
    transform:translateY(-4px);
    border-color:#ded9ef;
    box-shadow:0 18px 42px rgba(35,27,70,.09);
}

/* ---------- COVER ---------- */

.catalog-page .product-cover{
    position:relative;
    width:100%;
    aspect-ratio:474/242;
    overflow:hidden;
    background:#eeeef3;
    border-radius:0;
}

.catalog-page .product-cover img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:transform .35s ease;
}

.catalog-page .product-card:hover .product-cover img{
    transform:scale(1.025);
}

.catalog-page .badge{
    position:absolute;
    left:12px;
    top:12px;
    min-height:30px;
    display:flex;
    align-items:center;
    padding:0 10px;
    border-radius:999px;
    background:#fff;
    color:#332c49;
    font-size:11px;
    font-weight:900;
    box-shadow:0 4px 15px rgba(20,17,34,.10);
}

.catalog-page .heart{
    position:absolute;
    right:12px;
    top:12px;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#383344;
    font-size:17px;
    cursor:pointer;
    box-shadow:0 4px 14px rgba(22,18,36,.10);
    transition:.18s ease;
}

.catalog-page .heart:hover{
    transform:scale(1.07);
    color:#6754ea;
}

/* ---------- BODY ---------- */

.catalog-page .product-card .product-body{
    flex:1;
    display:flex;
    flex-direction:column;
    padding:17px 17px 16px;
}

.catalog-page .product-meta-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
}

.catalog-page .product-card .product-title{
    margin:0;
    color:#181620;
    font-size:19px;
    line-height:1.2;
    letter-spacing:-.035em;
    font-weight:900;
}

.catalog-page .rating{
    flex:none;
    color:#e79b00;
    font-size:12px;
    font-weight:850;
}

/* Description */

.catalog-page .product-desc{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;

    min-height:38px;
    margin-top:11px;

    color:#85808e;
    font-size:12px;
    line-height:1.55;
}

/* Platform pills */

.catalog-page .chips{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:13px;
}

.catalog-page .chip{
    padding:5px 8px;
    border-radius:7px;
    background:#f4f3f7;
    color:#696572;
    font-size:10px;
    font-weight:750;
}

/* Stock */

.catalog-page .stock{
    margin-top:11px;
    color:#21945b;
    font-size:11px;
    font-weight:800;
}

.catalog-page .stock-empty{
    color:#b66772!important;
}

/* ---------- PRICE / ACTION AREA ---------- */

.catalog-page .product-bottom{
    margin-top:auto;
    padding-top:15px;
    border-top:1px solid #f0eef4;
}

.catalog-page .product-price-wrap{
    min-height:36px;
    display:flex;
    align-items:baseline;
    gap:8px;
    flex-wrap:wrap;
}

.catalog-page .product-card .price{
    color:#17141e;
    font-size:22px;
    line-height:1;
    letter-spacing:-.04em;
    font-weight:900;
}

.catalog-page .old-price{
    color:#aaa6b2;
    font-size:11px;
}

.catalog-page .product-price-wrap>small:not(.old-price){
    width:100%;
    color:#9995a2;
    font-size:10px;
}

/* ---------- BUTTONS ---------- */

.catalog-page .product-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
    width:100%;
    margin-top:13px;
}

.catalog-page .buy-now-form{
    display:block;
    width:100%;
}

.catalog-page .product-actions .btn{
    width:100%;
    min-height:39px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:8px 10px;
    border-radius:10px;
    font-size:11px;
    font-weight:850;
    text-decoration:none;
    white-space:nowrap;
}

.catalog-page .buy-now-btn{
    background:#6554e8!important;
    color:#fff!important;
    border-color:#6554e8!important;
    box-shadow:none!important;
}

.catalog-page .buy-now-btn:hover{
    background:#5848d8!important;
}

.catalog-page .add-cart-btn{
    background:#fff;
    border:1px solid #dedbe8;
    color:#312d3c;
}

.catalog-page .details-btn{
    grid-column:1/-1;
    min-height:34px!important;
    background:#f3f1ff!important;
    color:#6250e7!important;
    border:0!important;
}

/* Products without a price/button */
.catalog-page .product-actions .details-btn:only-child{
    grid-column:1/-1;
    min-height:39px!important;
}

/* ---------- FOOTER ---------- */

.catalog-page .footer{
    margin-top:0;
    background:#fff;
    border-top:1px solid #eceaf2;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:1100px){
    .catalog-page .product-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:820px){
    .catalog-page .catalog-toolbar{
        align-items:stretch;
        flex-direction:column;
    }

    .catalog-page .catalog-tools{
        overflow-x:auto;
        padding-bottom:2px;
    }

    .catalog-page .filter{
        flex:none;
    }

    .catalog-page .product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .catalog-page .catalog-hero{
        padding:32px 0 22px;
    }

    .catalog-page .catalog-standalone>.shell{
        width:calc(100% - 24px);
    }

    .catalog-page .product-grid{
        grid-template-columns:1fr;
        gap:14px;
    }

    .catalog-page .product-card .product-title{
        font-size:18px;
    }
}


/* =====================================================
   AMATEO HOME PRODUCT CARDS V1
   Только главная страница
   ===================================================== */

.homepage.marketplace-home:not(.product-market-page) .market-catalog{
    padding:28px 0 55px;
    background:#f8f8fb;
}

.homepage.marketplace-home:not(.product-market-page) .market-shell{
    width:min(1320px,calc(100% - 40px));
    max-width:1320px;
}

/* Категории */

.homepage.marketplace-home:not(.product-market-page) .category-row{
    margin-bottom:24px;
    padding:8px;
    border:1px solid #ebeaf0;
    border-radius:16px;
    background:#fff;
}

.homepage.marketplace-home:not(.product-market-page) .category-chip{
    min-height:40px;
    padding:0 14px;
    border:0;
    border-radius:10px;
    background:transparent;
    color:#706c79;
    font-size:12px;
    font-weight:750;
}

.homepage.marketplace-home:not(.product-market-page) .category-chip:hover{
    background:#f5f3fa;
}

.homepage.marketplace-home:not(.product-market-page) .category-chip.active{
    background:#6654e8;
    color:#fff;
    box-shadow:0 5px 14px rgba(102,84,232,.18);
}

.homepage.marketplace-home:not(.product-market-page) .market-sort{
    min-height:40px;
    border:0;
    border-radius:10px;
    background:#f5f4f8;
}

/* 4 товара в ряд */

.homepage.marketplace-home:not(.product-market-page) .market-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
    align-items:stretch;
}

/* Карточка */

.homepage.marketplace-home:not(.product-market-page) .market-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;

    background:#fff;
    border:1px solid #e8e7ed;
    border-radius:18px;

    box-shadow:0 5px 20px rgba(31,27,48,.045);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.homepage.marketplace-home:not(.product-market-page) .market-card:hover{
    transform:translateY(-4px);
    border-color:#dcd8e9;
    box-shadow:0 16px 36px rgba(35,29,62,.09);
}

/* Обложка */

.homepage.marketplace-home:not(.product-market-page) .market-cover{
    position:relative;
    aspect-ratio:474/242;
    overflow:hidden;
    background:#ececf1;
}

.homepage.marketplace-home:not(.product-market-page) .market-cover-link{
    display:block;
    width:100%;
    height:100%;
}

.homepage.marketplace-home:not(.product-market-page) .market-cover img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}

.homepage.marketplace-home:not(.product-market-page) .market-card:hover .market-cover img{
    transform:scale(1.025);
}

/* Скидка */

.homepage.marketplace-home:not(.product-market-page) .discount-badge{
    left:12px;
    top:12px;
    min-height:28px;
    padding:0 10px;
    display:flex;
    align-items:center;

    border-radius:999px;
    border:0;

    background:#fff;
    color:#5f4ce5;

    font-size:11px;
    font-weight:900;

    box-shadow:0 5px 15px rgba(25,20,45,.12);
}

/* Сердце */

.homepage.marketplace-home:not(.product-market-page) .market-heart{
    right:12px;
    top:12px;

    width:36px;
    height:36px;

    border:0;
    border-radius:50%;

    background:rgba(255,255,255,.95);
    color:#403b49;

    box-shadow:0 5px 15px rgba(25,20,45,.12);
}

/* Основная информация */

.homepage.marketplace-home:not(.product-market-page) .market-card-body{
    flex:1;
    padding:17px 17px 10px;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-body h3{
    margin:0;
    min-height:46px;

    font-size:19px;
    line-height:1.2;
    font-weight:900;
    letter-spacing:-.035em;
}

.homepage.marketplace-home:not(.product-market-page) .market-title-link{
    color:#191720;
    text-decoration:none;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-body>p{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;

    min-height:38px;
    margin:9px 0 0;

    color:#85818d;
    font-size:12px;
    line-height:1.55;
}

/* Теги */

.homepage.marketplace-home:not(.product-market-page) .market-tag-row{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    margin-top:12px;
}

.homepage.marketplace-home:not(.product-market-page) .market-tag-row span{
    padding:5px 8px;
    border:0;
    border-radius:7px;

    background:#f4f3f7;
    color:#6e6976;

    font-size:10px;
    font-weight:750;
}

/* Наличие */

.homepage.marketplace-home:not(.product-market-page) .market-stock{
    margin-top:11px;
    color:#26945c;
    font-size:11px;
    font-weight:800;
}

/* Низ карточки */

.homepage.marketplace-home:not(.product-market-page) .market-card-footer{
    margin:0 17px;
    padding:14px 0 17px;

    border-top:1px solid #efedf3;
}

/* Цена */

.homepage.marketplace-home:not(.product-market-page) .market-price{
    display:flex;
    align-items:baseline;
    gap:8px;
    margin-bottom:13px;
}

.homepage.marketplace-home:not(.product-market-page) .market-price strong{
    color:#17151d;
    font-size:23px;
    line-height:1;
    font-weight:900;
    letter-spacing:-.04em;
}

.homepage.marketplace-home:not(.product-market-page) .market-price del{
    color:#aaa6af;
    font-size:12px;
}

/* Кнопки */

.homepage.marketplace-home:not(.product-market-page) .market-card-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:7px;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn{
    min-height:40px;
    display:flex;
    align-items:center;
    justify-content:center;

    padding:8px 10px;

    border-radius:10px;

    font-size:11px;
    font-weight:850;

    text-decoration:none;
    transition:.18s ease;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn.primary{
    background:#6654e8;
    border-color:#6654e8;
    color:#fff;
    box-shadow:none;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn.primary:hover{
    background:#5847d8;
    transform:none;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn.secondary{
    background:#fff;
    border:1px solid #dfdce7;
    color:#34303b;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn.pale{
    grid-column:1/-1;

    min-height:35px;

    background:#f3f1ff;
    border:0;
    color:#604de4;
}

/* Планшет */

@media(max-width:1100px){
    .homepage.marketplace-home:not(.product-market-page) .market-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:820px){
    .homepage.marketplace-home:not(.product-market-page) .market-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .homepage.marketplace-home:not(.product-market-page) .category-row{
        overflow:hidden;
    }
}

/* Телефон */

@media(max-width:560px){
    .homepage.marketplace-home:not(.product-market-page) .market-shell{
        width:calc(100% - 24px);
    }

    .homepage.marketplace-home:not(.product-market-page) .market-grid{
        grid-template-columns:1fr;
        gap:15px;
    }
}


/* ===== AMATEO HOME CARDS — COMPACT V2 ===== */

.homepage.marketplace-home:not(.product-market-page) .market-card{
    height:auto;
    align-self:start;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-body{
    flex:none;
    padding:15px 17px 12px;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-body h3{
    min-height:0;
    margin:0 0 8px;
    font-size:18px;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-body>p{
    min-height:0;
    height:38px;
    margin:0;
}

.homepage.marketplace-home:not(.product-market-page) .market-tag-row{
    margin-top:10px;
}

.homepage.marketplace-home:not(.product-market-page) .market-stock{
    margin-top:9px;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-footer{
    margin:0 17px;
    padding:13px 0 16px;
}

.homepage.marketplace-home:not(.product-market-page) .market-price{
    min-height:27px;
    margin-bottom:11px;
}

.homepage.marketplace-home:not(.product-market-page) .market-price strong{
    font-size:21px;
}

.homepage.marketplace-home:not(.product-market-page) .market-card-actions{
    gap:6px;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn{
    min-height:38px;
}

.homepage.marketplace-home:not(.product-market-page) .market-btn.pale{
    min-height:34px;
}

.homepage.marketplace-home:not(.product-market-page) .market-grid{
    align-items:start;
}

/* Убираем лишний воздух перед следующим разделом */
.homepage.marketplace-home:not(.product-market-page) .market-catalog{
    padding-bottom:38px;
}


/* ===== AMATEO HOME SPACING V3 ===== */

/* Каталог заканчивается сразу после карточек */
.homepage.marketplace-home:not(.product-market-page) .market-catalog{
    padding-top:28px;
    padding-bottom:32px;
    min-height:0!important;
}

/* Сетка не растягивает секцию */
.homepage.marketplace-home:not(.product-market-page) .market-grid{
    margin-bottom:0!important;
    padding-bottom:0!important;
}

/* Следующий блок ближе к каталогу */
.homepage.marketplace-home:not(.product-market-page) .soft-how{
    margin-top:0!important;
    padding-top:52px;
    padding-bottom:52px;
    border-top:1px solid #efedf4;
}

/* Более цельный фон */
.homepage.marketplace-home:not(.product-market-page){
    background:#f8f8fb;
}

.homepage.marketplace-home:not(.product-market-page) .soft-how{
    background:#f4f2f7;
}

/* Категории чуть легче */
.homepage.marketplace-home:not(.product-market-page) .category-row{
    box-shadow:0 4px 18px rgba(31,27,48,.025);
}

/* Чуть больше воздуха между фильтрами и товарами */
.homepage.marketplace-home:not(.product-market-page) .market-grid{
    margin-top:20px;
}


/* =====================================================
   AMATEO HEADER V4
   Только главная + product marketplace pages
   ===================================================== */

.marketplace-home .market-header{
    position:sticky;
    top:0;
    z-index:80;

    background:rgba(255,255,255,.97);
    border-bottom:1px solid #ecebf2;

    backdrop-filter:blur(18px);
    box-shadow:0 4px 18px rgba(31,27,48,.025);
}

.marketplace-home .market-nav{
    height:68px;

    display:grid;
    grid-template-columns:auto auto minmax(320px,1fr) auto;
    align-items:center;

    gap:22px;
}

/* ---------- LOGO ---------- */

.marketplace-home .market-brand{
    display:flex;
    align-items:center;
    gap:10px;

    color:#17151f;
    text-decoration:none;

    min-width:max-content;
}

.marketplace-home .brand-orb{
    width:40px;
    height:40px;

    display:grid;
    place-items:center;

    border-radius:13px;

    background:linear-gradient(145deg,#765fff,#5947e2);
    color:#fff;

    font-size:22px;
    font-weight:900;

    box-shadow:0 7px 18px rgba(91,72,224,.20);
}

.marketplace-home .brand-copy{
    display:flex;
    flex-direction:column;

    line-height:1;
}

.marketplace-home .brand-copy strong{
    font-size:19px;
    font-weight:900;
    letter-spacing:-.04em;
}

.marketplace-home .brand-copy small{
    margin-top:5px;

    color:#aaa6b5;

    font-size:6px;
    font-weight:900;

    letter-spacing:.17em;
}

/* ---------- MENU ---------- */

.marketplace-home .market-links{
    display:flex;
    align-items:center;
    gap:3px;
}

.marketplace-home .market-links a{
    min-height:40px;

    display:flex;
    align-items:center;

    padding:0 13px;

    border-radius:10px;

    color:#302d39;
    text-decoration:none;

    font-size:13px;
    font-weight:750;

    white-space:nowrap;

    transition:
        background .16s ease,
        color .16s ease;
}

.marketplace-home .market-links a:hover{
    background:#f6f5f9;
    color:#1c1923;
}

.marketplace-home .market-links a.active{
    background:#f0edff;
    color:#624ee8;
}

/* ---------- SEARCH ---------- */

.marketplace-home .market-search{
    justify-self:center;

    width:min(100%,520px);
    height:44px;

    display:flex;
    align-items:center;
    gap:10px;

    padding:0 15px;

    border:1px solid #e3e1eb;
    border-radius:12px;

    background:#fafafd;

    box-shadow:
        inset 0 1px 2px rgba(25,20,50,.015),
        0 2px 6px rgba(25,20,50,.018);

    transition:
        border-color .16s ease,
        background .16s ease,
        box-shadow .16s ease;
}

.marketplace-home .market-search:focus-within{
    background:#fff;

    border-color:#cfc7f5;

    box-shadow:
        0 0 0 3px rgba(103,83,233,.07),
        0 3px 12px rgba(25,20,50,.025);
}

.marketplace-home .market-search span{
    color:#807b8c;

    font-size:18px;
}

.marketplace-home .market-search input{
    width:100%;

    border:0;
    outline:0;

    background:transparent;

    color:#25222d;

    font:inherit;
    font-size:13px;
}

.marketplace-home .market-search input::placeholder{
    color:#aaa6b4;
}

/* ---------- RIGHT ACTIONS ---------- */

.marketplace-home .market-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;

    gap:7px;
}

.marketplace-home .icon-action{
    position:relative;

    width:44px;
    height:44px;

    display:grid;
    place-items:center;

    padding:0;

    border:1px solid transparent;
    border-radius:12px;

    background:#f7f6fa;
    color:#25222d;

    text-decoration:none;

    font-size:20px;

    cursor:pointer;

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.marketplace-home .icon-action:hover{
    background:#f0edff;
    border-color:#e7e2fb;

    transform:translateY(-1px);
}

.marketplace-home .cart-action{
    font-size:17px;
}

.marketplace-home .login-action{
    height:44px;

    display:flex;
    align-items:center;
    gap:7px;

    padding:0 16px;

    border-radius:12px;

    background:#eeeaff;
    color:#5d49df;

    text-decoration:none;

    font-size:13px;
    font-weight:850;

    white-space:nowrap;

    transition:
        background .16s ease,
        transform .16s ease;
}

.marketplace-home .login-action:hover{
    background:#e6e0ff;
    transform:translateY(-1px);
}

.marketplace-home .login-action span{
    font-size:13px;
}

/* Cart counter */

.marketplace-home .market-actions .cart-count{
    position:absolute;

    right:-3px;
    top:-5px;

    min-width:18px;
    height:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 4px;

    border:2px solid #fff;
    border-radius:999px;

    background:#6654e8;
    color:#fff;

    font-size:10px;
    font-weight:900;
}

/* ---------- RESPONSIVE ---------- */

@media(max-width:1180px){

    .marketplace-home .market-nav{
        grid-template-columns:auto auto minmax(230px,1fr) auto;
        gap:12px;
    }

    .marketplace-home .market-links a{
        padding:0 9px;
        font-size:12px;
    }

    .marketplace-home .market-search{
        max-width:420px;
    }

    .marketplace-home .login-action{
        padding:0 12px;
    }
}

@media(max-width:960px){

    .marketplace-home .market-nav{
        grid-template-columns:auto 1fr auto;
    }

    .marketplace-home .market-links{
        display:none;
    }

    .marketplace-home .market-search{
        justify-self:stretch;
        max-width:none;
    }
}

@media(max-width:680px){

    .marketplace-home .market-nav{
        height:auto;
        min-height:64px;

        grid-template-columns:auto auto;
        gap:10px;

        padding-top:10px;
        padding-bottom:10px;
    }

    .marketplace-home .market-search{
        grid-column:1/-1;
        grid-row:2;

        width:100%;
    }

    .marketplace-home .market-actions{
        justify-self:end;
    }

    .marketplace-home .login-action{
        width:44px;
        padding:0;

        justify-content:center;

        font-size:0;
    }

    .marketplace-home .login-action span{
        font-size:15px;
    }

    .marketplace-home .brand-copy small{
        display:none;
    }
}


/* ===== MAINTENANCE ADMIN PREVIEW V1 ===== */

.maintenance-preview-bar{
    position:relative;
    z-index:100;

    background:#191727;
    color:#fff;

    border-bottom:1px solid rgba(255,255,255,.08);
}

.maintenance-preview-inner{
    width:min(1320px,calc(100% - 32px));
    min-height:54px;
    margin:auto;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.maintenance-preview-state{
    display:flex;
    align-items:center;
    gap:10px;
}

.maintenance-preview-dot{
    width:9px;
    height:9px;
    flex:0 0 9px;

    border-radius:50%;

    background:#ffbf4d;
    box-shadow:0 0 14px rgba(255,191,77,.55);
}

.maintenance-preview-state strong{
    display:block;

    font-size:12px;
    font-weight:900;
}

.maintenance-preview-state small{
    display:block;

    margin-top:2px;

    color:#a9a5b8;

    font-size:9px;
}

.maintenance-preview-actions{
    display:flex;
    align-items:center;
    gap:7px;
}

.maintenance-preview-btn{
    min-height:34px;
    padding:0 11px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.13);
    border-radius:8px;

    background:rgba(255,255,255,.04);
    color:#fff;

    font:inherit;
    font-size:10px;
    font-weight:850;

    text-decoration:none;
    cursor:pointer;
}

.maintenance-preview-btn.primary{
    border-color:#7563ef;
    background:#7563ef;
}

@media(max-width:700px){

    .maintenance-preview-inner{
        width:calc(100% - 20px);
        padding:9px 0;

        align-items:flex-start;
        flex-direction:column;

        gap:8px;
    }

    .maintenance-preview-state small{
        max-width:290px;
        line-height:1.4;
    }

    .maintenance-preview-actions{
        width:100%;
    }

    .maintenance-preview-btn{
        flex:1;
        min-height:38px;
    }
}

/* AMATEO TYPOGRAPHY V1 */
body,
button,
input,
select,
textarea {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.market-title,
.product-title,
.market-card h2,
.market-card h3 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.market-price,
.price {
    font-weight: 750;
    letter-spacing: -0.02em;
}

.market-description,
.product-description {
    font-weight: 400;
    line-height: 1.5;
}

nav,
.market-nav,
.market-category,
button {
    font-weight: 600;
}

/* AMATEO LOCAL INTER FONT */
@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/static/fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700 900;
    font-style: normal;
    font-display: swap;
}


/* AMATEO MARKET HEADER FULLWIDTH V1 */

/*
   Full-width storefront header.
   Header background occupies the complete viewport,
   while navigation content remains aligned with the catalog.
*/
.marketplace-home .market-header{
    width:100%;
    left:0;
    right:0;
    background:rgba(255,255,255,.94);
    border-bottom:1px solid rgba(30,26,50,.07);
    box-shadow:0 1px 0 rgba(26,22,52,.025);
    backdrop-filter:blur(18px) saturate(140%);
    -webkit-backdrop-filter:blur(18px) saturate(140%);
}

/* Keep content aligned with storefront, not the header background */
.marketplace-home .market-header > .market-shell{
    width:min(1510px,calc(100% - 48px));
    margin-left:auto;
    margin-right:auto;
}

/* Dark storefront */
html[data-theme="dark"] .marketplace-home .market-header{
    background:
        linear-gradient(
            90deg,
            rgba(16,15,22,.98) 0%,
            rgba(25,22,34,.97) 18%,
            rgba(27,24,36,.97) 50%,
            rgba(25,22,34,.97) 82%,
            rgba(16,15,22,.98) 100%
        );
    border-bottom-color:rgba(255,255,255,.075);
    box-shadow:
        0 1px 0 rgba(255,255,255,.025),
        0 12px 35px rgba(0,0,0,.08);
}

/*
   Remove the visual black side blocks by making the area
   immediately below the header continue naturally.
*/
html[data-theme="dark"] body.marketplace-home{
    background:
        radial-gradient(
            circle at 50% 0,
            rgba(104,83,237,.075),
            transparent 34%
        ),
        #0f0f15;
}

/* Very subtle purple ambience under navigation */
html[data-theme="dark"] .marketplace-home .market-header::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:1px;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(112,89,245,.18) 25%,
        rgba(112,89,245,.25) 50%,
        rgba(112,89,245,.18) 75%,
        transparent
    );
}

/* Light theme stays clean */
html[data-theme="light"] .marketplace-home .market-header{
    background:rgba(255,255,255,.94);
}

/* Mobile */
@media(max-width:820px){
    .marketplace-home .market-header > .market-shell{
        width:calc(100% - 24px);
    }
}

@media(max-width:520px){
    .marketplace-home .market-header > .market-shell{
        width:calc(100% - 20px);
    }
}


/* AMATEO MARKET HEADER FULLBLEED V2 */

/* =========================================================
   HEADER FULL BLEED
   Фон всегда занимает всю ширину viewport
   независимо от ширины market-shell.
   ========================================================= */

body.marketplace-home{
    overflow-x:hidden;
}


/* Сам header больше не создаёт отдельную цветную коробку */

body.marketplace-home .market-header{
    position:sticky !important;
    top:0 !important;
    z-index:80 !important;

    isolation:isolate !important;

    width:100% !important;
    max-width:none !important;

    margin:0 !important;

    background:transparent !important;

    border-bottom:0 !important;

    box-shadow:none !important;

    overflow:visible !important;

    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}


/*
   Настоящий фон шапки.
   100vw гарантирует заполнение от левого
   до правого края браузера.
*/

body.marketplace-home .market-header::before{
    content:"" !important;

    position:absolute !important;

    z-index:-1 !important;

    top:0 !important;
    bottom:0 !important;

    left:50% !important;

    width:100vw !important;

    transform:translateX(-50%) !important;

    pointer-events:none !important;

    background:
        rgba(255,255,255,.96) !important;

    border-bottom:
        1px solid rgba(25,22,45,.07) !important;

    backdrop-filter:
        blur(18px) saturate(145%) !important;

    -webkit-backdrop-filter:
        blur(18px) saturate(145%) !important;
}


/* =========================================================
   INNER NAV
   Он отвечает только за расположение контента,
   но больше НЕ имеет своего фона.
   ========================================================= */

body.marketplace-home .market-header .market-shell,
body.marketplace-home .market-header .market-nav,
body.marketplace-home .market-header > .market-shell{
    background:
        transparent !important;

    background-image:
        none !important;

    box-shadow:
        none !important;

    border:
        0 !important;

    border-radius:
        0 !important;
}


/* Контент шапки остаётся выровнен с каталогом */

body.marketplace-home .market-header .market-shell{
    width:
        min(1510px,calc(100% - 48px)) !important;

    max-width:
        1510px !important;

    margin-left:
        auto !important;

    margin-right:
        auto !important;
}


/* =========================================================
   DARK THEME
   ========================================================= */

html[data-theme="dark"]
body.marketplace-home .market-header::before{
    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(113,82,246,.10),
            transparent 27%
        ),
        radial-gradient(
            circle at 82% 0%,
            rgba(113,82,246,.08),
            transparent 28%
        ),
        linear-gradient(
            90deg,
            #121118 0%,
            #17151f 25%,
            #181620 50%,
            #17151f 75%,
            #121118 100%
        ) !important;

    border-bottom:
        1px solid rgba(255,255,255,.075) !important;
}


/* Полностью прозрачный внутренний nav */

html[data-theme="dark"]
body.marketplace-home .market-header .market-shell,

html[data-theme="dark"]
body.marketplace-home .market-header .market-nav{
    background:
        transparent !important;

    background-color:
        transparent !important;

    background-image:
        none !important;

    box-shadow:
        none !important;
}


/*
   Верхняя часть каталога мягко продолжает шапку,
   вместо резкого чёрного разрыва.
*/

html[data-theme="dark"]
body.marketplace-home{
    background:
        radial-gradient(
            ellipse at 50% 0%,
            rgba(103,76,220,.075),
            transparent 38%
        ),
        #101017 !important;
}


/* =========================================================
   LIGHT
   ========================================================= */

html[data-theme="light"]
body.marketplace-home .market-header::before{
    background:
        rgba(255,255,255,.95) !important;

    border-bottom-color:
        rgba(30,27,50,.07) !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:820px){

    body.marketplace-home
    .market-header .market-shell{
        width:
            calc(100% - 24px) !important;
    }

}

@media(max-width:520px){

    body.marketplace-home
    .market-header .market-shell{
        width:
            calc(100% - 18px) !important;
    }

}


/* AMATEO MARKET HEADER NAV CLEAN V3 */

/* Убираем чёрный прямоугольник вокруг меню */
body.marketplace-home .market-links{
    background:transparent !important;
    background-color:transparent !important;
    background-image:none !important;

    border:0 !important;
    box-shadow:none !important;
    border-radius:0 !important;

    padding:0 !important;
}

/* Сами пункты меню */
body.marketplace-home .market-links a{
    background:transparent !important;

    border:1px solid transparent !important;

    color:var(--muted) !important;

    border-radius:11px !important;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease !important;
}

/* Hover */
body.marketplace-home .market-links a:hover{
    background:rgba(112,89,245,.08) !important;

    color:var(--text) !important;
}

/* Активный пункт */
body.marketplace-home .market-links a.active{
    background:
        rgba(112,89,245,.16) !important;

    border-color:
        rgba(126,100,255,.16) !important;

    color:#a997ff !important;
}


/* DARK */
html[data-theme="dark"]
body.marketplace-home .market-links{
    background:transparent !important;
}

html[data-theme="dark"]
body.marketplace-home .market-links a{
    color:#aaa7b4 !important;
}

html[data-theme="dark"]
body.marketplace-home .market-links a:hover{
    background:
        rgba(126,99,255,.10) !important;

    color:#f3f2f7 !important;
}

html[data-theme="dark"]
body.marketplace-home .market-links a.active{
    background:
        linear-gradient(
            135deg,
            rgba(110,81,224,.22),
            rgba(127,96,255,.16)
        ) !important;

    border-color:
        rgba(136,107,255,.18) !important;

    color:#b7a7ff !important;
}


/* LIGHT */
html[data-theme="light"]
body.marketplace-home .market-links a{
    color:#65616f !important;
}

html[data-theme="light"]
body.marketplace-home .market-links a.active{
    background:#f0edff !important;
    color:#6250ea !important;
}


/* AMATEO PRODUCT STATUS BADGES V1 */

/* =========================================================
   PRODUCT STATUS ROW
   ========================================================= */

.product-market-page .pm-status-row{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;

    gap:8px !important;

    margin-bottom:16px !important;
}


/* Базовый вид всех трёх плашек */

.product-market-page .pm-status-row > span{
    min-height:34px !important;

    padding:0 12px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap:7px !important;

    border:
        1px solid rgba(255,255,255,.08) !important;

    border-radius:
        10px !important;

    background:
        rgba(255,255,255,.055) !important;

    color:
        #d7d8df !important;

    font-size:
        11px !important;

    font-weight:
        750 !important;

    line-height:
        1 !important;

    white-space:
        nowrap !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025) !important;

    backdrop-filter:
        blur(10px) !important;

    -webkit-backdrop-filter:
        blur(10px) !important;
}


/* =========================================================
   FIRST ICON BADGE
   ========================================================= */

.product-market-page .pm-status-row > span:first-child{
    width:42px !important;

    min-width:42px !important;

    padding:0 !important;

    border-color:
        rgba(139,108,255,.16) !important;

    background:
        rgba(112,83,225,.10) !important;

    color:
        #b9abff !important;

    font-size:
        15px !important;
}


/* =========================================================
   IN STOCK
   ========================================================= */

.product-market-page .pm-status-row .pm-instock{
    border-color:
        rgba(69,188,128,.18) !important;

    background:
        rgba(42,158,103,.10) !important;

    color:
        #68d39c !important;
}


/* маленькая точка перед статусом */

.product-market-page .pm-status-row .pm-instock::before{
    content:"" !important;

    width:7px !important;
    height:7px !important;

    flex:none !important;

    border-radius:
        50% !important;

    background:
        currentColor !important;

    box-shadow:
        0 0 0 3px
        rgba(88,205,148,.08) !important;
}


/* =========================================================
   AUTO DELIVERY
   ========================================================= */

.product-market-page .pm-status-row .pm-auto{
    border-color:
        rgba(132,101,255,.22) !important;

    background:
        rgba(111,82,230,.11) !important;

    color:
        #aa98ff !important;
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"]
.product-market-page .pm-status-row > span{
    border-color:
        rgba(32,28,55,.08) !important;

    background:
        rgba(255,255,255,.82) !important;

    color:
        #55515f !important;

    box-shadow:
        0 5px 16px
        rgba(34,28,73,.035) !important;
}

html[data-theme="light"]
.product-market-page .pm-status-row > span:first-child{
    background:
        #f2efff !important;

    border-color:
        #e4ddff !important;

    color:
        #6c55e9 !important;
}

html[data-theme="light"]
.product-market-page .pm-status-row .pm-instock{
    background:
        #eefaf4 !important;

    border-color:
        #d8f0e3 !important;

    color:
        #278f60 !important;
}

html[data-theme="light"]
.product-market-page .pm-status-row .pm-auto{
    background:
        #f1eeff !important;

    border-color:
        #e2dcff !important;

    color:
        #6751e6 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){

    .product-market-page .pm-status-row{
        gap:6px !important;
    }

    .product-market-page .pm-status-row > span{
        min-height:32px !important;

        padding:0 10px !important;

        font-size:10px !important;
    }

    .product-market-page .pm-status-row > span:first-child{
        width:38px !important;
        min-width:38px !important;
    }

}


/* AMATEO PRODUCT STATUS BADGES V2 FIX */

/* =========================================================
   RESET BROKEN V1 FIRST BADGE
   ========================================================= */

.product-market-page .pm-status-row > span:first-child{
    width:auto !important;
    min-width:0 !important;

    padding:0 11px !important;

    font-size:11px !important;

    background:
        rgba(255,255,255,.055) !important;

    border:
        1px solid rgba(255,255,255,.08) !important;

    color:#c8c9d2 !important;

    box-shadow:none !important;
}


/* =========================================================
   ALL BADGES SAME VISUAL RHYTHM
   ========================================================= */

.product-market-page .pm-status-row{
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;

    gap:7px !important;

    margin-bottom:16px !important;
}

.product-market-page .pm-status-row > span{
    min-height:32px !important;

    padding:0 11px !important;

    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap:6px !important;

    border-radius:9px !important;

    font-size:10.5px !important;
    font-weight:750 !important;

    line-height:1 !important;

    white-space:nowrap !important;

    backdrop-filter:blur(8px) !important;
    -webkit-backdrop-filter:blur(8px) !important;
}


/* =========================================================
   FIRST — TYPE / PLATFORM
   ========================================================= */

.product-market-page .pm-status-row > span:first-child{
    background:
        rgba(255,255,255,.045) !important;

    border-color:
        rgba(255,255,255,.08) !important;

    color:#b9bac4 !important;
}


/* =========================================================
   STOCK
   ========================================================= */

.product-market-page .pm-status-row .pm-instock{
    background:
        rgba(42,158,103,.10) !important;

    border-color:
        rgba(69,188,128,.18) !important;

    color:#65d09a !important;
}

/* Убираем дополнительную точку V1,
   если в тексте/иконке она уже есть */
.product-market-page .pm-status-row .pm-instock::before{
    content:none !important;
    display:none !important;
}


/* =========================================================
   AUTO DELIVERY
   ========================================================= */

.product-market-page .pm-status-row .pm-auto{
    background:
        rgba(111,82,230,.11) !important;

    border-color:
        rgba(132,101,255,.20) !important;

    color:#aa99ff !important;
}


/* =========================================================
   LIGHT THEME
   ========================================================= */

html[data-theme="light"]
.product-market-page .pm-status-row > span:first-child{
    background:#f5f4f8 !important;
    border-color:#e5e3eb !important;
    color:#666270 !important;
}

html[data-theme="light"]
.product-market-page .pm-status-row .pm-instock{
    background:#eefaf4 !important;
    border-color:#d8f0e3 !important;
    color:#278f60 !important;
}

html[data-theme="light"]
.product-market-page .pm-status-row .pm-auto{
    background:#f1eeff !important;
    border-color:#e2dcff !important;
    color:#6751e6 !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){
    .product-market-page .pm-status-row{
        gap:6px !important;
    }

    .product-market-page .pm-status-row > span{
        min-height:30px !important;
        padding:0 9px !important;
        font-size:10px !important;
    }
}


/* =====================================================
   AMATEO CATALOG MARKET HEADER V1
   Единая шапка главной и /catalog
   ===================================================== */

.catalog-page .market-header{
    position:sticky;
    top:0;
    z-index:80;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #ecebf2;
    backdrop-filter:blur(18px);
    box-shadow:0 4px 18px rgba(31,27,48,.025);
}

.catalog-page .market-shell{
    width:min(1510px,calc(100% - 48px));
    margin:0 auto;
}

.catalog-page .market-nav{
    height:68px;
    display:grid;
    grid-template-columns:auto auto minmax(320px,1fr) auto;
    align-items:center;
    gap:22px;
}

.catalog-page .market-brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#17151f;
    text-decoration:none;
    min-width:max-content;
}

.catalog-page .brand-orb{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:linear-gradient(145deg,#765fff,#5947e2);
    color:#fff;
    font-size:22px;
    font-weight:900;
    box-shadow:0 7px 18px rgba(91,72,224,.20);
}

.catalog-page .brand-copy{
    display:flex;
    flex-direction:column;
    line-height:1;
}

.catalog-page .brand-copy strong{
    font-size:19px;
    font-weight:900;
    letter-spacing:-.04em;
}

.catalog-page .brand-copy small{
    margin-top:5px;
    color:#aaa6b5;
    font-size:6px;
    font-weight:900;
    letter-spacing:.17em;
}

.catalog-page .market-links{
    display:flex;
    align-items:center;
    gap:3px;
}

.catalog-page .market-links a{
    min-height:40px;
    display:flex;
    align-items:center;
    padding:0 13px;
    border-radius:10px;
    color:#302d39;
    text-decoration:none;
    font-size:13px;
    font-weight:750;
    white-space:nowrap;
}

.catalog-page .market-links a:hover{
    background:#f7f6fb;
}

.catalog-page .market-links a.active{
    background:#f0edff;
    color:#624ee8;
}

.catalog-page .market-search{
    justify-self:center;
    width:min(100%,520px);
    height:44px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:0 15px;
    border:1px solid #e3e1eb;
    border-radius:12px;
    background:#fafafd;
}

.catalog-page .market-search span{
    color:#807b8c;
    font-size:18px;
}

.catalog-page .market-search input{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#25222d;
    font:inherit;
    font-size:13px;
}

.catalog-page .market-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
}

.catalog-page .icon-action{
    position:relative;
    width:44px;
    height:44px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid transparent;
    border-radius:12px;
    background:#f7f6fa;
    color:#25222d;
    text-decoration:none;
    font-size:20px;
    cursor:pointer;
}

.catalog-page .icon-action:hover{
    background:#f0edff;
    border-color:#e7e2fb;
}

.catalog-page .cart-action{
    font-size:17px;
}

.catalog-page .login-action{
    height:44px;
    display:flex;
    align-items:center;
    gap:7px;
    padding:0 16px;
    border-radius:12px;
    background:#eeeaff;
    color:#5d49df;
    text-decoration:none;
    font-size:13px;
    font-weight:850;
    white-space:nowrap;
}

.catalog-page .market-actions .cart-count{
    position:absolute;
    right:-2px;
    top:-4px;
    background:#6b57f2;
    border:2px solid #fff;
}

/* DARK */

html[data-theme="dark"] .catalog-page .market-header{
    background:rgba(19,18,25,.97);
    border-bottom-color:#302b3d;
    box-shadow:none;
}

html[data-theme="dark"] .catalog-page .market-brand{
    color:#f5f2fa;
}

html[data-theme="dark"] .catalog-page .brand-copy small{
    color:#85808e;
}

html[data-theme="dark"] .catalog-page .market-links a{
    color:#bbb6c3;
}

html[data-theme="dark"] .catalog-page .market-links a:hover{
    background:#201d28;
    color:#fff;
}

html[data-theme="dark"] .catalog-page .market-links a.active{
    background:#2c2541;
    color:#aa94ff;
}

html[data-theme="dark"] .catalog-page .market-search{
    background:#1d1b23;
    border-color:#302d38;
}

html[data-theme="dark"] .catalog-page .market-search input{
    color:#f3f0f7;
}

html[data-theme="dark"] .catalog-page .icon-action{
    background:#1d1b23;
    border-color:#302d38;
    color:#f4f1f7;
}

html[data-theme="dark"] .catalog-page .login-action{
    background:#2b2540;
    color:#b7a5ff;
}

html[data-theme="dark"] .catalog-page .market-actions .cart-count{
    border-color:#131219;
}

/* RESPONSIVE */

@media(max-width:1180px){
    .catalog-page .market-nav{
        grid-template-columns:auto auto minmax(230px,1fr) auto;
        gap:12px;
    }

    .catalog-page .market-links a{
        padding:0 9px;
        font-size:12px;
    }
}

@media(max-width:980px){
    .catalog-page .market-nav{
        grid-template-columns:auto 1fr auto;
    }

    .catalog-page .market-links{
        display:none;
    }
}

@media(max-width:760px){
    .catalog-page .market-shell{
        width:min(100% - 24px,1510px);
    }

    .catalog-page .market-nav{
        height:auto;
        min-height:68px;
        grid-template-columns:auto 1fr auto;
        gap:10px;
        padding:10px 0;
    }

    .catalog-page .market-search{
        grid-column:1/-1;
        grid-row:2;
        width:100%;
    }

    .catalog-page .login-action{
        display:none;
    }
}

/* /AMATEO CATALOG MARKET HEADER V1 */
