/* Vitryna - https://programist.com.ua
   Colours, font and corner radius come from the theme settings as CSS variables set in the header. */
:root {
	--p: #2563eb;
	--p-dark: #1d4ed8;
	--acc: #f97316;
	--r: 10px;
	--r-sm: 6px;
	--font: "Inter";
	--ink: #1c2230;
	--ink-2: #4a5263;
	--muted: #7a8293;
	--line: #e6e8ee;
	--soft: #f5f6f9;
	--paper: #ffffff;
	--ok: #15803d;
	--warn: #b45309;
	--bad: #b91c1c;
	--head-h: 72px;
}

/* ---------- Base (also tames the stock Bootstrap pages) ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--p); }
a:hover, a:focus { color: var(--p-dark); }
h1, h2, h3, h4, h5, h6 { font-family: inherit; color: var(--ink); font-weight: 700; line-height: 1.2; text-wrap: balance; }
h1 { font-size: 30px; letter-spacing: -.01em; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.v-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.v-num, .v-price { font-variant-numeric: tabular-nums; }
.v-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: auto; max-width: 1240px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.v-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Stock Bootstrap pieces (account, checkout, information) in the theme colours */
.btn { border-radius: var(--r); font-weight: 600; }
.btn-primary, .btn-primary:focus { background: var(--p); border-color: var(--p); }
.btn-primary:hover, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background: var(--p-dark); border-color: var(--p-dark); }
.btn-default { border-color: var(--line); }
.form-control { border-radius: var(--r-sm); border-color: var(--line); box-shadow: none; height: 40px; }
textarea.form-control { height: auto; }
.form-control:focus { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 18%, transparent); }
.panel { border-radius: var(--r); border-color: var(--line); box-shadow: none; }
.panel-default > .panel-heading { background: var(--soft); border-color: var(--line); }
.list-group-item { border-color: var(--line); }
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { background: var(--p); border-color: var(--p); }
.breadcrumb { background: none; padding: 16px 0 4px; margin: 0 0 8px; font-size: 13px; border: 0; }
.breadcrumb > li { text-shadow: none; padding: 0; }
.breadcrumb > li + li::before { content: "/"; color: #c3c7d0; padding: 0 6px; }
.breadcrumb > li::after { display: none; }
.breadcrumb a { color: var(--muted); }
.alert { border-radius: var(--r); }
.pagination > li > a, .pagination > li > span { color: var(--ink); border-color: var(--line); }
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover { background: var(--p); border-color: var(--p); }
.table > thead > tr > td, .table > tbody > tr > td { border-color: var(--line); }
#content { min-height: 400px; padding-bottom: 32px; }

/* ---------- Buttons ---------- */
.v-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--r); padding: 11px 18px; font-weight: 600; font-size: 15px; line-height: 1.2; background: var(--p); color: #fff; transition: background .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; text-decoration: none; }
.v-btn:hover, .v-btn:focus { background: var(--p-dark); color: #fff; text-decoration: none; }
.v-btn:disabled { opacity: .6; cursor: default; }
.v-btn.ghost { background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p-dark); }
.v-btn.ghost:hover { background: color-mix(in srgb, var(--p) 16%, #fff); }
.v-btn.line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.v-btn.line:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.v-btn.block { width: 100%; }
.v-btn:focus-visible, .v-icon-btn:focus-visible, .v-chip:focus-visible { outline: 2px solid var(--p); outline-offset: 2px; }
.v-icon-btn { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 6px 8px; border-radius: var(--r-sm); font-size: 11px; color: var(--ink-2); text-decoration: none; cursor: pointer; }
.v-icon-btn:hover, .v-icon-btn:focus { color: var(--p); text-decoration: none; }
.v-count { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--acc); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.v-count[data-count="0"] { display: none; }

/* ---------- Top bar ---------- */
.v-topbar { background: var(--soft); font-size: 13px; color: var(--ink-2); }
.v-topbar .v-wrap { display: flex; align-items: center; gap: 20px; min-height: 36px; }
.v-toplinks { display: flex; gap: 18px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.v-topbar .v-lang { margin-left: auto; }
.v-toplinks a { color: inherit; text-decoration: none; white-space: nowrap; }
.v-toplinks a:hover { color: var(--p); }
.v-lang { display: flex; gap: 2px; margin: 0; }
.v-lang a { padding: 2px 6px; border-radius: 4px; font-size: 12px; color: var(--muted); text-transform: uppercase; text-decoration: none; }
.v-lang a:hover { color: var(--ink); text-decoration: none; }
.v-lang a[aria-current="true"] { background: #fff; color: var(--ink); font-weight: 600; }

/* ---------- Header ---------- */
.v-head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.v-head .v-wrap { display: flex; align-items: center; gap: 18px; min-height: var(--head-h); }
.v-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; flex: none; max-width: 240px; }
.v-logo:hover { color: var(--ink); text-decoration: none; }
.v-logo img { max-height: 48px; width: auto; }
.v-logo-mark { width: 36px; height: 36px; border-radius: calc(var(--r) * .9); background: var(--p); display: grid; place-items: center; color: #fff; font-size: 18px; flex: none; }
.v-catalog-btn { padding: 11px 16px; }
.v-search { flex: 1; display: flex; align-items: center; background: var(--soft); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; margin: 0; }
.v-search:focus-within { box-shadow: inset 0 0 0 2px var(--p); background: #fff; }
.v-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 14px; outline: none; }
.v-search button { border: 0; background: none; padding: 0 14px; color: var(--muted); display: flex; align-self: stretch; align-items: center; cursor: pointer; }
.v-head-phone { display: flex; flex-direction: column; line-height: 1.25; }
.v-head-phone a { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.v-head-phone span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.v-head-icons { display: flex; gap: 2px; }
.v-burger { display: none; }

/* Category row + mega menu */
.v-nav { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 30; }
.v-nav-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 0; }
.v-nav-list > li > a { display: block; padding: 12px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.v-nav-list > li > a:hover, .v-nav-list > li.open > a { color: var(--p); border-bottom-color: var(--p); }
.v-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(20, 30, 60, .10); padding-block: 20px 24px; }
.v-mega[hidden] { display: none; }
.v-mega-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
.v-mega-cats { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--line); }
.v-mega-cats a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.v-mega-cats a:hover, .v-mega-cats li.active a { background: var(--soft); color: var(--p); }
.v-mega-cats .v-ico { width: 16px; height: 16px; color: var(--muted); }
.v-mega-panel h3 { font-size: 18px; margin: 4px 0 14px; }
.v-mega-panel h3 a { color: var(--ink); text-decoration: none; }
.v-mega-children { columns: 3; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.v-mega-children li { break-inside: avoid; }
.v-mega-children a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; }
.v-mega-children a:hover { color: var(--p); }

/* ---------- Blocks ---------- */
.v-block { padding-block: 28px; }
.v-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.v-block-head h2 { font-size: 24px; margin: 0; letter-spacing: -.01em; }
.v-block-head a { color: var(--p); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; white-space: nowrap; }
.v-block-head a .v-ico { width: 16px; height: 16px; }

/* ---------- Product card ---------- */
.v-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.v-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; transition: box-shadow .15s, border-color .15s; min-width: 0; }
.v-card:hover { border-color: transparent; box-shadow: 0 10px 30px rgba(20, 30, 60, .10); }
.v-card-img { position: relative; display: block; aspect-ratio: 1; max-width: 100%; border-radius: var(--r-sm); margin-bottom: 12px; overflow: hidden; background: var(--soft); }
.v-card-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; z-index: 1; }
.v-badge { padding: 2px 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; color: #fff; background: var(--acc); line-height: 1.5; }
.v-badge.hit { background: var(--p); }
.v-badge.new { background: #0f9f6e; }
.v-fav { position: absolute; top: 18px; right: 18px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.v-fav:hover, .v-fav.on { color: var(--acc); }
.v-fav.on .v-ico { fill: currentColor; }
.v-card-name { font-size: 14px; font-weight: 500; line-height: 1.35; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 6px; color: var(--ink); text-decoration: none; }
.v-card-name:hover { color: var(--p); text-decoration: none; }
.v-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 6px; min-height: 18px; }
.v-stars { display: inline-flex; gap: 1px; color: #f5b301; }
.v-stars .v-ico { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.v-stars .off { color: #d9dce3; }
.v-stock { font-size: 12px; font-weight: 500; color: var(--ok); margin-bottom: 8px; }
.v-stock.low { color: var(--warn); }
.v-stock.out { color: var(--muted); }
.v-card-buy { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.v-price-old { display: block; font-size: 13px; color: var(--muted); text-decoration: line-through; }
.v-price-now { font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.v-price-now.sale { color: var(--acc); }
.v-price-tax { display: block; font-size: 11px; color: var(--muted); }
.v-card-buy .v-btn { padding: 10px 12px; flex: none; }
.v-card-buy .v-btn .v-ico { width: 18px; height: 18px; }

/* ---------- Home ---------- */
.v-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding-block: 20px 8px; }
.v-hero.single { grid-template-columns: 1fr; }
.v-slider { position: relative; overflow: hidden; border-radius: calc(var(--r) * 1.4); background: var(--soft); aspect-ratio: 3 / 1; }
.v-slides { display: flex; height: 100%; transition: transform .45s ease; }
.v-slide { flex: 0 0 100%; height: 100%; }
.v-slide a, .v-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.v-slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.v-slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .2s; }
.v-slider-dots button[aria-current="true"] { width: 22px; background: #fff; }
.v-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; color: var(--ink); cursor: pointer; }
.v-slider-arrow.prev { left: 12px; }
.v-slider-arrow.next { right: 12px; }
.v-slider-arrow.prev .v-ico { transform: rotate(180deg); }
.v-hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.v-promo { display: block; border-radius: calc(var(--r) * 1.4); overflow: hidden; background: var(--soft); }
.v-promo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-hero-empty { border-radius: calc(var(--r) * 1.4); padding: 40px; color: #fff; background: linear-gradient(120deg, var(--p-dark), var(--p)); display: flex; flex-direction: column; justify-content: center; min-height: 260px; }
.v-hero-empty h1 { color: #fff; font-size: 36px; max-width: 16ch; margin: 0 0 10px; }
.v-hero-empty p { max-width: 46ch; opacity: .9; margin: 0 0 20px; }
.v-hero-empty .v-btn { align-self: flex-start; background: #fff; color: var(--p-dark); }

.v-cats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.v-cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px; border-radius: var(--r); background: var(--soft); text-align: center; font-size: 13px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .15s; }
.v-cat:hover { background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p-dark); text-decoration: none; }
.v-cat-ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--p); overflow: hidden; font-size: 22px; font-weight: 700; }
.v-cat-ico img { width: 100%; height: 100%; object-fit: cover; }

.v-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v-benefit { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); }
.v-benefit-ico { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p); flex: none; }
.v-benefit b { display: block; font-size: 15px; margin-bottom: 2px; }
.v-benefit span { font-size: 13px; color: var(--muted); }

.v-about { padding: 28px; border-radius: calc(var(--r) * 1.4); background: var(--soft); }
.v-about h2 { font-size: 22px; margin: 0 0 10px; }
.v-about p { margin: 0 0 10px; color: var(--ink-2); font-size: 14px; max-width: 80ch; }

/* ---------- Footer ---------- */
.v-foot { margin-top: 32px; background: #161a22; color: #c9ced9; font-size: 14px; }
.v-foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; padding-block: 36px; }
.v-foot h4 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.v-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.v-foot a { color: #c9ced9; text-decoration: none; }
.v-foot a:hover { color: #fff; }
.v-foot .v-logo { color: #fff; margin-bottom: 12px; }
.v-foot .v-logo img { max-height: 40px; }
.v-foot p { margin: 0 0 8px; color: #9aa1b0; }
.v-foot-phone { display: block; color: #fff !important; font-weight: 700; font-size: 16px; }
.v-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.v-socials a { width: 36px; height: 36px; border-radius: var(--r-sm); background: #232836; display: grid; place-items: center; }
.v-socials a:hover { background: var(--p); }
.v-socials .v-ico { width: 18px; height: 18px; }
.v-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.v-pay span { padding: 4px 8px; border-radius: 4px; background: #232836; font-size: 12px; color: #c9ced9; }
.v-foot-bottom { border-top: 1px solid #262b38; }
.v-foot-bottom .v-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; font-size: 13px; color: #8a91a1; }
.v-made-by a { color: #c9ced9; font-weight: 600; }

/* ---------- Category ---------- */
.v-crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px 0 4px; margin: 0; list-style: none; font-size: 13px; color: var(--muted); }
.v-crumbs a { color: var(--muted); text-decoration: none; }
.v-crumbs a:hover { color: var(--p); }
.v-crumbs li + li::before { content: "/"; margin-right: 6px; color: #c3c7d0; }
.v-cat-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 8px 0 14px; }
.v-cat-title h1 { margin: 0; }
.v-cat-title span { color: var(--muted); font-size: 14px; }
.v-subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.v-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--soft); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.v-chip:hover, .v-chip.active { background: color-mix(in srgb, var(--p) 12%, #fff); color: var(--p-dark); text-decoration: none; }
.v-listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.v-listing.full { grid-template-columns: minmax(0, 1fr); }
.v-aside { position: sticky; top: calc(var(--head-h) + 16px); }
.v-aside .list-group, .v-aside .panel { margin-bottom: 16px; }
.v-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.v-toolbar select { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 10px; background: #fff; max-width: 100%; }
.v-toolbar .v-found { color: var(--muted); font-size: 14px; margin-right: auto; }
.v-toolbar label { margin: 0; font-weight: 400; color: var(--muted); font-size: 14px; }
.v-filter-open { display: none; }
.v-cat-desc { margin-top: 32px; padding: 24px; border-radius: var(--r); background: var(--soft); color: var(--ink-2); font-size: 14px; }
.v-cat-desc img { border-radius: var(--r-sm); }
.v-pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.v-pager .pagination { margin: 0; }
.v-pager-text { color: var(--muted); font-size: 13px; }
.v-empty { padding: 48px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--r); }

/* ---------- Product ---------- */
.v-prod { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; padding-block: 12px 8px; }
.v-gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-self: start; position: sticky; top: calc(var(--head-h) + 16px); }
.v-gallery.single { grid-template-columns: minmax(0, 1fr); }
.v-thumbs { display: flex; flex-direction: column; gap: 8px; }
.v-thumbs button { aspect-ratio: 1; border-radius: var(--r-sm); border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--soft); cursor: pointer; }
.v-thumbs button[aria-pressed="true"] { border-color: var(--p); }
.v-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-main-img { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: var(--r); background: var(--soft); overflow: hidden; }
.v-main-img a { display: block; width: 100%; height: 100%; }
.v-main-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-p-info h1 { font-size: 28px; margin: 0 0 10px; }
.v-p-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.v-p-meta a { color: var(--p); }
.v-p-meta .v-stock { margin: 0; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.v-p-meta .v-stock .v-ico { width: 15px; height: 15px; }
.v-buybox { border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2); padding: 20px; margin-bottom: 16px; }
.v-p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 16px; }
.v-p-price .v-price-now { font-size: 32px; }
.v-p-price .v-price-old { display: inline; font-size: 17px; }
.v-save { padding: 2px 8px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--acc) 14%, #fff); color: var(--acc); font-weight: 700; font-size: 13px; }
.v-discounts { list-style: none; padding: 0; margin: -6px 0 16px; font-size: 13px; color: var(--ink-2); }
.v-opt { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.v-opt-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.v-opt.required .v-opt-label::after { content: " *"; color: var(--bad); }
.v-opt-row { display: flex; flex-wrap: wrap; gap: 8px; }
.v-opt-btn { position: relative; margin: 0; }
.v-opt-btn input { position: absolute; opacity: 0; pointer-events: none; }
.v-opt-btn span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); padding: 8px 14px; font-size: 14px; font-weight: 400; cursor: pointer; }
.v-opt-btn img { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
.v-opt-btn small { color: var(--muted); }
.v-opt-btn input:checked + span { border-color: var(--p); box-shadow: inset 0 0 0 1px var(--p); color: var(--p-dark); font-weight: 600; }
.v-opt-btn input:focus-visible + span { outline: 2px solid var(--p); outline-offset: 2px; }
.v-opt .form-control { max-width: 420px; }
.v-opt .text-danger, .v-field-error { color: var(--bad); font-size: 13px; margin-top: 6px; }
.v-buy-row { display: flex; gap: 10px; flex-wrap: wrap; }
.v-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.v-qty button { border: 0; background: none; width: 40px; height: 44px; display: grid; place-items: center; color: var(--ink-2); cursor: pointer; }
.v-qty input { width: 44px; border: 0; text-align: center; font-weight: 600; background: none; }
.v-buy-row .v-btn { flex: 1; padding-block: 12px; min-width: 150px; }
.v-p-cards { display: grid; gap: 10px; margin-bottom: 16px; }
.v-p-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: var(--soft); font-size: 14px; }
.v-p-card .v-ico { color: var(--p); margin-top: 1px; }
.v-p-card b { display: block; }
.v-p-card span { color: var(--muted); font-size: 13px; }
.v-p-actions { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.v-p-actions button { border: 0; background: none; padding: 0; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); cursor: pointer; }
.v-p-actions button:hover { color: var(--p); }
.v-p-actions .v-ico { width: 18px; height: 18px; }
.v-p-actions button.on { color: var(--acc); }
.v-p-actions button.on .v-ico { fill: currentColor; }
.v-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.v-tabs button { border: 0; background: none; padding: 12px 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; }
.v-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--p); }
.v-tabs button em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 4px; }
.v-tab-body { padding-block: 20px; max-width: 860px; color: var(--ink-2); }
.v-tab-body img { border-radius: var(--r-sm); }
.v-specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.v-specs th { text-align: left; padding: 16px 0 6px; font-size: 15px; color: var(--ink); }
.v-specs td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.v-specs td:first-child { color: var(--muted); width: 45%; padding-right: 16px; }
.v-review { background: var(--soft); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; font-size: 14px; }
.v-review header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 13px; color: var(--muted); }
.v-review header b { font-size: 14px; color: var(--ink); }
.v-review p { margin: 0; color: var(--ink-2); }
.v-review-form { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); max-width: 620px; }
.v-review-form h3 { font-size: 18px; margin: 0 0 14px; }
.v-rate { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.v-rate input { position: absolute; opacity: 0; }
.v-rate label { cursor: pointer; color: #d9dce3; margin: 0; }
.v-rate label .v-ico { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.v-rate input:checked ~ label, .v-rate label:hover, .v-rate label:hover ~ label { color: #f5b301; }
.v-tags { margin-top: 12px; font-size: 13px; color: var(--muted); }
.v-mobile-buy { display: none; }

/* ---------- Drawers, toast ---------- */
.v-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(15, 20, 30, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.v-backdrop.show { opacity: 1; pointer-events: auto; }
.v-drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 71; width: min(420px, 100vw); background: #fff; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .25s ease; visibility: hidden; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.v-drawer.show { transform: none; visibility: visible; }
.v-drawer.left { right: auto; left: 0; transform: translateX(-105%); }
.v-drawer.left.show { transform: none; }
.v-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.v-drawer-head h3 { font-size: 18px; margin: 0; }
.v-drawer-head button { border: 0; background: none; padding: 6px; border-radius: var(--r-sm); display: flex; cursor: pointer; color: var(--ink); }
.v-drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.v-drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.v-ship { padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--p) 8%, #fff); font-size: 13px; margin-bottom: 14px; }
.v-ship-track { height: 6px; border-radius: 3px; background: #fff; margin-top: 8px; overflow: hidden; }
.v-ship-track i { display: block; height: 100%; background: var(--p); border-radius: 3px; }
.v-ship.done { background: color-mix(in srgb, var(--ok) 10%, #fff); color: var(--ok); font-weight: 600; }
.v-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.v-line-img { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--soft); overflow: hidden; display: block; }
.v-line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-line-name { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); text-decoration: none; display: block; }
.v-line-opt { font-size: 12px; color: var(--muted); }
.v-line .v-qty { margin-top: 6px; width: max-content; }
.v-line .v-qty button { width: 30px; height: 30px; }
.v-line .v-qty input { width: 30px; font-size: 14px; }
.v-line-side { text-align: right; display: grid; gap: 6px; justify-items: end; }
.v-line-side .v-price-now { font-size: 15px; }
.v-line-remove { border: 0; background: none; padding: 2px; color: var(--muted); cursor: pointer; display: flex; }
.v-line-remove:hover { color: var(--bad); }
.v-total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.v-total-row b { font-size: 20px; }
.v-cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }
.v-cart-empty .v-ico { width: 48px; height: 48px; stroke-width: 1.2; margin-bottom: 8px; }
.v-menu-list { list-style: none; margin: 0; padding: 0; }
.v-menu-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 4px; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--soft); }
.v-menu-list ul { list-style: none; padding: 0 0 6px 12px; margin: 0; }
.v-menu-list ul a { font-weight: 400; color: var(--ink-2); padding-block: 8px; border: 0; }
.v-menu-contacts { margin-top: 16px; display: grid; gap: 6px; }
.v-menu-contacts a { font-weight: 700; color: var(--ink); text-decoration: none; }
.v-toast { position: fixed; z-index: 80; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; transition: opacity .2s, transform .2s; background: #1c2230; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; pointer-events: none; max-width: calc(100vw - 32px); }
.v-toast.show { opacity: 1; transform: translate(-50%, 0); }
.v-toast.error { background: var(--bad); }
body.v-locked { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.v-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.v-grid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.v-head-phone { display: none; }
}
@media (max-width: 991px) {
	.v-catalog-btn span { display: none; }
	.v-hero { grid-template-columns: 1fr; }
	.v-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.v-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v-listing { grid-template-columns: minmax(0, 1fr); }
	.v-aside { display: none; }
	.v-filter-open { display: inline-flex; }
	.v-prod { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.v-gallery { position: static; }
	.v-foot-grid { grid-template-columns: 1fr 1fr; }
	.v-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.v-mega-children { columns: 2; }
}
@media (max-width: 640px) {
	:root { --head-h: 104px; }
	h1 { font-size: 24px; }
	.v-topbar { display: none; }
	.v-head .v-wrap { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-block: 10px; }
	.v-burger { display: inline-flex; }
	.v-catalog-btn { display: none; }
	.v-logo { font-size: 17px; margin-right: auto; max-width: 60%; }
	.v-logo img { max-height: 36px; }
	.v-logo-mark { width: 32px; height: 32px; }
	.v-search { order: 5; flex-basis: 100%; }
	.v-search input { padding-block: 9px; }
	.v-icon-btn .v-lbl { display: none; }
	.v-nav { display: none; }
	.v-block { padding-block: 20px; }
	.v-block-head h2 { font-size: 20px; }
	.v-hero-side { gap: 10px; }
	.v-slider-arrow { display: none; }
	.v-hero-empty { padding: 24px; min-height: 200px; }
	.v-hero-empty h1 { font-size: 26px; }
	.v-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.v-cat { padding: 10px 4px; font-size: 12px; background: none; }
	.v-cat-ico { width: 56px; height: 56px; background: var(--soft); }
	.v-grid, .v-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.v-card { padding: 8px; }
	.v-card-name { font-size: 13px; }
	.v-price-now { font-size: 16px; }
	.v-card-buy .v-btn { padding: 9px 10px; }
	.v-fav { width: 30px; height: 30px; top: 12px; right: 12px; }
	.v-benefits { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.v-benefit { padding: 14px; }
	.v-about { padding: 20px; }
	.v-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
	.v-subcats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.v-toolbar .v-found { flex-basis: 100%; }
	.v-gallery { grid-template-columns: minmax(0, 1fr); }
	.v-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
	.v-thumbs button { width: 60px; flex: none; }
	.v-p-info h1 { font-size: 22px; }
	.v-buybox { padding: 16px; }
	.v-p-price .v-price-now { font-size: 28px; }
	.v-mobile-buy { position: sticky; bottom: 0; z-index: 35; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 30, 60, .06); }
	.v-mobile-buy .v-price-now { font-size: 20px; }
	.v-mobile-buy .v-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Stock column modules inside the Vitryna side column */
.v-aside #column-left, .v-aside #column-right, .v-drawer #column-left { width: 100%; float: none; padding: 0; display: block !important; }
.v-aside .list-group, .v-drawer .list-group { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.v-aside .list-group-item, .v-drawer .list-group-item { border: 0; border-bottom: 1px solid var(--soft); border-radius: 0 !important; padding: 10px 14px; color: var(--ink-2); font-size: 14px; }
.v-aside .list-group-item:last-child, .v-drawer .list-group-item:last-child { border-bottom: 0; }
.v-aside .list-group-item.active, .v-drawer .list-group-item.active { background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p-dark); font-weight: 600; }
.v-aside img, .v-drawer #column-left img { border-radius: var(--r); }
legend.v-opt-label { border: 0; width: auto; padding: 0; line-height: 1.4; }

/* Legal pages */
.v-requisites { margin-top: 28px; padding: 18px 20px; border-radius: var(--r); background: var(--soft); font-size: 14px; }
.v-requisites h2 { font-size: 16px; margin: 0 0 8px; }
.v-requisites p { margin: 0; color: var(--ink-2); }

/* ---------- Checkout ---------- */
.v-co-title { margin: 8px 0 20px; }
.v-co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.v-co-main { display: grid; gap: 16px; min-width: 0; }
.v-co-box { border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2); padding: 20px; background: #fff; }
.v-co-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin-bottom: 16px; }
.v-co-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0; }
.v-co-head a { font-size: 14px; font-weight: 500; }
.v-co-step { width: 28px; height: 28px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.v-co-login { font-size: 14px; color: var(--muted); }
.v-co-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.v-co-field { position: relative; min-width: 0; }
.v-co-field[hidden] { display: none; }
.v-co-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.v-co-field label i { color: var(--bad); font-style: normal; }
.v-co-field input, .v-co-field textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; font-size: 16px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.v-co-field input:focus, .v-co-field textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 18%, transparent); }
.v-co-field input:disabled { background: var(--soft); }
.v-co-field.has-error input, .v-co-field.has-error textarea { border-color: var(--bad); }
.v-co-hint { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.v-co-error { margin: 4px 0 0; font-size: 13px; color: var(--bad); }
.v-co-error:empty { display: none; }
.v-co-error.ok { color: var(--ok); }
.v-co-options { display: grid; gap: 8px; }
.v-co-option { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; margin: 0; font-weight: 400; transition: border-color .15s, background .15s; }
.v-co-option:hover { border-color: #c9ced8; }
.v-co-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--p); flex: none; }
.v-co-option:has(input:checked) { border-color: var(--p); background: color-mix(in srgb, var(--p) 5%, #fff); }
.v-co-option-title { flex: 1; font-weight: 500; }
.v-co-option-price { color: var(--muted); font-size: 13px; white-space: nowrap; }
.v-co-address { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.v-co-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 12px 32px rgba(20, 30, 60, .14); max-height: 280px; overflow-y: auto; }
.v-co-field.has-error .v-co-list + .v-co-error { margin-top: 4px; }
.v-co-list li { padding: 9px 10px; border-radius: var(--r-sm); cursor: pointer; font-size: 14px; line-height: 1.35; }
.v-co-list li.active, .v-co-list li:hover { background: var(--soft); }
.v-co-list li.empty { color: var(--muted); cursor: default; }
.v-co-list li small { display: block; color: var(--muted); font-size: 12px; }
.v-co-list .v-co-tag { display: inline; padding: 1px 6px; border-radius: 4px; background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p-dark); font-size: 11px; }
.v-co-field textarea { resize: vertical; }
.v-co-side { position: sticky; top: calc(var(--head-h) + 16px); }
.v-co-items { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.v-co-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: start; font-size: 14px; }
.v-co-items img { width: 56px; height: 56px; object-fit: contain; border-radius: var(--r-sm); background: var(--soft); mix-blend-mode: multiply; }
.v-co-items a { color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.35; display: block; }
.v-co-items small { display: block; color: var(--muted); font-size: 12px; }
.v-co-items b { white-space: nowrap; }
.v-co-coupon { display: flex; gap: 8px; margin-bottom: 6px; }
.v-co-coupon input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; }
.v-co-totals { margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.v-co-total { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-2); }
.v-co-total dt, .v-co-total dd { margin: 0; font-weight: 400; }
.v-co-total.grand { margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--line); color: var(--ink); font-size: 18px; }
.v-co-total.grand dd { font-weight: 800; font-size: 22px; }
.v-co-submit { padding-block: 15px; font-size: 16px; }
.v-co-submit[hidden] { display: none; }
.v-co-general { margin-bottom: 10px; }
.v-co-agree { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.v-co-secure { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.v-co-secure .v-ico { width: 16px; height: 16px; color: var(--ok); }
.v-co-pay { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.v-spin { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: v-spin .7s linear infinite; vertical-align: -3px; }
@keyframes v-spin { to { transform: rotate(360deg); } }

/* ---------- Thank-you page ---------- */
.v-success { max-width: 720px; margin: 24px auto 0; text-align: center; }
.v-success-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: color-mix(in srgb, var(--ok) 12%, #fff); color: var(--ok); }
.v-success-icon .v-ico { width: 40px; height: 40px; }
.v-success h1 { margin: 0 0 6px; }
.v-success-number { font-size: 18px; font-weight: 600; margin: 0 0 12px; }
.v-success p { color: var(--ink-2); }
.v-pay-card { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: calc(var(--r) * 1.2); text-align: left; background: var(--soft); }
.v-pay-card h2 { font-size: 17px; margin: 0 0 12px; }
.v-pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.v-pay-row:first-of-type { border-top: 0; }
.v-pay-row span { color: var(--muted); font-size: 13px; }
.v-pay-row b { font-size: 16px; white-space: pre-line; word-break: break-word; }
.v-pay-row .v-btn { padding: 7px 12px; font-size: 13px; }
.v-success-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 991px) {
	.v-co { grid-template-columns: minmax(0, 1fr); }
	.v-co-side { position: static; }
}
@media (max-width: 640px) {
	.v-co-grid { grid-template-columns: minmax(0, 1fr); }
	.v-co-box { padding: 16px; }
}
@media (max-width: 640px) {
	.v-co-option { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; }
	.v-co-option-price { grid-column: 2; white-space: normal; }
}

/* ---------- Modal (one-click order) ---------- */
.v-modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 16px; background: rgba(15, 20, 30, .5); }
.v-modal[hidden] { display: none; }
.v-modal-box { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: calc(var(--r) * 1.4); padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); display: grid; gap: 14px; }
.v-modal-box > div { display: grid; gap: 14px; }
.v-modal-box h3 { margin: 0; font-size: 20px; padding-right: 28px; }
.v-modal-lead { margin: -6px 0 0; color: var(--muted); font-size: 14px; }
.v-modal-x { position: absolute; top: 14px; right: 14px; border: 0; background: none; padding: 4px; color: var(--muted); cursor: pointer; display: flex; }
.v-modal-done { text-align: center; padding: 12px 0; }
.v-modal-done .v-ico { width: 48px; height: 48px; color: var(--ok); }
.v-modal-done p { margin: 8px 0 0; font-size: 16px; }
.v-quick-btn { flex-basis: 100%; }

/* ---------- Category filter ---------- */
.v-filter { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 16px 8px; margin-bottom: 16px; background: #fff; }
.v-filter.loading { opacity: .5; pointer-events: none; }
.v-filter-head { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 8px; border-bottom: 1px solid var(--line); }
.v-filter-head b { font-size: 16px; }
.v-filter-head a { font-size: 13px; }
.v-f-group { padding-block: 14px; border-bottom: 1px solid var(--line); }
.v-f-group:last-child { border-bottom: 0; }
.v-f-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.v-f-check { display: flex; align-items: center; gap: 10px; padding: 4px 0; margin: 0; font-size: 14px; font-weight: 400; cursor: pointer; line-height: 1.3; }
.v-f-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--p); flex: none; }
.v-f-check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.v-f-check.off { color: #b4b9c4; cursor: default; }
.v-f-values.v-f-long { max-height: 230px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.v-f-more { border: 0; background: none; padding: 6px 0 0; color: var(--p); font-size: 13px; font-weight: 600; cursor: pointer; }
.v-f-range { display: flex; gap: 8px; align-items: center; }
.v-f-range input { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 7px 10px; font-size: 14px; -moz-appearance: textfield; }
.v-f-range input::-webkit-outer-spin-button, .v-f-range input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.v-f-slider { position: relative; height: 28px; margin-top: 8px; }
.v-f-slider input[type="range"] { position: absolute; left: 0; right: 0; top: 6px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 16px; }
.v-f-slider input[type="range"]:first-child { background: linear-gradient(var(--line), var(--line)) center / 100% 4px no-repeat; }
.v-f-slider input[type="range"]::-webkit-slider-thumb { pointer-events: auto; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px var(--p), 0 1px 3px rgba(0,0,0,.2); cursor: pointer; }
.v-f-slider input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px var(--p); cursor: pointer; }
.v-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.v-chips .v-chip { background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p-dark); }
.v-chips .v-chip .v-ico { width: 14px; height: 14px; }
.v-chips .v-chip-reset { background: none; color: var(--muted); text-decoration: underline; }

/* ---------- Live search ---------- */
.v-search { position: relative; }
.v-live { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgba(20, 30, 60, .16); padding: 6px; max-height: min(70vh, 560px); overflow-y: auto; }
.v-live-title { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.v-live-note { padding: 8px 10px; font-size: 13px; color: var(--ink-2); background: color-mix(in srgb, var(--p) 8%, #fff); border-radius: var(--r-sm); margin-bottom: 4px; }
.v-live-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.3; }
.v-live-item:hover, .v-live-item.active { background: var(--soft); color: var(--ink); text-decoration: none; }
.v-live-item img { width: 44px; height: 44px; object-fit: contain; border-radius: var(--r-sm); background: var(--soft); mix-blend-mode: multiply; flex: none; }
.v-live-item span { flex: 1; min-width: 0; }
.v-live-item small { display: block; font-size: 12px; color: var(--muted); }
.v-live-item b { white-space: nowrap; font-size: 14px; }
.v-live-item b.sale { color: var(--acc); }
.v-live-cat .v-ico { width: 18px; height: 18px; color: var(--p); margin: 0 13px; }
.v-live-all { justify-content: center; font-weight: 600; color: var(--p); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); margin-top: 4px; }
.v-live-empty { padding: 16px 10px; color: var(--muted); font-size: 14px; text-align: center; }

/* Stickers */
.v-badge.recommend { background: #7c3aed; }
.v-badge.week { background: #dc2626; }
.v-badge.gift { background: #c026d3; }
.v-badge.quality { background: #1f2937; }
.v-badge.free { background: #0284c7; }

/* ---------- Shop reviews ---------- */
.v-sr-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.v-sr-side { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; }
.v-sr-score { display: grid; justify-items: start; gap: 4px; padding: 20px; border-radius: var(--r); background: var(--soft); }
.v-sr-score b { font-size: 44px; line-height: 1; }
.v-sr-score .v-stars .v-ico { width: 20px; height: 20px; }
.v-sr-score small { color: var(--muted); }
.v-sr-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.v-sr-bars li { display: grid; grid-template-columns: 28px 1fr 28px; gap: 8px; align-items: center; color: var(--muted); }
.v-sr-bars i { height: 8px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.v-sr-bars em { display: block; height: 100%; background: #f5b301; }
.v-sr-form { margin: 0; display: grid; gap: 12px; max-width: none; }
.v-sr-form h3 { margin: 0; }
.v-co-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.v-sr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.v-sr-item p { margin-top: 6px; }
.v-sr-reply { margin-top: 10px; padding: 10px 14px; border-left: 3px solid var(--p); background: #fff; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 13px; }
.v-sr-reply p { margin: 2px 0 0; }
.v-sr-latest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.v-sr-latest .v-review { background: var(--soft); margin: 0; }
.v-sr-mini { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 16px; color: var(--ink-2); vertical-align: middle; }
.v-sr-mini .v-ico { width: 18px; height: 18px; fill: #f5b301; stroke: none; }
@media (max-width: 991px) {
	.v-sr-layout { grid-template-columns: minmax(0, 1fr); }
	.v-sr-side { position: static; }
	.v-sr-latest { grid-template-columns: minmax(0, 1fr); }
}
.v-co-field .v-rate label { color: #d9dce3; margin: 0; }
.v-co-field .v-rate input:checked ~ label, .v-co-field .v-rate label:hover, .v-co-field .v-rate label:hover ~ label { color: #f5b301; }

/* Product questions */
.v-qa-item { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.v-qa-q span { color: var(--muted); font-size: 12px; }
.v-qa-q p, .v-qa-a p { margin: 4px 0 0; color: var(--ink-2); }
.v-qa-a { margin: 10px 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--p); background: var(--soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

/* Bundles */
.v-bundle { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 20px; border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--p) 40%, #fff); background: color-mix(in srgb, var(--p) 4%, #fff); }
.v-bundle-items { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.v-bundle-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; max-width: 260px; color: var(--ink); text-decoration: none; font-size: 14px; }
.v-bundle-item img { grid-row: span 2; width: 64px; height: 64px; object-fit: contain; border-radius: var(--r-sm); background: #fff; }
.v-bundle-item span { line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.v-bundle-plus { font-size: 22px; color: var(--muted); }
.v-bundle-total { display: grid; justify-items: end; gap: 4px; text-align: right; }
.v-bundle-total .v-price-now { font-size: 24px; }
.v-bundle-total .v-btn { margin-top: 6px; }
@media (max-width: 640px) {
	.v-bundle-total { justify-items: start; text-align: left; width: 100%; }
	.v-bundle-total .v-btn { width: 100%; }
}

.v-notify-btn { margin-bottom: 16px; padding-block: 13px; }

/* Info bar, cookie notice, newsletter, 404 */
.v-infobar { background: var(--acc); color: #fff; font-size: 14px; font-weight: 500; }
.v-infobar.primary { background: var(--p); }
.v-infobar.dark { background: #161a22; }
.v-infobar[hidden] { display: none; }
.v-infobar .v-wrap { position: relative; display: flex; justify-content: center; align-items: center; min-height: 38px; padding-right: 44px; text-align: center; }
.v-infobar a, .v-infobar span { color: #fff; text-decoration: none; }
.v-infobar a:hover { text-decoration: underline; color: #fff; }
.v-infobar button { position: absolute; right: max(8px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); border: 0; background: none; color: #fff; padding: 6px; display: flex; cursor: pointer; opacity: .85; }
.v-infobar button .v-ico { width: 16px; height: 16px; }
.v-cookie { position: fixed; z-index: 65; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 420px; display: flex; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 16px 40px rgba(20, 30, 60, .16); font-size: 13px; }
.v-cookie[hidden] { display: none; }
.v-cookie p { margin: 0; color: var(--ink-2); }
.v-cookie .v-btn { padding: 9px 16px; flex: none; }
.v-newsletter { margin-top: 14px; }
.v-newsletter label { display: block; margin-bottom: 8px; color: #fff; font-weight: 600; }
.v-newsletter-row { display: flex; background: #232836; border-radius: var(--r-sm); overflow: hidden; }
.v-newsletter-row input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 12px; color: #fff; }
.v-newsletter-row input::placeholder { color: #8a91a1; }
.v-newsletter-row button { border: 0; background: var(--p); color: #fff; padding: 0 14px; display: flex; align-items: center; cursor: pointer; }
.v-newsletter-note { margin: 6px 0 0; font-size: 12px; color: #9ae6b4; }
.v-newsletter-note.bad { color: #fca5a5; }
.v-404 { max-width: 640px; margin: 40px auto 0; text-align: center; }
.v-404 b { display: block; font-size: 96px; line-height: 1; font-weight: 800; color: color-mix(in srgb, var(--p) 25%, #fff); }
.v-404 h1 { margin: 12px 0 8px; }
.v-404 p { color: var(--ink-2); }
.v-404 .v-search { max-width: 480px; margin: 20px auto; }
.v-404 .v-subcats { justify-content: center; flex-wrap: wrap; overflow: visible; }
@media (max-width: 640px) {
	.v-cookie { right: max(16px, env(safe-area-inset-right, 0px)); max-width: none; flex-direction: column; align-items: stretch; }
}

/* Blog */
.v-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.v-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s; }
.v-post:hover { box-shadow: 0 10px 30px rgba(20, 30, 60, .08); }
.v-post-img { display: block; aspect-ratio: 3 / 2; background: color-mix(in srgb, var(--p) 8%, #fff); overflow: hidden; }
.v-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v-post-img span { display: grid; place-items: center; height: 100%; font-size: 48px; font-weight: 800; color: color-mix(in srgb, var(--p) 40%, #fff); }
.v-post-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.v-post-body time { font-size: 12px; color: var(--muted); }
.v-post-body h3 { margin: 0; font-size: 17px; line-height: 1.35; }
.v-post-body h3 a { color: var(--ink); text-decoration: none; }
.v-post-body h3 a:hover { color: var(--p); }
.v-post-body p { margin: 0; color: var(--ink-2); font-size: 14px; }
.v-post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 14px; color: var(--p); text-decoration: none; }
.v-post-more .v-ico { width: 14px; height: 14px; }
.v-article { max-width: 820px; margin: 0 auto; }
.v-article h1 { margin: 8px 0 10px; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.v-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.v-article-img { width: 100%; height: auto; border-radius: var(--r); margin-bottom: 24px; }
.v-article-text { font-size: 17px; line-height: 1.7; color: var(--ink); overflow-wrap: break-word; }
.v-article-text img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.v-article-text iframe { max-width: 100%; }
.v-article-text h2, .v-article-text h3 { margin: 1.4em 0 .5em; line-height: 1.3; }
.v-article-text table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.v-article-text td, .v-article-text th { border: 1px solid var(--line); padding: 8px 10px; }
.v-article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.v-article-share a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.v-article-share a:hover { border-color: var(--p); color: var(--p); }
.v-article-comments { max-width: 820px; margin-left: auto; margin-right: auto; }
.v-article-comments .v-review { margin-bottom: 12px; }
.v-muted { color: var(--muted); }
@media (max-width: 991px) {
	.v-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.v-posts { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.v-article-text { font-size: 16px; }
}

/* Quick view */
.v-qv-btn { position: absolute; top: 58px; right: 18px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--muted); cursor: pointer; opacity: 0; transition: opacity .15s; }
.v-card:hover .v-qv-btn, .v-qv-btn:focus-visible { opacity: 1; }
.v-qv-btn:hover { color: var(--p); }
.v-qv .v-modal-box { width: min(920px, 100%); padding: 28px; }
.v-qv-loading { display: grid; place-items: center; min-height: 240px; }
.v-qv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.v-qv-main { display: block; aspect-ratio: 1; background: var(--soft); border-radius: var(--r); overflow: hidden; }
.v-qv-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-qv-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.v-qv .v-modal-box:focus { outline: none; }
.v-qv-thumbs button { flex: none; width: 64px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: var(--r-sm); background: var(--soft); cursor: pointer; }
.v-qv-thumbs button[aria-current="true"] { border-color: var(--p); }
.v-qv-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-qv-info { display: grid; gap: 12px; }
.v-qv-info h3 { margin: 0; padding-right: 28px; font-size: 22px; line-height: 1.3; }
.v-qv-info h3 a { color: var(--ink); text-decoration: none; }
.v-qv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.v-qv-price .v-price-now { font-size: 26px; }
.v-qv-info .v-opt { margin-bottom: 0; }
.v-qv-buy { display: flex; gap: 10px; align-items: center; }
.v-qv-buy .v-btn { flex: 1; justify-content: center; }
.v-qv-desc { margin: 0; color: var(--ink-2); font-size: 14px; }
.v-qv-specs { margin: 0; font-size: 13px; }
.v-qv-specs div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.v-qv-specs dt { font-weight: 400; color: var(--muted); }
.v-qv-specs dd { margin: 0; text-align: right; }
.v-qv-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--p); text-decoration: none; }
.v-qv-more .v-ico { width: 14px; height: 14px; }
.v-qv-loading .v-spin { width: 32px; height: 32px; border-color: var(--line); border-top-color: var(--p); }
@media (hover: none) {
	.v-qv-btn { display: none; }
}
@media (max-width: 760px) {
	.v-qv-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.v-qv .v-modal-box { padding: 20px 16px; }
}

/* Передзвоніть мені */
.v-callback-link { border: 0; background: none; padding: 0; font-size: 12px; color: var(--p); text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.v-callback-link:hover { color: var(--p-dark); }

/* Menu links */
.v-nav-list > li.accent > a { color: var(--acc); font-weight: 600; }

/* Extra product tabs */
.v-tab-text { line-height: 1.65; }
.v-tab-text img { max-width: 100%; height: auto; }
.v-tab-text table { border-collapse: collapse; }
.v-tab-text td, .v-tab-text th { border: 1px solid var(--line); padding: 6px 10px; }

/* Special countdown */
.v-timer { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 12px; padding: 8px 12px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--acc) 12%, #fff); color: var(--ink); font-size: 14px; }
.v-timer .v-ico { width: 18px; height: 18px; color: var(--acc); }
.v-timer b { font-size: 16px; color: var(--acc); letter-spacing: .02em; }

/* Category: load more, subcategory tiles */
.v-more { display: flex; margin: 24px auto 0; min-width: 220px; justify-content: center; }
.v-subcat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.v-subcat-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); font-size: 14px; font-weight: 500; text-align: center; text-decoration: none; }
.v-subcat-tile:hover { border-color: var(--p); color: var(--p); text-decoration: none; }
.v-subcat-tile span { display: grid; place-items: center; width: 80px; height: 80px; border-radius: var(--r-sm); background: var(--soft); overflow: hidden; font-size: 28px; font-weight: 700; color: var(--muted); }
.v-subcat-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.v-cat-desc.top { margin: 0 0 20px; }
@media (max-width: 640px) {
	.v-subcat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.v-subcat-tile span { width: 56px; height: 56px; }
}

/* Contact page */
.v-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.v-contact-info { display: grid; gap: 18px; }
.v-contact-row { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.v-contact-row > .v-ico { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--p); }
.v-contact-row > div { display: grid; gap: 4px; }
.v-contact-phone { font-size: 20px; font-weight: 700; color: var(--ink); text-decoration: none; }
.v-contact-row .v-callback-link { justify-self: start; font-size: 14px; }
.v-contact-messengers { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 36px; }
.v-contact-msg { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.v-contact-msg:hover { background: color-mix(in srgb, var(--p) 12%, #fff); color: var(--p-dark); text-decoration: none; }
.v-contact-msg .v-ico { width: 18px; height: 18px; }
.v-contact-locations h2 { font-size: 18px; margin: 8px 0 10px; }
.v-contact-location { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.v-contact-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.v-contact-form h2 { margin: 0 0 14px; font-size: 20px; }
.v-contact-map { margin-top: 32px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.v-contact-map iframe { display: block; width: 100%; height: 380px; border: 0; }
@media (max-width: 860px) {
	.v-contact { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.v-contact-map iframe { height: 300px; }
}

/* Back to top */
.v-top { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(20, 30, 60, .12); cursor: pointer; }
.v-top[hidden] { display: none; }
.v-top .v-ico { transform: rotate(-90deg); width: 20px; height: 20px; }
.v-top:hover { color: var(--p); border-color: var(--p); }

/* Sign in by SMS */
.v-otp { margin: 0 0 24px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: color-mix(in srgb, var(--p) 4%, #fff); }
.v-otp h2 { margin: 0 0 4px; font-size: 20px; }
.v-otp .v-muted { margin: 0 0 12px; }
.v-otp-row { display: flex; gap: 10px; max-width: 460px; margin-bottom: 8px; }
.v-otp-row[hidden] { display: none; }
.v-otp-row input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 16px; }
.v-otp-note { margin: 4px 0 0; font-size: 14px; color: var(--ok); }
.v-otp-note.bad { color: var(--bad); }

/* Focus: no ring after a mouse click (Bootstrap draws a black one), a theme-coloured ring for the keyboard */
:focus:not(:focus-visible) { outline: none !important; box-shadow: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible, input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--p) !important; outline-offset: 2px; }
.form-control:focus { border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in srgb, var(--p) 18%, transparent); }

/* Price total for the chosen quantity */
.v-p-total { margin: -4px 0 12px; font-size: 15px; color: var(--ink-2); }
.v-p-total b { font-size: 18px; color: var(--ink); }
.v-p-total[hidden], [data-v-price-box] [hidden] { display: none; }

/* Account: login, account home */
.v-acc { padding-bottom: 40px; }
.v-acc h1 { margin: 8px 0 18px; font-size: clamp(24px, 3vw, 30px); }
.v-alert { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 15px; }
.v-alert.ok { background: color-mix(in srgb, var(--ok) 10%, #fff); color: var(--ok); }
.v-alert.bad { background: color-mix(in srgb, var(--bad) 8%, #fff); color: var(--bad); }
.v-acc-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 920px; }
.v-acc-card { display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.v-acc-card.soft { background: var(--soft); border-color: transparent; }
.v-acc-card h1, .v-acc-card h2 { margin: 0; font-size: 22px; }
.v-acc-card .v-muted { margin: -6px 0 0; }
.v-acc-card .v-co-field { margin: 0; }
.v-acc-link { margin: 0; text-align: center; font-size: 14px; }
.v-acc-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.v-acc-perks li { display: flex; gap: 8px; align-items: flex-start; }
.v-acc-perks .v-ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.v-acc .v-otp { max-width: 920px; }
.v-acc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.v-acc-tile { display: flex; flex-direction: column; gap: 12px; padding: 22px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.v-acc-tile:hover { border-color: var(--p); box-shadow: 0 8px 24px rgba(20, 30, 60, .07); color: var(--ink); text-decoration: none; }
.v-acc-tile .v-ico { width: 28px; height: 28px; color: var(--p); }
.v-acc-tile b { font-size: 15px; font-weight: 600; }
.v-acc-tile.muted .v-ico { color: var(--muted); }

/* Stock account pages (register, edit, addresses, orders, returns...) in the theme's look */
[id^="account-"].container { padding-bottom: 40px; }
[id^="account-"] .breadcrumb { background: none; padding: 14px 0 8px; margin: 0; font-size: 13px; }
[id^="account-"] .breadcrumb > li + li::before { color: var(--muted); }
[id^="account-"] .breadcrumb a { color: var(--muted); }
[id^="account-"] h1 { margin: 8px 0 14px; font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
[id^="account-"] h2 { font-size: 20px; font-weight: 700; }
[id^="account-"] legend { border: 0; margin: 22px 0 10px; padding: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
[id^="account-"] fieldset { max-width: 620px; }
[id^="account-"] .form-horizontal .form-group { margin: 0 0 14px; display: flex; flex-direction: column; }
[id^="account-"] .form-horizontal .form-group > [class*="col-"] { float: none; width: auto; padding: 0; }
[id^="account-"] .form-horizontal .control-label { padding: 0 0 6px; text-align: left; font-size: 14px; font-weight: 600; color: var(--ink); }
[id^="account-"] .form-group.required .control-label::after { content: " *"; color: var(--bad); }
[id^="account-"] .form-group.required .control-label::before { content: none; }
[id^="account-"] .form-control { height: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: none; font-size: 15px; }
[id^="account-"] .radio, [id^="account-"] .checkbox { margin: 4px 0; }
[id^="account-"] .radio-inline { padding-top: 0; margin-right: 12px; }
[id^="account-"] .text-danger { margin-top: 4px; font-size: 13px; color: var(--bad); }
[id^="account-"] .buttons { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 0 0; max-width: 620px; }
[id^="account-"] .buttons .pull-left, [id^="account-"] .buttons .pull-right { float: none !important; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
[id^="account-"] .buttons .pull-right input[type="checkbox"] { margin: 0 6px 0 0; }
[id^="account-"] .btn { padding: 10px 20px; border-radius: var(--r-sm); font-size: 15px; font-weight: 600; }
[id^="account-"] .btn-default { background: #fff; color: var(--ink); }
[id^="account-"] .btn-default:hover { border-color: var(--p); color: var(--p); background: #fff; }
[id^="account-"] .btn-info, [id^="account-"] .btn-danger { border-radius: var(--r-sm); }
[id^="account-"] .table-responsive { border: 1px solid var(--line); border-radius: var(--r); overflow: auto; }
[id^="account-"] .table { margin: 0; background: #fff; font-size: 14px; }
[id^="account-"] .table > thead > tr > td, [id^="account-"] .table > thead > tr > th { border-bottom: 1px solid var(--line); background: var(--soft); font-weight: 600; color: var(--ink-2); }
[id^="account-"] .table-bordered, [id^="account-"] .table-bordered > tbody > tr > td, [id^="account-"] .table-bordered > thead > tr > td, [id^="account-"] .table-bordered > tfoot > tr > td { border-color: var(--line); }
[id^="account-"] .table > tbody > tr > td { vertical-align: middle; }
[id^="account-"] .well { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: none; }
[id^="account-"] .alert { border-radius: var(--r-sm); }
/* Pages for guests: no account menu, the form takes the width */
#account-register #column-right, #account-forgotten #column-right, #account-reset #column-right, #account-login #column-right { display: none; }
#account-register #content, #account-forgotten #content, #account-reset #content { width: 100%; }
/* Account menu beside the logged-in pages */
#column-right .v-acc-menu { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
#column-right .v-acc-menu .list-group-item { border: 0; border-bottom: 1px solid var(--soft); border-radius: 0 !important; padding: 11px 16px; color: var(--ink-2); font-size: 14px; }
#column-right .v-acc-menu .list-group-item:last-child { border-bottom: 0; color: var(--muted); }
#column-right .v-acc-menu .list-group-item:hover, #column-right .v-acc-menu .list-group-item.active { background: color-mix(in srgb, var(--p) 8%, #fff); color: var(--p-dark); }
@media (max-width: 860px) {
	.v-acc-auth { grid-template-columns: minmax(0, 1fr); }
	.v-acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.v-acc-card { padding: 20px; }
}
[id^="account-"] .buttons::before, [id^="account-"] .buttons::after { content: none; display: none; }
