/* skini — бренд-шар поверх r1.css/desktop.css. Три варіанти: html[data-theme=a|b|c], перемикач ?v=a|b|c.
   A «Крем»  — макет R1 без змін, палітра логотипа (крем, бордо, пудра).
   B «Бордо» — сайт під логотип: плоскі бордові площини, круглий шрифт Nunito, мотив «крапки над i».
   C «Пудра» — світлий преміум: білий, бордо тільки для тексту й кнопок, тонкі лінії, менші радіуси. */

/* оригінальний R1: кольори логотипа фірмові, решта токенів — з r1.css */
:root { --logo-word: #13202e; --logo-dot: linear-gradient(110deg, #4fb2ee, #3fd3a2); }

/* ---------- основна версія: R1 у світлому білому виконанні ---------- */
html:not([data-theme]) { --bg: #ffffff; --card: #ffffff; --soft: #f3f6f9; --line: #e6ecf1; }
html:not([data-theme]) .top, html:not([data-theme]) .ph, html:not([data-theme]) .buybar { background: rgba(255,255,255,.94); }
html:not([data-theme]) :is(.dh__search, .dh__cart, .d-card, .d-row, .d-hero, .d-sidecard, .d-usp li, .d-cat, .d-proto, .d-set, .d-brands a, .d-filt, .d-tool__s select, .d-tool__v, .d-prod__img, .d-auth li, .d-prod__meta .ib, .d-buy, .d-tabs, .d-table, .d-sum, .d-quick, .d-co__s, .d-done .ok--page, .d-menav, .d-contact, .d-cmpw, .ib, .qnav a, .slide, .qt, .gi, .cc, .promo, .nlist, .form, .edu, .foot__c, .sbar, .sinp, .hc, .trust li, .rep, .prow, .chip:not(.is-on), .cli, .pp__img, .facts, .acc, .mini, .rev, .oc, .btn--soft, .cl, .sum, .co__s, .tl) { box-shadow: inset 0 0 0 1px var(--line); }
html:not([data-theme]) .hc__img { background: radial-gradient(60% 60% at 50% 55%, #eef6fc, var(--soft) 80%); }
html:not([data-theme]) .tabbar { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  html:not([data-theme]) .dh { background: #fff; }
  html:not([data-theme]) .dh__search { background: var(--soft); box-shadow: none; }
  html:not([data-theme]) .d-foot { background: var(--soft); }
}

/* ---------- logo (дві маски: слово + крапки, колір задають токени) ---------- */
.logo { gap: 10px; }
.skini { position: relative; display: block; height: 26px; aspect-ratio: 566 / 204; flex: none; }
.skini::before, .skini::after { content: ""; position: absolute; inset: 0; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.skini::before { --m: url(../../assets/img/brand/skini-word.webp); background: var(--logo-word); }
.skini::after { --m: url(../../assets/img/brand/skini-dots.webp); background: var(--logo-dot); }
.logo__t { display: block; font-size: 9.5px; line-height: 1.15; font-weight: 500; color: var(--mut); padding-left: 10px; border-left: 1px solid var(--line); }
.dh .skini { height: 34px; }
.dh .logo__t { font-size: 11px; }
.d-foot .skini { height: 30px; }

/* ---------- variant switcher (тимчасово, для вибору) ---------- */
.vswitch { position: fixed; z-index: 90; left: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; border-radius: 22px; background: var(--ink); color: rgba(255,255,255,.7); font-size: 11px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.vswitch a { min-width: 32px; padding: 0 8px; width: auto; height: 32px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 13px; font-weight: 700; }
html:not([data-theme]) .vswitch [data-v=o], html[data-theme=a] .vswitch [data-v=a], html[data-theme=b] .vswitch [data-v=b], html[data-theme=c] .vswitch [data-v=c] { background: #c38e7d; color: #2e1219; }
@media (min-width: 1024px) { .vswitch { bottom: 16px; left: 16px; } }

/* ---------- shared token mapping for hard-coded R1 colors ---------- */
html[data-theme] .top, html[data-theme] .ph { background: var(--glass); }
html[data-theme] .buybar { background: var(--glass); }
html[data-theme] .dots i { background: var(--line2); }
html[data-theme] .dots i.is-on { background: var(--blue); }
html[data-theme] .opt i, html[data-theme] .seg--v > *::after { border-color: var(--line2); }
html[data-theme] .opt.is-on, html[data-theme] .seg--v > .is-on { background: var(--tint); }
html[data-theme] .tl .is-now i { box-shadow: 0 0 0 4px var(--tint); }
html[data-theme] .pill--1 { background: var(--tint); }
html[data-theme] .hc__img { background: radial-gradient(60% 60% at 50% 55%, var(--glow), var(--soft) 80%); }
html[data-theme] .nlist i, html[data-theme] .cli > svg, html[data-theme] .cl__x { color: var(--line2); }
html[data-theme] .tabbar a { color: var(--mut); }
html[data-theme] .ib.is-on { color: var(--rose-d); } html[data-theme] .ib.is-on svg { fill: var(--rose-d); stroke: var(--rose-d); }
html[data-theme] .band { background: var(--band); color: var(--band-ink); }
html[data-theme] .skl s { background: linear-gradient(90deg, var(--soft) 25%, var(--tint) 50%, var(--soft) 75%); background-size: 200% 100%; }
@media (min-width: 1024px) {
  html[data-theme] .btn--soft:hover, html[data-theme] .chip:hover, html[data-theme] .d-brands a:hover, html[data-theme] .d-radios button.is-on { background: var(--tint); }
  html[data-theme] .d-radios button:hover:not(.is-on) { background: var(--soft); }
  html[data-theme] .d-crumbs > *:not(:last-child)::after { color: var(--line2); }
  html[data-theme] .d-radios button::after { border-color: var(--line2); }
  html[data-theme] .d-fav, html[data-theme] .d-proto i, html[data-theme] .d-table__rm, html[data-theme] .d-cmpt__x { color: var(--line2); }
  html[data-theme] .d-fav:hover, html[data-theme] .d-fav.is-on { color: var(--rose-d); } html[data-theme] .d-fav.is-on svg { fill: var(--rose-d); stroke: var(--rose-d); }
  html[data-theme] .d-band { background: var(--band); color: var(--band-ink); }
  html[data-theme] .d-band .fld > span { color: var(--band-ink); opacity: .85; }
  html[data-theme] .d-band .err, html[data-theme] .d-band .ok p { color: var(--band-ink); }
  html[data-theme] .d-hero__v::before { background: linear-gradient(90deg, var(--card) 0%, transparent 35%); }
}

/* =====================================================================
   A — «Крем»: інтеграція. Макет той самий, кольори з логотипа.
   ===================================================================== */
html[data-theme] { --logo-word: #621c30; --logo-dot: #c38e7d; }
html[data-theme=a] {
  --bg: #f6efe8; --card: #fffcf9; --soft: #f3e7df; --tint: #f5e1d8; --glow: #fbeee7;
  --ink: #2e1219; --ink-2: #5b3d44; --mut: #8d7479; --line: #ebdcd3; --line2: #cdb3aa;
  --g1: #621c30; --g2: #93404f; --grad: linear-gradient(110deg, var(--g1), var(--g2));
  --blue: #7a2a40; --rose: #c38e7d; --rose-d: #b0675a;
  --logo-word: #621c30; --logo-dot: #c38e7d; --glass: rgba(246,239,232,.92);
  --band: linear-gradient(120deg, #621c30, #9a4c58 70%, #c38e7d); --band-ink: #fff;
}
html[data-theme=a] .new { background: var(--rose); }

/* =====================================================================
   B — «Бордо»: сайт під стиль логотипа.
   Плоский бордо без градієнтів, кремовий фон, круглий жирний Nunito в заголовках і цінах,
   пудрова «крапка» як повторюваний мотив (активна вкладка, бейджі, кнопки, hero).
   ===================================================================== */
html[data-theme=b] {
  --bg: #f5ece3; --card: #fffaf6; --soft: #f0e2d9; --tint: #f3dcd2; --glow: #f7e6dd;
  --ink: #3a0f1b; --ink-2: #5e3540; --mut: #8f7076; --line: #e8d6cb; --line2: #c9aca2;
  --g1: #621c30; --g2: #621c30; --grad: #621c30;
  --blue: #621c30; --rose: #c38e7d; --rose-d: #b0675a; --r: 30px;
  --logo-word: #621c30; --logo-dot: #c38e7d; --glass: rgba(245,236,227,.93);
  --band: #c38e7d; --band-ink: #3a0f1b;
  --round: "Nunito", "Onest", system-ui, sans-serif;
}
html[data-theme=b] :is(h1, h2, .hc__buy em, .d-hero__buy em, .d-sidecard__b em, .d-card__buy em, .d-row__buy em, .foot__ph, .d-foot__ph, .d-sidecard__n) { font-family: var(--round); font-weight: 800; letter-spacing: -.01em; }
html[data-theme=b] .new { background: var(--rose); color: #3a0f1b; border-radius: 20px; }
html[data-theme=b] .btn, html[data-theme=b] .add, html[data-theme=b] .cartbar { background: #621c30; }
html[data-theme=b] .btn::after { background: var(--rose); color: #3a0f1b; }
html[data-theme=b] .btn--soft { background: var(--card); color: #621c30; }
html[data-theme=b] .add--ghost { background: var(--soft); color: #621c30; }
html[data-theme=b] .add { border-radius: 22px; }
html[data-theme=b] .badge { background: var(--rose); color: #3a0f1b; }
html[data-theme=b] .chip.is-on { background: #621c30; }
/* активна вкладка = «крапка над i» */
html[data-theme=b] .tabbar a.is-on { color: #621c30; }
html[data-theme=b] .tabbar a.is-on::before { content: ""; position: absolute; top: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
/* hero-картка товару — бордова площина з пудровим колом */
html[data-theme=b] .hc { background: #621c30; color: #f8eee7; overflow: hidden; }
html[data-theme=b] .hc__brand, html[data-theme=b] .hc__t p, html[data-theme=b] .hc__buy small { color: rgba(248,238,231,.72); }
html[data-theme=b] .hc__img { position: relative; background: none; }
html[data-theme=b] .hc__img::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; background: var(--rose); left: 50%; top: 50%; transform: translate(-50%, -50%); }
html[data-theme=b] .hc__img img { position: relative; filter: drop-shadow(0 18px 18px rgba(40,6,16,.45)); }
html[data-theme=b] .hc .seg { background: rgba(255,255,255,.1); }
html[data-theme=b] .hc .seg > * { color: rgba(248,238,231,.75); }
html[data-theme=b] .hc .seg > .is-on { background: #f8eee7; color: #621c30; }
html[data-theme=b] .hc .add { background: var(--rose); color: #3a0f1b; }
html[data-theme=b] .hc :is(.prm, .params, .prm li, .st) { color: rgba(248,238,231,.85); }
html[data-theme=b] .hc :is(.prm li, .params li) { background: rgba(255,255,255,.08); }
html[data-theme=b] .hc .st--ok { color: #e9c3b6; }
html[data-theme=b] .hc .stp { background: rgba(255,255,255,.1); color: #f8eee7; }
html[data-theme=b] .trust svg, html[data-theme=b] .qt small { color: #621c30; }
html[data-theme=b] .qt__i { background: var(--rose); color: #3a0f1b; border-radius: 50%; }
html[data-theme=b] .foot__c { background: #621c30; color: #f8eee7; }
html[data-theme=b] .foot__c p, html[data-theme=b] .foot__c .muted { color: rgba(248,238,231,.75); }
html[data-theme=b] .foot__c .skini { --logo-word: #f8eee7; }
html[data-theme=b] .foot__c .logo__t { color: rgba(248,238,231,.7); border-color: rgba(255,255,255,.2); }
@media (min-width: 1024px) {
  html[data-theme=b] .dh__strip { background: #621c30; }
  html[data-theme=b] .dh__catbtn, html[data-theme=b] .dh__search button[type=submit] { background: #621c30; border-radius: 20px; }
  html[data-theme=b] .dh__search { border-radius: 24px; }
  html[data-theme=b] .dh__search:focus-within { border-color: var(--rose); }
  html[data-theme=b] .dh__menu a { border-radius: 18px; }
  html[data-theme=b] .d-hero { background: #621c30; color: #f8eee7; border-radius: 36px; }
  html[data-theme=b] .d-hero__c p, html[data-theme=b] .d-hero__buy small, html[data-theme=b] .d-hero__prm small { color: rgba(248,238,231,.7); }
  html[data-theme=b] .d-hero__prm li { background: rgba(255,255,255,.08); }
  html[data-theme=b] .d-hero .seg { background: rgba(255,255,255,.1); }
  html[data-theme=b] .d-hero .seg > * { color: rgba(248,238,231,.75); }
  html[data-theme=b] .d-hero .seg > .is-on { background: #f8eee7; color: #621c30; }
  html[data-theme=b] .d-hero .add, html[data-theme=b] .d-hero .btn:not(.btn--soft) { background: var(--rose); color: #3a0f1b; }
  html[data-theme=b] .d-hero .btn--soft { background: rgba(255,255,255,.1); color: #f8eee7; }
  html[data-theme=b] .d-hero .stp { background: rgba(255,255,255,.1); color: #f8eee7; }
  html[data-theme=b] .d-hero .st { color: rgba(248,238,231,.85); } html[data-theme=b] .d-hero .st--ok { color: #e9c3b6; }
  html[data-theme=b] .d-hero__bg { display: none; }
  html[data-theme=b] .d-hero__v::before { inset: auto; width: 420px; height: 420px; right: 24px; bottom: 30px; border-radius: 50%; background: var(--rose); }
  html[data-theme=b] .d-hero__v::after { content: ""; position: absolute; width: 90px; height: 90px; border-radius: 50%; background: #f8eee7; opacity: .14; left: 30px; top: 50px; }
  html[data-theme=b] .d-hero__p { right: 84px; bottom: 90px; filter: drop-shadow(0 30px 30px rgba(40,6,16,.5)); }
  html[data-theme=b] .d-band .btn { background: #621c30; }
  html[data-theme=b] .d-foot { background: #621c30; color: #f8eee7; border: 0; }
  html[data-theme=b] .d-foot :is(p, h3, .muted) { color: rgba(248,238,231,.7); }
  html[data-theme=b] .d-foot .skini { --logo-word: #f8eee7; }
  html[data-theme=b] .d-foot .logo__t { color: rgba(248,238,231,.7); border-color: rgba(255,255,255,.2); }
  html[data-theme=b] .d-foot li a:hover { color: var(--rose); }
  html[data-theme=b] .d-card, html[data-theme=b] .d-sidecard { border-radius: 26px; }
}

/* =====================================================================
   C — «Пудра»: світлий преміум. Білий, тонкі межі, бордо — акцент, пудра — підкладки.
   ===================================================================== */
html[data-theme=c] {
  --bg: #fdfaf8; --card: #ffffff; --soft: #f8efeb; --tint: #f6e6df; --glow: #fdf3ee;
  --ink: #2a1a1e; --ink-2: #57454a; --mut: #94848a; --line: #eee2dc; --line2: #d4c0b8;
  --g1: #621c30; --g2: #621c30; --grad: #621c30;
  --blue: #621c30; --rose: #c38e7d; --rose-d: #b0675a; --r: 18px;
  --logo-word: #621c30; --logo-dot: #c38e7d; --glass: rgba(253,250,248,.94);
  --band: linear-gradient(120deg, #f3ddd4, #e6c3b6); --band-ink: #3a0f1b;
}
html[data-theme=c] :is(.hc, .qt, .trust li, .foot__c, .chip, .sbar, .qnav a, .d-card, .d-sidecard, .d-hero, .d-cat, .d-proto, .d-set, .rev, .edu, .dh__search) { box-shadow: inset 0 0 0 1px var(--line); }
html[data-theme=c] .new { background: var(--soft); color: #621c30; border: 1px solid var(--tint); }
html[data-theme=c] .btn::after { background: rgba(255,255,255,.16); }
html[data-theme=c] .qt__i { background: var(--soft); color: #621c30; }
html[data-theme=c] .badge { background: var(--rose-d); }
html[data-theme=c] .tabbar a.is-on { color: #621c30; }
html[data-theme=c] .hc__img { border-radius: 14px; }
@media (min-width: 1024px) {
  html[data-theme=c] .dh { background: #fff; }
  html[data-theme=c] .dh__strip { background: var(--soft); color: var(--ink-2); }
  html[data-theme=c] .dh__strip a { color: #621c30; }
  html[data-theme=c] .dh__usp li + li { border-color: var(--line2); }
  html[data-theme=c] .dh__usp svg, html[data-theme=b] .dh__usp svg { color: var(--rose); }
  html[data-theme=c] .dh__msgs a:hover { background: var(--tint); }
  html[data-theme] .dh__sets { color: #621c30; background: var(--tint); }
  html[data-theme=c] .dh__search { background: var(--bg); border-radius: 12px; }
  html[data-theme=c] .dh__search:focus-within { border-color: #621c30; }
  html[data-theme=c] .dh__cart { box-shadow: inset 0 0 0 1px var(--line); }
  html[data-theme=c] .d-hero { border-radius: 22px; }
  html[data-theme=c] .d-hero__c h1 { font-weight: 500; letter-spacing: -.035em; }
  html[data-theme=c] .d-hero__bg { opacity: .9; }
  html[data-theme=c] .d-band .btn { background: #621c30; }
  html[data-theme=c] .d-foot { background: var(--soft); }
}

/* B: дрібниці всередині бордових площин */
html[data-theme=b] :is(.hc, .d-hero) .prm small { color: rgba(248,238,231,.6); }
html[data-theme=b] :is(.hc, .d-hero) .stp button { color: #f8eee7; }
.logo .logo__t { margin-top: 0; }

/* перемикач мови UA / RU */
.lang { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; }
.lang a { height: 26px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; opacity: .65; }
html[lang=uk] .lang [data-lang=uk], html[lang=ru] .lang [data-lang=ru] { opacity: 1; background: rgba(255,255,255,.16); }
.srow { display: flex; align-items: center; gap: 8px; margin: 4px var(--gut) 10px; } .srow .sbar { flex: 1; min-width: 0; margin: 0; }
.lang--m { flex: none; margin: 0; height: 46px; padding: 4px; border-radius: 16px; background: var(--card); }
.lang--m a { height: 38px; padding: 0 10px; border-radius: 12px; font-size: 13px; }
.lang--m a { color: var(--ink); } html[lang=uk] .lang--m [data-lang=uk], html[lang=ru] .lang--m [data-lang=ru] { background: var(--tint, #eef2f6); box-shadow: none; }

/* текст розділу / бренду під списком товарів: світла картка з вкладками */
.tx { position: relative; margin: 24px var(--gut) 8px; padding: 16px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.tx__h small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.tx__h b { display: block; margin-top: 2px; font-size: 17px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.tx input { position: absolute; opacity: 0; pointer-events: none; }
.tx__body { margin-top: 12px; }
.tx__tabs { display: flex; gap: 4px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; } .tx__tabs::-webkit-scrollbar { display: none; }
.tx__tabs label { flex: none; padding: 7px 12px; border-radius: 10px; background: var(--soft); cursor: pointer; }
.tx__tabs h2 { margin: 0; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.tx__panels p { display: none; margin: 10px 0 0; }
.tx input:nth-of-type(1):checked ~ .tx__tabs label:nth-child(1), .tx input:nth-of-type(2):checked ~ .tx__tabs label:nth-child(2), .tx input:nth-of-type(3):checked ~ .tx__tabs label:nth-child(3), .tx input:nth-of-type(4):checked ~ .tx__tabs label:nth-child(4) { background: var(--ink); }
.tx input:nth-of-type(1):checked ~ .tx__tabs label:nth-child(1) h2, .tx input:nth-of-type(2):checked ~ .tx__tabs label:nth-child(2) h2, .tx input:nth-of-type(3):checked ~ .tx__tabs label:nth-child(3) h2, .tx input:nth-of-type(4):checked ~ .tx__tabs label:nth-child(4) h2 { color: #fff; }
.tx input:nth-of-type(1):checked ~ .tx__panels p:nth-child(1), .tx input:nth-of-type(2):checked ~ .tx__panels p:nth-child(2), .tx input:nth-of-type(3):checked ~ .tx__panels p:nth-child(3), .tx input:nth-of-type(4):checked ~ .tx__panels p:nth-child(4) { display: block; }
.tx input:focus-visible ~ .tx__tabs { outline: 2px solid var(--g1); outline-offset: 4px; border-radius: 10px; }
@media (min-width: 1024px) {
  .tx { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; margin: 40px 0 0; padding: 20px 24px; font-size: 14px; }
  .tx__h b { font-size: 19px; } .tx__body { margin-top: 0; } .tx__tabs { margin: 0; padding: 0; flex-wrap: wrap; } .tx__panels p { max-width: 900px; }
}

/* картка товару: питання і відповіді */
.faq { margin: 0; display: grid; gap: 12px; }
.faq dt { font-weight: 600; color: var(--ink); }
.faq dd { margin: 4px 0 0; color: var(--ink-2); line-height: 1.55; }
