:root{color:#201936;background:#fcfbf8;font-family:"Segoe UI",sans-serif;font-synthesis:none;--ink:#221937;--muted:#655e72;--purple:#6b43d9;--purple-deep:#5632bc;--line:#eae5ef;--surface:#fff;--radius:21px}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:320px;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button,select{cursor:pointer}
button:disabled{cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #865ef2;outline-offset:3px}
svg{display:block;width:22px;height:22px}
p,h1,h2,h3{margin:0}
.wrap{width:min(1216px,calc(100% - 88px));margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid #efebf2}
.header-inner,.header-actions,.main-nav,.header-button,.logo{display:flex;align-items:center}
.header-inner{height:79px;gap:46px}
.logo{gap:9px;font-size:30px;font-weight:800;letter-spacing:-.08em;line-height:1;white-space:nowrap}
.logo-mark{display:grid;place-items:center;background:var(--purple);color:white;width:38px;height:38px;border-radius:12px}
.logo-mark svg{width:24px;height:24px}
.logo-dot{color:var(--purple);margin-left:-7px}
.main-nav{gap:31px;color:#4f485f;font-size:.95rem;font-weight:700}
.main-nav a:hover,.footer a:hover,.text-button:hover{color:var(--purple-deep)}
.header-actions{margin-left:auto;gap:12px}
.header-button{gap:8px;font-weight:800;font-size:.91rem;border:0;background:transparent;padding:10px 12px;border-radius:13px;white-space:nowrap}
.header-button:hover{background:#f3eefc}
.basket-button{background:#f0e9ff;color:#4c2baf;padding:10px 13px}
.count{min-width:21px;height:21px;display:grid;place-items:center;background:var(--purple);color:#fff;border-radius:12px;font-size:.75rem;padding-inline:4px}
#store,.workspace{flex:1}
.hero{margin-top:30px;min-height:411px;display:grid;grid-template-columns:52% 48%;align-items:center;position:relative;overflow:hidden;border-radius:28px;background:#e8dfff;isolation:isolate}
.hero-copy{padding:42px 0 46px 52px;position:relative;z-index:1}
.hero-tag{display:inline-flex;align-items:center;gap:8px;background:#faf7ff;color:#5a35b4;padding:8px 13px;border-radius:100px;font-size:.83rem;font-weight:800;line-height:1.2}
.hero-tag svg{width:16px;height:16px}
h1{font-size:clamp(2.4rem,4.2vw,4.05rem);line-height:1.04;letter-spacing:-.071em;font-weight:800;margin:18px 0}
h1 em{font-style:normal;color:var(--purple-deep)}
.hero p{color:#4b4063;font-size:1.04rem;line-height:1.55;max-width:395px;margin-bottom:25px}
.hero-art{position:absolute;inset:0 0 0 48%;z-index:0}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e8dfff 0%,transparent 23%);pointer-events:none}
.button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:12px;padding:10px 17px;font-weight:800;font-size:.94rem;line-height:1.18}
.button:disabled{opacity:.55}
.primary{color:#fff;background:var(--purple)}
.primary:not(:disabled):hover{background:var(--purple-deep)}
.secondary{background:#f1eafd;color:#5233ae}
.secondary:not(:disabled):hover{background:#e8ddff}
.outline{border-color:var(--line);background:#fff}
.features{display:grid;grid-template-columns:repeat(3,1fr);margin:22px 0 42px;border:1px solid var(--line);border-radius:16px;background:#fff;padding:13px 0;font-weight:800}
.features>div{display:flex;align-items:center;justify-content:center;gap:10px;padding:3px 12px}
.features>div+div{border-left:1px solid var(--line)}
.feature-icon{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;border-radius:10px;color:#623acb}
.feature-icon svg{width:20px;height:20px}
.purple{background:#f0eaff}.mint{background:#e4f6ed;color:#267356}.peach{background:#ffeadc;color:#a6481b}
.catalog{scroll-margin-top:24px}
.catalog-title{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:20px}
h2{font-size:clamp(1.75rem,3.2vw,2.7rem);font-weight:800;letter-spacing:-.058em;line-height:1.11}
h3{font-weight:800;letter-spacing:-.03em}
.catalog-title p{color:var(--muted);margin-top:6px}
.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;height:46px;padding:0 13px;width:min(100%,264px);color:#756b84}
.search input{min-width:0;width:100%;border:0;outline:none!important;background:transparent;color:var(--ink)}
.search:focus-within{outline:2px solid #865ef2;outline-offset:2px}
.filters{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}
.categories{display:flex;flex-wrap:wrap;gap:8px}
.chip{background:#fff;border:1px solid var(--line);padding:9px 14px;border-radius:10px;font-size:.88rem;font-weight:800;white-space:nowrap}
.chip:hover,.chip[aria-pressed=true]{color:#fff;background:var(--purple);border-color:var(--purple)}
select{appearance:none;padding-right:2.1rem!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23726382' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right .65rem center;background-repeat:no-repeat}
.filters select,.compact-select{border:1px solid var(--line);border-radius:10px;background-color:#fff;padding:9px 11px;font-size:.88rem;min-height:40px}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.product-card{padding:9px;background:#fff;border:1px solid var(--line);border-radius:17px;min-width:0;display:flex;flex-direction:column}
.product-card:hover{border-color:#d6c6fb;box-shadow:0 8px 26px #49326b0b}
.product-image{display:grid;place-items:center;width:100%;aspect-ratio:1.2;border:0;border-radius:11px;overflow:hidden;position:relative;background:#eee7fe;color:var(--purple)}
.product-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.product-image svg{width:48px;height:48px}
.badge{position:absolute;top:10px;left:10px;padding:5px 9px;border-radius:7px;background:#fff;color:#5a35b4;font-weight:800;font-size:.76rem}
.product-info{padding:11px 6px 6px;display:flex;flex-direction:column;flex:1}
.product-meta{color:var(--muted);font-size:.82rem;margin-bottom:4px}
.product-name{border:0;background:none;text-align:left;padding:0;font-size:1rem;font-weight:800;line-height:1.25;margin-bottom:13px}
.product-name:hover{color:var(--purple-deep)}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:auto}
.price{font-weight:800;white-space:nowrap;font-size:1.14rem}
.add-button{min-height:37px;padding:7px 10px;font-size:.8rem}
.add-button svg{width:15px;height:15px}
.about{margin-block:54px 45px;padding:25px 28px;border-radius:18px;background:#f0e9ff;display:grid;grid-template-columns:1fr 1fr;gap:32px}
.about h2,.about h3{font-size:1.3rem;letter-spacing:-.035em;margin-bottom:8px}
.about p{color:#514765;line-height:1.58}
.footer{margin-top:auto;background:#fff;border-top:1px solid var(--line)}
.footer-inner{display:flex;gap:18px;align-items:center;min-height:81px;color:var(--muted);font-size:.9rem}
.footer .logo{color:var(--ink);font-size:25px}
.footer .logo-mark{width:32px;height:32px}
.footer-inner>a:last-child{margin-left:auto}
.empty{grid-column:1/-1;background:#fff;border:1px dashed #d9cdeb;border-radius:16px;color:var(--muted);padding:24px}
.workspace{padding-block:40px 58px}
.workspace h1{font-size:clamp(2rem,4vw,3rem);margin:0 0 14px}
.workspace>p{color:var(--muted);margin-bottom:20px}
.workspace .categories{margin:20px 0 16px}
.panel{max-width:630px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:23px}
.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}
.admin-toolbar h2{font-size:1.45rem}
.table-frame{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}
th,td{padding:12px 15px;border-bottom:1px solid var(--line);font-size:.91rem}
th{background:#f6f1ff}
tr:last-child td{border-bottom:0}
.workspace .order-list{max-width:860px}
dialog{border:0;border-radius:20px;max-width:min(100% - 24px,580px);width:100%;color:var(--ink);padding:0;max-height:calc(100% - 24px);background:#fff;box-shadow:0 18px 90px #22193745}
dialog::backdrop{background:#22193775}
.dialog-frame{padding:26px;position:relative}
.close{position:absolute;right:13px;top:13px;display:grid;place-items:center;border:0;width:37px;height:37px;border-radius:10px;background:#f4eefb}
.close:hover{background:#e8ddff}
#dialog-title{font-size:1.7rem;max-width:calc(100% - 35px);margin-bottom:13px}
.dialog-intro{color:var(--muted);line-height:1.45;margin-bottom:15px}
.dialog-product-image{width:min(100%,275px);margin-bottom:13px}
.form{display:grid;gap:14px}
.form label{display:grid;gap:5px;font-weight:800;font-size:.9rem}
.form input,.form select,.form textarea{width:100%;background-color:#fff;border:1px solid #dcd4e8;border-radius:9px;min-height:42px;padding:9px 10px;font-weight:500}
.form textarea{resize:vertical;min-height:75px}
.form .checkbox{display:flex;align-items:center;gap:8px}
.form input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--purple)}
.form .button{justify-self:start}
.visibility-field{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.visibility-field .button{min-height:42px;padding-inline:12px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form-error{color:#a12739;font-weight:700;font-size:.9rem}
.inline-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.dialog-links{margin-top:15px;font-size:.93rem;color:var(--muted)}
.text-button{padding:0;border:0;background:none;color:var(--purple-deep);font-weight:800}
.cart-list,.order-list{display:grid;gap:10px}
.cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}
.cart-row strong{display:block;font-size:.93rem}
.cart-row small{color:var(--muted)}
.stepper{display:flex;align-items:center;gap:8px}
.stepper button{width:34px;height:34px;border:0;border-radius:8px;background:#f1eafd;font-weight:800}
.cart-total{display:flex;justify-content:space-between;margin:16px 0;font-weight:800}
.order-card{padding:14px;border:1px solid var(--line);border-radius:13px;background:#fff}
.order-card p{color:var(--muted);margin:5px 0;overflow-wrap:anywhere}
.order-card .compact-select{margin-top:6px}
.toast{position:fixed;bottom:18px;right:18px;z-index:2;max-width:calc(100% - 36px);padding:12px 17px;border-radius:12px;background:#2c1b50;color:white;font-weight:700;box-shadow:0 8px 30px #1c103c35}
@media(max-width:1050px){.hero-copy{padding-left:34px}.hero{min-height:365px}.wrap{width:calc(100% - 52px)}.header-inner{gap:29px}.product-grid{gap:12px}.product-bottom{flex-wrap:wrap}.main-nav{gap:20px}}
@media(max-width:780px){.hero{min-height:315px}.hero-copy{padding:27px 0 28px 23px}.hero h1{font-size:clamp(2rem,5.25vw,3rem)}.hero p{font-size:.91rem}.main-nav{display:none}.header-inner{height:64px}.wrap{width:calc(100% - 32px)}.features{margin-bottom:29px}.features>div{gap:6px;font-size:.82rem;padding-inline:5px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.hero{margin-top:16px;grid-template-columns:1fr;min-height:0;border-radius:20px}.hero-copy{padding:22px 19px 0}.hero-copy p{margin-bottom:15px}.hero h1{font-size:clamp(1.95rem,8vw,2.65rem);margin-block:12px}.hero-art{position:relative;inset:auto;height:200px;margin-top:3px}.hero-art::after{background:linear-gradient(#e8dfff,transparent 23%)}.hero-art img{object-position:center 55%}.header-actions{gap:3px}.header-button{padding:8px}.basket-label,#account-label{display:none}.logo{font-size:26px}.logo-mark{width:33px;height:33px}.features{grid-template-columns:1fr;justify-items:stretch;padding:4px 11px;margin:14px 0 25px}.features>div{justify-content:flex-start;padding:6px 4px;font-size:.89rem}.features>div+div{border-left:0;border-top:1px solid var(--line)}.feature-icon{width:28px;height:28px}.feature-icon svg{width:17px;height:17px}.catalog-title{align-items:stretch;flex-direction:column;gap:10px;margin-bottom:12px}.search{width:100%}.filters{align-items:flex-start;flex-direction:column}.chip{padding:8px 9px}.about{grid-template-columns:1fr;gap:18px;margin-block:30px;padding:18px}.footer-inner{gap:10px;flex-wrap:wrap;padding-block:12px}.footer-inner>span{display:none}.dialog-frame{padding:21px}.product-info{padding-inline:1px}.product-meta{font-size:.75rem}.product-name{font-size:.9rem}.add-button{padding:6px 8px}.price{font-size:1rem}}

