/* Добавляем разделительную полосу только над первым элементом */
[data-edition-option-id="Amargor"]:first-of-type {
    border-top: 1px solid #3A3A37; /* Горизонтальная линия */
    padding-top: 10px; /* Добавляем отступ сверху для баланса */
}

/* Общий стиль для всех названий и значений с использованием flexbox */
[data-edition-option-id="Amargor"],
[data-edition-option-id="Dulzura"],
[data-edition-option-id="Acidez"],
[data-edition-option-id="Tostado"] {
    border-bottom: 1px solid #3A3A37;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Размещает название и значение по краям */
    gap: 10px; /* Расстояние между названием и значением */
    align-items: baseline;
}

/* Стили для названий */
[data-edition-option-id="Amargor"] .js-product-edition-option-name,
[data-edition-option-id="Dulzura"] .js-product-edition-option-name,
[data-edition-option-id="Acidez"] .js-product-edition-option-name,
[data-edition-option-id="Tostado"] .js-product-edition-option-name {
    font-family: 'Source Code Pro', Arial, sans-serif;
    font-weight: 400;
    color: #f1f1f1; /* Цвет текста названия */
}

/* Убираем фон, обводку и настраиваем стиль текста */
[data-edition-option-id="Amargor"] .t-product__option-item,
[data-edition-option-id="Dulzura"] .t-product__option-item,
[data-edition-option-id="Acidez"] .t-product__option-item,
[data-edition-option-id="Tostado"] .t-product__option-item {
    background: none !important; /* Убираем фон */
    border: none !important; /* Убираем обводку */
    padding: 0 !important; /* Убираем внутренние отступы */
    margin: 0 !important; /* Убираем внешние отступы */
    color: #f1f1f1 !important; /* Делаем текст белым */
    font-family: 'Source Code Pro', Arial, sans-serif !important; /* Шрифт текста */
    font-weight: 400 !important; /* Толщина текста */
    display: inline !important; /* Только текст */
    cursor: default !important; /* Убираем курсор указателя */
}

/* Убираем input для всех этих элементов */
[data-edition-option-id="Amargor"] .t-product__option-input,
[data-edition-option-id="Dulzura"] .t-product__option-input,
[data-edition-option-id="Acidez"] .t-product__option-input,
[data-edition-option-id="Tostado"] .t-product__option-input {
    display: none !important; /* Скрываем input */
}


[data-edition-option-id="Amargor"] .t-descr,
[data-edition-option-id="Dulzura"] .t-descr,
[data-edition-option-id="Acidez"] .t-descr,
[data-edition-option-id="Tostado"] .t-descr {
    font-family: 'Source Code Pro', Arial, sans-serif;
    font-weight: 400;
    color: #f1f1f1 !important; /* Устанавливаем белый цвет текста */
}






/* Кнопки Forma: убираем фон и обводку, делаем текст белым и увеличиваем шрифт */
#rec831679409 .js-product-edition-option[data-edition-option-id="Forma"] .t-product__option-item {
  background: none !important;
  border: none !important;
  padding: 0 !important; /* Убираем отступы для минимализма */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Forma"] .t-product__option-title {
  color: #f1f1f1 !important; /* Устанавливаем белый цвет текста */
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 16px; /* Увеличиваем шрифт */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Forma"] .t-product__option-item_active .t-product__option-title {
  color: #ffd801 !important; /* Желтый цвет текста */
}






/* Скрываем заголовок Forma */
#rec831679409 .js-product-edition-option[data-edition-option-id="Forma"] > .js-product-edition-option-name {
  display: none !important;
}

/* Скрываем заголовок Peso */
#rec831679409 .js-product-edition-option[data-edition-option-id="Peso"] > .js-product-edition-option-name {
  display: none !important;
}

/* Скрываем заголовок Precio */
#rec831679409 .js-product-edition-option[data-edition-option-id="Precio"] > .js-product-edition-option-name {
  display: none !important;
}

/* Скрываем заголовок Precio */
#rec831679409 .js-product-edition-option[data-edition-option-id="Pist"] > .js-product-edition-option-name {
  display: none !important;
}

