body {
	font-family: Inter, sans-serif;
}
			.container-fluid {
				max-width:1240px;
			}
			.navbar-nav a {
				text-decoration:none !important;
			}	
			#langs select {
				padding-top:8px;
				padding-bottom:8px;
				font-size:16px;
				border-radius:6px;
			}
			.umenuser a {
				text-decoration:none !important;
				position:relative;
			}
			.umenuser sup {
				position:absolute;
				top:5px;
				right:3px;
			}


      .course-list {

        background: #fff;
        border-radius: 1rem;
        padding: .5rem 1.5rem;
      }
      .course-card {
        border-bottom: 1px solid #eee;
        padding: 1.25rem 0;
      }
      .course-card:last-child {
        border-bottom: none;
      }
      .price {
        font-size: 1.25rem;
        font-weight: 600;
        color: #d9534f;
      }
      .btn-reserve {
        border-radius: 30px;
        font-weight: 500;
      }
.dropdown-toggle::after {
  display: none !important;
}			
            .bd-placeholder-img {
                font-size: 1.125rem;
                text-anchor: middle;
                -webkit-user-select: none;
                -moz-user-select: none;
                user-select: none;
            }
            @media (min-width: 768px) {
                .bd-placeholder-img-lg {
                    font-size: 3.5rem;
                }
            }
            .b-example-divider {
                width: 100%;
                height: 3rem;
                background-color: #0000001a;
                border: solid rgba(0, 0, 0, 0.15);
                border-width: 1px 0;
                box-shadow: inset 0 0.5em 1.5em #0000001a, inset 0 0.125em 0.5em #00000026;
            }
            .b-example-vr {
                flex-shrink: 0;
                width: 1.5rem;
                height: 100vh;
            }
            .bi {
                vertical-align: -0.125em;
                fill: currentColor;
            }
            .nav-scroller {
                position: relative;
                z-index: 2;
                height: 2.75rem;
                overflow-y: hidden;
            }
            .nav-scroller .nav {
                display: flex;
                flex-wrap: nowrap;
                padding-bottom: 1rem;
                margin-top: -1px;
                overflow-x: auto;
                text-align: center;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
            }
            .btn-bd-primary {
                --bd-violet-bg: #712cf9;
                --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
                --bs-btn-font-weight: 600;
                --bs-btn-color: var(--bs-white);
                --bs-btn-bg: var(--bd-violet-bg);
                --bs-btn-border-color: var(--bd-violet-bg);
                --bs-btn-hover-color: var(--bs-white);
                --bs-btn-hover-bg: #6528e0;
                --bs-btn-hover-border-color: #6528e0;
                --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
                --bs-btn-active-color: var(--bs-btn-hover-color);
                --bs-btn-active-bg: #5a23c8;
                --bs-btn-active-border-color: #5a23c8;
            }
            .bd-mode-toggle {
                z-index: 1500;
            }
            .bd-mode-toggle .bi {
                width: 1em;
                height: 1em;
            }
            .bd-mode-toggle .dropdown-menu .active .bi {
                display: block !important;
            }

            .logo {
                height: 90px;
                width: auto;
            }
            .from1995 {
                letter-spacing: 4px;
                font-size: 12px;
            }
            .lh-11 {
                line-height: 1.1em;
            }
/*
            .centertop a img {
                filter: grayscale(100%);
                transition: filter 0.3s ease;
            }

            .centertop a:hover img {
                filter: none;
            }
*/
            .nav-link {
                color: white;
            }
            .userarea a:hover {
                border-color: #555 !important;
            }
            .img-fluid {
                max-width: 100%;
                width: 100%;
            }
                .catalog-swiper {
                    padding: 20px 0;
                }
                .catalog-swiper .swiper-slide {
                    background: #fff;
                    border: 1px solid #ddd;
                    border-radius: 6px;
                    padding: 10px;
                    text-align: center;
                }
            .catalog-swiper .swiper-slide img {

                text-align: center;				
            }

            /* Навигационные стрелки */
            .swiper-button-next,
            .swiper-button-prev {
                color: #e60000 !important; /* красный цвет Bootstrap danger */
            }

            .swiper-container-full {
                width: 100%;
            }

            .swiper-container-full .swiper-slide {
                display: flex;
                justify-content: center;
                align-items: center;
                box-sizing: border-box;
                background: #fff;
                border-radius: 6px;
            }

            .swiper-container-full .swiper-slide img {
                width: 100%;
                height: auto;
                object-fit: cover;
            }
			img.market-logo {
				width:48px;
				height:48px;
			}
            @media all and (max-width: 767px) {
				img.market-logo {
					width:28px;
					height:28px;
				}
                .logo {
                    height: 60px;
                    width: auto;
                }
                .from1995 {
                    letter-spacing: inherit;
                    font-size: 12px;
                }
                .centertop a img {
                    filter: none !important;
                }


            }
			
			
			
			
