/* Loial — theme layer on top of the design CSS (base/components/partials/pages).
   The design CSS is a frozen desktop snapshot of the prototype: states that the
   prototype set inline from JS (active tab, language, price knob, banner
   width) are classes here, and the narrow-screen rules (no @media in the
   hand-off) live at the bottom, following the mobile prototype. */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
/* The design marked these up as <button> (border-box by default); here they are
   links or spans, so the box model is restored — otherwise padding adds to
   min-height/width (category tiles were 186px instead of 150px). */
.header-btn-1, .header-btn-4, .header-btn-5, .header-btn-6, .header-btn-7, .header-btn-8, .header-btn-9,
.header-btn-10, .header-btn-11, .home-btn-1, .home-btn-3, .home-btn-6, .home-btn-7, .ui-btn-2 { box-sizing: border-box; }
a.header-btn-4, a.header-btn-5, a.header-btn-8, a.header-btn-9, a.header-btn-10,
a.home-btn-1, a.home-btn-3, a.home-btn-6, a.home-box-12, a.ui-btn-2 { text-decoration: none; color: inherit; }
a.header-btn-6 { color: #e5175c; text-decoration: none; }
a.header-btn-7 { color: #55555d; text-decoration: none; }
a.header-btn-7:hover { color: #111111; }

/* ---------------------------------------------------------------- header */
.header-btn-1 { background: transparent; color: #ffffff; text-decoration: none; }
.header-btn-1.is-active { background: rgba(255,255,255,.22); }
.header-btn-1:hover { color: #ffffff; background: rgba(255,255,255,.12); }
.header-box-5 { margin: 0; }
.header-field-1::-webkit-search-cancel-button { display: none; }

/* Mega menu: tabs on the left, the active department on the right. */
.site-header-wrap { z-index: 50; }
.site-header-wrap.is-mega-open { z-index: 64; }
.mega { top: var(--mega-top, 140px); }
.mega-grid { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
.mega-tabs { display: flex; flex-direction: column; gap: 2px; }
.header-btn-8 { background: transparent; color: #111111; }
.header-btn-8.is-active, .header-btn-8:hover { background: #f2f2f5; }
.header-box-13 { color: #111111; text-decoration: none; }
.header-box-16 { columns: 1 200px; }

/* ------------------------------------------------------------- carousels */
[data-carousel] { position: relative; }
.home-btn-1 { width: calc(100% - 140px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); color: #111111; }
.home-btn-1.is-dark { color: #ffffff; }
.home-btn-1.is-dark .home-text-4 { background: #111111; color: #ffffff; }

/* ------------------------------------------------------------ product card */
.card { position: relative; }
.card-media { display: block; }
.card-fav { color: #111111; }
.card-fav.is-active { color: #e5175c; }
.card-old { text-decoration: line-through; }
.ui-btn-2 { display: flex; align-items: center; justify-content: center; text-align: center; }
.ui-btn-2.is-disabled { background: #f2f2f5; color: #9a9aa2; cursor: default; }

/* -------------------------------------------------------- pro price demo */
.home-text-8 { background: #ffffff; transform: translateX(0); }
.home-btn-4 .pro-retail { color: #0b3b8f; }
.home-btn-4 .pro-salon { color: #ffffff; }
.home-box-10.is-pro .home-text-8 { transform: translateX(100%); }
.home-box-10.is-pro .pro-retail { color: #ffffff; }
.home-box-10.is-pro .pro-salon { color: #0b3b8f; }
.home-box-10.is-pro .home-text-12 { color: #0b3b8f; }
.home-text-13 { text-decoration: none; }
.home-box-10:not(.is-pro) .home-text-13 { visibility: hidden; }
.home-box-10.is-pro .home-text-13 { text-decoration: line-through; }

/* ----------------------------------------------------------- shop chips */
.home-btn-6 { border: 1px solid #ececf0; background: #ffffff; color: #111111; }
.home-btn-6:hover { border-color: #111111; }
.home-btn-6.is-active { border-color: #111111; background: #111111; color: #ffffff; }
.home-title-1 a { color: inherit; }

/* ------------------------------------------------------------- utilities */
.is-wide { display: inline; }
.is-wide-flex { display: flex; }

/* ----------------------------------------------------------- < 1080px */
@media (max-width: 1079px) {
  .is-wide { display: none; }
  .header-box-8 { gap: 2px; }
  .header-btn-4, .header-btn-5 { padding: 6px; }
}

/* ----------------------------------------------------------- < 760px:
   phone, after the mobile prototype — logo row + search below,
   banners one per screen, no carousel arrows. */
@media (max-width: 759px) {
  .is-wide-flex { display: none; }
  .header-box-2 { gap: 10px; font-size: 12px; }
  .header-box-4 { flex-wrap: wrap; row-gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .header-img-1 { height: 26px; }
  .header-btn-2 { height: 40px; padding: 0 12px; border-radius: 10px; order: 3; }
  .header-btn-2-label { display: none; }
  .header-box-5 { order: 4; flex: 1 1 calc(100% - 60px); min-width: 0; }
  .header-box-8 { margin-left: auto; }
  .header-link-4 { display: none; }
  .header-box-9 { padding-bottom: 10px; }

  .mega { max-height: calc(100vh - var(--mega-top, 140px)); }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; }
  .mega-tabs { flex-direction: row; overflow-x: auto; }
  .header-btn-8 { padding: 10px 12px; font-size: 14px; }
  .header-btn-8 .header-icon-3 { display: none; }
  .header-box-14 { grid-template-columns: minmax(0, 1fr); gap: 18px; }

  .home-btn-1 { width: 88%; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .home-btn-1 .home-box-3 { order: -1; min-height: 180px; }
  .home-box-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-btn-3 { min-height: 104px; padding: 14px; }
  .home-article-1 { width: 44vw; }
  .home-box-16 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .home-box-17 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-btn-7 { height: 72px; padding: 12px; }
  .home-box-24 { flex-basis: 100%; grid-template-columns: minmax(0, 1fr); }
}

/* fixes after the first render */
a.ui-btn-2 { color: #ffffff; }
a.home-box-12 { color: #111111; }
.home-box-6 .ui-box-1 { margin-left: auto; }
.backdrop-box-1[data-mega-backdrop] { top: var(--mega-top, 140px); }

/* shop block: sort switch + chips filter in place (theme.js swaps #shop) */
a.home-btn-5 { box-sizing: border-box; text-decoration: none; background: transparent; color: #111111; }
a.home-btn-5:hover { background: #ffffff; }
a.home-btn-5.is-active { background: #111111; color: #ffffff; }
[data-swap].is-loading .home-box-16 { opacity: .45; transition: opacity .15s; }
.home-text-16 { grid-column: 1 / -1; color: #77777f; }

/* news: type badges, tabs, pager, article body */
.ui-text-43, .news-text-4, .home-text-17 { color: #ffffff; background: #0b3b8f; }
.kicker-promo { background: #e5175c; }
a.ui-link-5, a.news-link-1, a.home-article-2 { color: #111111; text-decoration: none; }
a.ui-btn-9 { box-sizing: border-box; text-decoration: none; color: #111111; }
.news-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.pager-item { min-width: 42px; height: 42px; padding: 0 10px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #f2f2f5; color: #111111; font-weight: 600; text-decoration: none; }
.pager-item:hover { background: #ececf0; color: #111111; }
.pager-item.is-active { background: #111111; color: #ffffff; }
.pager-gap { align-self: center; color: #9a9aa2; }
.article-date { display: block; color: #77777f; font-size: 14px; margin: -8px 0 4px; }
.article-body { font-size: 17px; line-height: 1.65; color: #2a2a2e; }
.article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.article-body p { margin: 0 0 1em; }
.article-body a { text-decoration: underline; }
.article-body iframe { max-width: 100%; }
/* home news: the design's div/h3 are spans inside a link here */
.home-box-19, .home-box-20, .home-title-4 { display: block; }
.home-text-17 { display: inline-block; align-self: flex-start; }
.home-title-3 a { color: inherit; }

/* chips are used beyond the home page (news tabs) — base rule of home.css */
.home-btn-6 { flex: none; white-space: nowrap; height: 42px; padding: 0 16px; border-radius: 21px; font: 500 14px 'Golos Text',sans-serif; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; }
/* news lead: image | text on wide screens (prototype leadCols) */
.news-link-1 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 759px) { .news-link-1 { grid-template-columns: minmax(0, 1fr); } }

/* cards of one row share a height; the cart button sits at the bottom so
   buttons line up whatever the title/category length */
.card .ui-btn-2 { margin-top: auto; flex: none; }

/* ---------------------------------------------------------------- catalog */
.catalog-layout { grid-template-columns: 260px minmax(0, 1fr); }
.catalog-aside-1 { position: sticky; max-height: calc(100vh - 170px); }
.catalog-grid { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
a.catalog-btn-2, a.catalog-btn-3, a.catalog-btn-4, a.catalog-btn-5, a.catalog-btn-6, a.catalog-btn-7, a.catalog-btn-8,
a.catalog-btn-9, a.catalog-btn-10 { text-decoration: none; box-sizing: border-box; }
a.catalog-btn-2 { background: transparent; }
a.catalog-btn-2.is-active { background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.catalog-btn-3 { font: 400 15px 'Golos Text',sans-serif; color: #111111; }
.catalog-btn-3.is-active { font-weight: 600; color: #0b3b8f; }
.catalog-text-3, .catalog-text-5 { margin-left: auto; color: #9a9aa2; font-size: 13px; }
.catalog-text-4 { border: 1.5px solid #c9c9d1; background: #ffffff; }
.catalog-text-4 i { visibility: hidden; }
.catalog-btn-4.is-active .catalog-text-4 { border-color: #0b3b8f; background: #0b3b8f; }
.catalog-btn-4.is-active .catalog-text-4 i { visibility: visible; }
.catalog-btn-4.is-empty { color: #9a9aa2; }
.catalog-btn-5 { border: 1px solid #ececf0; background: #ffffff; color: #111111; }
.catalog-btn-5.is-active { border-color: #111111; background: #111111; color: #ffffff; }
.catalog-box-12 { left: var(--lo, 0%); right: var(--hi, 0%); }
a.catalog-btn-9 { display: inline-flex; align-items: center; justify-content: center; color: #111111; }
.catalog-btn-10 { display: inline-flex; align-items: center; justify-content: center; background: #f2f2f5; color: #111111; }
.catalog-btn-10.is-active { background: #111111; color: #ffffff; }
.catalog-active { margin-bottom: 18px; }
.catalog-filters-btn, .catalog-filters-head { display: none; }
[data-swap].is-loading .catalog-grid { opacity: .45; transition: opacity .15s; }

/* phone: filters slide in from the left */
@media (max-width: 899px) {
  .catalog-layout { grid-template-columns: minmax(0, 1fr); }
  .catalog-box-8 { margin-left: 0; order: 3; }
  .catalog-filters-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid #ececf0; background: #ffffff; font: 600 14px 'Golos Text',sans-serif; color: #111111; cursor: pointer; order: 4; }
  .catalog-aside-1 { position: fixed; top: 0; bottom: 0; left: 0; z-index: 70; width: min(340px, 88vw); max-height: none; background: #ffffff; padding: 18px 20px 28px; box-sizing: border-box; transform: translateX(-105%); transition: transform .25s; }
  .catalog-aside-1.is-open { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.25); }
  .catalog-filters-head { display: flex; align-items: center; justify-content: space-between; font: 700 20px 'Golos Text',sans-serif; }
  .catalog-filters-head button { border: 0; background: #f2f2f5; width: 40px; height: 40px; border-radius: 10px; font-size: 18px; cursor: pointer; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
}

/* card price — used on every listing, not only home.css */
.home-box-7 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.home-text-5 { font-weight: 800; font-size: 18px; }
/* long option lists: the rest behind «Ещё» (theme.js, data-more) */
[data-more] > .is-extra { display: none; }
[data-more].is-expanded > .is-extra { display: inline-flex; }
.more-toggle { border: 0; background: none; padding: 6px 0; color: #0b3b8f; font: 600 14px 'Golos Text',sans-serif; cursor: pointer; }
/* open filter drawer: the catalog section is its own stacking context, so
   the sticky header goes under it instead */
body.filters-open .site-header-wrap { z-index: 0; }
body.filters-open { overflow: hidden; }
/* only while the drawer is open — otherwise the section would scroll over the sticky header */
body.filters-open .catalog { position: relative; z-index: 60; }

/* ---------------------------------------------------------------- product */
.pdp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.pdp-gallery { position: sticky; }
.pdp-main { background-size: contain; background-position: center; }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow-y: auto; }
.product-btn-1 { border: 2px solid transparent; background-size: cover; background-position: center; box-sizing: border-box; }
.product-btn-1.is-active { border-color: #111111; }
.pdp-thumb-video { display: flex; align-items: center; justify-content: center; font-size: 30px; color: #0b3b8f; }
.pdp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.product-text-6.is-out { color: #9a9aa2; }
.product-text-6.is-out .product-text-7 { background: #c9c9d1; }
.pdp-old { text-decoration: line-through; color: #9a9aa2; }
.pdp-salon { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #0b3b8f; font-size: 15px; }
.pdp-option { display: flex; flex-direction: column; gap: 10px; }
.pdp-option-title { font-size: 15px; color: #55555d; }
.pdp-option-title strong { color: #111111; }
.pdp-option-count { color: #9a9aa2; }
.pdp-shades { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.pdp-shades > .is-extra { display: none; }
.pdp-shades.is-expanded > .is-extra { display: flex; }
.pdp-shade { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 12px; text-decoration: none; color: #111111; box-sizing: border-box; }
.pdp-shade:hover { border-color: #ececf0; }
.pdp-shade.is-active { border-color: #111111; }
.pdp-shade.is-out { opacity: .45; }
.pdp-shade-img { width: 100%; aspect-ratio: 1; border-radius: 8px; background: #f2f2f5 center / cover no-repeat; }
.pdp-shade-code { font: 600 12px 'Golos Text',sans-serif; }
.pdp-volumes .catalog-btn-5 { cursor: pointer; }
.pdp-volumes .catalog-btn-5.is-out { color: #9a9aa2; text-decoration: line-through; }
.product-btn-6:disabled { background: #c9c9d1; cursor: default; }
.product-btn-7.is-active { color: #e5175c; }
.product-btn-9 { color: #77777f; border-bottom: 2px solid transparent; }
.product-btn-9.is-active { color: #111111; border-bottom-color: #111111; }
.pdp-desc { font-size: 16px; line-height: 1.65; color: #2a2a2e; max-width: 900px; }
.pdp-desc img { max-width: 100%; height: auto; }
.pdp-desc p { margin: 0 0 1em; }
.pdp-similar-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
span.product-btn-2, span.product-btn-3 { display: inline-flex; align-items: center; }

@media (max-width: 899px) {
  .pdp-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp-gallery { position: static; }
  .product-box-3 { flex-direction: column-reverse; }
  .pdp-main { width: 100%; flex: none; }
  .pdp-thumbs { flex-direction: row; max-height: none; overflow-x: auto; width: 100%; }
  .product-btn-1 { width: 64px; height: 64px; }
  .product-btn-6 { height: 52px; font-size: 15px; }
}

/* carousel card and arrows — used beyond home.css (product page) */
.home-article-1 {
  flex: none;
  width: clamp(170px,18vw,240px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.home-btn-2 {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e2e7;
  background: #ffffff;
  color: #111111;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.home-btn-2:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* option chips (catalog volume filter, product volume picker) */
.catalog-btn-5 {
  height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  font: 500 14px 'Golos Text',sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.catalog-text-6 {
  opacity: .5;
  font-size: 12px;
}
.ui-box-9 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* store cards: only the phone number is a tel: link (a whole-card link asked
   desktop browsers to pick a calling app on any click) */
.home-link-2, .product-link-3 { cursor: default; }
a.store-phone { align-self: flex-start; text-decoration: none; }
a.store-phone:hover { text-decoration: underline; }
/* product photos are square crops on white — the box matches them */
.pdp-main { background-color: #ffffff; box-shadow: inset 0 0 0 1px #ececf0; }
.product-btn-1 { background-color: #ffffff; box-shadow: inset 0 0 0 1px #ececf0; }

/* ------------------------------------------------------------------- cart */
.cart-layout { grid-template-columns: minmax(0, 1fr) 380px; }
.cart-aside { position: sticky; }
.cart-options { color: #55555d; font-size: 14px; }
.cart-old { text-decoration: line-through; color: #9a9aa2; }
.cart-minus { color: #e5175c; }
.cart-note { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 12px; background: #fff6e0; color: #6b4e00; margin-bottom: 16px; }
.cart-coupon-error { color: #e5175c; font-size: 14px; }
a.cart-btn-2, a.cart-btn-3, a.cart-btn-7, a.cart-btn-10, a.cart-btn-12, a.drawer-btn-4, a.drawer-btn-5, a.cart-link-1, a.drawer-text-2 { text-decoration: none; box-sizing: border-box; }
a.cart-btn-10, a.drawer-btn-4 { display: flex; align-items: center; justify-content: center; gap: 8px; color: #ffffff; }
a.drawer-btn-5 { display: flex; align-items: center; justify-content: center; color: #111111; }
.cart-btn-4.is-active i { color: #e5175c; }
.cart-btn-6:disabled, .drawer-btn-3:disabled { opacity: .35; cursor: default; }
a.drawer-text-2 { color: #111111; }
a.drawer-box-5 { display: block; }
.drawer-aside-1 { z-index: 81; }
[data-cart-drawer] .backdrop-box-1 { z-index: 80; }
body.drawer-open { overflow: hidden; }
@media (max-width: 999px) {
  .cart-layout { grid-template-columns: minmax(0, 1fr); }
  .cart-aside { position: static; }
}
/* drawer slides with a transition (keyframe slideIn restarted on every unhide) */
.drawer-aside-1 { animation: none; transform: translateX(105%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s linear .3s; }
.drawer-aside-1.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.8,.2,1), visibility 0s; }

/* --------------------------------------------------------------- checkout */
.checkout-h1 { margin: 6px 0 clamp(20px, 3vw, 32px); }
.checkout-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 380px; }
  .checkout-aside-1 { position: sticky; }
}
.checkout-aside-1 { display: flex; flex-direction: column; gap: 14px; }
.co-panel { display: flex; flex-direction: column; gap: 16px; }
.co-panel[hidden], [data-city-other][hidden] { display: none; }
.co-field { border: 1px solid #e2e2e7; }
.co-field:focus { border-color: #111111; }
.co-field.is-error { border-color: #e5175c; }
.ui-text-21[hidden], .ui-text-35[hidden] { display: none; }
/* option cards: a real radio drives the design's ring and dot */
.co-opt { position: relative; border: 1px solid #e2e2e7; }
.co-opt input, .co-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.co-opt .ui-text-30 { border: 2px solid #c9c9d0; }
.co-opt:has(input:checked) { border-color: #111111; box-shadow: 0 0 0 1px #111111; }
.co-opt:has(input:checked) .ui-text-30 { border-color: #0b3b8f; }
.co-opt:has(input:checked) .ui-text-31 { background: #0b3b8f; }
.co-opt:has(input:focus-visible), .co-pill:has(input:focus-visible) { outline: 2px solid #0b3b8f; outline-offset: 2px; }
.co-pill { position: relative; display: inline-flex; align-items: center; border: 1px solid #e2e2e7; background: #ffffff; color: #111111; }
.co-pill:has(input:checked) { border-color: #111111; background: #111111; color: #ffffff; }
.checkout-btn-2:disabled { opacity: .6; cursor: progress; }
.co-redirect { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; gap: 14px; background: rgba(255, 255, 255, .92); font: 600 17px 'Golos Text', sans-serif; }
.co-redirect[hidden] { display: none; }
.co-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #e2e2e7; border-top-color: #0b3b8f; animation: co-spin .8s linear infinite; }
@keyframes co-spin { to { transform: rotate(360deg); } }
a.ui-btn-6, a.ui-btn-9 { box-sizing: border-box; text-decoration: none; }
a.ui-btn-6 { color: #ffffff; align-self: flex-start; }
.done-fail { background: #e5175c; }
.fail-other { width: auto; margin-top: 4px; }
button.ui-btn-6:disabled, button.ui-btn-9:disabled { opacity: .6; cursor: progress; }
/* agent: order for a client */
.co-agent { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: #f2f2f5; }
.co-agent-box { position: relative; }
.co-agent-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #77777f; pointer-events: none; }
.co-agent-search { padding-left: 44px; padding-right: 44px; }
.co-agent-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 16px; }
.co-agent-list { position: absolute; z-index: 20; left: 16px; right: 16px; top: calc(100% - 8px); max-height: 320px; overflow-y: auto; background: #ffffff; border: 1px solid #e2e2e7; border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 6px; }
.co-agent-item { display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: #111111; }
.co-agent-item:hover, .co-agent-item:focus-visible { background: #f2f2f5; outline: 0; }
.co-agent-none { padding: 12px; color: #77777f; font-size: 14px; }

/* ---------------------------------------------------------------- account */
.acc-auth { display: grid; gap: 18px; max-width: 460px; }
.acc-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: #f2f2f5; }
.acc-card[hidden] { display: none; }
.acc-card .ui-btn-6, .acc-card .ui-btn-9 { width: 100%; align-self: stretch; }
.acc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.acc-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.acc-check input { width: 18px; height: 18px; accent-color: #0b3b8f; }
.acc-link { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 600; }
.acc-text { margin: 0; font-size: 14px; line-height: 1.5; color: #55555d; }
.acc-ok { font-size: 14px; color: #0b6b3a; }
.acc-guest-sub { padding: 0 4px; }
.acc-layout { grid-template-columns: minmax(0, 1fr); align-items: start; }
.acc-nav { flex-direction: row; overflow-x: auto; }
@media (min-width: 900px) {
  .acc-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .acc-nav { flex-direction: column; overflow: visible; }
}
.account-btn-1 { background: transparent; font: 500 15px 'Golos Text', sans-serif; text-decoration: none; }
.account-btn-1.is-on { background: #f2f2f5; font-weight: 600; }
.account-btn-2 { border: 0; background: none; font: inherit; cursor: pointer; }
.acc-form { display: flex; flex-direction: column; gap: 14px; }
.acc-form .ui-btn-10 { align-self: flex-start; }
.acc-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px; border-radius: 20px; background: #f2f2f5; }
.acc-empty-icon { font-size: 44px; color: #0b3b8f; }
.acc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.acc-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: #f2f2f5; }
.acc-stat-v { font: 700 22px 'Golos Text', sans-serif; }
.acc-clients { display: flex; flex-direction: column; border-top: 1px solid #ececf0; }
.acc-client { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid #ececf0; }
.acc-client[hidden] { display: none; }
.acc-client-head { padding-top: 8px; padding-bottom: 8px; }
.acc-client-head .ui-text-18, .acc-sum { text-align: right; }
.acc-sum { font-weight: 600; white-space: nowrap; }
.acc-sum-prev { color: #77777f; font-weight: 500; }
@media (max-width: 599px) {
  .acc-client { grid-template-columns: minmax(0, 1fr) 90px; }
  .acc-sum-prev, .acc-client-head span:last-child { display: none; }
}
.co-agent-search::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.co-agent-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 700px) { .co-agent-row { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); } }
.co-agent-pick { position: relative; }
.co-agent-pick .co-agent-list { left: 0; right: 0; top: 100%; margin-top: 4px; }
.co-agent-region { appearance: auto; }
.co-draft { height: 48px; border-radius: 12px; border: 1px solid #e5175c; background: #fff0f5; color: #b0123f; font: 600 15px 'Golos Text', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.co-draft:hover { background: #ffe1ec; }

/* ------------------------------------------------------------ menu pages */
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lead-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
[data-lead-form][hidden], [data-lead-done][hidden], [data-gift-email][hidden], [data-gift-to][hidden] { display: none; }
a.salons-btn-1, a.salons-btn-2, a.corporate-btn-1 { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; box-sizing: border-box; }
.gift-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .gift-layout { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } .gift-aside { position: sticky; top: 150px; } }
.gift-btn-1 { border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.gift-btn-1.is-on { box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111111; }
.gift-btn-3:disabled { opacity: .6; cursor: progress; }
.video-empty { color: #55555d; font-size: 16px; }
.info-text { font-size: 16px; line-height: 1.65; color: #222228; }
.info-text h2, .info-text h3 { margin: 1.4em 0 .5em; }
.info-text p { margin: 0 0 1em; }
.info-text a { color: #0b3b8f; }
.stores-cms { margin-top: 32px; }

/* ------------------------------------------------------------ brand landing */
.brand-land { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.brand-banner { position: relative; display: block; height: clamp(150px, 16vw, 220px); border-radius: 16px; overflow: hidden; background: #f2f2f5 center / cover no-repeat; }
.brand-logo { position: absolute; left: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 28px); height: 72px; width: 202px; box-sizing: border-box; border-radius: 14px; background: #ffffff center / 150px 46px no-repeat; box-shadow: 0 6px 24px rgba(17, 17, 17, .08); }
.brand-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.brand-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #f2f2f5 center / cover no-repeat; text-decoration: none; }
.brand-tile.is-on { box-shadow: 0 0 0 3px #0b3b8f; }
.brand-tile-btn { position: absolute; left: 16px; bottom: 16px; height: 48px; padding: 0 20px; border-radius: 12px; background: #ffffff; color: #111111; font: 700 16px 'Golos Text', sans-serif; display: flex; align-items: center; gap: 10px; box-shadow: 0 4px 16px rgba(17, 17, 17, .1); transition: background .2s, color .2s; }
.brand-tile:hover .brand-tile-btn { background: #0b3b8f; color: #ffffff; }
@media (max-width: 599px) { .brand-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .brand-tile-btn { left: 8px; right: 8px; bottom: 8px; height: 40px; padding: 0 12px; font-size: 14px; justify-content: space-between; } }
a.home-btn-7, a.header-btn-11 { text-decoration: none; }
.brand-banner.is-plain { height: 104px; }
.brand-banner.is-plain .brand-logo { top: 50%; bottom: auto; transform: translateY(-50%); }

/* no photo yet: the Loial logo on the card / product box */
.card-media:not([style]), .pdp-main:not([style]) { background: #f2f2f5 url('/assets/loial/img/loial_logo.svg') center / 38% auto no-repeat; }
.card-on-request { font-size: 15px; font-weight: 600; color: #55555d; }
.badge-promo { background: #e5175c; color: #ffffff; }
/* card photos are never cut: square thumbnails, other shapes fitted on white */
.card-media[style] { background-color: #ffffff; background-size: contain; box-shadow: inset 0 0 0 1px #ececf0; }

/* store city tabs (home block, stores page) */
.city-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #e9e9ee; margin-bottom: 16px; }
.city-tab { border: 0; padding: 9px 16px; border-radius: 9px; background: transparent; font: 600 14px 'Golos Text', sans-serif; color: #111111; cursor: pointer; }
.city-tab span { color: #77777f; font-weight: 500; margin-left: 4px; }
.city-tab.is-on { background: #ffffff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.home-stores { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.home-stores .home-box-24 { flex: none; width: 100%; }
[data-store-city][hidden] { display: none !important; }

/* Design buttons rendered as links: the design has <button>s, centred by
   the browser; a link needs flex for the same. :where() — zero specificity,
   so a button class with its own display keeps it. */
:where(a[class*="-btn-"]) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; }
/* the brand logo keeps its proportions inside the white plate */
.brand-logo { padding: 13px 26px; background-size: contain; background-origin: content-box; background-clip: padding-box; }
/* text pages: plain flow for the CMS text, side links aligned left */
.info-box-1.info-text { display: block; }
.info-text > :first-child { margin-top: 0; }
a.info-btn-1, a.account-btn-1 { justify-content: flex-start; }
/* lead forms: fields, button and note inside the wrapper keep the design's gaps */
.ui-box-27 > [data-lead-form] { display: flex; flex-direction: column; gap: 16px; }
.ui-box-27 > [data-lead-form] > .ui-btn-11 { align-self: flex-start; }
.ui-box-27 > [data-lead-form][hidden] { display: none; }
