@charset "utf-8";
/* CSS Document */
.user-link {
  display: flex;
  align-items: center;
  gap: 6px; /* немного отступа между иконкой и текстом */
}

.lock-icon-overlay-product {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
	max-width: 80%; /* Ширина не более 80% от родительского элемента */
	width: auto; /* Ширина зависит от содержимого */
	white-space: nowrap;  /* Предотвращает перенос текста */
}

/* Мобильная версия (сцентрировано) */
@media (max-width: 768px) {
    .lock-icon-overlay-product {
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
}

/* Лаптоп и большие экраны (сдвигаем вправо) */
@media (min-width: 769px) {
    .lock-icon-overlay-product {
        left: 45%;  /* Сдвиг на 75% от левого края */
        transform: translateX(-50%) translateY(-50%); /* Для центрирования по вертикали */
    }
}

.video-wrapper {
width: 100%; max-width: 100%; background: black; border-radius: 20px; overflow: hidden;
}

.white-link-hover {
	color: white;
	text-decoration: underline;
}
.white-link-hover:hover {
	color: white;
	text-decoration: none;
}
.difficulty-block {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  margin: 20px 0;
}

.difficulty-label {
  margin-right: 15px;
  font-weight: normal;
  font-size: 14px;
font-style: italic;
}

.difficulty-circles {
  display: flex;
  gap: 10px;
}

.circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ccc; /* Неактивный серый */
}

/* Активные круги с разными цветами */
.circle.active.level-1 {
  background-color: #009ac5; /* Лёгкий #a8e6a1*/
}

.circle.active.level-2 {
  background-color: #009ac5; /* Средний #5cbf50 */
}

.circle.active.level-3 {
  background-color: #009ac5; /* Сложный */
}

/* checkout.php */
.bank-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.bank-option {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.bank-option img {
  height: 40px; /* Уменьшено */
  max-width: 100%;
  border-radius: 8px;
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + label.bank-option {
  border-color: #007bff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  background-color: #ffffff;
}
/* checkout.php */

.badge-new {
	position: absolute;
	top: 10px;
	right: 10px;

	background: linear-gradient(135deg, #e3edf7 0%, #c8d0d8 100%);
	color: #3a3a3c;
	font-size: 12px;
	padding: 4px 10px 5px 10px;

	border-top-right-radius: 0;
	border-top-left-radius: 50px;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;

	font-weight: bold;
	box-shadow: 0 0 10px rgba(0,0,0,0.15);
	z-index: 10;
	text-transform: uppercase;
}
.badge-free {
	position: absolute;
	top: 10px;
	left: 10px;

	background: linear-gradient(135deg, #e53935 0%, #d32f2f 100%);
	color: #ffffff;
	font-size: 12px;
	padding: 4px 10px 5px 10px;

	border-top-left-radius: 0;
	border-top-right-radius: 50px;
	border-bottom-right-radius: 50px;
	border-bottom-left-radius: 50px;

	font-weight: bold;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
	z-index: 10;
	text-transform: uppercase;
}
.badge-favorite {
    position: absolute;
    bottom: 10px; 
    right: 10px;
    
    background: linear-gradient(135deg, #ff6b6b 0%, #ff3b3b 100%);
    color: white;
    font-size: 12px;
    padding: 4px 10px 5px 10px;

    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 0;

    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    z-index: 10;
    text-transform: uppercase;
}
.custom-category-box {
    border: 1px solid #000;
    border-top-left-radius: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.fav-toggle {
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: red;
}

.fav-toggle .fav-icon {
    margin-right: 5px;
    transition: transform 0.2s;
    display: inline-block;
}

/* подпрыгивание */
.fav-toggle .fav-icon.jump {
    animation: jump 0.3s ease;
}

@keyframes jump {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.4) translateY(-5px); }
    60%  { transform: scale(1.2) translateY(0); }
    100% { transform: scale(1); }
}

.fav-review {
    text-decoration: none;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
	margin-top: 10px
}
.fav-review .fav-review-icon {
    margin-right: 5px;
    transition: transform 0.2s;
    display: inline-block;
}