/* Скрытие неактивных кнопок только в блоке Precio */
#rec831679409 .js-product-controls-wrapper .js-product-edition-option[data-edition-option-id="Precio"] .t-product__option-item:not(.t-product__option-item_active) {
  display: none !important;
}







/* Кнопки Precio: убираем фон и обводку, делаем текст белым и увеличиваем шрифт */
#rec831679409 .js-product-edition-option[data-edition-option-id="Precio"] .t-product__option-item {
  background: none !important;
  border: none !important;
  padding: 0 !important; /* Убираем отступы для минимализма */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Precio"] .t-product__option-title {
  color: #ffd801 !important; /* Белый цвет текста */
  font-size: 24px; /* Увеличиваем шрифт */
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-weight: 400 !important; /* Толщина текста */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Precio"] .t-product__option-item_active .t-product__option-title {
  color: #ffd801 !important; /* Желтый цвет текста */
}





/* Кнопки Peso: убираем фон и обводку, делаем текст белым и увеличиваем шрифт */
#rec831679409 .js-product-edition-option[data-edition-option-id="Peso"] .t-product__option-item {
  background: none !important;
  border: none !important;
  padding: 0 !important; /* Убираем отступы для минимализма */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Peso"] .t-product__option-title {
  color: #f1f1f1 !important; /* Устанавливаем белый цвет текста */
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 16px; /* Увеличиваем шрифт */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="Peso"] .t-product__option-item_active .t-product__option-title {
  color: #ffd801 !important; /* Желтый цвет текста */
}








.t-store .t-product__option-variants {
    display: table;
    min-width: 10px;
    position: relative;
}
.js-product .t-product__option-variants:after {
    border-color: #f1f1f1 transparent transparent;
    border-style: solid;
    border-width: 6px 5px 0;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 3px;
    top: 50%; /* Устанавливаем на 50% высоты родителя */
    transform: translateY(-50%); /* Сдвигаем вверх на половину высоты стрелочки */
    width: 0;
}




/* Дизайн фона карточки товара */
.t-store__card {
    transition: opacity .2s ease-out;
    background: #151515 !important;
    padding: 10px !important;
    margin: 10px !important;
    width: calc(25% - 20px) !important;
    border-radius: 5px !important;
}





/* Устанавливаем одинаковую ширину для кнопок */
#rec831679409 [data-edition-option-id="Forma"] .js-product-edition-option-variants,
#rec831679409 [data-edition-option-id="Peso"] .js-product-edition-option-variants {
  width: fit-content; /* Укажите нужную ширину */
  padding: 4px 15px; /* Внутренние отступы */
  border: 1px solid #f1f1f1; /* Белый бордюр */
  background-color: #111111; /* Черный фон */
  color: #f1f1f1; /* Белый текст */
  font-family: 'Source Code Pro', Arial, sans-serif;
  font-size: 14px; /* Размер текста */
  border-radius: 4px; /* Округлые края */
  appearance: none; /* Убираем стандартный стиль браузера */
  position: relative; /* Для стрелочки */
  cursor: pointer; /* Указатель мыши */
  text-align: left; /* Выравнивание текста внутри кнопки */
}

/* Группировка на одной строке с одинаковыми размерами */
#rec831679409 [data-edition-option-id="Forma"],
#rec831679409 [data-edition-option-id="Peso"] {
  display: inline-flex; /* Гибкая модель для одинакового размера */
  justify-content: space-between; /* Центрирование содержимого */
  align-items: center; /* Вертикальное центрирование */
  margin-right: 4px; /* Расстояние между кнопками */
}


/* Для адаптации на маленьких экранах */
@media (max-width: 768px) {
  #rec831679409 [data-edition-option-id="Forma"],
  #rec831679409 [data-edition-option-id="Peso"] {
  display: inline-flex; /* Гибкая модель для одинакового размера */
  margin-right: 4px;
  font-size: 10px; /* Размер текста */
  }
  #rec831679409 [data-edition-option-id="Forma"] .js-product-edition-option-variants,
#rec831679409 [data-edition-option-id="Peso"] .js-product-edition-option-variants {
  width: 85px; /* Укажите нужную ширину */
}
}

