/* ===== УСИЛЕННЫЙ CSS ДЛЯ ВСЕХ ТИПОВ ЦЕН ===== */

/* 1. УБИРАЕМ ВСЕ ЗАЧЕРКИВАНИЯ ВО ВСЕХ ЭЛЕМЕНТАХ ЦЕН */
/* Для карточек товаров на странице */
.t-store__card__price_old *,
.t-store__card__price-value,
.t-store__card__price-currency,
.t-store__card__price-item *,
.js-store-prod-price-old-val[translate="no"],

/* Для попапов товаров */
.js-store-price-wrapper *,
.js-store-prod-price *,
.js-store-prod-price-old *,
.t-store__prod-popup__price-wrapper *,
.t-store__prod-popup__price *,
.t-store__prod-popup__price_old *,
.t-store__prod-popup__price-value,
.t-store__prod-popup__price-currency,

/* Общие элементы */
.t-store__prod__price-portion,
.t-store__prod__price-portion-slash,
.js-store-prod-price-old-val,
.js-product-price.js-store-prod-price-val {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
}

/* 2. ЯДЕРНЫЙ УРОВЕНЬ - перекрываем ВСЕ inline-стили */
[style*="line-through"],
[style*="text-decoration"],
[style*="strikethrough"] {
    text-decoration: none !important !important;
    -webkit-text-decoration: none !important !important;
    text-decoration-line: none !important !important;
}


/* 3. СТИЛИ ДЛЯ КАРТОЧЕК ТОВАРОВ (на странице) */
/* 3.1 Оптовая цена в карточках */
.t-store__card__price_old .js-store-prod-price-old-val,
.t-store__card__price_old .t-store__card__price-value {
    color: #27ae60 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
/*    background: #eafaf1 !important;
/*    padding: 5px 8px !important;
/*    border-radius: 4px !important;
    border: 1px solid #a3e9c4 !important; */
    display: inline-block !important;
}

/* 3.2 Единицы измерения в карточках (опт) */
.t-store__card__price_old .t-store__card__price-currency,
.t-store__card__price_old .t-store__prod__price-portion,
.t-store__card__price_old .t-store__prod__price-portion-slash {
    color: #27ae60 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
/*    background: #eafaf1 !important;
/*    padding: 5px 3px !important;
/*    border-radius: 4px !important;
/*    border: 1px solid #a3e9c4 !important; 
 /*   display: inline-flex !important;
    align-items: center !important;*/
    height: 28px !important;
}

/* 4. СТИЛИ ДЛЯ ПОПАПОВ ТОВАРОВ */
/* 4.1 Оптовая цена в попапах */
.js-store-prod-price-old-val,
.t-store__prod-popup__price_old .t-store__prod-popup__price-value {
    color: #27ae60 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
/*    background: #eafaf1 !important;
/*    padding: 5px 8px !important;
 /*   border-radius: 4px !important;
/*    border: 1px solid #a3e9c4 !important; */
    display: inline-block !important;
}

/* 4.2 Единицы измерения в попапах (опт) */
.js-store-prod-price-old .t-store__prod-popup__price-currency,
.js-store-prod-price-old .t-store__prod__price-portion,
.js-store-prod-price-old .t-store__prod__price-portion-slash {
    color: #27ae60 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
/*    background: #eafaf1 !important;
/*    padding: 5px 3px !important;
/*    border-radius: 4px !important;
/*    border: 1px solid #a3e9c4 !important; 
/* display: inline-flex !important;
    align-items: center !important;*/
    height: 28px !important;
}



/* 5. РОЗНИЧНЫЕ ЦЕНЫ (красные) */
/* 5.1 В карточках */
.t-store__card__price:not(.t-store__card__price_old) .t-store__card__price-value {
    color: #ff4a4a !important;
    font-weight: 600 !important;
    font-size: 18px !important;
/*    background: #fdedec !important; */
/*    padding: 5px 8px !important; */
/*    border-radius: 4px !important; */
/*    border: 1px solid #fadbd8 !important; */
    display: inline-block !important;
}

/* 5.2 В попапах */
.js-product-price.js-store-prod-price-val {
    color: #ff4a4a !important;
    font-weight: 600 !important;
    font-size: 18px !important;
/*    background: #fdedec !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #fadbd8 !important; */
    display: inline-block !important;
}

/* 5.3 Единицы измерения розничных цен */
.t-store__card__price:not(.t-store__card__price_old) .t-store__card__price-currency,
.t-store__card__price:not(.t-store__card__price_old) .t-store__prod__price-portion,
.js-store-prod-price .t-store__prod-popup__price-currency,
.js-store-prod-price .t-store__prod__price-portion {
    color: #ff4a4a !important;
    font-size: 16px !important;
    font-weight: 600 !important;
 /*  display: inline-flex !important;
align-items: center !important;   */
    height: 28px !important;
}

/* 6. ПОДПИСИ ДЛЯ ЦЕН */
/* 6.1 Для карточек */
.t-store__card__price_old {
    position: relative !important;
    padding-left: 55px !important;
    display: flex !important;
 /*    align-items: center !important; */
    gap: 1px !important; 
}

.t-store__card__price_old::before {
    content: "Розница:" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 11px !important;
    color: #27ae60 !important;
  /*   background: white !important;
    padding: 4px 6px !important;
    border-radius: 3px !important;
    border: 1px solid #a3e9c4 !important;*/
    font-weight: 500 !important;
 /*    min-width: 40px !important;
    text-align: center !important;
    z-index: 10 !important;*/
 /*   padding-right: 1px !important; */
}