.reel-tile {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.reel-tile img,
.reel-tile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}			


#buy {
  position: fixed;
  bottom: -160px; /* Скрыт внизу */
  left: 0;
  width: 100%;
  padding: 20px;
  transition: bottom 0.3s ease;
  z-index: 999;
}

#buy.show {
  bottom: 0; /* Показывается */
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.history-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 20px 25px;
  transition: transform 0.2s ease;
}

.history-card:hover {
  transform: translateY(-5px);
}

.year__title {
  font-weight: bold;
  font-size: 18px;
  color: #2c3e50;
  margin-bottom: 12px;
}

.year__text p {
  font-size: 15px;
  color: #555;
  margin: 0;
}
footer .list-unstyled li {
	line-height:2em;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #e60000;
}

@media (max-width: 767.98px) {
.usra {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 0.5rem 1rem;
    z-index: 1030;
    margin-left: 0 !important;	
}	
  .usra .d-flex {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }	
  .usra a {
    flex: 1 1 25%;
    text-align: center;
    margin: 0 2px !important;
    border: none;
    background: none;
  }	
	
  .userarea {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 0.5rem 1rem;
    z-index: 1030;
    margin-left: 0 !important;
  }

  .userarea .d-flex {
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .userleft,
  .userright {
    display: contents; /* убираем контейнер, чтобы все ссылки были на одном уровне */
  }

  .userarea a {
    flex: 1 1 25%;
    text-align: center;
    margin: 0 2px !important;
    border: none;
    background: none;
  }
  
	#buy.show {
	  bottom: 50px; /* Показывается */
	}  
	#buy h4.fw-bold.mb-1.mb-md-0 {
		font-size:16px !important;
	}
}

.form-check-input:checked {
  background-color: #e60000; /* зелёный */
  border-color: #e60000;
}

/* Убираем синий фокус Bootstrap при клике */
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
  .usra a {
    text-decoration: none !important;
	position:relative;
  }
  .usra a sup {
    font-size:22px;
	position:absolute;
	top:6px;
	right:2px;
  animation: pulseSize 1s infinite ease-in-out;
  } 

  .userarea a {
    text-decoration: none !important;
	position:relative;
  }
  .userarea a sup {
    font-size:22px;
	position:absolute;
	top:6px;
	right:2px;
  animation: pulseSize 1s infinite ease-in-out;
  }  
@keyframes pulseSize {
  0%, 100% {
    font-size: 22px;
  }
  50% {
    font-size: 24px;
  }
}  