/* Для адаптации на маленьких экранах */
@media (max-width: 641px) {
  #rec831679409 [data-edition-option-id="Forma"],
  #rec831679409 [data-edition-option-id="Peso"] {
  display: inline-flex; /* Гибкая модель для одинакового размера */
  margin-right: 4px;
  font-size: 10px; /* Размер текста */
  }
  #rec831679409 [data-edition-option-id="Forma"] .js-product-edition-option-variants,
#rec831679409 [data-edition-option-id="Peso"] .js-product-edition-option-variants {
  width: 120px; /* Укажите нужную ширину */
}
}












@media screen and (max-width: 561px) {
    .t-popup .t-popup__container .t-store__prod-popup__btn-wrapper-fixed,.t-store__product-snippet .t-store__prod-popup__btn-wrapper-fixed {
        background:#111111;
        button-border: 1px solid #ffd803;
        bottom: 0;
        box-shadow: 0 -8px 12px 0 rgba(0,0,0,.07);
        box-sizing: border-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        left: 0;
        margin: 0;
        padding: 20px;
        position: fixed;
        right: 0;
        z-index: 10
}
    .t-store__prod-popup__btn .t-btn .t-btn_sm {
        color: #ffd803;
        border: 1px solid #ffd803;
}
}





    .t951 .t-store__filter__chosen-bar {
        width: auto;
        background-color: rgb(39 39 39);
    }










/* КОДЫ ДЛЯ СКРЫТИЯ ЦЕНЫ В КАРТОЧКЕ*/

    .js-store-price-wrapper, .t-store__card__price-wrapper {
display: none !important;
    }


    .t-store__card__textwrapper {
    height: 130px;
    }



/* СТАРАЯ ЦЕНА (перечёркнутая) — PrecioAntiguo */
#rec831679409 .js-product-edition-option[data-edition-option-id="PrecioAntiguo"] .t-product__option-item {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 5px !important; /* Отступ снизу до новой цены */
}

#rec831679409 .js-product-edition-option[data-edition-option-id="PrecioAntiguo"] .t-product__option-title {
  color: #888 !important; /* Тускло-серый цвет */
  font-size: 16px !important;
  font-family: 'Source Code Pro', Arial, sans-serif;
  text-decoration: line-through;
  font-weight: 300 !important;
  display: block;
  text-align: left;
}

/* Убираем заголовок */
#rec831679409 .js-product-edition-option[data-edition-option-id="PrecioAntiguo"] > .js-product-edition-option-name {
  display: none !important;
}

/* Скрытие старой цены в карточке */
.t-store__card__oldprice,
.t-store__prod-popup__oldprice {
  display: none !important;
}


/* Скрытие цен для невыбранных объёмов */
.t-product__option-item:not(.t-product__option-item_active) {
  display: none !important;
}

/* Меняем порядок цен в попапе товара */
.t-store__prod-popup__price-wrapper {
  display: flex;
  flex-direction: column;
}

/* Ставим старую цену сверху */
.t-store__prod-popup__price-old {
  order: -1;
}
























/* КОДЫ ДЛЯ СТРАНИЦЫ ФРАНШИЗЫ*/



/* Серый цвет фона для всей страницы*/
html, body:has(a[href="/franchise"]) {  /* ID вашей страницы */
    background-color: #F1F1F1 !important;  /* Серый цвет */
}





/* Код, чтобы вертикальная строка не перекрывала стандартный блок галереи*/
#rec859836865 {  /* Замените на ID вашего стандартного блока */
    position: relative;  /* Устанавливаем позиционирование */
    z-index: 100;        /* Повышаем уровень видимости */
}

#rec862505524 {  /* Замените на ID Zero Block */
    position: relative;  /* Обязательно для работы z-index */
    z-index: 1;          /* Снижаем уровень видимости */
}





/* Cтиль числа 94476 (vasos vendidos)*/
#rec848413272 .tn-elem[data-elem-id="1736560409773"] {
    padding: 0px 10px;
    margin: 0;
    margin-bottom: 32px;
    color: #FFD801;
    font-family: 'Source Code Pro' !important;
    font-weight: 700;
    font-size: 107px;
}


/* Наложение блока с галлереей университетов*/
#rec859836865 {
    z-index: 100
}






