
/* Возвращаем анимации, даже если в системе включена опция "уменьшить движение" */
@media (prefers-reduced-motion: reduce) {
    .animated {
        animation: unset !important;
    }
    html * {
        transition-delay: unset !important;
        transition-duration: unset !important;
    }
}
/* =====================================================
   БАЗОВЫЕ СТИЛИ (оставлены без изменений)
   ===================================================== */

/* БЛОК «ПОДАРОК» В СТРОКЕ С КНОПКОЙ */
.recipient-field-inline {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.recipient-field-inline input {
    background: #424242D6;
    border: 1px solid #4a4a5a;
    border-radius: 12px;
    padding: 12px 16px;
    color: #f0f0f0;
    font-size: 15px;
    width: 200px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    height: 56px;
}

.recipient-field-inline input:focus {
    border-color: #959595;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 172, 112, 0.25);
}

.recipient-field-inline input::placeholder {
    color: #7a7a8a;
    font-size: 14px;
}

/* Чтобы поле количества и кнопка были в строке */
.quantity {
    display: inline-block;
    margin-right: 10px;
}
.single_add_to_cart_button {
    display: inline-block !important;
    vertical-align: middle;
}

/* Адаптив для блока «Подарок» */
@media (max-width: 768px) {
    .recipient-field-inline {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .recipient-field-inline input {
        width: 100%;
    }
    .quantity,
    .single_add_to_cart_button {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}
/* =====================================================
   !!! БЕЙДЖ (ЛЕНТОЧКА) — 120x120, БЕЗ БОРДЕРА !!!
   ===================================================== */

/* Убираем бордер у бейджа (переопределяем общее правило) */
.ekit-wc-products-wrapper .ekit-wc-products-badge img {
    border: none !important;
    border-radius: 0 !important;
}

/* Размеры бейджа */
.ekit-wc-products-wrapper .ekit-wc-products-badge {
    position: absolute !important;
    top: 19px !important;
    left: -37px !important;
    z-index: 10 !important;
}

img.img-ribbon  {
    width: 150px !important;
    height: 39px !important;
    min-width: 150px !important;
    min-height: 39px !important;
    max-width: 150px !important;
    max-height: 39px !important;
    display: block !important;
    object-fit: contain !important;
    border: none !important;
    border-radius: 0 !important;
}
.elementor-lightbox .elementor-lightbox-image {
    border-radius: 15px !important;
    border: 2px solid #ffbf0c !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, .3), 0 0 8px -5px rgba(0, 0, 0, .3);
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .ekit-wc-products-wrapper .ekit-wc-product {
        max-width: 100% !important;
    }
    .ekit-wc-products-wrapper .ekit-wc-add-to-cart {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0 16px 16px !important;
        margin-top: 6px !important;
    }
    .ekit-wc-products-wrapper .ekit-wc-product-popop {
        opacity: 1 !important;
    }
    .custom-ribbon img.img-ribbon {
        width: 120px !important;
        height: 31px !important;
        min-width: 120px !important;
        min-height: 31px !important;
        max-width: 120px !important;
        max-height: 31px !important;
    }
	/*.custom-ribbon img.img-ribbon:hover {
        width: 120px !important;
        height: 31px !important;
        min-width: 120px !important;
        min-height: 31px !important;
        max-width: 120px !important;
        max-height: 31px !important;
		transform: rotate(-45deg);
    }*/
}
/* =====================================================
   КАРТОЧКИ ТОВАРОВ
   Все стили с !important для принудительного применения
   ===================================================== */

/* Общий контейнер сетки */
.ekit-wc-products-wrapper .products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 25px !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.ekit-wc-products-wrapper ul.products .ekit-wc-product {
    margin: 3px !important;
    padding: 0;
}
/* Карточка товара */
.ekit-wc-products-wrapper .ekit-wc-product {
    /*background: #2a2a3a !important;*/
    border-radius: 15px !important;      /* включаем скругление */
    overflow: hidden !important;         /* обрезаем содержимое по скруглённым углам */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    width: 100% !important;
    max-width: 320px !important;
    border: 1px solid #fcb900 !important;
    position: relative !important;
	
}

.ekit-wc-products-wrapper .ekit-wc-product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.4),   /* ваша существующая тень */
        0 0 0 2px #fcb900 !important;
}

/* Внутренний контейнер */
.ekit-wc-products-wrapper .ekit-wc-product-inner {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    position: relative !important;
}

/* Блок изображения */
.ekit-wc-products-wrapper .ekit-wc-product-image {
    position: relative !important;
    /* background: #1e1e2f !important; */
    padding: 0px 0px 0px 0px !important;
    /* display: flex !important; */
    justify-content: center !important;
    align-items: center !important;
    min-height: 320px !important;
}
.ekit-wc-products-wrapper .ekit-wc-product-image::after {
    content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;           /* высота затемнения — можно регулировать */
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  pointer-events: none;  /* чтобы слой не мешал кликам по тексту */
}

.ekit-wc-products-wrapper .ekit-wc-product-image img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 15px !important;
    transition: transform 0.3s ease !important;
	/*border: 2px solid #fcb900 !important;*/
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
}
.ekit-wc-products-wrapper .ekit-wc-product:hover .ekit-wc-product-image img {
    transform: scale(1.03) !important;
	border-radius: 15px !important;
	/*border: 2px solid #fcb900 !important;*/
}


