/* ==========================================================================
   v59 — счётчик корзины из жидкого стекла, окно согласия на обработку данных.
   Грузится после v58.css; приём специфичности :root:not(#v).
   ========================================================================== */

/* 1. Счётчик корзины: вместо сплошной розовой таблетки — капля стекла с
      розовым оттенком внутри, блик по верхней кромке, тень по нижней */
:root:not(#v) .cart-btn__count{color:#ffe1f0;font-weight:700;
  background:color-mix(in srgb,var(--pink) 30%,transparent);
  -webkit-backdrop-filter:blur(6px) saturate(170%);backdrop-filter:blur(6px) saturate(170%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -1px 1px rgba(0,0,0,.25),
    inset 0 0 0 1px color-mix(in srgb,var(--pink) 55%,transparent),0 2px 6px rgba(0,0,0,.25)}
:root[data-theme="light"]:not(#v) .cart-btn__count{color:var(--pink-deep,#db2777);
  background:color-mix(in srgb,var(--pink-deep,#db2777) 14%,rgba(255,255,255,.55));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 1px rgba(0,0,0,.08),
    inset 0 0 0 1px color-mix(in srgb,var(--pink-deep,#db2777) 35%,transparent),0 2px 6px rgba(0,0,0,.08)}

/* 2. Окно согласия: небольшое, слева внизу, стекло; въезжает пружиной */
:root:not(#v) .consent-pop{position:fixed;left:16px;bottom:16px;z-index:120;width:min(340px,calc(100vw - 32px));
  padding:16px 16px 14px;border-radius:20px;color:var(--text);
  background:color-mix(in srgb,var(--bg) 72%,transparent);
  -webkit-backdrop-filter:blur(14px) saturate(160%);backdrop-filter:blur(14px) saturate(160%);
  box-shadow:var(--lq-drop),var(--lq-rim),0 18px 40px -18px rgba(0,0,0,.6);
  opacity:0;translate:0 18px;scale:.97;transform-origin:0 100%;
  transition:opacity .3s ease,translate .55s var(--spr,cubic-bezier(.22,1,.36,1)),scale .55s var(--spr,cubic-bezier(.22,1,.36,1))}
:root:not(#v) .consent-pop.is-in{opacity:1;translate:0 0;scale:1}
:root:not(#v) .consent-pop.is-out{opacity:0;translate:0 12px;scale:.98;transition-duration:.25s,.35s,.35s}
:root:not(#v) .consent-pop__title{margin:0 0 6px;font:600 15px/1.3 var(--f-sans);letter-spacing:-.005em}
:root:not(#v) .consent-pop__text{margin:0;font:500 13px/1.5 var(--f-sans);color:var(--text-dim)}
:root:not(#v) .consent-pop__text a{color:var(--violet-hi);text-decoration:underline;text-underline-offset:3px}
:root[data-theme="light"]:not(#v) .consent-pop__text a{color:var(--violet)}
:root:not(#v) .consent-pop__acts{display:flex;gap:8px;margin-top:14px}
:root:not(#v) .consent-pop__acts .btn{flex:1 1 0;min-height:40px;height:40px;padding:0 12px;font-size:14px}
:root:not(#v) .consent-pop__yes{background:var(--text);color:var(--bg);box-shadow:none}
:root:not(#v) .consent-pop__yes:hover{background:color-mix(in srgb,var(--text) 88%,var(--bg))}
:root:not(#v) .consent-pop__no{background:transparent;box-shadow:inset 0 0 0 1px var(--line-strong,var(--line));color:var(--text)}
@media (prefers-reduced-motion:reduce){:root:not(#v) .consent-pop{transition:opacity .2s ease;translate:none;scale:none}}