/* Стиль "Ganancia de" */
#rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
  padding: 0px 10px;
  margin: 0;
  margin-bottom: 32px;
  color: #111111;
  font-family: 'Source Code Pro' !important;
  font-weight: bold; /* заменяем font-style: bold на правильное свойство */
  font-size: 70px;
  letter-spacing: -5px;
  line-height: 120%;
  text-transform: uppercase;
  width: 100%;
  word-wrap: break-word;
}

.ganancia-text {
  display: block; /* чтобы точно осталась на своей строке */
}


h2 {
  margin: 0;
  padding: 0;
  line-height: 0.45; /* или 100% — подбери визуально */
}





/* Для экранов от 960px до 1200px */
@media screen and (min-width: 960px) and (max-width: 1200px) {
  #rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
    font-size: 65px; /* Размер шрифта для экранов 960px - 1200px */
  }
}

/* Для экранов до 959px */
@media screen and (max-width: 959px) {
  #rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
    font-size: 60px; /* Размер шрифта для экранов до 959px */
  }
}

/* Для экранов до 640px */
@media screen and (max-width: 640px) {
  #rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
    font-size: 45px; /* Размер шрифта для экранов до 640px */
  }
}

/* Для экранов до 479px */
@media screen and (max-width: 479px) {
  #rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
    font-size: 30px; /* Размер шрифта для экранов до 479px */
    letter-spacing: 0px !important;
    line-height: 150% !important;
  }
}




/* Cтиль КАЛЬКУЛЯТОРА */
#rec848682098 .tn-elem[data-elem-id="1736447113950"] .tn-atom {
  padding: 0px 10px;
  margin: 0;
  margin-bottom: 32px;
  color: #111111;
  font-family: 'Source Code Pro' !important;
  font-style: bold;
  letter-spacing: -4px;
  line-height: 120%;
  text-transform: uppercase;
}

/* Общий стиль контейнера калькулятора */
#rec848682098 .profit__content {
  border-radius: 90px 0 90px 90px;
  padding: 70px 90px;
  max-width: 1170px;
  background-color: #111111;
  font-family: 'Source Code Pro' !important;
  font-style: bold;
}

/* Стили для списка */
#rec848682098 .profit__list {
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-family: 'Source Code Pro' !important;
}

/* Стиль для каждого элемента */
#rec848682098 .profit__item {
  text-align: center;
  max-width: 250px;
  font-family: 'Source Code Pro' !important;
}

/* Для больших экранов (1200px и выше) */
@media screen and (min-width: 1201px) {
/* Кнопки +/- */
#rec848682098 .profit-calc__btn {
  box-sizing: border-box !important; /* Включает границы и отступы внутрь размеров */
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  font-family: 'Source Code Pro' !important;
}

/* Значение (число) */
#rec848682098 .profit-calc__value {
  color: #fec423;
  font-family: 'Source Code Pro' !important;
  font-size: 56px;
  font-weight: 900;
  line-height: 120%;
  text-transform: uppercase;
}

/* Заголовок под элементом */
#rec848682098 .profit__calc-title {
  font-size: 20px;
  color: #fff;
  font-family: 'Source Code Pro' !important;
}

/* Стиль для результата */
#profitText {
  color: #FFD802 !important;
}
}

/* Для экранов от 960px до 1200px */
@media screen and (min-width: 960px) and (max-width: 1200px) {
  /* Стили для калькулятора и его элементов */
  #rec848682098 .profit__list {
    flex-direction: row; /* Сохраняем горизонтальное размещение элементов */
    justify-content: space-between;
    gap: 40px;
  }

  #rec848682098 .profit-calc__btn {
    box-sizing: border-box !important; /* Включает границы и отступы внутрь размеров */
    font-size: 28px; /* Уменьшаем немного кнопки */
    width: 45px;
    height: 45px;
    border-radius: 50% !important; /* Полный круг */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1 !important; /* Держит круглый вид */
  }

  #rec848682098 .profit-calc__value {
    font-size: 52px; /* Уменьшаем значение */
  }

  #rec848682098 .profit__calc-title {
    font-size: 18px; /* Меньше для среднего экрана */
      color: #fff;
  }
}

