            body {
                font-family: Inter, sans-serif;
            }
.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) {
  .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);
}
  .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%; /* равная ширина с #searcher */
    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; /* Скрывает визуально */
}