/* Блок описания (название, цена) */
.ekit-wc-products-wrapper .ekit-wc-product-desc {
    padding: 16px 18px 10px 18px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
	position: relative;
    z-index: 2;
}
.ekit-wid-con .ekit-wc-products .ekit-wc-products-wrapper ul.products .ekit-wc-product.ekit-wc-vertical-align-center .ekit-wc-product-desc-inner {
    -ms-flex-item-align: center;
    align-self: flex-start !important;
}
.ekit-wc-products-wrapper .ekit-wc-product-desc-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* Название товара */
.ekit-wc-products-wrapper .ekit-wc-product-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #f0f0f0 !important;
    line-height: 1.4 !important;
    margin: 0 0 8px 0 !important;
    transition: color 0.2s !important;
}

.ekit-wc-products-wrapper .ekit-wc-product-title:hover {
    color: #343433 !important;
}

/* Блок цены */
.ekit-wc-products-wrapper .ekit-wc-product-price {
    margin-top: auto !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.ekit-wc-products-wrapper .ekit-wc-product-price .price {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

/* Старая цена (скидка) */
.ekit-wc-products-wrapper .ekit-wc-product-price .price del {
    font-size: 14px !important;
    color: #888 !important;
    text-decoration: line-through !important;
    font-weight: 400 !important;
}

/* Новая цена или цена без скидки */
.ekit-wc-products-wrapper .ekit-wc-product-price .price ins,
.ekit-wc-products-wrapper .ekit-wc-product-price .price .woocommerce-Price-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #f59e0b !important;
    text-decoration: none !important;
    background: none !important;
    padding: 0 !important;
}

/* Бейдж со скидкой (красный круг) 
.ekit-wc-products-wrapper .ekit-wc-products-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
}

.ekit-wc-products-wrapper .onsale {
    display: inline-block !important;
    padding: 4px 10px !important;
    background: #ef4444 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
}*/

/* Иконка быстрого просмотра (лупа) */
.ekit-wc-products-wrapper .ekit-wc-product-popop {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 10 !important;
}

.ekit-wc-products-wrapper .ekit-wc-product:hover .ekit-wc-product-popop {
    opacity: 1 !important;
}

.ekit-wc-products-wrapper .ekit-wc-product-popop--link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 14px !important;
    backdrop-filter: blur(4px) !important;
    transition: background 0.2s !important;
    text-decoration: none !important;
}

.ekit-wc-products-wrapper .ekit-wc-product-popop--link:hover {
    background: #e7ac00 !important;
    color: #1a1a2e !important;
}

/* Кнопка «Купить» (появляется при наведении) */
.ekit-wc-products-wrapper .ekit-wc-add-to-cart {
    position: absolute !important;
    bottom: 22px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    width: calc(100% - 40px) !important;
    z-index: 10 !important;
    padding: 0 !important;
}

.ekit-wc-products-wrapper .ekit-wc-product:hover .ekit-wc-add-to-cart {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}
.ekit-wid-con .woocommerce ul.products .ekit-wc-add-to-cart {
	top: 70% !important;
}
.ekit-wc-products-wrapper .ekit-wc-add-to-cart .button {
    display: block !important;
    /* width: 100% !important; */
    padding: 12px 12px 14px 12px !important;
    background: #f59e0b !important;
    color: #1a1a2e !important;
    /* text-align: center !important; */
    /* font-weight: 600 !important; */
    border-radius: 30px !important;
    border: none !important;
    /* transition: background 0.2s !important; */
    /* text-decoration: none !important; */
    /* font-size: 14px !important; */
    /* text-transform: uppercase !important; */
    letter-spacing: 0.5px !important;
}

.ekit-wc-products-wrapper .ekit-wc-add-to-cart .button:hover {
    background: #ffbe00 !important;
    color: #fff !important;
	text-shadow: 0.1em 0.1em 0.2em black
}

/* Скрываем стандартную кнопку "В корзину", если она дублируется */
.ekit-wc-products-wrapper .ekit-wc-add-to-cart .added_to_cart {
    display: none !important;
}

/* Адаптив для мобильных (кнопка всегда видна) */
@media (max-width: 768px) {
    .ekit-wc-products-wrapper .ekit-wc-product {
        max-width: 100% !important;
    }
    .ekit-wc-products-wrapper .ekit-wc-add-to-cart {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        width: 100% !important;
        padding: 0 18px 18px !important;
        margin-top: 10px !important;
    }
    .ekit-wc-products-wrapper .ekit-wc-product-popop {
        opacity: 1 !important;
    }
}