/* Для экранов до 959px */
@media screen and (max-width: 959px) {
  /* Стили для калькулятора и его элементов */
  #rec848682098 .profit__list {
    flex-direction: column;  /* Элементы идут в столбик */
    justify-content: center;
  }

  #rec848682098 .profit-calc__btn { 
    box-sizing: border-box !important; /* Включает границы и отступы внутрь размеров */
    font-size: 28px;  /* Уменьшаем кнопки */
    width: 45px;
    height: 45px;
    border-radius: 50% !important; /* Полный круг */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1 !important; /* Держит круглый вид */
  }

   #rec848682098 .profit-calc {
    gap: 0px;
  }

  #rec848682098 .profit-calc__value {
    font-size: 48px;  /* Меньше числа */
  }

  #rec848682098 .profit__calc-title {
    font-size: 18px;  /* Уменьшаем заголовки */
      color: #fff;
  }
  
    #rec848682098 .profit__img {
    width: 55px;
    height: 55px;
    }
}

/* Для экранов до 479px */
@media screen and (max-width: 479px) {
  /* Стили для калькулятора и его элементов */
  #rec848682098 .profit__list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;  /* Все элементы калькулятора выстраиваются в столбик */
    justify-content: center;
    gap: 20px;
    align-items: center;
  }

/* Стиль для каждого элемента */
#rec848682098 .profit__item {
        display: flex;
        gap: 10px !important;
        text-align: center;
        max-width: 130px;
        font-family: 'Source Code Pro' !important;
        flex-direction: column;
        align-items: center;
    }
    
    #rec848682098 .profit__img {
    width: 40px;
    height: 40px;
    }
  
  #rec848682098 .profit-calc {
    display: flex !important;
    gap: 20px !important;
    flex-direction: row !important;
    align-items: center;
}

  #rec848682098 .profit-calc__btn {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important; /* Делаем кнопку кругом */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important; /* Чтобы текст внутри не влиял */
    padding: 0 !important; /* Убираем внутренние отступы */
    box-sizing: border-box !important; /* Учитываем границы в размерах */
  }
  
   #rec848682098 .profit-calc {
    gap: 0px;
}

  #rec848682098 .profit-calc__value {
    font-size: 40px !important;  /* Еще меньше числа */
  }

  #rec848682098 .profit__calc-title {
    font-size: 10px;  /* Меньше заголовки */
      color: #fff;
  }
}
}

#rec848682098 .profit__img {
    width: 40px !important;
    height: 40px !important;
  }
    
#rec848682098 .profit-calc {
    display: flex !important;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
}

  #rec848682098 .profit-calc__btn {
    box-sizing: border-box !important; /* Включает границы и отступы внутрь размеров */
    font-size: 26px;  /* Уменьшаем кнопки */
    width: 40px;
    height: 40px;
    border-radius: 50% !important; /* Полный круг */
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1 !important; /* Держит круглый вид */
  }


  #rec848682098 .profit__calc-title {
    font-size: 16px;  /* Меньше заголовки */
      color: #fff;
  }
}


/* Контейнер калькулятора */
#rec848682098 .profit-calc {
    display: flex !important;
    justify-content: center !important;  /* Центрирует элементы по горизонтали */
    align-items: center !important;      /* Центрирует элементы по вертикали */
    gap: 10px !important;                /* Добавляет небольшой промежуток между кнопками и значением */
}

/* Кнопки +/- */
#rec848682098 .profit-calc__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 30px !important;
    width: 40px;  /* Фиксированная ширина */
    height: 40px;  /* Фиксированная высота */
    border-radius: 50% !important;  /* Делает кнопку круговой */
    border: 2px solid white !important; /* Белая обводка */
    background-color: #111111 !important; /* Фон кнопки */
    color: #FFD801 !important; /* Цвет текста */
    font-family: 'Source Code Pro' !important;
    cursor: pointer !important;
    transition: transform 0.2s, border-color 0.2s !important; /* Эффект при нажатии */
}

/* Значение */
#rec848682098 .profit-calc__value {
    color: #fec423 !important;
    font-size: 56px;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 120% !important;
    text-transform: uppercase !important;
}
