.content_full{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 2px solid #000aff;
    box-shadow: -10px 8px 20px rgb(0 0 0 / 50%), 10px 8px 20px rgb(0 0 0 / 50%);
    border-radius: 16px;
    background: #F4F6FC;
    padding: 20px;
}
.content_full .tabs-header h1{
    font-size: 30px;    
}
.content_full-left {
	width: 53%;
    height: fit-content;
    margin-right: 20px;
}
.categories-genres {
    margin-top: 20px;
    margin-bottom: 25px;
}
.alph {
	display: flex;
	margin-bottom: 20px;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 6px;
}
.lang_block {
	color: #fff;
    background: linear-gradient(266.26deg, #008fee 8.85%, #000aff 100%);
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 5px 10px;
	margin-right: 5px;
	min-width: 55px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.alph a {
	display: inline-block;
	flex: 0 0 auto;
	text-align: center;
	padding: 4px 5px;
	color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    min-width: 32px;
    width: auto;
	transition: all 0.3s ease;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}
.alph a[href="/categories"] {
	margin-right: 5px;
}
.alph a:hover {
	color: #fff;
	background: linear-gradient(266.26deg, #008fee 8.85%, #000aff 100%);
	transform: scale(1.3);
}
.alph a.active {
	background: linear-gradient(266.26deg, #008fee 8.85%, #000aff 100%);
	color: #fff;
}
.alph a.active:hover {
	background: linear-gradient(266.26deg, #008fee 8.85%, #000aff 100%);
	color: #fff;
	transform: none;
	cursor: default;
}
.titles-alphabet {
	display: flex;
	flex-wrap: wrap;
    margin-top: 30px;
    gap: 15px;
}
.titles-alphabet>li {
    width: calc(50% - 7.5px);
    display: block;
    margin-bottom: 10px;
}
.titles-alphabet>li>a {
	display: block;
	word-wrap: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
	padding: 5px;
	line-height: 1.3;
    margin-bottom: 5px;
}
.titles-alphabet>li>a:hover {
	color: #111;
}
.titles-alphabet>li>a:first-child {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 5px;
    width: 100%;
    line-height: 1.3;
}
.titles-alphabet>li .product-types-filter__item {
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 1px;
    color: #333;
    background: #f4f6fc;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-right: 5px;
    margin-bottom: 5px;
    max-height: 25px;
}
.titles-alphabet>li .product-types-filter__item .product-types-filter__text {
    padding: 0 5px;
    display: flex; /* Добавлено для корректного выравнивания текста внутри flex контейнера */
    align-items: center; /* Убедитесь, что текст выравнен по центру по вертикали */
}
.titles-alphabet>li .product-types-filter__item:hover {
    box-shadow: 0px 0px 0px 3px #2294f55c;
    background: linear-gradient(180deg, #008fee 0%, #000aff 100%);
    color: #fff;
}

.categories-load-more-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.content_full-right {
	width: 45%;
}
.all__block {
	margin-bottom: 20px;
	margin-top: 40px;
}
.all__block h2 {
	text-align: left;
	margin-bottom: 20px;
}
.all__block .bg_category{
    width: 100%;
height: 100%;
position: absolute;
bottom: 0;
border-radius: 12px; /* Закругление углов */
}
/* Полностью независимый стиль для карточек категорий в блоках "Предзаказы" и "Новые игры" */
.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
    padding: 20px 0;
}

.category-cards .category-list__item {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: transparent;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.3);
}

.category-cards .category-list__item-bg {
    flex: none;
    position: relative;
    width: 100%;
    aspect-ratio: 460 / 215;
    background-size: cover !important;
    display: block;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background-image: var(--bg-image);
}

/* Блюр-фон для заполнения пустых областей */
.category-cards .category-list__item-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(0.7);
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Усиление блюр-эффекта при наведении */
.category-cards .category-list__item:hover .category-list__item-bg::before {
    filter: blur(4px) brightness(0.6);
    opacity: 0.9;
}

.category-cards .category-list__item-bg img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px 12px 0 0;
    z-index: 2;
}

/* Убираем верхнее закругление изображения при наличии блока счетчика */
.category-cards .category-list__item:has(.preorder-countdown-bar) .category-list__item-bg,
.category-cards .category-list__item:has(.preorder-countdown-bar) .category-list__item-bg img,
.category-cards .category-list__item:has(.preorder-countdown-bar) .category-list__item-bg::before {
    border-radius: 0;
}

/* Fallback для браузеров без поддержки :has() */
.preorder-countdown-bar + .category-list__item-bg,
.preorder-countdown-bar + .category-list__item-bg img,
.preorder-countdown-bar + .category-list__item-bg::before {
    border-radius: 0;
}

.category-cards .category-list__item > a:hover .category-list__item-bg {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.category-cards .category-list__item:hover .category-list__item-bg {
    opacity: 0.9;
}

/* Блок цены под изображением с новым градиентом */
.category-cards .category-list__item-bar {
    flex-shrink: 0;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    background: linear-gradient(266.26deg, #008fee 8.85%, #000aff 100%);
    border-radius: 0 0 12px 12px;
    margin-top: 0;
    box-shadow: 0px 0px 0 5px rgba(0, 10, 255, 0.15);
    z-index: 2;
}

.category-cards .category-list__item-bar-price {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 auto;
    pointer-events: none;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    -webkit-text-stroke: 0.2px #000;
    text-stroke: 0.2px #000;
}

/* Стили для символа валюты в карточках категорий */
.category-cards .category-list__item-bar-price .currency-symbol {
    margin-left: 5px;
    font-size: 18px;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.5);
}

/* Стиль для слова "от" с нормальной жирностью */
.category-cards .category-list__item-bar-price .price-prefix {
    font-weight: 600;
}

.category-cards .category-list__item-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
}

.category-cards .category-list__item-link .category-list__item-bg {
    flex: 1 1 auto;
}

.category-cards .category-list__item-link .category-list__item-bar {
    cursor: pointer;
}

/* Стили для таймера предзаказов */
.preorder-countdown-bar {
    position: relative;
    width: 100%;
    background: linear-gradient(0deg, #1a1919 20%, #0c1d63 80%);
    border-radius: 12px 12px 0 0;
    padding: 8px 0;
    z-index: 3;
    box-shadow: 0px 0px 0 3px rgba(0, 10, 255, 0.3);
}

.preorder-countdown-bar .countdown_block {
    width: 100%;
    margin: 0;
}

.preorder-countdown-bar ul.countdown {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.preorder-countdown-bar ul.countdown i {
    margin-right: 8px;
    font-size: 16px;
}

.preorder-countdown-bar ul.countdown li {
    display: flex;
    align-items: baseline;
    font-size: 14px;
    font-weight: 600;
}

.preorder-countdown-bar ul.countdown li .days {
    margin-right: 5px;
}

.preorder-countdown-bar ul.countdown li span {
    width: auto;
    display: flex;
    justify-content: center;
    min-width: 22px;
}

/* Убираем фиксированную ширину для дней, чтобы избежать лишних отступов */
.preorder-countdown-bar ul.countdown li .days {
    min-width: auto;
    width: auto;
}

.preorder-countdown-bar ul.countdown li .days_ref {
    margin-right: 8px;
    font-size: 12px;
    font-weight: 400;
}

.preorder-countdown-bar ul.countdown li:first-child {
    width: auto;
}

.preorder-countdown-bar .seperator::after {
    content: ':';
    margin: 0 3px;
}

.products-list--categories .catalog-col_main {
    width: calc((100% - 20px) / 2);
}

@media(max-width: 1140px){
    .content_full-left{
        width: 100%;
        margin-right: 0;
    }
    .content_full-right{
        width: 100%;
    }
}

@media (max-width: 965px) {
	.products-list--categories .catalog-col_main {
		width: calc((100% - 15px) / 2);
	}
	.all__block .products-list { gap: 15px; }
}

@media(max-width: 768px) {
    .alph a {
        padding: 7px 14px;
        min-width: 40px;
    }
    .category-cards .category-list__item {
        width: 100%;
    }
    
    .preorder-countdown-bar ul.countdown {
        font-size: 12px;
    }
    
    .preorder-countdown-bar ul.countdown li {
        font-size: 12px;
    }
    
    .category-cards .category-list__item-bar-price {
        font-size: 16px;
    }
}

@media (max-width: 670px) {
    .content_full .select {
        margin-top: 0;
    }
}

@media (max-width: 410px) {
    .titles-alphabet>li {
        width: 100%;
    }
}