/* ============================================================
   КОРЗИНА ST100 — палитра «чёрное золото»
   ============================================================ */

.t706__cartwin-content {
  background-color: #1A1816 !important;
  border-radius: 12px;
}

.t706__cartwin-heading {
  color: #F2EDE4 !important;
}

.t706__close-icon * {
  fill: #C9A227 !important;
}
.t706__close-button {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.t706__close-button:hover { opacity: 1; }

.t706__cartwin-top { border-bottom: 1px solid rgba(201, 162, 39, 0.35) !important; }
.t706__cartwin-bottom { border-top: 1px solid rgba(201, 162, 39, 0.35) !important; }

.t706__product-title { color: #F2EDE4 !important; }
.t706__product-title__option {
  color: rgba(242, 237, 228, 0.4) !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 11px !important;
  margin-top: 2px !important;
}
.t706__product-quantity { color: #F2EDE4 !important; }

.t706__cartwin-prodamount-price,
.t706__cartwin-prodamount-currency,
.t706__cartwin-totalamount-wrap,
.t706__cartwin-totalamount-label,
.t706__cartwin-totalamount { color: #C9A227 !important; }
.t706__cartwin-prodamount-label { color: #F2EDE4 !important; }

.t706__product-plus img,
.t706__product-minus img,
.t706__product-del img {
  filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(500%) hue-rotate(5deg) !important;
  opacity: 0.85 !important;
}

/* --- Блок авторизованного пользователя в корзине --- */
.t706__auth {
  background: rgba(201, 162, 39, 0.06) !important;
  border: 1px solid rgba(201, 162, 39, 0.25) !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  margin-bottom: 16px !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
}
.t706__auth__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
.t706__auth__label-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.t706__auth__logged-in-label {
  color: rgba(242, 237, 228, 0.55) !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.t706__auth__profile {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #F2EDE4 !important;
  text-decoration: none !important;
  min-width: 0 !important;
  transition: color 0.2s ease !important;
}
.t706__auth__profile:hover { color: #C9A227 !important; }
.t706__auth__identity {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important;
  min-width: 0 !important;
}
.t706__auth__name {
  color: #F2EDE4 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.t706__auth__email {
  color: rgba(242, 237, 228, 0.5) !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.t706__auth__external-icon path,
.t706__auth__logout-icon path {
  fill: #C9A227 !important;
  opacity: 1 !important;
}
.t706__auth__logout {
  background: transparent !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 6px !important;
  padding: 6px 8px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
.t706__auth__logout:hover {
  border-color: #C9A227 !important;
  background: rgba(201, 162, 39, 0.08) !important;
}

/* --- Поля формы --- */
.t706__cartwin input[type="text"],
.t706__cartwin input[type="tel"],
.t706__cartwin input[type="email"],
.t706__cartwin input[type="number"],
.t706__cartwin textarea,
.t706__cartwin select,
.t706__cartwin .t-input {
  background-color: #0E0D0C !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  border-radius: 6px !important;
  color: #F2EDE4 !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 15px !important;
  padding: 12px 14px !important;
  height: auto !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
.t706__cartwin input:focus,
.t706__cartwin .t-input:focus {
  border-color: #C9A227 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15) !important;
}
.t706__cartwin input::placeholder,
.t706__cartwin .t-input::placeholder {
  color: rgba(242, 237, 228, 0.5) !important;
  opacity: 1 !important;
}
.t706__cartwin .t-input-title,
.t706__cartwin .t-input-group__label,
.t706__cartwin label {
  color: #C9A227 !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  margin-bottom: 6px !important;
}

/* --- Маска телефона --- */
.t706__cartwin .t-input-phonemask__wrap {
  background-color: #0E0D0C !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  border-radius: 6px !important;
  color: #F2EDE4 !important;
  display: flex !important;
  align-items: center !important;
}
.t706__cartwin .t-input-phonemask__wrap .t-input,
.t706__cartwin .t-input-phonemask {
  background-color: transparent !important;
  border: none !important;
  color: #F2EDE4 !important;
  padding: 12px 8px !important;
}
.t706__cartwin .t-input-phonemask__select {
  border-right: 1px solid rgba(201, 162, 39, 0.35) !important;
  color: #F2EDE4 !important;
  padding: 0 10px !important;
}
.t706__cartwin .t-input-phonemask__select-code { color: #F2EDE4 !important; }

/* --- Ошибки --- */
.t706__cartwin .t-input-error {
  color: #E07A5F !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  line-height: 1.4 !important;
}
.t706__cartwin .js-error-control-box .t-input,
.t706__cartwin .js-error-control-box .t-input-phonemask__wrap {
  border-color: #E07A5F !important;
}
.t706__cartwin .t-form__errorbox-wrapper {
  background: rgba(224, 122, 95, 0.08) !important;
  border: 1px solid rgba(224, 122, 95, 0.4) !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  margin: 10px 0 !important;
}
.t706__cartwin .t-form__errorbox-text,
.t706__cartwin .t-form__errorbox-item {
  color: #E07A5F !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 13px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}
.t706__cartwin .t-form__errorbox-link {
  color: #E07A5F !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* --- Кнопка «Перейти к оплате» --- */
.t706__cartwin .t-submit,
.t706__cartwin .t-btnflex,
.t706__cartwin button[type="submit"] {
  background: #C9A227 !important;
  background-color: #C9A227 !important;
  color: #0E0D0C !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 14px 28px !important;
  height: auto !important;
  min-height: 48px !important;
  width: 100% !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: filter 0.2s ease !important;
  outline: 1px solid #C9A227 !important;
  outline-offset: -1px !important;
}
.t706__cartwin .t-submit:hover,
.t706__cartwin .t-btnflex:hover {
  filter: brightness(1.08) !important;
  color: #0E0D0C !important;
}
.t706__cartwin .t-btnflex__text,
.t706__cartwin .t-btnflex * {
  color: #0E0D0C !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  background: transparent !important;
}

/* --- «Корзина пуста» --- */
.t706__cartwin-empty,
.t706__cartwin [class*="cartwin-empty"],
.t706__cartpage-products_empty {
  color: rgba(242, 237, 228, 0.6) !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-style: italic !important;
}

/* --- Toast «Товар добавлен» --- */
.t706__bubble {
  background-color: #1A1816 !important;
  border: 1px solid #C9A227 !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
  padding: 14px 20px !important;
}
.t706__bubble-text,
.t706__bubble .t-descr {
  color: #F2EDE4 !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 14px !important;
}

/* ============================================================
   ШРИФТЫ В КОРЗИНЕ ST100 — приведение к общей палитре
   ============================================================ */

/* Все текстовые t-классы Tilda внутри корзины — Inter */
.t706__cartwin .t-descr,
.t706__cartwin .t-name,
.t706__cartwin .t-text,
.t706__cartwin [class*="t-descr_"],
.t706__cartwin [class*="t-name_"],
.t706__cartwin input,
.t706__cartwin label,
.t706__cartwin button,
.t706__cartwin .t-input-title {
  font-family: 'Inter', 'Manrope', sans-serif !important;
}

/* Заголовок "Ваш заказ" — Cormorant, крупнее */
.t706__cartwin-heading {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #F2EDE4 !important;
  letter-spacing: 0.02em !important;
}

/* Название товара */
.t706__product-title {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #F2EDE4 !important;
}

/* UID под названием (926866185444) — скрываем */
.t706__product-title__option {
  display: none !important;
}

/* Количество */
.t706__product-quantity {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #F2EDE4 !important;
  margin: 0 6px !important;
}

/* Цены товаров */
.t706__cartwin-prodamount-price {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #C9A227 !important;
  line-height: 1 !important;
}

.t706__cartwin-prodamount-currency {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #C9A227 !important;
  margin-left: 2px !important;
}

/* Лейблы "Сумма:", "Итого" */
.t706__cartwin-prodamount-label,
.t706__cartwin-totalamount-label {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #F2EDE4 !important;
  letter-spacing: 0.02em !important;
}

/* Итоговая сумма — крупнее */
.t706__cartwin-totalamount .t706__cartwin-prodamount-price {
  font-size: 24px !important;
}

/* Блок авторизации в корзине */
.t706__auth__logged-in-label {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(242, 237, 228, 0.55) !important;
}

.t706__auth__name {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #F2EDE4 !important;
  line-height: 1.2 !important;
}

.t706__auth__email {
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: rgba(242, 237, 228, 0.5) !important;
  line-height: 1.2 !important;
}

/* Плейсхолдеры полей — тоже Inter */
.t706__cartwin input::placeholder,
.t706__cartwin .t-input::placeholder {
  font-family: 'Inter', 'Manrope', sans-serif !important;
}

/* ============================================================
   ПОПАП ЛИЧНОГО КАБИНЕТА (userbar dropdown)
   ============================================================ */

/* Внешние обёртки — без рамок, одна рамка у content */
.tlk-userbar__popup,
.tlk-userbar__popup-wrap {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}

.tlk-userbar__popup,
.tlk-userbar__popup * {
  box-sizing: border-box !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
}

/* Единственный контейнер с рамкой */
.tlk-userbar__popup .tlk-userbar__popup-content {
  background-color: #1A1816 !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
  box-sizing: border-box !important;
  min-width: 240px !important;
  max-width: 300px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: #F2EDE4 !important;
}

/* Сброс кнопок tlk-btn_reset */
.tlk-userbar__popup .tlk-btn_reset,
.tlk-userbar__popup .tlk-userbar__popup-logout,
.tlk-userbar__popup .tlk-userbar__popup-cabinet {
  position: static !important;
  float: none !important;
  transform: none !important;
  display: inline-flex !important;
  vertical-align: middle !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  width: auto !important;
  height: auto !important;
}

/* Блок «профиль» — столбиком */
.tlk-userbar__popup .tlk-userbar__popup-login {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2) !important;
  position: relative !important;
  width: 100% !important;
}

/* Строка с именем + кнопкой «Выйти» */
.tlk-userbar__popup .tlk-userbar__popup-wrap-name {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 22px !important;
  position: relative !important;
  flex-wrap: nowrap !important;
}

/* Имя */
.tlk-userbar__popup .tlk-userbar__popup-name {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #F2EDE4 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 30px) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-name svg {
  width: 8px !important;
  height: 8px !important;
  flex-shrink: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-name svg path {
  fill: #C9A227 !important;
}

/* Кнопка «Выйти» — просто иконка, без рамки */
.tlk-userbar__popup .tlk-userbar__popup-logout {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  flex: 0 0 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  opacity: 0.7 !important;
  overflow: hidden !important;
  position: static !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-logout:hover {
  opacity: 1 !important;
  background: transparent !important;
  border: none !important;
}
.tlk-userbar__popup .tlk-userbar__popup-logout svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-logout svg path {
  fill: #C9A227 !important;
}

/* Кнопка «Редактировать профиль» — на всю ширину, отдельной строкой */
.tlk-userbar__popup .tlk-userbar__popup-cabinet {
  display: flex !important;
  width: 100% !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid rgba(201, 162, 39, 0.5) !important;
  border-radius: 6px !important;
  color: #C9A227 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  position: static !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}
.tlk-userbar__popup .tlk-userbar__popup-cabinet:hover {
  background: #C9A227 !important;
  color: #0E0D0C !important;
  border-color: #C9A227 !important;
}

/* Заголовки разделов «Интернет-магазин», «Группы» */
.tlk-userbar__popup .tlk-userbar__popup-heading {
  display: block !important;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #F2EDE4 !important;
  margin: 10px 0 6px !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em !important;
}
.tlk-userbar__popup .tlk-userbar__popup-heading:first-child {
  margin-top: 0 !important;
}

/* Пункты списка — столбиком */
.tlk-userbar__popup .tlk-userbar__popup-store,
.tlk-userbar__popup .tlk-userbar__popup-groups {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}
.tlk-userbar__popup .tlk-userbar__popup-store-item,
.tlk-userbar__popup .tlk-userbar__popup-groups-item {
  display: block !important;
  padding: 4px 0 !important;
  margin: 0 !important;
  position: static !important;
  float: none !important;
}
.tlk-userbar__popup .tlk-userbar__popup-title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-text {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #F2EDE4 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-courses-link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}
.tlk-userbar__popup .tlk-userbar__popup-courses-link:hover .tlk-userbar__popup-text {
  color: #C9A227 !important;
}
.tlk-userbar__popup .tlk-userbar__popup-container {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ============================================================
   ОБЩИЕ СТИЛИ ДЛЯ МОДАЛЬНЫХ ПОПАПОВ TILDA MEMBERS
   (профиль, редактирование, восстановление пароля и т. п.)
   ============================================================ */

.tlk-popup__container {
  background-color: #1A1816 !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
}

.tlk-popup__overlay,
.tlk-userbar__popup-overlay {
  background-color: rgba(14, 13, 12, 0.85) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.tlk-popup__heading,
.tlk-userbar__popup-heading {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif !important;
  color: #F2EDE4 !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

.tlk-popup__close {
  opacity: 0.7 !important;
  transition: opacity 0.2s ease !important;
}
.tlk-popup__close:hover { opacity: 1 !important; }
.tlk-popup__close::before,
.tlk-popup__close::after {
  background-color: #C9A227 !important;
}

.tlk-popup__container .tlk-input {
  background-color: #0E0D0C !important;
  border: 1px solid rgba(201, 162, 39, 0.45) !important;
  border-radius: 6px !important;
  color: #F2EDE4 !important;
}
.tlk-popup__container .tlk-input:focus {
  border-color: #C9A227 !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15) !important;
}
.tlk-popup__container .tlk-input::placeholder {
  color: rgba(242, 237, 228, 0.5) !important;
}

.tlk-popup__container .tlk-btn {
  background-color: #C9A227 !important;
  color: #0E0D0C !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Inter', 'Manrope', sans-serif !important;
  font-weight: 600 !important;
  padding: 12px 20px !important;
}
.tlk-popup__container .tlk-btn:hover {
  filter: brightness(1.08) !important;
}

/* ============================================================
   HOVER В ПОПАПЕ КАБИНЕТА — без белого прямоугольника
   ============================================================ */

/* Все ссылки и пункты внутри попапа — никакого фона при hover/focus/active */
.tlk-userbar__popup .tlk-userbar__popup-courses-link,
.tlk-userbar__popup .tlk-userbar__popup-store-item a,
.tlk-userbar__popup .tlk-userbar__popup-groups-item a,
.tlk-userbar__popup .tlk-userbar__popup-title a,
.tlk-userbar__popup .tlk-userbar__popup-text,
.tlk-userbar__popup .tlk-userbar__popup-name,
.tlk-userbar__popup .tlk-userbar__popup-cabinet,
.tlk-userbar__popup .tlk-userbar__popup-logout {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tlk-userbar__popup .tlk-userbar__popup-courses-link:hover,
.tlk-userbar__popup .tlk-userbar__popup-courses-link:focus,
.tlk-userbar__popup .tlk-userbar__popup-courses-link:active,
.tlk-userbar__popup .tlk-userbar__popup-store-item a:hover,
.tlk-userbar__popup .tlk-userbar__popup-store-item a:focus,
.tlk-userbar__popup .tlk-userbar__popup-store-item a:active,
.tlk-userbar__popup .tlk-userbar__popup-groups-item a:hover,
.tlk-userbar__popup .tlk-userbar__popup-groups-item a:focus,
.tlk-userbar__popup .tlk-userbar__popup-title a:hover,
.tlk-userbar__popup .tlk-userbar__popup-title a:focus {
  background-color: transparent !important;
  background: transparent !important;
  outline: none !important;
  text-decoration: none !important;
}

/* Пункт-обёртка (store-item, groups-item) — тоже без фона */
.tlk-userbar__popup .tlk-userbar__popup-store-item:hover,
.tlk-userbar__popup .tlk-userbar__popup-store-item:focus-within,
.tlk-userbar__popup .tlk-userbar__popup-groups-item:hover,
.tlk-userbar__popup .tlk-userbar__popup-groups-item:focus-within,
.tlk-userbar__popup .tlk-userbar__popup-title:hover,
.tlk-userbar__popup .tlk-userbar__popup-title:focus-within {
  background-color: transparent !important;
  background: transparent !important;
}

/* На hover — только золотой цвет текста (как и было) */
.tlk-userbar__popup .tlk-userbar__popup-courses-link:hover .tlk-userbar__popup-text,
.tlk-userbar__popup .tlk-userbar__popup-store-item a:hover .tlk-userbar__popup-text,
.tlk-userbar__popup .tlk-userbar__popup-groups-item a:hover .tlk-userbar__popup-text,
.tlk-userbar__popup .tlk-userbar__popup-title a:hover .tlk-userbar__popup-text {
  color: #C9A227 !important;
}

/* «Энергокарта» — это не ссылка, а текст, при hover ничего не подсвечиваем */
.tlk-userbar__popup .tlk-userbar__popup-groups-not-link,
.tlk-userbar__popup .tlk-userbar__popup-groups-not-link:hover {
  background: transparent !important;
  cursor: default !important;
}


/* ============================================================
   СКРЫТИЕ ЭЛЕМЕНТОВ ПОПАПА КАБИНЕТА
   ============================================================ */

/* 2. Пункт «Мои адреса» (есть уникальный класс) */
.tlk-userbar__popup .tlk-userbar__popup-store-item-addresses {
  display: none !important;
}

/* 5. Весь блок «Группы» — если не нужен вообще */
.tlk-userbar__popup .tlk-userbar__popup-groups {
  display: none !important;
}
/* ============================================================
   СКРЫТИЕ ЗЕЛЁНОГО СООБЩЕНИЯ ОБ УСПЕХЕ В КОРЗИНЕ ST100
   ============================================================ */

/* Встроенный success-блок */
.t706 .t-form__successbox,
.t706 .js-successbox,
.t706__cartwin .t-form__successbox,
.t706__cartwin .js-successbox {
  display: none !important;
}

/* Всплывающий попап успеха (на случай data-success-popup="y") */
.t-form-success-popup,
.t706 .t-form-success-popup,
.t706 .t-form__successbox.t-form-success-popup {
  display: none !important;
}

/* Обёртка-popup, если Tilda рендерит его отдельным слоем */
.t706__cartwin-success,
.t706__success-popup,
[class*="form-success-popup"] {
  display: none !important;
}

/* ============================================================
   ЮЮ: СТИЛИ ДЛЯ ИНСТРУКЦИИ (PDF → HTML)
   Палитра «Чёрное золото», шрифты Cormorant Garamond + Inter.
   ============================================================ */

/* ---------- Обёртка и базовые переменные ---------- */
.yuyu-runes {
  --bg: transparent;
  --card: #1A1816;
  --gold: #C9A227;
  --gold-h: #E0BA45;
  --text: #F2EDE4;
  --muted: rgba(242, 237, 228, 0.72);
  --err: #E07A5F;
  --line: rgba(201, 162, 39, 0.25);

  background:
    radial-gradient(
      ellipse 90% 85% at 50% 50%,
      rgba(14, 13, 12, 0.94) 0%,
      rgba(14, 13, 12, 0.86) 35%,
      rgba(14, 13, 12, 0.65) 60%,
      rgba(14, 13, 12, 0.32) 85%,
      rgba(14, 13, 12, 0.05) 100%
    ) fixed no-repeat;

  color: var(--text);
  font-family: 'Inter', 'Manrope', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  padding: 64px 20px;
  -webkit-font-smoothing: antialiased;
}

.yuyu-runes *,
.yuyu-runes *::before,
.yuyu-runes *::after {
  box-sizing: border-box;
}

.yuyu-runes__inner {
  max-width: 780px;
  margin: 0 auto;
}


/* ---------- Типографика: заголовки ---------- */
.yuyu-runes h1,
.yuyu-runes h2,
.yuyu-runes h3 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.55em;
  letter-spacing: 0.01em;
}

.yuyu-runes h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.yuyu-runes h2 {
  font-size: clamp(26px, 4vw, 36px);
  margin-top: 1.8em;
  color: var(--gold);
}

.yuyu-runes h3 {
  font-size: clamp(20px, 3vw, 24px);
  margin-top: 1.4em;
}

.yuyu-runes h1:first-child,
.yuyu-runes h2:first-child {
  margin-top: 0;
}


/* ---------- Типографика: текст и списки ---------- */
.yuyu-runes p {
  margin: 0 0 1em;
}

.yuyu-runes ul,
.yuyu-runes ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}

.yuyu-runes li {
  margin-bottom: 0.4em;
}

.yuyu-runes li::marker {
  color: var(--gold);
}


/* ---------- Карточка (крупный блок с контентом) ---------- */
.yuyu-runes__card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  margin: 24px 0;
}

.yuyu-runes__card h3 {
  margin-top: 0;
  color: var(--gold);
}


/* ---------- Блок с руной ---------- */
.yuyu-runes__rune {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.yuyu-runes__rune h3 {
  color: var(--gold);
  margin-top: 0;
}


/* ---------- Цитата / выделенная мысль ---------- */
.yuyu-runes__quote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  margin: 20px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}


/* ---------- Плейсхолдер изображения (пока картинки не вставлены) ---------- */
.yuyu-runes__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  text-align: center;
  padding: 12px;
}


/* ---------- Мобильная версия ---------- */
@media (max-width: 600px) {
  .yuyu-runes {
    padding: 40px 16px;
    font-size: 16px;
  }
  .yuyu-runes__card {
    padding: 22px 20px;
  }
}

.yuyu-legal {
  --lg-bg: #0E0D0C;
  --lg-gold: #C9A227;
  --lg-text: #F2EDE4;
  --lg-muted: rgba(242, 237, 228, 0.72);
  --lg-line: rgba(201, 162, 39, 0.2);
  --lg-font: 'Inter', 'Manrope', sans-serif;
  --lg-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

  font-family: var(--lg-font);
  color: var(--lg-text);
  background: transparent;
  padding: 48px 24px 80px;
  max-width: 840px;
  margin: 0 auto;
  box-sizing: border-box;
}
.yuyu-legal *,
.yuyu-legal *::before,
.yuyu-legal *::after { box-sizing: border-box; }

.yuyu-legal__inner {
  background: #1A1816;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 16px;
  padding: 40px 36px;
}

.yuyu-legal__badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lg-gold);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.yuyu-legal__title {
  font-family: var(--lg-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--lg-text);
}

.yuyu-legal__meta {
  font-size: 12px;
  color: var(--lg-muted);
  margin: 0 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--lg-line);
}
.yuyu-legal__meta strong { color: var(--lg-gold); font-weight: 500; }

.yuyu-legal__content h2 {
  font-family: var(--lg-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--lg-gold);
  margin: 28px 0 12px;
  line-height: 1.25;
}
.yuyu-legal__content h2:first-child { margin-top: 0; }

.yuyu-legal__content p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lg-muted);
  margin: 0 0 12px;
}

.yuyu-legal__content ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.yuyu-legal__content li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--lg-muted);
  margin-bottom: 6px;
}
.yuyu-legal__content li::marker { color: var(--lg-gold); }

.yuyu-legal__content strong {
  color: var(--lg-text);
  font-weight: 600;
}

.yuyu-legal__contacts {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--lg-line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--lg-muted);
}
.yuyu-legal__contacts strong { color: var(--lg-gold); }

@media (max-width: 600px) {
  .yuyu-legal { padding: 32px 16px 56px; }
  .yuyu-legal__inner { padding: 28px 20px; border-radius: 12px; }
  .yuyu-legal__content h2 { font-size: 19px; }
  .yuyu-legal__content p,
  .yuyu-legal__content li { font-size: 13px; }
}