/* ViSta Knit details on top of the LILI Work layout: the logo and a few small helpers. Fonts and shapes stay as in LILI Work. */
/* The wordmark "ViSta Knit" in the logo uses the shop's font (Latin letters only). */
@font-face{font-family:"VK Kurale";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/vk-kurale-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"VK Kurale";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/vk-kurale-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Logo: the shop's round avatar next to the name. */
.brand{align-items:center;gap:10px}
.brand img{width:38px;height:38px;border-radius:50%;object-fit:cover;flex:none;background:var(--brand-surface);box-shadow:0 0 0 2px var(--brand-accent)}
.brand .brand-text{display:flex;flex-direction:column;gap:2px;font-size:inherit;font-weight:inherit;letter-spacing:0;line-height:1.1;color:inherit}
.brand .brand-text b{font:400 21px/1.1 "VK Kurale",Georgia,serif;letter-spacing:0;color:var(--brand-on-primary)}
.brand .brand-text span{font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--brand-on-primary-muted)}
.login-art .brand img{width:48px;height:48px}
.login-art .brand .brand-text b{font-size:26px}
.login-art h1 i{color:var(--brand-accent)}

input[type=color]{width:64px;min-height:40px;padding:4px;border:1px solid var(--brand-line);border-radius:8px;background:var(--brand-surface)}
.badge.active,.badge.success{background:#e6ecd9;color:var(--brand-success)}

/* Top bar settings: a list of messages. */
.announcement-form .announcement-interval{max-width:340px}
.announcement-items{display:grid;gap:14px;margin:18px 0}
.announcement-item{border:1px solid var(--brand-line);border-radius:10px;padding:16px 18px;margin:0;background:var(--brand-paper)}
.announcement-item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.announcement-item-actions{display:flex;gap:6px}
.announcement-texts{grid-template-columns:repeat(3,minmax(0,1fr))}
.announcement-preview{background:var(--brand-primary);color:var(--brand-on-primary);border-radius:8px;padding:12px;text-align:center;margin-top:20px;font-size:12px}
@media(max-width:900px){.announcement-texts{grid-template-columns:1fr}}
a.text-link,.dictionary-edit,.currency-rate-link{color:var(--brand-rose)}

/* Dictionary groups: kinds of products under their category, features and sizes under their group. */
.dictionary-group+.dictionary-group{margin-top:22px}
.dictionary-group-title{display:flex;align-items:baseline;gap:8px;font-size:13px;font-weight:600;letter-spacing:0;color:var(--brand-ink);margin:0 0 4px;padding:0 4px 6px;border-bottom:1px solid var(--brand-line)}
.dictionary-group-title small{font-weight:400;color:var(--brand-muted)}
.multi-select-group{margin:10px 4px 4px;font-size:11px;font-weight:600;color:var(--brand-muted)}
.multi-select-group:first-child{margin-top:2px}

/* Text source switch next to the text tabs: from the material or written by hand. */
.text-source{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:10px 0 12px}
.text-source-switch{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:500;color:var(--brand-ink);cursor:pointer;margin:0}
.text-source-switch input{position:absolute;opacity:0;width:1px;height:1px}
.text-source-track{position:relative;width:34px;height:20px;border-radius:10px;background:var(--brand-line);transition:background .15s;flex:none}
.text-source-track::after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:var(--brand-surface);box-shadow:0 1px 2px rgb(75 46 36 / .25);transition:transform .15s}
.text-source-switch input:checked+.text-source-track{background:var(--brand-primary)}
.text-source-switch input:checked+.text-source-track::after{transform:translateX(14px)}
.text-source-switch input:focus-visible+.text-source-track{outline:2px solid var(--brand-primary);outline-offset:2px}
.text-source-switch input:disabled+.text-source-track{opacity:.5}
.text-source-note{font-size:12px;color:var(--brand-muted)}
.production-own{display:grid;grid-template-columns:repeat(2,minmax(0,160px));gap:10px 14px;align-items:end}
.production-own .help,.production-own .inline-errors{grid-column:1/-1;margin:0}
@media(prefers-reduced-motion:reduce){.text-source-track,.text-source-track::after{transition:none}}

