/* v44 — Испытание Древа: Дом, Дар Ярины и Холодный Дом Кощея */
:root{
  --house-accent:#d4aa63;
  --house-accent-2:#f3d99d;
  --house-glow:rgba(212,170,99,.22);
  --house-dark:rgba(12,10,12,.72);
}
body[data-house="veles"]{--house-accent:#7fae86;--house-accent-2:#d5ebd1;--house-glow:rgba(127,174,134,.25);--house-dark:rgba(8,18,13,.78)}
body[data-house="perun"]{--house-accent:#78a9d8;--house-accent-2:#d7eaff;--house-glow:rgba(120,169,216,.26);--house-dark:rgba(8,13,22,.78)}
body[data-house="mokosh"]{--house-accent:#b86656;--house-accent-2:#f2c7a4;--house-glow:rgba(184,102,86,.28);--house-dark:rgba(24,12,12,.78)}
body[data-house="lada"]{--house-accent:#e6c98d;--house-accent-2:#fff0c4;--house-glow:rgba(230,201,141,.25);--house-dark:rgba(22,18,13,.76)}
body[data-house="svarog"]{--house-accent:#c78144;--house-accent-2:#ffd09b;--house-glow:rgba(199,129,68,.28);--house-dark:rgba(24,13,8,.78)}
body[data-house="semargl"]{--house-accent:#e06d3f;--house-accent-2:#ffd0a0;--house-glow:rgba(224,109,63,.30);--house-dark:rgba(28,10,7,.80)}
body[data-house="yarina"]{--house-accent:#a93441;--house-accent-2:#ffd6c7;--house-glow:rgba(169,52,65,.32);--house-dark:rgba(23,9,13,.82)}
body[data-house="koshchei"]{--house-accent:#a8c8d7;--house-accent-2:#e9f7ff;--house-glow:rgba(168,200,215,.28);--house-dark:rgba(7,13,18,.84)}

body[data-house] .badge,
body[data-house] .eyebrow,
body[data-house] .btn:not(.secondary),
body[data-house] .cart-count.is-filled{
  border-color:color-mix(in srgb,var(--house-accent),#fff 18%);
  box-shadow:0 0 24px var(--house-glow);
}
body[data-house] .btn:not(.secondary){background:linear-gradient(135deg,rgba(91,62,31,.84),color-mix(in srgb,var(--house-accent),#2a160f 52%));}
body[data-house] .product-card.house-suggested-v44{border-color:color-mix(in srgb,var(--house-accent),#fff 24%);box-shadow:0 0 0 1px color-mix(in srgb,var(--house-accent),transparent 62%),0 28px 70px var(--house-glow)}
body[data-house] .product-card.house-suggested-v44::after{content:"Печать Дома";position:absolute;top:14px;right:14px;z-index:3;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.62);border:1px solid color-mix(in srgb,var(--house-accent),#fff 24%);color:var(--house-accent-2);font:700 .72rem/1 Forum,Georgia,serif;letter-spacing:.12em;text-transform:uppercase}

.tree-trial-v44{margin-top:18px;padding:24px;border-radius:28px;background:linear-gradient(180deg,rgba(10,9,13,.78),rgba(6,7,10,.62));border:1px solid rgba(225,184,103,.30);box-shadow:0 24px 70px rgba(0,0,0,.36),inset 0 1px 0 rgba(255,255,255,.06);backdrop-filter:blur(14px);display:grid;grid-template-columns:minmax(0,.88fr) minmax(320px,1.12fr);gap:22px;align-items:center;position:relative;overflow:hidden}
.tree-trial-v44::before{content:"";position:absolute;inset:-2px;background:radial-gradient(circle at 18% 0,rgba(241,205,132,.16),transparent 34%),radial-gradient(circle at 82% 100%,var(--house-glow),transparent 44%);pointer-events:none;opacity:.8}
.tree-trial-copy-v44,.tree-trial-stage-v44{position:relative;z-index:1}
.tree-trial-copy-v44 h3{margin:.55rem 0 .45rem;font-family:Forum,Georgia,serif;font-size:clamp(1.8rem,3vw,3.1rem);font-weight:400;letter-spacing:.035em;line-height:1;color:#fff0c9;text-shadow:0 0 20px rgba(223,181,106,.12)}
.tree-trial-copy-v44 p,.tree-trial-note-v44{margin:.6rem 0 0;color:rgba(245,231,203,.82);line-height:1.55}
.tree-trial-stage-v44{min-height:110px;padding:20px;border-radius:22px;background:rgba(0,0,0,.20);border:1px solid rgba(224,183,103,.18)}
.tree-progress-v44{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:rgba(245,231,203,.78);font:700 .82rem/1.2 Forum,Georgia,serif;letter-spacing:.12em;text-transform:uppercase}
.tree-progress-v44 span{height:6px;flex:1;border-radius:999px;background:rgba(255,255,255,.08);overflow:hidden}.tree-progress-v44 i{display:block;height:100%;width:var(--p,20%);background:linear-gradient(90deg,var(--house-accent),var(--house-accent-2));box-shadow:0 0 18px var(--house-glow);transition:width 360ms ease}
.tree-question-v44 h4{margin:0 0 16px;font-family:Forum,Georgia,serif;font-weight:400;font-size:clamp(1.28rem,2vw,1.9rem);line-height:1.18;color:#fff3d2;letter-spacing:.02em}
.tree-answer-list-v44{display:grid;gap:10px}.tree-answer-v44{position:relative;width:100%;text-align:left;border-radius:16px;border:1px solid rgba(224,183,103,.23);background:rgba(7,7,10,.54);color:#f8ead1;padding:14px 16px;cursor:pointer;font:inherit;line-height:1.4;transition:transform 220ms ease,border-color 220ms ease,box-shadow 220ms ease,background 220ms ease}.tree-answer-v44:hover,.tree-answer-v44:focus-visible{outline:none;transform:translateY(-2px);border-color:color-mix(in srgb,var(--house-accent),#fff 22%);box-shadow:0 0 28px var(--house-glow);background:linear-gradient(180deg,rgba(31,25,18,.72),rgba(9,8,11,.58))}
.tree-result-v44{animation:treeResultIn 560ms ease both}.tree-result-v44[data-result="koshchei"]{--house-accent:#a8c8d7;--house-accent-2:#e9f7ff;--house-glow:rgba(168,200,215,.28)}.tree-result-v44 h4{margin:.7rem 0 .35rem;font-family:Forum,Georgia,serif;font-weight:400;font-size:clamp(1.8rem,3.2vw,3.1rem);line-height:1;color:#fff1cb}.tree-result-v44 .tree-short-v44{color:var(--house-accent-2);font-weight:700;margin:0 0 12px}.tree-result-v44 p{color:rgba(246,232,204,.86);line-height:1.55}.tree-result-actions-v44{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.tree-mini-v44{display:inline-flex;width:max-content;padding:7px 12px;border-radius:999px;background:rgba(0,0,0,.28);border:1px solid color-mix(in srgb,var(--house-accent),#fff 18%);color:var(--house-accent-2);font:700 .8rem/1 Forum,Georgia,serif;letter-spacing:.13em;text-transform:uppercase}.tree-disclaimer-v44{font-size:.95rem;color:rgba(241,220,184,.68)!important}
.tree-listening-v44{display:grid;place-items:center;min-height:210px;text-align:center}.tree-listening-v44 strong{font-family:Forum,Georgia,serif;font-weight:400;font-size:2rem;color:#fff2c9}.tree-listening-v44 span{margin-top:12px;width:72px;height:72px;border-radius:999px;border:1px solid rgba(224,183,103,.42);box-shadow:0 0 34px var(--house-glow),inset 0 0 28px rgba(224,183,103,.12);animation:treePulseV44 1.2s ease-in-out infinite}
@keyframes treePulseV44{0%,100%{transform:scale(.95);opacity:.65}50%{transform:scale(1.05);opacity:1}}@keyframes treeResultIn{from{opacity:0;filter:blur(8px);transform:translateY(12px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}

.tree-cart-mark-section-v44{padding-top:24px;padding-bottom:0}.tree-cart-mark-v44{border-radius:26px;padding:22px 24px;background:linear-gradient(180deg,var(--house-dark),rgba(6,7,10,.72));border:1px solid color-mix(in srgb,var(--house-accent),#fff 16%);box-shadow:0 24px 70px rgba(0,0,0,.34),0 0 38px var(--house-glow);color:#f9edd0}.tree-cart-mark-v44[hidden]{display:none}.tree-cart-mark-v44 h2{font-size:clamp(1.6rem,3vw,2.8rem);margin:.4rem 0 .6rem}.tree-cart-mark-v44 p{max-width:70ch;color:rgba(245,231,203,.86)}.tree-cart-mark-v44 ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:7px}.tree-cart-mark-v44 li::before{content:"✦ ";color:var(--house-accent-2)}.tree-cart-actions-v44{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
@media(max-width:860px){.tree-trial-v44{grid-template-columns:1fr;padding:18px}.tree-trial-stage-v44{padding:16px}.tree-result-actions-v44 .btn,.tree-cart-actions-v44 .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.tree-answer-v44,.tree-progress-v44 i,.tree-result-v44,.tree-listening-v44 span{animation:none!important;transition:none!important}}


/* v44.1 hotfix — карточки Явь/Правь/Навь больше не закрывают иллюстрацию Древа */
.world-tree-panel{overflow:hidden;}
.world-tree-panel img{aspect-ratio:16/9.4;object-fit:cover;object-position:center 40%;}
.world-tree-routes{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  z-index:2;
  padding:16px 18px 18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  background:linear-gradient(180deg,rgba(3,5,9,.18),rgba(3,5,9,.86));
  border-top:1px solid rgba(224,183,102,.22);
}
.world-tree-shade{bottom:210px;}
.world-route{min-height:132px;}
@media(max-width:980px){
  .world-tree-panel img{aspect-ratio:16/11;object-position:center center;}
  .world-tree-routes{grid-template-columns:1fr;padding:12px;}
  .world-tree-shade{bottom:0;}
}
@media(max-width:640px){
  .world-tree-panel img{aspect-ratio:4/3;}
  .world-route{min-height:auto;}
}