/* Дополнительное переопределение на случай конфликтов */
.ekit-wc-products-wrapper .ekit-wc-product-price .price .woocommerce-Price-amount {
    color: #f9c735 !important;
    font-size: 18px !important;
	vertical-align: middle !important;
	display: ruby !important;
}
span.woocommerce-Price-amount.amount {
	color: #efefef !important;
}

.ekit-wc-products-wrapper .ekit-wc-add-to-cart .button {
    background: #e7ac00 !important;
}
/* Выравнивание иконки валюты на одной линии с ценой */
.woocommerce-Price-currencySymbol img {
    vertical-align: middle !important;
    display: inline-block !important;
    margin-bottom: 4px !important;
    width: 15px !important;
    height: 15px !important;
}
span.ekit-woo-add-cart-text {
	
}
/* Дополнительно, чтобы весь блок цены был выровнен */
.price,
.ekit-wc-product-price .price {
    display: ruby !important;
    align-items: center !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
}
.ekit-wid-con .ekit-wc-products-wrapper ul.products li.product .price {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 12px !important;
}
/* Иконка VIP в меню личного кабинета */
.vip-menu-item a {
    display: flex !important;
    align-items: center !important;
}

.vip-menu-item a::before {
    content: '';
    display: block !important;
    width: 20px;
    height: 20px;
    background: url('https://dayz.fortress.moscow/wp-content/uploads/2026/06/star-vip.webp') no-repeat center;
    background-size: contain;
    margin-right: 6px;
	/*margin-bottom: 4px;*/
    flex-shrink: 0;
}
.dashboard-info-box { background: rgb(50 50 50 / 69%); padding-top: 20px; border-radius: 16px; padding: 15px 20px; margin: 20px 0; border-left: 3px solid #222222;box-shadow: 0 0 0 0.1rem #2c2c2c;}
/* Сворачиваем все поддеревья, кроме родительского */
.iksm-terms-tree--children {
    display: none !important;
}
.iksm-term--expanded > .iksm-terms-tree--children {
    display: block !important;
}
.iksm-1541 .iksm-term__text {
    flex: unset;
    color: #ffffff !important;
}
.iksm-1541 .iksm-term__text:hover {
    flex: unset;
    color: #000000 !important;
}
.iksm-1541 .iksm-term--child .iksm-term__inner:hover {
	color: #000000 !important;
}
.iksm-1541 .iksm-term--child .iksm-term__inner .iksm-term__link:hover {
    color: rgba(0, 0, 0, 1) !important;
    font-weight: 400;
    text-align: left;
}
.iksm-1541 .iksm-term--child .iksm-term__inner:focus .iksm-term__link {}
.iksm-1541 .iksm-term--child .iksm-term__inner:hover .iksm-term__link {
	color: rgba(0, 0, 0, 1) !important;
}
.payment_box.payment_method_yoomoney_fcoin {
	background-color: #2e2e2e !important;
}
/* Пагинация */
.ekit-pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: center !important;
}

.ekit-pagination li {
    display: inline-flex !important;
}

.ekit-pagination li span,
.ekit-pagination li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    border: 2px solid #FAB211 !important;
    border-radius: 12px !important;
    background-color: #000 !important;
    color: #fff !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s !important;
}

/* Активная страница (текущая) */
.ekit-pagination li .page-numbers.current {
    background-color: #FAB211 !important;
    color: #fff !important;
    border-color: #FAB211 !important;
    cursor: default !important;
}

/* Стрелки (иконки) – белые */
.ekit-pagination li a i,
.ekit-pagination li a .eicon-chevron-right {
    color: #fff !important;
    font-size: 24px !important;
}

/* Ховер для обычных ссылок (не активных) */
.ekit-pagination li a:not(.current):hover {
    background-color: #FAB211 !important;
    color: #fff !important;
    border-color: #FAB211 !important;
}

/* Дополнительно: ссылки с классом .page-numbers */
.ekit-pagination li a.page-numbers {
    /* наследует основные стили */
}
/* Стили для бейджа-ленточки */
.onsale.custom-ribbon {
     display: inline-flex !important;
    padding: 6px 20px !important;
    /*background: #FCCF00 !important;
    color: #000000 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
	transform: rotate(-45deg) !important;
    text-transform: uppercase !important;
    clip-path: polygon(
        10% 0%, 
        90% 0%, 
        100% 40%, 
        90% 100%, 
        10% 100%, 
        0% 40%*/
}

/* Если хотите сделать «хвостик» как у ленты 

.onsale.custom-ribbon::after {
    content: '';
    position: absolute !important;
    right: -8px !important;
    top: 0 !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 18px solid transparent !important;
    border-bottom: 18px solid transparent !important;
    border-left: 12px solid #e53e3e !important;
}
*/