/* Ukrainian and English texts from Shopify: shown read-only until "Translate" is pressed. */
.shopify-translation{display:grid;gap:8px}
.shopify-translation-bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.shopify-translation-bar .badge{font-weight:500}
.shopify-translation-bar .badge.warning{background:#f8ecd6;color:#8a6420}
.shopify-translation-bar .button{min-height:32px;padding:0 12px;font-size:12px}
.shopify-readonly{margin:0;padding:9px 12px;border:1px dashed var(--brand-line);border-radius:8px;background:var(--brand-paper);color:var(--brand-ink);min-height:38px}
.shopify-readonly.empty{color:var(--brand-muted)}
.shopify-translation-note{margin:0;font-size:12px;color:var(--brand-muted)}
.shopify-translation-text textarea{width:100%}

/* Dictionaries as a table: one row per record, names in three languages side by side. */
.dictionary-table-wrap{overflow-x:auto;margin:0 -4px}
.dictionary-table{width:100%;border-collapse:collapse;font-size:13px}
.dictionary-table th{text-align:left;font-size:11px;font-weight:600;color:var(--brand-muted);padding:8px 10px;border-bottom:1px solid var(--brand-line);white-space:nowrap}
.dictionary-table td{padding:7px 10px;border-bottom:1px solid var(--brand-line);vertical-align:middle;color:var(--brand-ink)}
.dictionary-table tbody tr:hover{background:var(--brand-paper)}
.dictionary-table tr.is-inactive td{color:var(--brand-muted)}
.dictionary-table .badge{margin-left:8px}
.dictionary-row-open{border:0;background:none;padding:0;font:inherit;font-weight:600;color:var(--brand-ink);cursor:pointer;text-align:left}
.dictionary-row-open:hover{color:var(--brand-rose);text-decoration:underline}
.dictionary-col-muted{color:var(--brand-muted)}
.dictionary-col-code{font-variant-numeric:tabular-nums;color:var(--brand-muted);white-space:nowrap}
.dictionary-col-count{width:72px;text-align:right;font-variant-numeric:tabular-nums}
.dictionary-col-edit{width:56px;text-align:right;white-space:nowrap}
.dictionary-col-edit .icon-button{width:30px;height:30px}
.dictionary-col-photo{width:56px}
.dictionary-col-photo img,.dictionary-photo-empty{display:block;width:44px;height:44px;border-radius:8px;object-fit:cover;background:var(--brand-soft)}
.dictionary-photo-empty{display:flex;align-items:center;justify-content:center;color:var(--brand-muted)}
.dictionary-group .dictionary-group-title{border-bottom:0;padding-bottom:2px;margin-top:4px}
.decor-image-field{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.decor-image-field img{width:64px;height:64px;border-radius:8px;object-fit:cover}
@media(max-width:720px){.dictionary-table th:nth-child(3),.dictionary-table td:nth-child(3){display:none}}

/* Decoration choice in the product editor. */
.decor-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}
.decor-choice{position:relative;display:grid;gap:6px;padding:8px;border:1px solid var(--brand-line);border-radius:10px;background:var(--brand-surface);cursor:pointer}
.decor-choice input{position:absolute;top:10px;left:10px;width:16px;height:16px;accent-color:var(--brand-primary)}
.decor-choice:has(input:checked){border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}
.decor-choice:has(input:focus-visible){outline:2px solid var(--brand-primary);outline-offset:2px}
.decor-choice.is-inactive{opacity:.6}
.decor-choice-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--brand-soft);color:var(--brand-muted)}
.decor-choice-photo img{width:100%;height:100%;object-fit:cover}
.decor-choice-name{font-size:13px;font-weight:600;line-height:1.3}
.decor-choice-name small{display:block;font-size:11px;font-weight:400;color:var(--brand-muted)}
.decor-optional{margin-top:16px}
.decor-group-title{font-size:12px;font-weight:600;color:var(--brand-muted);margin:16px 0 8px}.decor-group-title:first-child{margin-top:0}

/* Interface language in the profile menu */
.profile-popover .profile-language{display:flex;flex-direction:column;gap:6px;margin:4px 0;padding:9px 12px;border-top:1px solid var(--brand-line);border-bottom:1px solid var(--brand-line)}
.profile-language-title{font-size:11px;color:var(--brand-muted)}
.profile-language-choices{display:flex;gap:6px}
.profile-popover .profile-language button{flex:1;width:auto;justify-content:center;padding:7px 8px;border:1px solid var(--brand-line);border-radius:7px;font-size:12px}
.profile-popover .profile-language button.active{background:var(--brand-primary);border-color:var(--brand-primary);color:var(--brand-on-primary)}

/* Ready pieces by decoration in the stock table */
.stock-decor{margin-top:4px;font-size:12px}
.stock-decor summary{cursor:pointer;color:var(--brand-muted);text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;list-style:none}
.stock-decor summary::-webkit-details-marker{display:none}
.stock-decor.has-values summary{color:var(--brand-rose);font-weight:600;text-decoration:none}
.stock-decor-list{display:grid;gap:4px;margin-top:6px;padding:8px;border:1px solid var(--brand-line);border-radius:8px;background:var(--brand-surface);max-width:280px}
.stock-decor-list label{display:grid;grid-template-columns:minmax(0,1fr) 72px;align-items:center;gap:8px}
.live-stock-table .stock-decor-list input,.stock-decor-list input{width:72px;min-width:0;padding:4px 6px;text-align:right}
.decor-dialog-settings{display:flex;flex-wrap:wrap;align-items:end;gap:10px 24px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--brand-line)}
.decor-dialog-settings .decor-primary-field{margin:0;flex:0 1 320px}
.decor-dialog-settings .decor-optional{margin:0 0 8px}

