/* GENELUXE v2 — палитра, состояния и движение (перенесено из дизайн-концепта v2) */
:root {
  --gx-ease: cubic-bezier(.2,.7,.25,1);
  --gx-fast: 180ms;
  --gx-mid: 310ms;
  --gx-shadow: 0 12px 30px rgb(46 33 17 / 9%);
}
html { scroll-behavior: smooth }
.hm-copy .overline,.hm-copy h1,.hm-copy .intro,.hm-copy .actions {
  animation: gx-rise 620ms var(--gx-ease) both;
}
.hm-copy h1 { animation-delay: 65ms }
.hm-copy .intro { animation-delay: 125ms }
.hm-copy .actions { animation-delay: 180ms }
@keyframes gx-rise {
  from { opacity: 0; transform: translateY(12px) }
  to { opacity: 1; transform: none }
}
[data-reveal].entered { animation: gx-rise 470ms var(--gx-ease) both }
.nav a,.site-shell nav.main a,.text-link {
  position: relative;
  transition: color var(--gx-fast), background-color var(--gx-fast), border-color var(--gx-fast);
}
.nav a::after,.site-shell nav.main a::after {
  content: "";
  position: absolute;
  bottom: -.35em;
  inset-inline: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--gx-mid) var(--gx-ease);
}
.site-shell nav.main a::after { bottom: 4px; inset-inline: 10px }
:is(.nav,.site-shell nav.main) a:focus-visible::after { transform: scaleX(1) }
:is(.primary,.secondary,.account,.category,.product,.proof-grid a,.menu-toggle) {
  transition: color var(--gx-fast), border-color var(--gx-fast),
    background-color var(--gx-fast), box-shadow var(--gx-mid), transform var(--gx-mid) var(--gx-ease);
}
.primary:active,.secondary:active,.menu-toggle:active { transform: translateY(1px) }
.product { border-bottom: 2px solid #e5ddd0 }
.product:focus-visible { background: #f7f3eb; border-color: #ab8550 }
.home-page summary { transition: color var(--gx-fast) }
.home-page summary::after {
  content: "+";
  transition: transform var(--gx-mid) var(--gx-ease);
}
.home-page details[open] summary::after { transform: rotate(45deg) }
.home-page details[open] p { animation: gx-rise 270ms var(--gx-ease) both }
.home-page .nav.is-open { animation: gx-rise 220ms var(--gx-ease) both }

.site-shell {
  color-scheme: light;
  --page: #f8f6f2;
  --bg2: #f0ece5;
  --bg: #fffdf9;
  --ink: #201e1b;
  --brand: #26221d;
  --brandInk: #fffaf2;
  --mute: #625a50;
  --line: #ded8ce;
  --glass: #f1ece4;
  --acc: #8b6735;
}
.site-shell header { background: #12110f; border-color: #ffffff20; color: #f8f3eb }
.site-shell nav.main a { color: #e6dbcd }
.site-shell nav.main a.on { background: #ffffff13; color: #f3d8ad }
.site-shell header .ib { background: transparent; color: inherit; border-color: #ffffff38 }
.site-shell header .ib:focus-visible { outline: 2px solid #e6c790; outline-offset: 3px }
.site-shell footer.band { background: #12110f }
.site-shell #app :is(h1,h2) {
  font-family: Cormorant, Georgia, serif;
  font-weight: 600;
  letter-spacing: -.02em;
}
.site-shell #app h1 { font-size: clamp(2.5rem, 5.3vw, 4rem) }
.site-shell #app h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem) }
.site-shell .fab { box-shadow: 0 6px 20px rgb(75 49 19 / 24%) }
.site-shell .btn.acc { background-image: none; animation: none }
.site-shell .pd-ph svg { animation: none }
.site-shell .card .ph svg,.site-shell .card .ph img,
.site-shell .pd-ph :is(img,svg),.site-shell .dmini {
  transition: transform var(--gx-mid) var(--gx-ease);
}
.site-shell :is(.btn,.chip,.pd-th,.cartbtn,.ib,.side a,.dthumb) {
  transition: color var(--gx-fast), border-color var(--gx-fast),
    background-color var(--gx-fast), box-shadow var(--gx-mid), transform var(--gx-mid) var(--gx-ease);
}
.site-shell .rv.in:is(.card,.dthumb,.dir) { transition-delay: 0ms !important }
.site-shell :is(input:not([type=checkbox]), select, textarea) {
  transition: border-color var(--gx-fast), box-shadow var(--gx-fast), background-color var(--gx-fast);
}
.site-shell :is(input:not([type=checkbox]),select,textarea):focus {
  border-color: #8b6735;
  box-shadow: 0 0 0 3px rgb(139 103 53 / 14%);
}
.site-shell :is(.chip,.pd-th,.dthumb,.cartbtn,.ib,button):focus-visible {
  outline: 2px solid #99733f;
  outline-offset: 3px;
}
.site-shell .card:focus-within { border-color: #ab8550; box-shadow: var(--gx-shadow) }

@media (hover: hover) and (pointer: fine) {
  :is(.nav,.site-shell nav.main) a:hover::after { transform: scaleX(1) }
  .primary:hover { transform: translateY(-2px); box-shadow: var(--gx-shadow) }
  .secondary:hover,.account:hover { background-color: rgb(230 199 144 / 9%) }
  .product:hover { transform: translateY(-4px); box-shadow: var(--gx-shadow); background-color: #f7f3eb }
  .proof-grid a:hover { transform: translateY(-2px) }
  .home-page summary:hover { color: #79562b }
  .site-shell header .ib:hover { background: #ffffff18; border-color: #e6c790 }
  .site-shell :is(.side a:not(.on),.chip:not(.on),.pd-th:not(.on),.cartbtn:not(:disabled),.ib):hover {
    border-color: #ab8550;
    background-color: #eee4d3;
  }
  .site-shell header .ib:hover { background-color: #ffffff18 }
  .site-shell :is(.card,.dthumb,.dir):hover {
    transform: translateY(-3px);
    border-color: #b79a6e;
    box-shadow: var(--gx-shadow);
  }
  .site-shell .card:hover .ph :is(svg,img) { transform: translateY(-4px) scale(1.04) }
  .site-shell .dthumb:hover .dmini { transform: translateY(-3px) scale(1.03) }
  .site-shell .pd-ph:hover :is(img,svg) { transform: scale(1.05) }
}
@media (hover: none), (pointer: coarse) {
  .site-shell :is(.card,.dthumb,.dir,.stat).rv.in:hover,
  .site-shell .card:hover .ph :is(svg,img),.site-shell .btn:hover { transform: none }
}
@media (max-width: 900px) {
  .site-shell nav.main { background-color: #12110f }
  .site-shell nav.main.open { animation: gx-rise 220ms var(--gx-ease) both }
}
@media (max-width: 360px) {
  .site-shell .hd { padding-inline: 12px; gap: 8px }
  .site-shell .icons { gap: 4px }
  .site-shell .icons .ib { width: 36px; height: 40px }
  .site-shell .logo { gap: 5px }
  .site-shell .logo svg { width: 27px; flex-shrink: 0 }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  body *,body *::before,body *::after {
    animation: none !important;
    transition: none !important;
  }
  body :is(.card,.dthumb,.dir,.stat,.btn,.product,.primary,.secondary,
    .proof-grid a,.pd-ph img,.pd-ph svg,.ph img,.ph svg,.dmini):hover { transform: none !important }
  .flydot { display: none }
}

.site-shell .catalog-filter-toggle { display: none }
@media (max-width: 980px) {
  .site-shell nav.main { background-color: #12110f }
  .site-shell nav.main a:hover { color: #f3d8ad; background-color: #ffffff13 }
}
@media (max-width: 820px) {
  .site-shell .cat { gap: 14px }
  .site-shell .catalog-filter-toggle {
    display: inline-flex;
    justify-content: space-between;
    justify-self: start;
    min-height: 44px;
    min-width: 125px;
    padding-inline: 15px;
  }
  .catalog-filter-toggle span {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--gx-fast);
  }
  .catalog-filter-toggle[aria-expanded=true] span { transform: translateY(2px) rotate(225deg) }
  .site-shell #catalogFilters:not(.filters-open) { display: none }
  .site-shell #catalogFilters.filters-open { animation: gx-rise 220ms var(--gx-ease) both }
}
@media (max-width: 360px) {
  .home-page .bar { width: calc(100% - 24px); gap: 8px }
  .home-page .logo { gap: 6px }
  .home-page .wordmark { font-size: 16px }
  .home-page .series { font-size: 6px }
  .home-page .menu-toggle { min-width: 44px }
  .home-page .account { min-height: 44px; display: inline-flex; align-items: center }
}

.site-shell .pg-in { animation: gx-page-in 230ms var(--gx-ease) both }
@keyframes gx-page-in {
  from { opacity: .86; transform: translateY(4px) }
  to { opacity: 1; transform: none }
}
.site-shell .rv:not(.in) { opacity: .66; transform: translateY(9px) }
.site-shell .rv:not(.in):focus-within { opacity: 1; transform: none }
.site-shell .rv.in:is(.card,.dthumb,.dir):hover { transition-duration: 180ms, 260ms, 260ms, 180ms }
@media (prefers-reduced-motion: reduce) {
  .site-shell .rv:not(.in) { opacity: 1; transform: none }
}

/* ---------- общий каркас v2 на действующем сайте ---------- */
body.site-shell { background: var(--page) }
.site-shell header { backdrop-filter: none }
.site-shell header .logo span span:last-child { color: #e6c790 !important }
.site-shell header .ib b { color: #21180d; background: #e6c790 }
.site-shell nav.main a.on { box-shadow: inset 0 -1px 0 #e6c790 }
.site-shell .btn.acc { color: #fff }
.site-shell .alt { background: var(--bg2) }
.site-shell footer a:hover { color: #e6c790 }

/* ---------- главная v2 ---------- */
.hm-hero { background: #12110f; color: #faf5ec; position: relative; isolation: isolate; overflow: hidden }
.hm-art { position: absolute; inset: 0 0 0 24%; z-index: -2; margin: 0 }
.hm-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; animation: gx-art 1100ms ease-out both }
@keyframes gx-art { from { opacity: .58; transform: scale(1.045) } to { opacity: 1; transform: none } }
.hm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,#12110f 18%,#12110f 25%,#12110fdc 37%,#12110f32 58%,transparent 77%) }
.hm-in { max-width: 1240px; margin: 0 auto; padding: 55px max(5vw,16px) 72px; min-height: clamp(540px,46vw,700px); display: flex; align-items: center }
.hm-copy { max-width: 640px }
.hm-copy .overline { display: flex; align-items: center; gap: 12px; text-transform: uppercase; color: #e6c790; letter-spacing: .19em; font-size: 12px; font-weight: 600; margin: 0 0 25px }
.hm-copy .overline::before { content: ""; width: 30px; height: 1px; background: #b59562 }
.site-shell #app .hm-copy h1 { font-size: clamp(48px,6vw,88px); line-height: .99; margin: 0 0 0 -.04em; color: #faf5ec; letter-spacing: -.03em }
.hm-copy h1 span { display: block; color: #edd3a7 }
.hm-copy .intro { color: #e1d8ce; font-size: 18px; margin: 24px 0 0 }
.hm-copy .actions { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-top: 31px }
.primary,.secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 2px }
.primary { background: #e6c790; color: #21180d }
.primary:hover { background: #f3dcb4 }
.secondary { color: #f6eee1; border: 1px solid #e6c79065 }
.secondary:hover { border-color: #e6c790; color: #e6c790 }
:is(.primary,.secondary,.hm-proof a,.hm-dir,.text-link):focus-visible { outline: 2px solid #e6c790; outline-offset: 4px }
.hm-proof a:focus-visible,.hm-dir:focus-visible,.text-link:focus-visible { outline-color: #8b6735 }

.hm-proof { border-bottom: 1px solid var(--line); background: var(--page) }
.hm-proof .wrap { display: grid; grid-template-columns: repeat(3,1fr); padding: 26px max(5vw,16px) }
.hm-proof a { display: flex; flex-direction: column; gap: 5px; padding-inline: clamp(18px,3vw,48px); border-left: 1px solid var(--line); text-decoration: none }
.hm-proof a:first-child { border: 0; padding-left: 0 }
.hm-proof strong { font: 600 24px/1.1 Cormorant, Georgia, serif }
.hm-proof span { color: var(--mute); font-size: 15px }
.hm-proof a:hover strong { color: #79562b }

.hm-sec { padding: 76px max(5vw,16px) }
.hm-sec.tight { padding-top: 0 }
.hm-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px }
.hm-head h2 { margin: 0 }
.site-shell #app .hm-sec h2,.site-shell #app .hm-quality h2 { font-size: clamp(36px,4.4vw,60px); line-height: 1.02 }
.text-link { font-size: 15px; font-weight: 600; border-bottom: 1px solid #a57f49; padding-bottom: 5px; flex: none; text-decoration: none; color: var(--ink) }
.text-link:hover { color: #79562b }

.hm-promo { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 22px 26px; border: 1px solid #d9c7a6; background: #fffdf9 }
.hm-promo b { color: #79562b; font-size: 17px }
.hm-promo p { margin: 4px 0 0; color: var(--mute) }

.hm-cats { display: grid; grid-template-columns: repeat(5,1fr); border-block: 1px solid var(--line) }
.hm-dir { min-height: 116px; padding: 22px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; font-weight: 600; line-height: 1.25; border-left: 1px solid var(--line); text-decoration: none; color: var(--ink) }
.hm-dir:first-child { border-left: 0; padding-left: 0 }
.hm-dir small { font-weight: 400; color: var(--mute); font-size: 14px }
.hm-dir:hover { color: #79562b; background: #eee8dc }

.hm-quality { background: #eae4da; padding: 70px max(5vw,16px) }
.hm-quality .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,8vw,120px); align-items: start }
.hm-quality p { color: #494238; font-size: 17px; margin: 0 0 20px }
.hm-facts { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 0 }
.hm-facts li { padding: 12px 0; border-top: 1px solid #d6ccbd; color: #3f382f }
.hm-facts li b { display: block; color: var(--ink) }

.hm-faq { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px,8vw,110px) }
.hm-faq details { border-top: 1px solid var(--line) }
.hm-faq details:last-child { border-bottom: 1px solid var(--line) }
.hm-faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative; font-weight: 600; line-height: 1.4; transition: color var(--gx-fast) }
.hm-faq summary::-webkit-details-marker { display: none }
.hm-faq summary::after { content: "+"; position: absolute; right: 3px; top: 13px; font-size: 22px; font-weight: 400; color: #79562b; transition: transform var(--gx-mid) var(--gx-ease) }
.hm-faq details[open] summary::after { transform: rotate(45deg) }
.hm-faq details p { padding: 0 25px 18px 0; margin: 0; color: #544c42 }
.hm-faq summary:focus-visible { outline: 2px solid #8b6735; outline-offset: 3px }
@media (hover: hover) and (pointer: fine) {
  .primary:hover { transform: translateY(-2px); box-shadow: var(--gx-shadow) }
  .hm-faq summary:hover { color: #79562b }
}

@media (max-width: 1100px) { .hm-art { left: 19% } }
@media (max-width: 900px) {
  .hm-cats { grid-template-columns: repeat(3,1fr); border-bottom: 0 }
  .hm-dir,.hm-dir:first-child { min-height: 84px; padding: 16px; border-left: 0; border-bottom: 1px solid var(--line) }
  .hm-quality .wrap,.hm-faq { grid-template-columns: 1fr; gap: 22px }
}
@media (max-width: 640px) {
  .hm-in { min-height: 0; align-items: flex-start; padding-top: 40px; padding-bottom: clamp(300px,80vw,420px) }
  .site-shell #app .hm-copy h1 { font-size: clamp(40px,11vw,58px) }
  .hm-copy .overline { margin-bottom: 17px; font-size: 11px; letter-spacing: .16em }
  .hm-copy .intro { font-size: 16px; margin-top: 16px }
  .hm-copy .actions { gap: 10px; margin-top: 22px }
  .primary,.secondary { min-height: 48px; padding-inline: 16px; font-size: 15px }
  .hm-art { inset: auto 0 0; height: clamp(320px,85vw,430px) }
  .hm-art img { object-position: 65% 49% }
  .hm-hero::before { background: linear-gradient(180deg,#12110f 20%,#12110f 42%,transparent 68%) }
  .hm-proof .wrap { grid-template-columns: 1fr; padding-block: 4px }
  .hm-proof a { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 10px }
  .hm-proof a:first-child { border-top: 0 }
  .hm-proof span { text-align: right; font-size: 14px }
  .hm-sec,.hm-quality { padding-block: 48px }
  .hm-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px }
  .hm-cats { grid-template-columns: repeat(2,1fr) }
  .hm-dir,.hm-dir:first-child { padding: 12px 10px 12px 0; min-height: 72px; font-size: 15px }
}
@media (prefers-reduced-motion: reduce) { .hm-art img { animation: none } }
