#language-choice{width:min(390px,calc(100% - 32px));padding:32px;border:1px solid #e5deed;border-radius:26px;color:#211b2a;background:linear-gradient(135deg,#f4eefb,#fff 58%);box-shadow:0 30px 90px #23183140}
#language-choice::backdrop{background:#21192b70;backdrop-filter:blur(4px)}
#language-choice h2,.sales h2{margin:0;font-size:clamp(23px,3vw,30px);letter-spacing:-.045em}
#language-choice p,.sales header p{color:#686171;line-height:1.5}
#language-choice .btn,.language-alt{display:flex;justify-content:center;margin-top:12px}
.language-alt{padding:8px;font-size:14px}.cookie-brand{position:relative;width:max-content;margin-bottom:26px}.cookie-mark{position:absolute;bottom:-6px;right:-12px;font-size:23px}
.size-editor,.size-picker{min-width:0;margin:14px 0;padding:16px;border:1px solid #e4dfea;border-radius:18px}
.size-editor legend,.size-picker legend{padding:0 6px;font-weight:700}.size-editor select{width:100%}.size-editor [data-all]{margin:12px 0}
.size-edit-row{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:end;gap:8px;padding:8px 0;border-top:1px solid #ece7f1}
.size-edit-row label{font-size:12px;min-width:0}.size-edit-row input:not([type=checkbox]){width:100%}.size-edit-row label:first-child{display:flex;align-items:center;align-self:center;gap:4px}.size-edit-row input[type=checkbox]{width:16px;height:16px;min-height:0}
.size-picker{scroll-margin-top:125px}.size-picker>div{display:flex;gap:8px;flex-wrap:wrap}.size-picker label{position:relative;cursor:pointer}.size-picker input{position:absolute;opacity:0;width:1px;height:1px}
.size-picker label span{display:grid;gap:2px;text-align:center;min-width:66px;border:1px solid #dcd6e4;padding:9px 12px;border-radius:13px;background:white}
.size-picker small{font-size:11px}.size-picker>small{display:block;margin-top:11px}.size-picker :checked+span{background:#292033;border-color:#292033;color:white}.size-picker :focus-visible+span{outline:3px solid #9172bc;outline-offset:2px}.size-picker :disabled+span{opacity:.52;background:#f0edf3;cursor:default}.size-tag{display:block;color:#704d95}
.sales{margin:20px 0}.sales header{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.sales nav{display:flex;border-radius:30px;background:#f2eef6;padding:4px}.sales nav a{padding:8px 12px;border-radius:24px;font-size:13px}.sales nav [aria-current]{background:#282032;color:white}
.sales-numbers{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:8px;margin:20px 0}
.sales-numbers>div{padding:14px;border-radius:14px;background:#f6f3f9}.sales-numbers>div:first-child{background:#30243e;color:white}.sales-numbers small,.sales-numbers strong{display:block}.sales-numbers strong{font-size:clamp(18px,2vw,26px);margin-top:6px}.sales-bars>div{display:grid;grid-template-columns:8em 1fr auto;align-items:center;gap:10px;margin-top:7px}.sales-bars meter{width:100%;accent-color:#8e6ca8}.sales-bars meter::-webkit-meter-optimum-value{background:#9675b4}
#reviews .reviews-layout{align-items:start}#reviews .reviews-layout>.panel:first-child{padding:0;background:none;border:0;box-shadow:none;display:grid;gap:12px}#reviews .review-card,#reviews .empty{padding:clamp(18px,3vw,28px);margin:0;background:white;border:1px solid #e5dfeb;border-radius:18px;box-shadow:0 6px 20px #2e173506}
#reviews .review-card p{margin:16px 0;line-height:1.6;overflow-wrap:anywhere}#reviews .small-avatar{border-radius:50%;background:#eee7f6;color:#654786;text-transform:uppercase}#reviews .review-top .stars{font-size:14px;background:#fff6e6;color:#96651e;padding:4px 9px;border-radius:16px}#reviews .review-form{border-top:3px solid #aa91bd;padding:clamp(18px,3vw,28px)}
@media(max-width:800px){#product-choices:has(fieldset)+.buy-row{display:flex}.sales-bars>div{grid-template-columns:6em 1fr auto;font-size:12px}}
.receipt-preview small{display:block;color:#76568d}.receipt-preview{gap:10px}
.supplier-import{padding:18px;border:1px solid #dfd5e9;background:#f8f5fb;border-radius:18px}.supplier-import h3{margin:0 0 12px}.supplier-import>div{display:flex;flex-wrap:wrap;gap:8px}.supplier-import>div input{flex:1 1 220px;min-width:0}.supplier-import details{margin-top:12px;font-size:13px}.supplier-import [role=status]{margin-bottom:0}.supplier-import [role=status]:empty{display:none}.size-edit-row{grid-template-columns:repeat(auto-fit,minmax(75px,1fr))}

/* --- меню категорий: кружки с количеством, прокрутка на ПК --- */
.nav-count{display:inline-grid;place-items:center;box-sizing:border-box;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#ece6f6;color:#4b3a6e;font-size:11px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:0;transition:background .2s,color .2s}
.navigation a:hover .nav-count{background:#fff;color:#4b3a6e}
.navigation .catalog-link .nav-count{background:#ffffff2e;color:#fff}
.navigation .catalog-link:hover .nav-count{background:#ffffff40}
.navigation .offers-link .nav-count{background:#e9d8b4;color:#6d4f1c}
.navigation{scroll-behavior:auto;overscroll-behavior-x:contain}
.navigation.dragging{cursor:grabbing;user-select:none}
.navigation.dragging a{pointer-events:none}
.nav-arrow{position:sticky;z-index:3;flex:0 0 0;width:0;min-width:0;padding:0;margin:0;border:0;background:none;overflow:visible;align-self:stretch;cursor:pointer;opacity:1;transition:opacity .2s}
.nav-arrow.prev{left:0}.nav-arrow.next{right:0}
.nav-arrow i{position:absolute;top:50%;display:grid;place-items:center;width:34px;height:34px;margin-top:-17px;border-radius:50%;background:#fff;color:#35303d;border:1px solid #e5deed;box-shadow:none;transition:background .2s,color .2s,transform .2s}
.nav-arrow.prev i{left:0}.nav-arrow.next i{right:0}
.nav-arrow:hover i{background:#27272e;color:#fff;border-color:#27272e}
.nav-arrow svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.nav-arrow.is-off{opacity:0;pointer-events:none}
@media(hover:none){.nav-arrow{display:none}}

/* --- админка: фильтры и сортировка заказов --- */
.order-tools{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 20px;margin:10px 0 16px}
.order-filters{display:flex;flex-wrap:wrap;gap:8px;padding:5px;border-radius:18px;background:#f4f1fa;border:1px solid #e9e5f0}
.order-filters .chip{--dot:transparent;position:relative;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px 0 14px;border-radius:13px;border:1px solid transparent;background:transparent;color:#4a4458;font-size:13.5px;font-weight:550;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s,transform .15s}
.order-filters .chip::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--dot);box-shadow:0 0 0 3px color-mix(in srgb,var(--dot) 22%,transparent);flex:none}
.order-filters .chip[data-f="all"]::before{display:none}
.order-filters .chip[data-f="Новый"]{--dot:#e8a317}
.order-filters .chip[data-f="Подтверждён"]{--dot:#3b82f6}
.order-filters .chip[data-f="Отправлен"]{--dot:#8b5cf6}
.order-filters .chip[data-f="Завершён"]{--dot:#22a06b}
.order-filters .chip[data-f="Отменён"]{--dot:#e5484d}
.order-filters .chip[data-f="archive"]{--dot:#9a96a5}
.order-filters .chip:hover{background:#fff;color:#2a2038;box-shadow:0 1px 2px #2a20380d,0 6px 14px -6px #2a203833}
.order-filters .chip:active{transform:scale(.97)}
.order-filters .chip:focus-visible{outline:2px solid #6a4aa8;outline-offset:2px}
.order-filters .chip.active{background:linear-gradient(135deg,#2a2038,#4a3670);color:#fff;box-shadow:0 8px 18px -8px #2a2038a6}
.order-filters .chip.active::before{background:#fff;box-shadow:0 0 0 3px #ffffff2e}
.order-filters .chip.active[data-f="all"]{padding-left:16px}
.order-filters .chip .chip-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#e6e0f3;color:#4b3a6e;font-size:11.5px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums;transition:background .2s,color .2s}
.order-filters .chip:hover .chip-n{background:#ddd4ef}
.order-filters .chip.active .chip-n{background:#ffffff2e;color:#fff}
.order-sort label{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:11.5px;font-weight:650;letter-spacing:.06em;text-transform:uppercase;color:#8a8496}
.order-sort select{appearance:none;-webkit-appearance:none;min-height:42px;min-width:200px;padding:0 40px 0 16px;border-radius:14px;border:1px solid #e0daec;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236a4aa8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;color:#2a2038;font-size:14px;font-weight:550;letter-spacing:0;text-transform:none;box-shadow:0 1px 2px #2a20380a;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.order-sort select:hover{border-color:#c9bde3}
.order-sort select:focus{outline:none;border-color:#6a4aa8;box-shadow:0 0 0 4px #6a4aa826}
@media(max-width:720px){
 .order-tools{flex-direction:column;align-items:stretch;gap:12px}
 .order-filters{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -2px}
 .order-filters::-webkit-scrollbar{display:none}
 .order-filters .chip{scroll-snap-align:start;flex:none}
 .order-sort label{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
 .order-sort select{flex:1;min-width:0}
}
.row-actions form.row-archive{margin:0}
.section-title form{margin:0}

/* --- главная: иконки категорий всегда круглые (не сплющиваются при длинном названии) --- */
.category-grid .category-card>.category-icon{flex:0 0 52px;width:52px;min-width:52px;max-width:52px;height:52px;min-height:52px;aspect-ratio:1/1;border-radius:50%}
.category-grid .category-card>div{min-width:0}
@media(max-width:700px){.category-grid .category-card>.category-icon{flex-basis:44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px}}
/* --- стрелки перелистывания меню категорий: без теней --- */
.nav-arrow i,.nav-arrow:hover i{box-shadow:none!important;filter:none!important}
.navigation::before,.navigation::after{box-shadow:none!important;background:none!important}

.color-picker{border:0;padding:0;margin:16px 0}.color-picker legend{font-weight:700;margin-bottom:8px}.color-picker label{display:inline-flex;position:relative;margin:0 6px 6px 0;cursor:pointer}.color-picker input{position:absolute;opacity:0}.color-picker span,.more-cats{border:1px solid #ded8e6;border-radius:22px;padding:8px 16px;background:white;color:#42384c;font:inherit}.color-picker input:checked+span{background:#30243e;color:white}.color-picker input:focus-visible+span{outline:3px solid #9775c0}.more-cats{cursor:pointer;white-space:nowrap}.more-cats:hover{background:#f2edf8}#category-overflow{padding:8px;border:1px solid #e5dfeb;border-radius:16px;max-height:55vh;max-width:90vw;box-shadow:0 12px 36px #271a3f26}#category-overflow a{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:10px;color:inherit;text-decoration:none}#category-overflow a:hover{background:#f4eff8}#category-overflow svg{width:18px;height:18px}

/* --- цвет товара: кружки (SVG, т.к. CSP запрещает inline-style) --- */
.color-dot{display:inline-block;flex:none;width:1.05em;height:1.05em;border-radius:50%;vertical-align:-.17em;filter:drop-shadow(0 1px 1px #0000001f)}
.color-picker .color-dot{margin-right:.55em}
.color-picker span{display:inline-flex;align-items:center}
.color-picker input:checked+span .color-dot{outline:2px solid #fff;outline-offset:1px}
.color-wrap{display:grid;place-items:center}
.color-badge{position:absolute;right:10px;bottom:10px;z-index:2;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fffffff2;box-shadow:0 2px 8px #2a203826,0 0 0 1px #ece8f3}
.color-badge .color-dot{width:21px;height:21px;vertical-align:baseline;filter:none}

.size-editor [data-size-group=general] textarea{width:100%;min-height:132px;resize:vertical;font:500 14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;border-radius:14px;padding:12px;border:1px solid #dcd4e7}
.size-picker label span{min-width:72px;overflow-wrap:anywhere}.spec-panel h2,.product-features .section-title h2,.product-usage .section-title h2{overflow-wrap:anywhere;line-height:1.2}
@media(max-width:600px){.size-picker>div{gap:7px}.size-picker label span{padding:10px;min-width:68px}.spec-panel h2{font-size:clamp(19px,5vw,27px)}}


/* SandelsShop: separate, responsive order workspace (2026-11) */
.so-orders-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 20px}
.so-orders-heading h2{font-size:clamp(22px,3vw,32px);letter-spacing:-.04em;margin:0 0 6px}
.so-orders-heading p{margin:0;color:#80788d;font-size:13px}
.so-orders-heading .eyebrow{margin-bottom:7px}
.so-count-tag{padding:9px 15px;white-space:nowrap;border-radius:999px;background:#ede8f7;color:#574278;font-size:12px;font-weight:700}
.so-orders-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.so-orders-overview>a{display:flex;flex-direction:column;gap:7px;min-width:0;padding:18px 19px;border:1px solid #e8e1f0;border-radius:18px;background:#fff;box-shadow:0 4px 18px #2c1d4e07}
.so-orders-overview>a:hover{border-color:#a996cb;background:#faf8ff}
.so-orders-overview span{color:#847c8e;font-size:12px}
.so-orders-overview strong{color:#2c203c;font-size:28px;line-height:1.1;font-variant-numeric:tabular-nums}
.so-orders-list{min-width:0}
.so-order-search{margin:4px 0 18px}
.so-order-search label{display:block;color:#675d71;font-size:12px;font-weight:700;margin-bottom:7px}
.so-order-search>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.so-order-search input{min-width:0;flex:1 1 250px;min-height:46px;border:1px solid #e3dceb;border-radius:13px;background:#fff;padding:11px 15px;font-size:14px;outline:none}
.so-order-search input:focus{border-color:#8c6bbc;box-shadow:0 0 0 3px #8c6bbc23}
.so-order-search .btn{min-height:46px}
.so-search-clear{font-size:12px;color:#6c548e;text-decoration:underline}
.so-orders-table table{width:100%}
.so-orders-table tbody tr:hover{background:#faf8ff}
.so-orders-table td{vertical-align:middle}
.so-orders-table td small{display:block;margin-top:4px;color:#80778c}
.so-orders-table .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.so-open-order{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border-radius:11px;color:#543779;background:#eee8f7;font-size:12px;font-weight:700;white-space:nowrap}
.so-open-order:hover{background:#e1d5f0;color:#342148}
.so-orders-empty{padding:25px 12px;text-align:center;color:#756b7f;font-size:14px}
.so-order-pager{display:flex;justify-content:center;align-items:center;gap:16px;margin:20px 0 0;font-size:13px}
.so-order-pager>a{padding:10px 14px;border:1px solid #e3dbea;border-radius:11px;background:white;font-weight:600}
.so-order-pager>a.disabled{opacity:.35;pointer-events:none}
.so-order-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 19px}
.so-back-orders{display:inline-flex;align-items:center;gap:7px;padding:12px 16px;border:1px solid #e2d8ed;border-radius:13px;background:#fff;color:#4c356b;font-weight:750;font-size:13px;box-shadow:0 3px 10px #22112d09}
.so-back-orders:hover{background:#f1ebf9;color:#332144}
.so-breadcrumb-number{font-size:12px;color:#857c91;overflow-wrap:anywhere}
.so-order-missing{padding:15px 18px;margin-bottom:15px;border-radius:12px;background:#fcf3e7;color:#7b5618}
.so-order-detail{max-width:100%;min-width:0}
.so-order-detail>.panel{border:1px solid #e8e0ee;box-shadow:0 10px 26px #3521450b}
.so-order-detail .order-highlight{border:1px solid #e8dff1;border-radius:14px;padding:12px;margin:8px 0;background:#faf8ff}
@media(max-width:760px){
 .so-orders-heading{align-items:flex-start;flex-direction:column;gap:9px}
 .so-orders-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .so-orders-overview>a{padding:13px 15px;border-radius:14px}
 .so-orders-overview strong{font-size:24px}
 .so-orders-table{overflow:visible;max-width:100%}
 .so-orders-table table,.so-orders-table tbody,.so-orders-table tr,.so-orders-table td{display:block;width:100%}
 .so-orders-table thead{display:none}
 .so-orders-table tbody{display:grid;gap:12px}
 .so-orders-table tbody tr{border:1px solid #e5ddec;border-radius:16px;padding:14px;background:#fff;box-shadow:0 4px 12px #22132b09}
 .so-orders-table td{padding:4px 0;border:0!important}
 .so-orders-table td:first-child .thumb-stack{margin:0 0 5px}
 .so-orders-table td:nth-child(2)>strong{display:block;font-size:15px;overflow-wrap:anywhere}
 .so-orders-table td:nth-child(3){font-weight:600;color:#494052}
 .so-orders-table td:nth-child(4){font-size:18px;font-weight:750}
 .so-orders-table td:nth-child(5){margin-bottom:5px}
 .so-orders-table td:nth-child(6) .row-actions{justify-content:space-between}
 .so-orders-table .so-open-order{flex:1;justify-content:center;min-height:43px}
 .so-order-breadcrumb{align-items:flex-start;flex-direction:column;gap:8px}
 .so-back-orders{width:100%;justify-content:center}
 .so-order-search>div .btn{flex:none}
}

/* Verified author of a product review */
.review-verified-name{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}.review-verified-name .verified{margin-left:0;width:19px;height:19px;background:#8863b4;flex:none}.review-verified-name .verified .ico{width:12px;height:12px;color:white}.review-verified-name .verified:hover{background:#6f49a3}
/* Sales analytics dashboard */
.sa-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 22px}.sa-head h2{margin:0 0 7px}.sa-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.sa-filters label{display:grid;gap:5px;font-size:12px;color:#746982}.sa-filters input,.sa-filters select{width:auto;min-width:145px;padding:10px 12px;border:1px solid #e1dbea;border-radius:12px;background:white}.sa-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:20px 0}.sa-metric{padding:22px;background:white;border:1px solid #e9e2f1;border-radius:19px;min-width:0}.sa-metric small{display:block;color:#8d8098;font-size:12px}.sa-metric strong{display:block;overflow-wrap:anywhere;font-size:clamp(20px,2vw,30px);letter-spacing:-.7px;margin:10px 0}.sa-metric em{color:#81748c;font-size:11px}.sa-panels{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:20px}.sa-panel{padding:22px;background:white;border:1px solid #e9e2f1;border-radius:19px;min-width:0}.sa-panel h3{margin:0 0 18px;font-size:18px}.sa-bars{display:flex;align-items:end;height:190px;gap:5px;padding:8px 0 0;border-bottom:1px solid #e9e2f1;overflow-x:auto}.sa-bar{height:100%;flex:1 0 8px;min-width:8px;display:flex;align-items:end}.sa-bar span{width:100%;background:linear-gradient(#a789d1,#6e4e9a);border-radius:5px 5px 0 0;min-height:2px}.sa-table-wrap{overflow:auto}.sa-table-wrap table{width:100%;min-width:440px}.sa-table-wrap th,.sa-table-wrap td{padding:10px;text-align:left}.sa-table-wrap td:last-child,.sa-table-wrap th:last-child{text-align:right}.sa-soft{color:#80728a;font-size:12px}.sa-empty{color:#80728a;padding:20px;text-align:center}@media(max-width:850px){.sa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sa-panels{grid-template-columns:1fr}}@media(max-width:500px){.sa-metric{padding:16px}.sa-filters{width:100%}.sa-filters label{flex:1}.sa-filters input{min-width:0;width:100%}}

/* Customers and verification management */
.su-users .sa-head{margin-bottom:12px}.su-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0 20px}.su-counts span{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid #e9e1f2;background:#faf7fe;border-radius:14px;color:#7b6a8e;font-size:12px}.su-counts strong{font-size:22px;color:#30203f}.su-search{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 20px}.su-search label{display:grid;gap:6px;flex:1;min-width:170px;font-size:12px;color:#756481}.su-search input,.su-search select{width:100%;padding:11px 13px;border-radius:12px;border:1px solid #e2d8eb;background:white;color:#34253e}.su-results article{gap:12px;flex-wrap:wrap}.su-user-details{min-width:0;flex:1}.su-user-details strong{display:flex;align-items:center;gap:6px}.su-user-details small{display:block;overflow-wrap:anywhere}.su-status{display:inline-flex;margin-top:7px;padding:5px 9px;border-radius:15px;font-size:11px;background:#f2edf7;color:#755d84}.su-pending{background:#fff2d9;color:#916820}.su-good{background:#eee7fa;color:#7652aa}@media(max-width:640px){.su-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.su-search .btn{flex:1}.su-results article form{width:100%;display:flex;flex-wrap:wrap;gap:8px}.su-results article form button{flex:1}}


/* Purchased option badges: packs, sizes and visual-only colour swatches. */
.so-variants{display:inline-flex;align-items:center;gap:7px;flex-wrap:wrap;vertical-align:middle;max-width:100%;margin:4px 0}
.so-variant{display:inline-flex;align-items:center;gap:5px;border-radius:10px;padding:6px 9px;font-size:12px;font-weight:750;line-height:1.2;border:1px solid #e6ddf1;white-space:normal;overflow-wrap:anywhere}
.so-variant-pack{background:#f1eafb;border-color:#ddc9f3;color:#69419a}
.so-variant-pack::before{content:'▣';font-size:14px;line-height:1;color:#875abe}
.so-variant-size{background:#eef5ff;border-color:#cdddf5;color:#305d96}
.so-variant-size::before{content:'◇';font-size:14px;line-height:1;color:#527fc3}
.so-color-selection{display:inline-flex;align-items:center;gap:0;padding:4px 5px;border-radius:10px;border:1px solid #e3dced;background:#fbf9ff;min-height:28px;vertical-align:middle;cursor:help;white-space:nowrap}
.so-color-dot{display:block;width:20px;height:20px;flex:none;border-radius:50%;border:2px solid #fff;outline:1px solid rgba(50,35,65,.14);box-shadow:0 1px 4px rgba(43,33,58,.15)}
.so-color-dot+.so-color-dot{margin-left:-5px}
.so-order-preview{display:grid;gap:6px;margin-top:8px;min-width:170px;max-width:440px}
.so-preview-line{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:6px 8px;background:#faf7ff;border-radius:9px;border:1px solid #f0eaf6}
.so-preview-name{font-size:11px;font-weight:550;color:#5a5167;line-height:1.2;max-width:220px;overflow-wrap:anywhere}
.so-preview-line .so-variant{font-size:10px;padding:4px 6px}
.so-preview-line .so-color-dot{width:16px;height:16px}
.so-preview-qty{font-size:11px;font-weight:800;color:#6f518d;white-space:nowrap}
.so-order-detail .order-purchase-info{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.so-order-detail .order-purchase-info .so-variants{margin:0 4px}
.sum-order-title .so-variants{display:flex;max-width:100%;margin:5px 0}
.np-sender-current{padding:11px 13px;border:1px solid #ded2eb;border-radius:12px;background:#faf7ff;color:#4f3e61;font-size:13px;display:flex;align-items:center;gap:8px;margin:9px 0;flex-wrap:wrap}
.np-sender-current[hidden]{display:none!important}
.np-sender-current strong{color:#6f499d;font-weight:750;overflow-wrap:anywhere}
@media(max-width:640px){.so-order-preview{min-width:0;max-width:100%}.so-preview-name{max-width:100%}.so-variants{gap:5px}.so-variant{font-size:11px;padding:5px 7px}}


/* v8.2: category overflow menu — independent of the one-line, scrolling nav. */
.more-cats{display:inline-flex;align-items:center;justify-content:center;gap:9px;flex-shrink:0;min-height:42px;font-weight:600!important;transition:background .18s,border-color .18s,color .18s}
.more-cats[aria-expanded="true"]{border-color:#bca8d5;background:#f5f0fb;color:#5d407e}
.more-cats-chevron{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex:0 0 16px;transform:rotate(0deg);transition:transform .18s ease}
.more-cats-chevron svg{display:block;width:15px;height:15px;overflow:visible;fill:none!important;stroke:currentColor!important;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.more-cats[aria-expanded="true"] .more-cats-chevron{transform:rotate(180deg)}
#category-overflow.category-menu{position:fixed;inset:auto;box-sizing:border-box;width:min(405px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:min(560px,75dvh);margin:0;padding:10px;border:1px solid #e8e0f0;border-radius:22px;background:#fff;color:#27232e;box-shadow:0 22px 62px rgba(34,23,57,.18),0 3px 12px rgba(34,23,57,.07);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#d7cbe5 transparent;white-space:normal;line-height:1.45;font-size:13px;z-index:9999}
#category-overflow.category-menu:not(:popover-open){display:none}
#category-overflow.category-menu:popover-open{display:block;animation:category-menu-in .16s ease-out both}
@keyframes category-menu-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
#category-overflow.category-menu *,#category-overflow.category-menu *::before,#category-overflow.category-menu *::after{box-sizing:border-box}
#category-overflow .category-menu-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 11px 14px;margin:0 2px 7px;border-bottom:1px solid #efe9f5;white-space:normal}
#category-overflow .category-menu-heading{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:4px}
#category-overflow .category-menu-heading strong{font-size:15px;font-weight:750;letter-spacing:-.02em;line-height:1.25}
#category-overflow .category-menu-heading small{font-size:11px;font-weight:450;color:#8c8099;line-height:1.35;white-space:normal}
#category-overflow .category-menu-total{display:grid;place-items:center;flex-shrink:0;min-width:30px;height:30px;padding:0 8px;background:#eee8f7;color:#6d528f;font-size:12px;font-weight:750;border-radius:12px}
#category-overflow .category-menu-items{display:grid;grid-template-columns:minmax(0,1fr);gap:5px;min-width:0}
#category-overflow a.category-menu-item{display:grid!important;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;column-gap:12px;min-width:0;width:100%;max-width:100%;margin:0;padding:11px;border:1px solid transparent;border-radius:14px;color:#282330;background:#fff;box-shadow:none;white-space:normal!important;text-decoration:none;line-height:1.4;transition:background .15s ease,border-color .15s ease,transform .15s ease;font-size:13px;font-weight:610;overflow:visible}
#category-overflow a.category-menu-item:hover,#category-overflow a.category-menu-item:focus-visible{background:#f7f3fc;border-color:#eee4f7;color:#583983;transform:none}
#category-overflow .category-menu-label{display:block;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;line-height:1.42}
#category-overflow .category-menu-icon{display:grid;place-items:center;flex-shrink:0;width:36px;height:36px;border-radius:11px;background:#f2edf9;color:#7953b0}
#category-overflow .category-menu-icon svg{width:19px;height:19px;max-width:19px;max-height:19px;flex-shrink:0;color:inherit}
#category-overflow a.category-menu-item:hover .category-menu-icon{background:#ebe2f7;color:#684194}
#category-overflow .category-menu-item .nav-count{justify-self:end;flex-shrink:0;min-width:23px;height:23px;font-size:11px;padding:0 6px;white-space:nowrap;border-radius:99px;background:#eee8f7;color:#634986}
#category-overflow a.category-menu-all{display:flex!important;justify-content:space-between;align-items:center;gap:10px;margin:9px 2px 1px;padding:13px 14px;border-radius:13px;border:1px solid #e9e0f1;background:#f9f6fc;color:#604786!important;font-size:12px;font-weight:700;white-space:normal;text-decoration:none}
#category-overflow a.category-menu-all:hover{background:#f0e9f7;border-color:#d9cbe9}
#category-overflow a.category-menu-all svg{width:16px;height:16px;flex-shrink:0}
@media(max-width:520px){#category-overflow.category-menu{padding:8px;border-radius:18px}#category-overflow a.category-menu-item{padding:10px;grid-template-columns:34px minmax(0,1fr) auto;column-gap:10px;font-size:12px}#category-overflow .category-menu-icon{width:34px;height:34px}#category-overflow .category-menu-header{padding:10px 9px 12px}}
@media(prefers-reduced-motion:reduce){#category-overflow.category-menu:popover-open{animation:none}.more-cats-chevron{transition:none}}

/* Stock indicator: green only for available inventory; red when unavailable. */
.product-detail .detail-copy .stock.stock-out,
.product-card .product-meta .stock.stock-out {
  color: #b42339 !important;
  background: #fff0f2;
  border: 1px solid #f5c9d1;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  line-height: 1.35;
}
.product-detail .detail-copy .stock.stock-in,
.product-card .product-meta .stock.stock-in {
  color: #31754d !important;
}
.product-card .product-meta .stock.stock-out {
  padding: 4px 8px;
  font-size: 10px;
  white-space: nowrap;
}
@media (max-width: 540px) {
  .catalog-products .product-meta .stock.stock-out,
  .product-card .product-meta .stock.stock-out {
    display: inline-flex;
    padding: 3px 6px;
    font-size: 9px;
  }
}

/* Public SMTP status in owner admin, without exposing passwords */
.ss-smtp-pass-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:13px;margin:2px 0 0;line-height:1.5}
.ss-pass-good{color:#24734c;font-weight:700;display:inline-flex;align-items:center;gap:5px;background:#eaf6ef;border-radius:999px;padding:5px 11px}
.ss-pass-muted{color:#777184}.ss-pass-bad{color:#a24622;background:#fff1e9;padding:5px 11px;border-radius:999px;font-weight:700}
.ss-returns-config{display:grid;gap:12px;padding:22px;border-radius:19px;border:1px solid #e7def1;background:#faf7fd}
.ss-returns-config h3{margin:0}.ss-returns-config textarea{display:block;width:100%;min-height:90px;resize:vertical;border:1px solid #ded6ea;border-radius:13px;padding:13px;line-height:1.5;background:#fff}
.ss-returns-config .btn{width:fit-content}

/* Analytics v11.7: server-rendered SVG chart works with strict CSP (no inline styles). */
.sa-profit-card{display:flex;gap:22px;align-items:center;min-height:166px;margin:22px 0 12px;padding:28px 30px;background:linear-gradient(115deg,#271b3b 0%,#483267 61%,#6d4b95 100%);color:#fff;border:1px solid #513b6c;border-radius:22px;box-shadow:0 15px 38px rgba(38,25,60,.16)}
.sa-profit-icon{display:grid;place-items:center;flex:0 0 57px;width:57px;height:57px;border-radius:18px;background:rgba(255,255,255,.11)}
.sa-profit-icon svg{width:25px;height:25px}
.sa-profit-copy{min-width:0;flex:1}
.sa-profit-copy small{display:block;font-weight:700;font-size:13px;color:#e9d7fb}
.sa-profit-copy strong{display:block;margin:5px 0;font-size:clamp(32px,4.5vw,52px);font-weight:800;line-height:1.13;letter-spacing:-1.8px;overflow-wrap:anywhere}
.sa-profit-copy p{margin:9px 0 0;color:#e3d9ec;font-size:12px;line-height:1.65;max-width:640px}
.sa-profit-side{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:130px;padding:15px;border-radius:16px;background:rgba(255,255,255,.08);text-align:center}
.sa-profit-side span{font-size:12px;color:#f0e5fa}.sa-profit-side b{font-size:30px;margin-top:4px}
.sa-profit-warning{margin:0 0 20px;padding:12px 16px;border:1px solid #e9d8f6;border-radius:14px;background:#faf6ff;color:#614478;font-size:13px;line-height:1.65}
.sa-profit-warning b{white-space:nowrap}
.sa-chart-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.sa-chart{display:block;width:100%;min-width:320px;height:auto;max-height:260px;overflow:visible}
.sa-chart-grid{stroke:#eae3f1;stroke-width:1;stroke-dasharray:4 5}
.sa-chart-axis{font-size:11px;fill:#8b7c98;font-weight:500}
.sa-chart-date{font-weight:600}
.sa-chart-bar{cursor:help;outline:none}
.sa-chart-bar rect{transition:opacity .15s ease}
.sa-chart-bar:hover rect,.sa-chart-bar:focus-visible rect{opacity:.74;stroke:#55377c;stroke-width:1.5}
.pf-copy-id-button.is-copied{border-color:#b3d8bb;background:#f1fbf1;color:#236545}
@media(max-width:650px){.sa-profit-card{gap:12px;padding:21px 18px;align-items:flex-start;flex-wrap:wrap}.sa-profit-icon{width:45px;height:45px;flex-basis:45px}.sa-profit-side{margin-left:57px;padding:9px 14px;flex-direction:row;align-items:center;gap:12px;min-width:0}.sa-profit-side b{font-size:22px;margin:0}.sa-profit-copy strong{letter-spacing:-1.2px}.sa-chart{min-width:320px}}


/* v11.8: richer analytics and overview charts */
.sales-numbers-rich{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0 16px}
.sales-numbers-rich>div{padding:18px 20px;border-radius:18px;background:#f7f3fb;border:1px solid #ebe1f5;display:flex;flex-direction:column;gap:6px;min-height:132px}
.sales-numbers-rich>div.is-featured{background:linear-gradient(135deg,#2c1e40,#4f3970);color:#fff;border-color:#51386f;box-shadow:0 16px 34px rgba(49,31,74,.12)}
.sales-numbers-rich>div.is-featured small,.sales-numbers-rich>div.is-featured em{color:#e8dbf7}
.sales-numbers-rich>div.is-profit{background:linear-gradient(135deg,#fbf8ff,#f0e8fb);border-color:#dfd1f0}
.sales-numbers-rich strong{font-size:clamp(24px,2.4vw,42px);line-height:1.1;letter-spacing:-.8px;overflow-wrap:anywhere}
.sales-numbers-rich em{font-style:normal;color:#7d7286;font-size:12px;line-height:1.45;margin-top:auto}
.sales-big-chart{margin-top:18px;padding:20px 22px;border-radius:22px;background:#fff;border:1px solid #ece4f3}
.sales-chart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}
.sales-chart-head h3{margin:0 0 5px;font-size:22px}.sales-chart-head p{margin:0;color:#7e7289;font-size:13px;line-height:1.55}
.sales-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.sales-legend span{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#6f6480;background:#faf7fd;border:1px solid #ede3f6;padding:7px 10px;border-radius:999px}
.sales-legend i{display:inline-block;flex:0 0 auto}.sales-legend .is-bar{width:14px;height:14px;border-radius:4px;background:linear-gradient(180deg,#7f5ab6,#b38fe5)}.sales-legend .is-line{width:18px;height:0;border-top:3px solid #6c3fb7;position:relative}.sales-legend .is-line::after{content:'';position:absolute;right:-2px;top:-5px;width:8px;height:8px;border-radius:50%;background:#fff;border:2px solid #6c3fb7}
.sales-chart-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.sales-chart-svg{display:block;width:100%;min-width:520px;height:auto}
.sales-chart-bg{fill:#fcfaff}.sales-chart-grid{stroke:#ece4f3;stroke-width:1;stroke-dasharray:4 6}.sales-chart-axis{font-size:11px;fill:#8d8198;font-weight:600}.sales-chart-date{font-size:12px}.sales-chart-line{stroke:#6c3fb7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 10px rgba(108,63,183,.18))}.sales-chart-dot{fill:#fff;stroke:#6c3fb7;stroke-width:2}.sales-chart-bar rect{transition:opacity .16s ease,transform .16s ease;transform-origin:center bottom}.sales-chart-bar:hover rect,.sales-chart-bar:focus-visible rect{opacity:.82;transform:translateY(-2px)}
.sa-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr);gap:14px;align-items:stretch;margin-top:22px}.sa-mini-card{display:flex;flex-direction:column;justify-content:center;padding:24px;border-radius:22px;background:#fff;border:1px solid #eadff3;box-shadow:0 10px 26px rgba(42,26,61,.05)}.sa-mini-card small{display:block;font-size:12px;color:#8b7e96}.sa-mini-card strong{display:block;margin:6px 0 8px;font-size:clamp(28px,3.2vw,42px);line-height:1.1;letter-spacing:-1px}.sa-mini-card span{font-size:13px;color:#786b84}.sa-panel-chart{padding-bottom:18px}.sa-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:12px}.sa-legend{display:flex;gap:10px;flex-wrap:wrap}.sa-legend span{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #ece2f5;border-radius:999px;background:#fbf8ff;font-size:12px;color:#6f6180}.sa-legend i{display:inline-block;flex:0 0 auto}.sa-legend-bar{width:14px;height:14px;border-radius:4px;background:linear-gradient(180deg,#ab8be3,#6b4c96)}.sa-legend-line{width:18px;height:0;border-top:3px solid #784bc8;position:relative}.sa-legend-line::after{content:'';position:absolute;right:-2px;top:-5px;width:8px;height:8px;border-radius:50%;background:#fff;border:2px solid #784bc8}.sa-chart-large{min-width:560px;max-height:none}.sa-chart-bg{fill:#fcf9ff}.sa-chart-profit-line{stroke:#784bc8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 10px rgba(120,75,200,.18))}.sa-chart-profit-dot{fill:#fff;stroke:#784bc8;stroke-width:2}
@media(max-width:1100px){.sales-numbers-rich{grid-template-columns:repeat(3,minmax(0,1fr))}.sa-hero-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sales-numbers-rich{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-big-chart{padding:16px}.sa-chart-large,.sales-chart-svg{min-width:470px}}
@media(max-width:540px){.sales-numbers-rich{grid-template-columns:1fr}.sales-numbers-rich>div{min-height:112px;padding:16px 16px}.sales-chart-head h3{font-size:19px}.sa-mini-card{padding:18px}.sa-panel-head{margin-bottom:10px}.sa-chart-large,.sales-chart-svg{min-width:430px}}
