.sub-menu__inner { box-shadow: 1px 3px 30px #ddd}

.matrix-lock-icon-0 { filter: grayscale(100%); }
.matrix-lock-icon-1 { filter: invert(57%) sepia(45%) saturate(530%) hue-rotate(152deg) brightness(95%) contrast(90%); }
.matrix-lock-icon-2 { filter: sepia(100%) hue-rotate(-10deg) saturate(100); }

.cashback {margin: -20px 0 30px 0; color: #0080ad; border:1px solid #fff; border-radius: 10px; padding: 10px; background-color: #fff}
.cashback b{ display: block; color:#111}

ul.advantages { margin: 0 0 20px 0px; padding: 0}
ul.advantages li{ color:#000; font-size:15px; list-style: none; margin: 5px 0; padding-left: 30px}
ul.advantages li:before { content: ''; position: absolute; margin-top:5px;  left: 46px;  width: 5px;  height: 9px; border-color: #2592bf; border-width: 0 2px 2px 0; transform: rotate(45deg);}

blockquote.blockquote1 {display: block; margin:0px; padding:20px; border-width: 1px; border-color:#FFB5A4 ; border-radius: 10px; background-color: #ffedf7 }
blockquote.blockquote1:before{margin: 0; background: none}
blockquote.blockquote1 { font-size:18px; color:#111; line-height: 27px}
blockquote.blockquote1 p{ color: #111}

blockquote.blockquote1 a{ background: linear-gradient(to right, #DC147B 0%, #FF6363 58%, #FFBF87 100%); -webkit-background-clip: text; background-clip: text; color: transparent;}
blockquote.blockquote1 a:before{content:'→ '} 

.payment-information { border-left:10px solid #DC147B; padding-left: 20px}
.payment-information div.matrix-type { font-size: 22px; }

.textcols { column-width: 48%; column-count: 2; column-gap: 4%; text-align:justify}
@media (max-width:576px){ .textcols {column-width: 100%; column-count: 1; column-gap: 0%; text-align:justify}}


.text-center img {text-align: center !important; display:inline-block }
.rekv {color: #444; margin: 0 0 20px -31px !important; padding: 0 !important; font-size: 15px;}
.text-20 { font-size: 23px; line-height: 28px;}

a.telegram {background-color:#27a7e7 !important; padding:15px 20px}
a.telegram:hover { background-color: #1897d6 !important}
a.telegram .svg{ margin-right:10px; fill:white }
a.telegram { color:#fff !important; text-decoration:none;}

a.telegram-mini {background-color:#27a7e7 !important; padding:5px 10px; font-size:13px}
a.telegram-mini:hover { background-color: #1897d6 !important}
a.telegram-mini .svg{ margin-right:4px; fill:white }
a.telegram-mini { color:#fff !important; text-decoration:none;}

.telegram-channel { margin:auto 0 40px 0; padding:10px 20px 20px 20px}

.choose-card__image img { border-radius:25px}

#scrollToTopBtn{position:fixed;bottom:24px;right:24px;z-index:9999;display:none;background:var(--color-primary);color:white;padding:14px;border-radius:9999px;box-shadow:0 4px 20px rgba(0,0,0,0.3);transition:background-color 0.3s ease,transform 0.3s ease; cursor: pointer }
#scrollToTopBtn:hover{background-color:#333;transform:scale(1.1); cursor: pointer }
#scrollToTopBtn svg{width:20px;height:20px}
.fade-in{animation:fadeIn 0.4s ease-in-out forwards}
@keyframes fadeIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}



.cookie-banner{position:fixed;left:28px;bottom:24px;max-width:550px;width:calc(100% - 48px);background:#ffffff;border:1px solid rgba(0,0,0,0.08);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,0.15);padding:24px;font-size:12px;line-height:1.5;z-index:9999;opacity:0;transform:translateY(20px);transition:opacity 0.4s ease,transform 0.4s cubic-bezier(0.22,1,0.36,1);box-sizing:border-box;display:flex;flex-direction:column;gap:16px}
.cookie-banner.show{opacity:1;transform:translateY(0)}
.cookie-banner__content{color:#333;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.cookie-banner__content a {}
.cookie-banner__buttons{display:flex;justify-content:flex-end}
.cookie-banner__buttons button{padding:10px 22px;border-radius:8px;font-weight:500;font-size:14px;cursor:pointer;transition:all 0.2s ease;border:none;white-space:nowrap}
#ok_btn{background:var(--gradient-secodary);color:#ffffff;box-shadow:0 2px 6px rgba(13,110,253,0.3); width: 100%}
#ok_btn:hover{background-color:#0b5ed7;transform:translateY(-2px);box-shadow:0 4px 12px rgba(13,110,253,0.4)}
.cookie-banner a{color:var(--color-primary);text-decoration:none;font-weight:500}
.cookie-banner a:hover{text-decoration:underline}
.cookie-close{position:absolute;top:16px;right:16px;background:transparent;border:none;font-size:20px;line-height:1;color:#6c757d;cursor:pointer;transition:color 0.2s ease,transform 0.2s ease}
.cookie-close:hover{color:#333;transform:rotate(90deg)}
@media (max-width:576px){.cookie-banner{left:10px;bottom:5px;max-width:235px;border-radius:12px;padding:20px 16px 16px 16px}.cookie-banner__content{flex-direction:column;align-items:flex-start}.cookie-banner__buttons{width:100%;justify-content:stretch}#ok_btn{width:100%;padding:12px}.cookie-close{top:18px;right:18px}}

.tab-privacy { width: 100%; text-align: left; margin: 20px 0; }
.tab-privacy td{border:1px solid #ddd; padding: 10px}
.tab-privacy th{ background-color:#eee; padding: 10px;border:1px solid #ddd;}

div.overflow {overflow-x:auto}
.blog-container .post__content table{ width: 100%; margin: 10px 0; }
.blog-container .post__content table th{ border:1px solid #eee; padding:10px; text-align: left; background-color: #eee}
.blog-container .post__content table td{ border:1px solid #eee; padding:10px}

.my-swiper-container{position:relative;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;z-index:1}
.my-swiper-container .swiper-slide{width:100%!important;max-width:100%!important;flex-shrink:0!important}
.my-swiper-container .swiper-button-prev,.my-swiper-container .swiper-button-next{width:40px!important;height:40px!important;background:white!important;border-radius:50%!important;box-shadow:0 2px 5px rgba(0,0,0,0.1)}
.my-swiper-container .swiper-button-prev{left:0px!important;margin-top: -40px !important;   }
.my-swiper-container .swiper-button-next{right:0px!important;margin-top: -40px !important; }
.my-swiper-container .swiper-pagination{ position: relative }
.my-swiper-container .swiper-pagination-bullet{ margin-top: 20px !important; position: relative }

@media (max-width:576px){
  .my-swiper-container .swiper-wrapper {
   /* display: flex;
    justify-content: center;*/
  }
  .my-swiper-container .swiper-slide {
    width: 100%!important;
    max-width: 400px!important; /* или другое значение по вашему усмотрению */
  }
  .telegram-channel .right-div { max-width: 100% !important;}
  .telegram-channel div.headline { margin-top:10px !important}
}
@media (max-width:1023px){
    .telegram-channel .right-div {padding-top: 0px !important}
}


.telegram-channel .right-div { max-width: 33rem;; padding-top: 50px}
.telegram-channel div.headline { margin-top:50px}

/* По умолчанию показываем мобилку, скрываем десктоп */
.toc-mobile { display: block}
.toc-mobile button{ padding: 0; margin: 0}
.toc-mobile #toc-content { padding-top: 20px !important}
.toc-desktop { display: none; }
/* На экранах шире 1024px — наоборот */
@media (min-width: 1024px) {
  .toc-mobile { display: none; }
  .toc-desktop { display: block; }
}
#cmplz-manage-consent .cmplz-manage-consent {  display:none;  min-width: auto !important; padding: 2px 7px !important; height: auto !important; position: absolute !important; bottom:0; font-size: 12px; color: #fff !important; background-color:var(--color-primary) !important}

#oferta h3{ font-size: 21px !important}

.img-content {  max-width: 400px; margin:0 auto; text-align: center !important}
.faq-blog{ margin: 20px 0 30px 0}
.faq-blog .spoiler__title { flex: 1; font-size: 17px; font-weight: 200 }
.faq-blog .spoiler__content { font-size:16px}

.cmplz-links { display: none  !important}
.cmplz-accept {background:var(--gradient-secodary);color:#ffffff;box-shadow:0 2px 6px rgba(13,110,253,0.3); width: 100%; border: none !important}/* === OVERRIDES (не меняют display у .cmplz-save-preferences) === */
@media (max-width: 768px) {
  /* Блок кнопок на всю ширину, в одну строку */
  .cmplz-cookiebanner .cmplz-buttons{
    display: flex !important;
    flex-direction: row !important;   /* перекрываем колонку */
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 6px;
    width: 100%;
  }

  /* Базовые размеры, без display */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn,
  .cmplz-cookiebanner .cmplz-buttons a.cmplz-btn{
    flex: 0 1 auto;                   /* ширина по содержимому */
    width: auto !important;
    min-width: 0;
    height: 40px;
    padding: 8px 10px;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.1;
    white-space: nowrap;
    text-align: center;
  }

  /* Самые большие: Принять… и (когда видна) Сохранить */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept{
    flex: 1 1 0;                      /* растёт сильнее */
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-save-preferences{
    flex: 1 1 0;                      /* тоже большая, НО display не трогаем */
  }

  /* Компактная шестерёнка вместо «Настройки» */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences{
    flex: 0 0 auto;                   /* не растягивать */
    padding: 0 10px;
    font-size: 0 !important;          /* прячем текст */
  }
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences::before{
    content: "\2699";                 /* ⚙ */
    font-size: clamp(16px, 4vw, 18px);
    line-height: 1;
  }

  /* Менее заметная «Отказаться» */
  .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny{
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    color: #666 !important;
    font-weight: 400 !important;
  }
}

/* На всякий случай ещё раз фиксируем «ряд», если где-то ниже в теме ставится колонка */
@media (max-width: 768px){
  .cmplz-cookiebanner .cmplz-buttons{ flex-direction: row !important; }
}


.sphere-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;

  /* затемняем низ картинки */
  mask-image: none; /* убираем маску */
}

.sphere-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0));
}

.sphere-card {
  position: relative;
  overflow: hidden;
}

.sphere-card__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* сам градиент */
.sphere-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.45) 30%,
    rgba(0,0,0,0) 70%
  );
  z-index: 1; /* выше картинки */
  pointer-events: none; /* чтобы не мешал кликам */
}

.sphere-card__description {
  position: absolute;

  color: #fff;
  z-index: 2; /* выше градиента */
}

.tarot {margin: 70px 0 0px 0}
.tarot .row { display: flex; flex-wrap: wrap;gap: 20px; align-items: stretch; }
.tarot .col {  height: 100%;flex: 1 1 49%; display: flex; align-items: flex-start; gap: 15px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.1);}
.tarot .coltemp{box-shadow: none !important}
.tarot .col img { max-width: 190px; border-radius: 8px;}
.tarot .col .text {display: flex; flex-direction: column; flex: 1; }
.tarot .col .text h3 { font-size: 1.1rem;}
.tarot .col .text span { font-size: .85rem; float:right; color: #000;  margin: -30px 0 0 8px; font-weight: normal;}
.tarot .col .text p { margin: 8px 0; color: #555; font-size: .9rem; line-height: 1.4;}
.tarot .col .text a{ float: left;  margin-top: auto;}
.faq-taro .spoiler__btn {padding-bottom: 10px !important;}
@media(max-width: 768px) {
  .tarot .col { flex: 1 1 100%; }
}
@media (max-width: 488px) {
    .tarot .col {padding: 3px;}
    .tarot .col img {max-width: 120px;border-radius: 8px; margin-top:20px}
    .tarot .col .text span { float: left; margin:0}
}

.calculation-visual2 {margin:100px 0 30px 0}
.calculation-visual2 .shadow-1 { background-color: #fff0e3; box-shadow: none}
.calculation-visual2 .shadow-1 .tabs .tab { background-color: #fff; border:1px solid #eb367f; color: #eb367f; box-shadow:none !important}
.calculation-visual2 .shadow-1 .tabs .active { background-color:#eb367f; color: #fff}
.calculation-visual2 .shadow-1 input {box-shadow:0px 0px 2px #111  !important; background-color: #fff}
.calculation-visual2 .shadow-1 span.calc-radio__label {color:#111; border:none !important; box-shadow:0px 0px 2px #111  !important; background-color: none}



.blog-protected{user-select: none;-webkit-user-select: none;  -webkit-touch-callout: none; touch-action: pan-y; }
.blog-protected .allow-select{ user-select: text; -webkit-user-select: text;}
.blog-protected input,
.blog-protected textarea,
.blog-protected select,
.blog-protected [contenteditable="true"],
.blog-protected .allow-select {  -webkit-user-select: text; -moz-user-select: text; user-select: text; -webkit-touch-callout: default}
.blog-protected img { -webkit-user-drag: none; user-drag: none;  pointer-events: none;}
@media print { .blog-protected { display: none !important; }}
