/*----------------------------- Общие стили карточек акций ---------------------------------------*/

/* ========================= обертка карточки акции ========================= */
.salesCardWrapper {
    width: 374px;
    height: 191px;
    position: relative;

    margin-bottom: 15px;
    border-radius: 25px;
    filter: var(--cards-shadow);
    -webkit-filter: var(--cards-shadow);
    transform: translate3d(0, 0, 0);
}

.salesCardWrapper .salesCardBg {
    width: 374px;
    height: 191px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

@media(max-width: 390px) {
    .salesCardWrapper {
        transform: scale(0.95);
    }
}

@media(max-width: 380px) {
    .salesCardWrapper {
        transform: scale(0.9);
        margin: -2px 0;
    }
}

@media(max-width: 350px) {
    .salesCardWrapper {
        transform: scale(0.85);
        margin: -6px 0;
    }
}

@media(max-width: 330px) {
    .salesCardWrapper {
        transform: scale(0.8);
        margin: -12px 0;
    }
}


/* ====================== обертка контента карточки акции ====================== */
.salesCardContentContainer {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: end;
}


/* ======================== шапка с названием карточки  ======================== */
.salesCardTitleContainer {
    width: 234px;
    height: 41px;
    background: url("img/cards/salesCardCopperTitle.0a209e01eeeb.png") no-repeat center center;
    background-size: 100%;

    position: absolute;
    left: -4px;
    top: -10px;
}

/*зеленая кнопка стоимость */
.salesCardPrice {
    width: 140px;
    height: 47px;
    border-radius: 15px;
    cursor: pointer;
    letter-spacing: -1px;

    position: absolute;
    z-index: 2;

    color: #FFF5BC;
    font-size: 26px;
    line-height: 25.2px;

    -webkit-text-stroke: 1.19px #466300;
    font-family: 'Domovyata', 'Verdana', sans-serif;
    font-weight: 900;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ======================== заголовок карточки ======================== */
.saleCardTitle {
    color: #FFF5BC;
    font-size: 22px;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    padding-top: 3px;

    -webkit-text-stroke: 1.08px #AA3800;
}
/* ===================== подзаголовок карточки ===================== */
.saleCardSubTitle, .saleCardSubTitle2 {
    font-size: 15px;
    letter-spacing: -1px;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 0.87px #A83800;

    position: absolute;
    top: 25px;
    right: 25px;
}

/*======================= Количество бонусов =========================== */
.kitCoins1, .kitCoins2, .kitCoins3, .kitCoins4, .kitCoins5 {
    font-size: 17px;
    color: #FFF5BC;
    text-align: center;
    letter-spacing: -1px;
    -webkit-text-stroke: 1px #AA3800;

    position: absolute;
    bottom: 30px;
}


/*======================= Злато кощея ================================= */
.salesCardZlatoKocheya .salesCardTitle {
    padding-top: 8px;
    padding-left: 65px;
    margin-right: auto;
    color: #FFF5BC;
    font-size: 22px;
    letter-spacing: -1px;

    -webkit-text-stroke: 1.13px #AA1B07;
}

.salesCardZlatoKocheya .salesCardText {
    margin-right: 15px;
    width: 154px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    z-index: 2;
    color: #FFF5BC;
    -webkit-text-stroke: 0.6px #600595;
}

.salesCardZlatoKocheya .salesCardCoins {
    width: 90px;
    margin: 15px 40px 0 0;
    font-size: 26px;
    font-weight: 900;
    z-index: 2;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 1.1px #A83800;
}

.salesCardZlatoKocheya .salesCardPrice {
    font-size: 19px;
    -webkit-text-stroke-width: 1px;
    bottom: 32px;
    right: 15px;
}


/*=============================== Самобранка =============================== */
.salesCardSamobranka .salesCardTitle {
    width: 200px;
    height: 35px;
    margin-right: auto;
    color: #FFF5BC;
    font-size: 22px;
    letter-spacing: -1px;
    -webkit-text-stroke: 1.13px #AA1B07;

    display: flex;
    justify-content: center;
    align-items: center;
}

.salesCardSamobranka .salesCardText {
    margin-right: 15px;
    width: 154px;
    font-size: 17px;
    font-weight: 900;
    text-align: center;
    z-index: 2;
    color: #FFF5BC;
    -webkit-text-stroke: 0.6px #466307;
}

.salesCardSamobranka .salesCardPrice {
    font-size: 26px;
    -webkit-text-stroke-width: 1px;
    bottom: 33px;
    right: 15px;
}

/*============================== Карточка "Надо брать"==============================*/
.salesCardStarterPack .starterPackTitle {
    max-width: 200px;
    width: 100%;
    height: 50px;

    color: #FFF5BC;
    font-size: 30px;
    letter-spacing: -1px;
    position: absolute;
    top: 120px;
    left: 7px;

    -webkit-text-stroke: 1.5px #C71400;

    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardStarterPack .starterPackCoins {
    width: 125px;
    padding-left: 33px;
    font-size: 26px;
    font-weight: 900;
    z-index: 2;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 1.1px #A83800;

    position: absolute;
    top: 23px;
    right: 23px;
}

.salesCardStarterPack .starterPackCoins .coin {
    height: 30px;
    width: 30px;
    position: absolute;
    left: 3px;
    top: -1px;
}

.salesCardStarterPack .salesCardPrice {
    right: 15px;
    bottom: 23px;
}


/*=================================== Медная акция ===================================*/
.salesCardCopper .saleCardTitle {
    -webkit-text-stroke: 1.08px #AA3800;
}

.salesCardCopper .salesCardPrice {
    border-radius: 10px;
    right: 15px;
    bottom: 30px;
}

.salesCardCopper .starterPackTeamCoins, .salesCardCopper .starterPackCoins {
    width: 70px;

    font-size: 17px;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 1px #AA3800;

    position: absolute;
    bottom: 81px;
    right: 50px;
}

.salesCardCopper .starterPackCoins {
    letter-spacing: -1px;
    font-size: 18px;
    left: 25px;
    top: 90px;
}

.salesCardCopper .kitCoins1 {
    left: 42px;
}

.salesCardCopper .kitCoins2 {
    left: 85px;
}

.salesCardCopper .kitCoins3 {
    left: 126px;
}

.salesCardCopper .kitCoins4 {
    left: 167px;
}

.salesCardCopper .kitCoins5 {
    font-size: 15px;
    top: 93px;
    left: 152px;
}


/*================================= Изумрудная карточка =================================*/
.salesCardEmerald .salesCardTitleContainer{
    background: url("img/cards/salesCardEmeraldTitle.d60d8e14689d.png") no-repeat center center;
    background-size: 100%;
}

.salesCardEmerald .saleCardTitle {
    padding-right: 20px;
    -webkit-text-stroke-color: #005C00;
}

.salesCardEmerald .saleCardSubTitle {
    -webkit-text-stroke-color: #005C00;
}

.salesCardEmerald .starterPackTeamCoins, .salesCardEmerald .starterPackCoins {
    font-size: 24px;
    text-align: right;
    -webkit-text-stroke-color: #005C00;

    position: absolute;
    bottom: 88px;
    right: 59px;
}

.salesCardEmerald .starterPackCoins {
    font-size: 18px;
    letter-spacing: -1px;
    text-align: center;
}

.salesCardEmerald .kitCoins1, .salesCardEmerald .kitCoins2, .salesCardEmerald .kitCoins3, .salesCardEmerald .kitCoins4, .salesCardEmerald .kitCoins5 {
    -webkit-text-stroke-color: #005C00;
}

.salesCardEmerald .kitCoins5 {
    font-size: 15px;
    top: 93px;
    left: 150px;
}


/*================================== Золотая акция ==================================*/
.salesCardGold .salesCardTitleContainer{
    background: url("img/cards/salesCardGoldTitle.26a3c18ebd43.png") no-repeat center center;
    background-size: 100%;
}

.salesCardGold .saleCardTitle {
    padding-right: 20px;
    -webkit-text-stroke-color: #AA3800;
}

.salesCardGold .saleCardSubTitle {
    -webkit-text-stroke-color: #AA3800;
}

.salesCardGold .starterPackTeamCoins, .salesCardGold .starterPackCoins {
    font-size: 30px;
    text-align: right;
    letter-spacing: -1px;
    -webkit-text-stroke-color: #005C00;

    position: absolute;
    bottom: 100px;
    right: 75px;
}

.salesCardGold .starterPackCoins {
    font-size: 18px;
    text-align: center;
    -webkit-text-stroke-color: #AA3800;
}

.salesCardGold .kitCoins1, .salesCardGold .kitCoins2, .salesCardGold .kitCoins3, .salesCardGold .kitCoins4, .salesCardGold .kitCoin5 {
    -webkit-text-stroke-color: #AA3800;
}

.salesCardGold .kitCoins5 {
    font-size: 15px;
    top: 93px;
    left: 149px;
}


/*====================================== Подмога новичку ======================================*/
.salesCardStarterPackHelp .starterPackTitle {
    max-width: 200px;
    width: 100%;
    height: 50px;

    color: #FFF5BC;
    font-size: 26px;
    letter-spacing: -1px;
    position: absolute;
    top: 120px;
    left: 7px;

    -webkit-text-stroke: 1.1px #C71400;

    display: flex;
    align-items: center;
}

.salesCardStarterPackHelp .starterPackCoins {
    width: 100px;
    font-size: 26px;
    font-weight: 900;
    z-index: 2;
    color: #FFF5BC;
    text-align: center;
    -webkit-text-stroke: 1.1px #A83800;

    position: absolute;
    top: 80px;
    left: 10px;
}

.salesCardStarterPackHelp .salesCardPrice {
    width: 145px;
    right: 15px;
    bottom: 23px;
}

.salesCardStarterPackHelp .kitCoins1 {
    bottom: 130px;
    left: 145px;
}

.salesCardStarterPackHelp .kitCoins2 {
    bottom: 130px;
    left: 195px;
}

.salesCardStarterPackHelp .kitCoins3 {
    bottom: 87px;
    left: 145px;
}

.salesCardStarterPackHelp .kitCoins4 {
    bottom: 87px;
    left: 195px;
}

.salesCardStarterPackHelp .kitCoins5 {
    font-size: 19px;
    top: 87px;
    right: 58px;
}


/*================================= Карточка И себе и людям =================================*/
.salesCardForSelfAndFriends .saleCardTitle {
    justify-content: left;
    padding-left: 20px;
}

.salesCardForSelfAndFriends .saleCardSubTitle {
    font-size: 16px;
    top: 20px;
    right: 25px;
}

.salesCardForSelfAndFriends .saleCardSubTitle2 {
    font-size: 16px;
    top: 55px;
    right: 12px;
}

.salesCardForSelfAndFriends .salesCardPrice {
    font-size: 26px;
    bottom: 30px;
    right: 15px;
}


/*================================== Карточка ярмарка ==================================*/
.salesCardYarmorka .YarmorkaTitle {
    color: var(--color-gold-light);
    font-size: 22.68px;
    -webkit-text-stroke: 1.13px #BD4D01;

    position: absolute;
    left: 45px;
    top: 7px;
}

.salesCardYarmorka .YarmorkaOldPrice {
    width: 65px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 100%;
    font-weight: 900;
    text-decoration: none;
    text-align: center;

    background: linear-gradient(145deg, rgba(253, 250, 231, 1), rgba(255, 242, 169, 1)); /* Градиент для текста */
    -webkit-background-clip: text; /* Применяем градиент к тексту */
    -webkit-text-fill-color: transparent; /* Делаем текст прозрачным, чтобы виден был градиент */
    background-clip: text; /* Для совместимости с другими браузерами */

    position: absolute;
    bottom: 75px;
    right: 58px;
}

.salesCardYarmorka .YarmorkaOldPrice::before {
    content: '';
    width: 65px;
    position: absolute;
    height: 2px;
    background-color: rgba(137, 178, 255, 1);
    top: 35%;
    left: 0;
    transform: rotate(-9deg);
    border-radius: 30px;
    z-index: 5;
}

.salesCardYarmorka .salesCardPrice {
    right: 18px;
    bottom: 31px;
}


/*================================== Мини карточки акций ==================================*/
.salesCardsMiniSection {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
}
.salesCardMiniWrapper {
    max-width: 180px;
    width: 100%;
    height: 240px;
    padding: 0 7px 8px 7px;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.salesCardMiniBG {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}
.salesCardMiniTitle {
    color: var(--color-brown-text2);
    font-size: 26px;
    letter-spacing: 0;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    text-align: center;

    position: relative;
    z-index: 1;
}
@media (max-width: 350px) {
    .salesCardMiniTitle {
        font-size: 22px;
    }
}
.salesCardMiniPrice {
    width: 100%;
    height: 53px;
}

/*-------Самобранка мини-------*/
.salesCardMiniSamobranka .greenButtonText {
    padding-left: 0;
}

/*-------И себе и людям мини-------*/
.salesCardMiniForSelfAndFriends .salesCardMiniTitle {
    line-height: 23px;
}

.salesCardMiniForSelfAndFriends .greenButtonText {
    font-size: 21px;
}

@media(max-width: 375px) {
    .salesCardMiniWrapper {
        width: 47%;
        height: 205px;
    }
}


/*==================================== Карточки Наборов ==================================== */

.kitCardWrapper {
    position: relative;
    background-image: url("./img/cards/kitCardMainPage.4f8b50964bef.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    max-width: 378px;
    height: 191px;
}

.kitCardWrapper .kitCardTopSection {
    display: flex;
    padding: 15px 15px 10px 13px;
}

.kitCardWrapper .kitCardLabelWrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    width: 100px;
    height: 90px;
    margin-right: 5px;
}

.kitCardWrapper .kitCardCoinImgWrapper {
    margin: 0 0 -12px 12px;
    width: 77px;
    text-align: center;
    height: 100%;
}

.kitCardWrapper .kitCardCoinImage {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.kitCardWrapper .kitCardCoinWrapper {
    font-size: 22px;

    color: var(--color-gold-light);
    text-align: center;
    position: relative;
    left: 5px;

    -webkit-text-stroke: 1.5px rgba(142, 22, 4, 1);
}

.kitCardBottomSection {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px 5px 20px;
}

.kitCardBottomSection .kitCardText {
    width: 205px;
    color: var(--color-gold-light);
    font-size: 26px;
    line-height: 24.15px;
    align-self: center;

    -webkit-text-stroke: 1.1px #AA1B07;
}

.kitCardBottomSection .kitCardButtonWrapper {
    width: 140px;
    height: 50px;
}

.kitCardBottomSection .greenButton {
    background-image: url("./img/longGreen_buttonBrownBorder.3f1f4c135074.png");
}


/*==================================== Карточка Благодать ==================================== */
.salesCardGrace {
    height: 155px;
}

.salesCardGrace .salesCardBg {
   height: 155px;
}

.salesCardGrace .salesCardTitleContainer {
    background-image: none;
    padding-right: 10px;
    width: 190px;
    left: 0;
    top: 6px;
}

.salesCardGrace .saleCardTitle {
    justify-content: end;
}

.salesCardGrace .saleCardSubTitle {
    top: 30px;
    right: 25px;
    -webkit-text-stroke: 0.87px var(--color-purple-1);
}

.salesCardGrace .salesCardButtonWrapper {
    width: 115.5px;
    height: 40.5px;

    position: absolute;
    bottom: 33px;
    right: 20px;
}

.salesCardGrace .salesCardButtonWrapper .greenButton {
    background-image: url("./img/longGreen_buttonNoBorder.f028b9e7bf1c.png");
    background-size: 100% 100%;
}

.salesCardGrace .boostersWrapper {
    height: 75px;
    width: 205px;
    position: absolute;
    left: 20px;
    bottom: 33px;

    display: flex;
    gap: 7px;
}

.salesCardGrace .coins {
    width: 75px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardGrace .coins .boosterImg {
    width: 50px;
}

.salesCardGrace .coins .boosterCounter {
    bottom: -12px;
}

.salesCardGrace .boosters {
    width: 123px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardGrace .boosters .booster .boosterImg {
    width: 60px;
}

.salesCardGrace .boosters .booster .boosterCounter {
    font-size: 25px;
}

/* ===================== 3 Бустера ===================== */
.salesCardGrace .boosters.hasBooster_3 .booster {
    width: 40px;
    height: 40px;
}

.salesCardGrace .boosters.hasBooster_3 .boosterImg {
    width: 45px;
}

.salesCardGrace .boosters.hasBooster_3 .boosterCounter {
    font-size: 20px;
}

/* ===================== 4 Бустера ===================== */
.salesCardGrace .boosters.hasBooster_4 {
    display: grid;
    padding-top: 3px;
    grid-template-columns: repeat(2, 40px);
    grid-template-rows: repeat(2, 34px);
    place-items: center;
    justify-content: center;
    align-items: center;
}

.salesCardGrace .boosters.hasBooster_4 .booster {
    width: 35px;
    height: 35px;
}

.salesCardGrace .boosters.hasBooster_4 .boosterImg {
    width: 40px;
}

.salesCardGrace .boosters.hasBooster_4 .boosterCounter {
    font-size: 18px;
}


/* ================= Фон блока с бустерами для карточки ================= */
.salesCardKozh {
    height: 155px;
    position: relative;
}

.salesCardKozh .salesCardBg {
    height: 155px;
}

.salesCardKozh .salesCardTitleContainer {
    background-image: none;
    padding-right: 10px;
    width: 225px;
    left: 15px;
    top: 6px;
}

.salesCardKozh .saleCardTitle {
    font-size: 21px;
}

.salesCardKozh .boostersWrapper {
    width: 83px;
    height: 80px;
    position: absolute;
    left: 128px;
    bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.salesCardKozh .boosterImgBg {
    height: 90px;
    width: 90px;
    position: absolute;
}

.salesCardKozh .boosterImg {
    width: 60px;
}

.salesCardKozh .boosterCounter {
    bottom: -15px;
    font-size: 20px;
    -webkit-text-stroke-width: 1px;
}

.salesCardKozh .booster {
    margin-top: -20px;
}

.salesCardKozh .textContent {
    height: 155px;
    padding: 0 15px 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 5px;
}

.salesCardKozh .saleCardSubTitle, .salesCardKozh .salesCardTimerContainer {
   position: static;
}

.salesCardKozh .salesCardButtonWrapper {
    width: 131px;
    height: 43px;
}


/* ================= Фон блока с бустерами для карточки ================= */
.boosterBG {
    overflow: hidden;
    border: 2px solid var(--color-sand-border);
    background-color: var(--color-sand-bg);
    border-radius: 10px;
    -webkit-box-shadow: 0px -2px 0px 0px var(--color-sand-border);
    -moz-box-shadow: 0px -2px 0px 0px var(--color-sand-border);
    box-shadow: 0px -2px 0px 0px var(--color-sand-border);
}


/* ================= BOOSTERS CONTAINER ================= */
.boostersContainer {
    width: 260px;
    height: 93px;
    display: flex;
    gap: 2px;
}

/* ========= Контейнер для бустеров (1, 2 или 3 блока с бустерами) ========= */
.boostersContainer .boostersItem {
    position: relative;
    height: 100%;
    flex: 1;
    padding: 3px;
    display: flex;
    justify-content: center;
}

/* ================= Таймер в бустерах (ВСЕГДА ВНИЗУ) ================= */
.boostersContainer .boostersTimer {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
}

/* ===================== 1 БЛОК ===================== */
.boostersContainer.hasItem_1 .boostersItem {
    width: 100%;
    flex: none;
}

/* ===================== 2 БЛОКА ===================== */
.boostersContainer.hasItem_2 .boostersItem {
    flex: 1;
    width: auto;
}

/* ===================== 3 БЛОКА ===================== */
/* первые 2 блока 50% ширины */
.boostersContainer.hasItem_3 .boostersItem:nth-child(1),
.boostersContainer.hasItem_3 .boostersItem:nth-child(2) {
    width: 36%;
    flex: none;
}

/* третий блок фиксированного размера */
.boostersContainer.hasItem_3 .boostersItem:nth-child(3) {
    max-width: 63px; /* Размер блока с сердечком */
    flex: 0 0 63px;
}