/* Bestseller mark: the checkbox in the product editor and the note in the product list */
.bestseller-field{display:flex;align-items:center;gap:8px;margin-top:14px}
.bestseller-field .checkbox{margin:0}
.catalog-bestseller{color:var(--brand-rose);font-weight:600}

/* Chats in the main menu: how many visitors wait for an answer */
.main-nav small.chat-nav-badge{background:var(--brand-rose);color:#fff;font-weight:600}
.sidebar .main-nav small.chat-nav-badge.is-empty{display:none!important}

/* Product editor, 21.11.2026: material and colours, sizes and the discount live in «Про виріб» and «Ціна та знижка». */
.editor-v5 .material-control>.material-control-text{display:flex;align-items:baseline;gap:6px;overflow:hidden;white-space:nowrap}
.editor-v5 .material-control-text>span{flex:0 0 auto;max-width:60%}
.editor-v5 .material-control-text small{flex:1 1 auto;min-width:0}
.editor-v5 .primary-color-control>.material-control-swatches{display:none!important}
.editor-v5 .material-control-text>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:500}
.editor-v5 .material-control-text small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;color:var(--brand-muted)}
.editor-v5 .primary-color-control>.material-control-swatches{display:flex;align-items:center;flex:0 0 auto}
.editor-v5 .material-control-swatches img,.editor-v5 .material-control-swatches i{width:20px;height:20px;margin-left:-6px;border:2px solid var(--brand-surface);border-radius:50%;object-fit:cover;display:block}
.editor-v5 .material-control-swatches span{margin-left:4px;font-size:10.5px;color:var(--brand-muted)}
.color-dialog-material{display:flex;align-items:center;gap:10px;padding:12px 20px 0}
.color-dialog-material label{margin:0;font-size:12px;font-weight:600}
.color-dialog-material select{flex:1;max-width:340px;min-height:38px}
.color-dialog .product-color-choice.primary{box-shadow:0 0 0 2px var(--brand-rose)}
.color-dialog .color-primary-toggle{margin-top:2px;padding:3px 8px;border:1px solid var(--brand-line);border-radius:999px;background:var(--brand-surface);color:var(--brand-muted);font-size:10.5px;cursor:pointer}
.color-dialog .color-primary-toggle[aria-pressed=true]{border-color:var(--brand-rose);background:var(--brand-primary-soft);color:var(--brand-rose);font-weight:600}
.color-dialog .color-primary-toggle:disabled{opacity:.5;cursor:default}
.size-picker-dialog .size-choice-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;margin-bottom:14px}
.size-picker-dialog .size-choice{display:flex;align-items:flex-start;gap:8px;margin:0;padding:9px 10px;border:1px solid var(--brand-line);border-radius:9px;background:var(--brand-surface);font-size:12.5px;font-weight:500;cursor:pointer}
.size-picker-dialog .size-choice input{flex:0 0 16px;width:16px;height:16px;margin:1px 0 0;accent-color:var(--brand-primary)}
.size-picker-dialog .size-choice:has(input:checked){border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}
.size-picker-dialog .size-choice.is-inactive{opacity:.6}
.size-picker-dialog .size-choice-name{display:flex;flex-direction:column;gap:2px;min-width:0}
.size-picker-dialog .size-choice-name small{font-size:10.5px;font-weight:400;color:var(--brand-muted)}