.t-store__card__price:not(.t-store__card__price_old) {
    position: relative !important;
    padding-left: 30px !important;
    display: flex !important;
 /*    align-items: center !important; */
    gap: 1px !important;
  /*  padding-right: 30px !important; */
}

.t-store__card__price:not(.t-store__card__price_old)::before {
    content: "Опт:" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 11px !important;
    color: #ff4a4a !important;
 /*   background: white !important;
    padding: 4px 6px !important;
    border-radius: 3px !important;
    border: 1px solid #fadbd8 !important;*/
    font-weight: 500 !important;
 /*   min-width: 40px !important;
    text-align: center !important;
    z-index: 10 !important; */
}

/* 6.2 Для попапов */
.js-store-prod-price-old {
    position: relative !important;
    padding-left: 30px !important;
    display: flex !important;
  /*   align-items: center !important; */
    gap: 0 !important;
}

.js-store-prod-price-old::before {
    content: "Розница:" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 11px !important;
    color: #27ae60 !important;
 /*   background: white !important;
    padding: 4px 8px !important;
    border-radius: 3px !important;
    border: 1px solid #a3e9c4 !important; */
    font-weight: 500 !important;
/*    min-width: 45px !important;
    text-align: center !important; */
    z-index: 10 !important;
}

.js-store-prod-price {
    position: relative !important;
    padding-left: 30px !important;
    display: flex !important;
/*    align-items: center !important; */
    gap: 0 !important;
}


.js-store-prod-price::before {
    content: "Опт:" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 11px !important;
    color: #ff4a4a !important;
/*    background: white !important;
    padding: 4px 8px !important;
    margin-right: 100px !important; /* Отступ после "Опт" 
    border-radius: 3px !important;
    border: 1px solid #fadbd8 !important;*/
    font-weight: 500 !important;
  /*  min-width: 45px !important;
    text-align: center !important;
    z-index: 10 !important;*/
}

/* 7. КОНТЕЙНЕРЫ */
/* 7.1 Для карточек */
.t-store__card__price-wrapper {
    display: flex !important;
/*    align-items: center !important; */
    gap: 5px !important;
   /*  margin: 10px 0 !important; */
    flex-wrap: wrap !important;
}

/* 7.2 Для попапов */
.js-store-price-wrapper {
    display: flex !important;
  /*    align-items: center !important; */
    gap: 5px !important;
   /*  margin: 12px 0 !important; */
    flex-wrap: wrap !important;
}

/* 8. УБИРАЕМ ВСЕ ПСЕВДОЭЛЕМЕНТЫ TILDA */
.t-store__card__price_old::after,
.t-store__card__price::after,
.js-store-prod-price-old::after,
.js-store-prod-price::after {
    display: none !important;
    content: none !important;
}

/* 9. ЛОМАЕМ ВРЕДНЫЕ КОМБИНАЦИИ */
.t-store__card__price_old.t-name[style],
.t-store__card__price_old.t-name_xs[style],
.js-store-prod-price-old.t-name[style],
.js-store-prod-price-old.t-name_md[style] {
    all: unset !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    position: relative !important;
    padding-left: 50px !important;
}

/* 10. МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 960px) {
    /* Карточки */
    .t-store__card__price-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
    }
    
    .t-store__card__price_old,
    .t-store__card__price:not(.t-store__card__price_old) {
        padding-left: 55px !important;
        flex-wrap: wrap !important;
        gap: 1px !important;
    }
    
    /* Попапы */
    .js-store-price-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
    }
    
    .js-store-prod-price,
    .js-store-prod-price-old {
        padding-left: 55px !important;
        flex-wrap: wrap !important;
        gap: 1px !important;
    }
    
    /* Подписи */
    .t-store__card__price_old::before,
    .t-store__card__price:not(.t-store__card__price_old)::before,
    .js-store-prod-price::before,
    .js-store-prod-price-old::before {
        font-size: 10px !important;
        padding: 3px 5px !important;
        min-width: 35px !important;
    }
}

/* ЯДЕРНЫЙ ВАРИАНТ ДЛЯ ВСЕХ ТИПОВ ЦЕН */

/* 1. Для карточек товаров на странице */
body .t-store .t-store__card__price_old .t-store__prod__price-portion-slash,
body .t-store .t-store__card__price_old .t-store__prod__price-portion,
body .t-store .t-store__card__price:not(.t-store__card__price_old) .t-store__prod__price-portion-slash,
body .t-store .t-store__card__price:not(.t-store__card__price_old) .t-store__prod__price-portion,

/* 2. Для попапов товаров */
body .t-store .js-store-prod-price-old .t-store__prod__price-portion-slash,
body .t-store .js-store-prod-price-old .t-store__prod__price-portion,
body .t-store .js-store-prod-price .t-store__prod__price-portion-slash,
body .t-store .js-store-prod-price .t-store__prod__price-portion {
    
    /* Полностью удаляем из потока */
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    
    /* Убираем возможность взаимодействия */
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    
    /* Убираем из доступности */
    aria-hidden: "true" !important;
}

/* Изменение отступов у контейнера товара */
.t-store__prod-snippet__container {
    padding-top: 30px !important;    /* Было 120px */
    padding-bottom: 30px !important; /* Было 120px */
}

/* Для мобильных устройств уменьшить отступы в каталоге*/
@media (max-width: 960px) {
    .t-store__grid-cont .t-store__card-list {
        row-gap: 20px !important;
    }
}