/* Доп. правки для компактности */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card .card-body {
  padding: .6rem .75rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.course-card .meta {
  font-size: .85rem;
  color: #6c757d;
  line-height: 1.1;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
  align-items: center;
}
.course-card .meta b { color: #212529; font-weight:600; }
.course-card .title {
  font-size: .98rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.course-card .price {
  font-weight:700;
  font-size:1rem;
}
.course-card .btn-sign {
  border-radius: .35rem;
  padding: .45rem .6rem;
  font-size: .95rem;
}
.reel-img {
  object-fit: cover;
  height: 160px;
}
@media (min-width:1200px) { .reel-img { height:180px; } }








.cources .card.h-100 {
  display: flex;
  flex-direction: column;
}

.cources .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cources .cource-body {
  margin-top: auto;
}



@keyframes shake {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-5deg); }
  50%  { transform: rotate(5deg); }
  75%  { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.shake-icon {
  display: inline-block;
  animation: shake 0.6s infinite ease-in-out;
  transform-origin: center;
}




.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* количество строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/*
#results {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%; 
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    z-index: 1000;
    display: none; 
    max-height: 300px;
    overflow-y: auto;
}
*/
.offcanvas  {
	background-color:#e60000;
}
.swiper-pagination-progressbar-fill {
  background-color: #e60000 !important;
}
.catalog-swiper .swiper-pagination {
  position: static; /* чтобы шла в потоке */
  margin-top: 10px; /* отступ от слайдов */
  height:3px;
  text-align: left; /* центрируем */
}

.cart_table td {white-space:nowrap;}

.nav-link.kaspi24 {
	color:red !important;
	font-weight:bold;
	background:white !important;
	padding:0 20px;
	border-radius:6px;
	margin:9px 0;
}

.grecaptcha-badge { 
    visibility: hidden; /* Скрывает визуально */
}
.badges {
	position:absolute;
	top:16px;
	right:20px;
	z-index:33;
}
.ochensmall {
	font-size:10px;
}

#currency {
    padding-right: 34px !important; /* место под флаг */
    background-repeat: no-repeat;
    background-position: right 6px center;
}
#currency.kzt { background-image: url('kz.png'); }
#currency.uzs { background-image: url('uz.png'); }
#currency.kgs { background-image: url('kg.png'); }

#langs-select {
    padding-left: 24px !important; /* место под флаг */
    background-repeat: no-repeat;
    background-position: left 4px center;
	background-image: url('sort-down.png');
}
#langs-select.ru { background-image: url('ru.png'); }
#langs-select.kz { background-image: url('kz.png'); }
#langs-select.uz { background-image: url('uz.png'); }
#langs-select.kg { background-image: url('kg.png'); }


.itemSwiper .swiper-slide {
  width: 100% !important;
}
.thumbSwiper img {cursor:pointer;}

.nedostupen {
	filter:grayscale(1); 	
}
.blur-gray > * {
  filter: blur(1px) grayscale(100%);
}
.goto.link-dark:hover {
	border-color:#e60000 !important;
}



.btn-top {
  --bs-btn-color: #e60000;
  --bs-btn-bg: #f1f1f1;
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-color: #e60000;
  --bs-btn-hover-bg: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-focus-shadow-rgb: 130,138,145;
  --bs-btn-active-color: #e60000;
  --bs-btn-active-bg: #dee2e6;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  --bs-btn-disabled-color: #e60000;
  --bs-btn-disabled-bg: #dee2e6;
  --bs-btn-disabled-border-color: #dee2e6;
  padding:8px 12px;
}

/* ===== .btn-outline-secondary ===== */
.btn-outline-top {
  --bs-btn-color: #333;
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-color: #e60000;
  --bs-btn-hover-bg: #dee2e6;
  --bs-btn-hover-border-color: #dee2e6;
  --bs-btn-focus-shadow-rgb: 108,117,125;
  --bs-btn-active-color: #e60000;
  --bs-btn-active-bg: #f1f1f1;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
  --bs-btn-disabled-color: #dee2e6;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #dee2e6;
  --bs-gradient: none;
  padding:8px 12px;
}
.badger {
	position:absolute;
	top:20px;
	left:20px;
	z-index:998;
}
.z-1111 {
	z-index:1111;
}
@media all and (max-width:767px) {
	.h5.card-title {font-size:14px !important;}
}

.contact-container .bi, button.w-100 .bi {
	font-size:.8em;
	vertical-align:0.05em !important;
}



/* === Контейнер === */
.contact-container {
  position: fixed;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 1099;
}

/* === Общие стили кнопок === */
.contact-container button {
  flex: 0 0 20%;
  padding: 16px 0;
  font-size: 16px;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 10px 0 0 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.instagram { background-color: #F272A1; }  /* мягкий розово-малиновый */
.whatsapp  { background-color: #6FE5A2; }  /* светло-зелёный, дружелюбный */
.telegram  { background-color: #66BEE6; }  /* нежный голубой */
.callback  { background-color: #777; }     /* мягкий серый вместо жёсткого чёрного */
.contact-toggle {
  position: relative;       /* нужен для псевдоэлемента */
  overflow: hidden;         /* чтобы блик не вылезал за пределы */
  background-color: #e60000;
  opacity: 1 !important;    /* если нужно сохранить */
}

/* псевдоэлемент — сам блик */
.contact-toggle::before{
  content: "";
  position: absolute;
  top: -10%;                /* чуть больше по высоте для мягких краёв */
  left: -50%;               /* старт слева за пределами */
  width: 60%;               /* ширина блика — подстраивай */
  height: 120%;             /* чтобы покрыть полностью */
  transform: translateX(0) skewX(-15deg); /* небольшой скошенный бликовый эффект */
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.45) 50%,
    rgba(255,255,255,0) 100%
  );
  filter: blur(6px);        /* мягкость блика */
  opacity: 0.9;             /* интенсивность блика */
  pointer-events: none;     /* не мешает кликам */
  animation: shimmer 2.2s linear infinite;
}

/* анимация: движение слева направо */
@keyframes shimmer {
  0%   { left: -60%; opacity: 0.0; }
  10%  { opacity: 0.9; }
  50%  { left: 100%; opacity: 0.9; }
  90%  { opacity: 0.0; }
  100% { left: 100%; opacity: 0.0; }
}

/* === Анимации плавного появления === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* === Десктоп === */
@media (min-width: 992px) {
  .contact-container {
    flex-direction: row;
    justify-content: flex-end;
  }

  .contact-container button:not(.contact-toggle) {
    display: none;
  }

  .contact-container.active button {
    display: block;
	border-radius:0;
  }

  .contact-container.active button:not(.contact-toggle) {
    animation: fadeIn 0.6s ease forwards;
  }

  /* Плавная цепочка появления */
  .contact-container.active .callback  { animation-delay: 0.1s; }
  .contact-container.active .telegram  { animation-delay: 0.2s; }
  .contact-container.active .whatsapp  { animation-delay: 0.3s; }
  .contact-container.active .instagram { animation-delay: 0.4s; }

  /* Исчезновение в обратном порядке */
  .contact-container.closing .instagram { animation: fadeOut 0.6s ease forwards; animation-delay: 0s; }
  .contact-container.closing .whatsapp  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.1s; }
  .contact-container.closing .telegram  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.2s; }
  .contact-container.closing .callback  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.3s; }
}

/* === Мобильные и планшеты === */
@media (max-width: 991px) {
  .contact-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
	
  }

  .contact-container button {
    width: 100%;
	border-radius:0;
  }

  .contact-toggle {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    z-index: 10;
  }

  .contact-container button:not(.contact-toggle) {
    display: none;
  }

  /* Плавное появление */
  .contact-container.active button:not(.contact-toggle) {
    display: block;
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9;
    animation: fadeIn 0.6s ease forwards;
  }

  .contact-container.active .callback  { bottom: 50px;  animation-delay: 0.1s; }
  .contact-container.active .telegram  { bottom: 100px; animation-delay: 0.2s; }
  .contact-container.active .whatsapp  { bottom: 150px; animation-delay: 0.3s; }
  .contact-container.active .instagram { bottom: 200px; animation-delay: 0.4s; }

  /* Исчезновение в обратном порядке */
  .contact-container.closing .instagram { animation: fadeOut 0.6s ease forwards; animation-delay: 0s; }
  .contact-container.closing .whatsapp  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.1s; }
  .contact-container.closing .telegram  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.2s; }
  .contact-container.closing .callback  { animation: fadeOut 0.6s ease forwards; animation-delay: 0.3s; }
}
/* Оверлей: работает в Safari */
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  display: none;
  pointer-events: auto; /* важно для Safari */
  -webkit-backdrop-filter: blur(0px); /* Safari fix для прозрачности */
}

/* Подсвечиваем select */
.highlight-currency {
  position: relative;
  z-index: 1051 !important;
}

.popover-body a {
  text-decoration: underline;
  cursor: pointer;
  color: #0d6efd;
}
.fs-12 {
	font-size:12px !important;
} 
/* Снежинки */
.snowflake {
  position: fixed;
  top: -10px;
  color: white;
  font-size: 10px;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  opacity: 0.8;
  animation-name: fall;
  animation-timing-function: linear;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Гирлянда */
.garland {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
}

.light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: red;
  animation: blink 1.5s infinite alternate;
}

.light:nth-child(2n) {
  background-color: green;
}

.light:nth-child(3n) {
  background-color: yellow;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.2; }
  100% { opacity: 1; }
}

main {background-image: url(garland.png);background-position:center top; background-repeat:no-repeat;background-size:100% auto;}
@media all and (max-width:1365px) {
main {background-image: url(garland.png);background-position:center top; background-repeat:no-repeat;background-size:100% auto;}
}
.gift {
	position:absolute;
	bottom:20px;
	right:20px;
	z-index:88;
}

@keyframes giftJump {
  0% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  60% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.gift.jump {
  animation: giftJump 0.3s ease-out;
}