/* «Про виріб», 21.11.2026: the title, SKU, status and the bestseller mark in one row; material, sizes and decor in the second row of three. */
.editor-v5 .identity-panel .identity-core{grid-template-columns:minmax(0,1fr) 104px 150px max-content;grid-template-areas:"title sku status best" "description description description description"}
.editor-v5 .identity-bestseller{grid-area:best}
.editor-v5 .bestseller-toggle{display:flex;align-items:center;gap:8px;box-sizing:border-box;height:37.5px;min-height:37.5px;margin:6px 0 0;padding:0 12px;border:1px solid var(--brand-line);border-radius:7px;background:var(--brand-surface);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer}
.editor-v5 .bestseller-toggle:has(input:checked){border-color:var(--brand-primary);background:var(--brand-primary-soft)}
@container identity (max-width:640px){.editor-v5 .identity-panel .identity-core{grid-template-columns:minmax(0,1fr) minmax(0,1fr) max-content;grid-template-areas:"title title title" "sku status best" "description description description"}}
.editor-v5 .identity-classification .classification-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@container identity (max-width:420px){.editor-v5 .identity-classification .classification-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container identity (max-width:260px){.editor-v5 .identity-classification .classification-grid{grid-template-columns:minmax(0,1fr)}}
/* The discount of a product (21.11.2026): "Без знижки / Зробити знижку / Спільна знижка", the price on sale and the percent,
   the dates, the label, and what the site will show. The regular price is read-only while there is a discount. */
.editor-v5 .identity-pricing>.discount-box{grid-area:auto;grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;max-width:none;min-width:0;margin:16px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--brand-line)}
.editor-v5 .discount-box [hidden]{display:none!important}
.editor-v5 .discount-box .field-label{display:flex;align-items:center;gap:6px;min-height:20px;margin:0 0 6px;font-size:12px;font-weight:500;line-height:1.3}
.editor-v5 .discount-box>.field-label{margin:0}
.editor-v5 .discount-box .field-label label{margin:0;font-size:12px;font-weight:500}
.editor-v5 .discount-modes{display:flex;gap:3px;padding:3px;border:1px solid var(--brand-line);border-radius:9px;background:var(--brand-soft)}
.editor-v5 .discount-modes label{position:relative;display:flex;flex:1 1 0;min-width:0;margin:0;cursor:pointer}
.editor-v5 .discount-modes input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.editor-v5 .discount-modes span{display:flex;flex:1;align-items:center;justify-content:center;min-height:32px;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:500;line-height:1.25;text-align:center;color:var(--brand-muted)}
.editor-v5 .discount-modes input:checked+span{background:var(--brand-surface);color:var(--brand-ink);box-shadow:0 1px 2px rgba(60,40,30,.12)}
.editor-v5 .discount-modes input[value=own]:checked+span{color:var(--brand-rose)}
.editor-v5 .discount-modes input:focus-visible+span{outline:2px solid var(--brand-primary);outline-offset:1px}
.editor-v5 .discount-own,.editor-v5 .discount-shared{display:grid;gap:12px;min-width:0}
.editor-v5 .discount-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.editor-v5 .discount-row .form-field{min-width:0;margin:0;padding:0}
.editor-v5 .discount-box input:not([type=radio]),.editor-v5 .discount-box select{box-sizing:border-box;width:100%;height:38px;min-height:38px;margin:0;padding:8px 10px;border-radius:7px;font-size:12px}
.editor-v5 .discount-box .inline-errors{margin:-6px 0 0}
.editor-v5 .discount-box .field-optional{margin-left:auto;font-size:11px;font-weight:400;color:var(--brand-muted)}
.editor-v5 .discount-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.editor-v5 .discount-chip{min-height:28px;padding:0 10px;border:1px solid var(--brand-line);border-radius:999px;background:var(--brand-surface);color:var(--brand-ink);font:inherit;font-size:11.5px;line-height:1;cursor:pointer}
.editor-v5 .discount-chip:hover{border-color:var(--brand-primary)}
.editor-v5 .discount-chip:focus-visible{outline:2px solid var(--brand-primary);outline-offset:1px}
.editor-v5 .discount-labels{display:grid;gap:6px}
.editor-v5 .discount-label-input{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:8px;margin:0;font-size:11px;font-weight:600;color:var(--brand-muted)}
.editor-v5 .discount-manage{justify-self:start;font-size:12px;color:var(--brand-rose)}
.editor-v5 .discount-result{padding:10px 12px;border-radius:9px;background:var(--brand-soft)}
.editor-v5 .discount-result.is-active{background:var(--brand-primary-soft)}
.editor-v5 .discount-result p{margin:0}
.editor-v5 .discount-result-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;font-variant-numeric:tabular-nums}
.editor-v5 .discount-result-price del{font-size:13px;color:var(--brand-muted)}
.editor-v5 .discount-result-price strong{font-size:18px;line-height:1.2;color:var(--brand-rose)}
.editor-v5 .discount-result-badge{padding:1px 7px;border-radius:999px;background:var(--brand-rose);color:#fff;font-size:11px;font-weight:600}
.editor-v5 .discount-result.is-ended .discount-result-price{opacity:.55}
.editor-v5 .discount-result .discount-result-text{margin-top:4px;font-size:11.5px;line-height:1.45;color:var(--brand-ink)}
.editor-v5 .discount-lock-note{margin:0;font-size:11px;line-height:1.45;color:var(--brand-muted)}
.editor-v5 .discount-lock-note.is-flash{animation:vk-discount-flash 1s}
@keyframes vk-discount-flash{0%,60%{color:var(--brand-rose)}}
@media(prefers-reduced-motion:reduce){.editor-v5 .discount-lock-note.is-flash{animation:none;color:var(--brand-rose)}}
.editor-v5 [data-base-price]:read-only,.editor-v5 [data-size-price]:read-only{background:var(--brand-soft);color:var(--brand-muted);cursor:not-allowed}
