/* === ИМПОРТ ШРИФТОВ === */
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/* === ГЛОБАЛЬНЫЕ СТИЛИ === */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column; /* На мобильных лучше вертикально */
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  background: #cebca6;
  /* Важно: предотвращаем горизонтальный скролл */
  position: fixed; 
  inset: 0;
}

/* === АДАПТИВНОСТЬ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ === */
/* Основной контейнер для всего контента */
.main-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Автоматическое масштабирование для всего сразу */
    transform-origin: center center;
}

/* Медиа-запрос для мобильных (портретная ориентация) */
@media screen and (max-width: 768px) {
  /* Перемещаем меню опций ВНИЗ под чашку, вместо вращения сбоку */
  .options {
    position: absolute !important;
    left: 50% !important;
    bottom: 20px !important; /* Отступ снизу экрана */
    top: auto !important;
    right: auto !important;
    
    /* Убираем вращение всего блока меню */
    transform: translateX(-50%) !important;
    translate: 0 0 !important;
    rotate: 0deg !important;
    
    /* Делаем список горизонтальным скроллом */
    width: 90vw !important;
    height: 60px !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 15px;
    padding: 5px !important;
  }

  /* Стили для кнопок внутри меню на мобильном */
  .options > div {
    position: relative !important; /* Возвращаем в поток */
    animation: none !important; /* Отключаем круговую анимацию */
    transform: none !important;
    rotate: 0deg !important;
    inset: auto !important;
    
    background: rgba(255, 255, 255, 0.5) !important;
    color: #462814 !important;
    margin: 0 5px !important;
    padding: 8px 15px !important;
    white-space: nowrap; /* Текст в одну строку */
    height: 40px;
    display: flex;
    align-items: center;
    border-radius: 8px !important;
    font-size: 14px !important;
  }

  /* Активное состояние или ховер на мобильном */
  .options > div:active, .options > div:hover {
    background: #fff !important;
    transform: scale(1.05) !important;
  }

  /* Поднимаем чашку выше, чтобы освободить место для меню */
  .wrapper {
    margin-bottom: 100px; 
    transform: scale(0.8); /* Чуть уменьшаем чашку */
  }
}

/* Медиа-запрос для ОЧЕНЬ маленьких экранов по высоте (landscape на телефоне) */
@media screen and (max-height: 500px) and (orientation: landscape) {
   body {
       transform: scale(0.6);
   }
}

/* Базовые стили для HTML и body */
html,
body {
  height: 100%;
  overflow: hidden; /* Предотвращаем прокрутку страницы */
}

/* Стили для body - центрируем контент */
body {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  font-family: Poppins; /* Используем импортированный шрифт */
  background: #cebca6; /* Кофейный цвет фона */
}
/* === АДАПТИВНОСТЬ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ === */
@media screen and (max-height: 500px) {
  body > * {
    scale: 0.8; /* Уменьшаем масштаб на средних экранах */
  }
}
@media screen and (max-height: 430px) {
  body > * {
    scale: 0.7; /* Еще больше уменьшаем на маленьких экранах */
  }
  .options {
    translate: 259px 2px !important; /* Корректируем позицию опций */
  }
}

/* === СТИЛИ ДЛЯ СПИСКА НАПИТКОВ === */
.options {
  position: relative;
  width: 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(0, 0, 0, 0.04); /* Полупрозрачный фон */
  padding: 12px;
}
/* Стили для отдельных опций напитков */
.options > div {
  transition: all 0.1s ease-in-out; /* Плавные переходы при наведении */
}

/* Эффект при наведении на опцию */
.options > div:hover {
  background: rgba(255, 255, 255, 1); /* Белый фон */
  cursor: pointer; /* Курсор указателя */
  font-size: 22px; /* Увеличенный шрифт */
  box-shadow: 0 0 2px 0px rgba(0, 0, 0, 0.2),
    0 0 3px 2px rgba(255, 255, 255, 0.1), 0 0 3px 0 rgba(0, 0, 0, 0.1); /* Тень */
  color: #462814be; /* Темно-коричневый цвет текста */
}

/* При наведении на контейнер опций останавливаем анимацию */
.options:hover > * {
  animation-play-state: paused; /* Пауза анимации вращения */
}

/* Позиционирование контейнера опций для создания круговой анимации */
.options {
  background: none; /* Убираем фон */
  height: fit-content;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0%;
  margin: auto;
  translate: 259px 12px; /* Смещение от центра */
  transform-origin: -157px 107%; /* Точка вращения */
  rotate: -100deg; /* Начальный угол поворота */
}

/* === АНИМАЦИЯ ВРАЩЕНИЯ ОПЦИЙ === */
/* Ключевые кадры для непрерывного вращения */
@keyframes rotateC {
  0% {
    rotate: 0deg; /* Начальная позиция */
  }
  100% {
    rotate: 360deg; /* Полный оборот */
  }
}
/* Стили для каждой отдельной опции напитка */
.options > div {
  --_speed: 4; /* Переменная для скорости анимации */
  color: #4628148e; /* Полупрозрачный коричневый цвет */
  position: absolute; /* Абсолютное позиционирование для кругового размещения */
  border-radius: 4px; /* Скругленные углы */
  background-color: rgba(255, 255, 255, 0.2); /* Полупрозрачный белый фон */
  transform-origin: -145px 50%; /* Точка вращения для каждой опции */
  padding: 4px 12px 1px 22px; /* Внутренние отступы */
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Запрещаем выделение текста */
  animation: rotateC calc(var(--_speed) * 36s) linear infinite; /* Анимация вращения */
}

/* === ЗАДЕРЖКИ АНИМАЦИИ ДЛЯ КАЖДОЙ ОПЦИИ === */
/* Каждая опция имеет разную задержку, чтобы создать эффект карусели */
.options > div:nth-child(1) {
  animation-delay: calc(var(--_speed) * -1s);
}
.options > div:nth-child(2) {
  animation-delay: calc(var(--_speed) * -2s);
}
.options > div:nth-child(3) {
  animation-delay: calc(var(--_speed) * -3s);
}
.options > div:nth-child(4) {
  animation-delay: calc(var(--_speed) * -4s);
}
.options > div:nth-child(5) {
  animation-delay: calc(var(--_speed) * -5s);
}
.options > div:nth-child(6) {
  animation-delay: calc(var(--_speed) * -6s);
}
.options > div:nth-child(7) {
  animation-delay: calc(var(--_speed) * -7s);
}
.options > div:nth-child(8) {
  animation-delay: calc(var(--_speed) * -8s);
}
.options > div:nth-child(9) {
  animation-delay: calc(var(--_speed) * -9s);
}
.options > div:nth-child(10) {
  animation-delay: calc(var(--_speed) * -10s);
}
.options > div:nth-child(11) {
  animation-delay: calc(var(--_speed) * -11s);
}
.options > div:nth-child(12) {
  animation-delay: calc(var(--_speed) * -12s);
}
.options > div:nth-child(13) {
  animation-delay: calc(var(--_speed) * -13s);
}
.options > div:nth-child(14) {
  animation-delay: calc(var(--_speed) * -14s);
}
.options > div:nth-child(15) {
  animation-delay: calc(var(--_speed) * -15s);
}
.options > div:nth-child(16) {
  animation-delay: calc(var(--_speed) * -16s);
}
.options > div:nth-child(17) {
  animation-delay: calc(var(--_speed) * -17s);
}
.options > div:nth-child(18) {
  animation-delay: calc(var(--_speed) * -18s);
}
.options > div:nth-child(19) {
  animation-delay: calc(var(--_speed) * -19s);
}
.options > div:nth-child(20) {
  animation-delay: calc(var(--_speed) * -20s);
}
.options > div:nth-child(21) {
  animation-delay: calc(var(--_speed) * -21s);
}
.options > div:nth-child(22) {
  animation-delay: calc(var(--_speed) * -22s);
}
.options > div:nth-child(23) {
  animation-delay: calc(var(--_speed) * -23s);
}
.options > div:nth-child(24) {
  animation-delay: calc(var(--_speed) * -24s);
}
.options > div:nth-child(25) {
  animation-delay: calc(var(--_speed) * -25s);
}
.options > div:nth-child(26) {
  animation-delay: calc(var(--_speed) * -26s);
}
.options > div:nth-child(27) {
  animation-delay: calc(var(--_speed) * -27s);
}
.options > div:nth-child(28) {
  animation-delay: calc(var(--_speed) * -28s);
}
.options > div:nth-child(29) {
  animation-delay: calc(var(--_speed) * -29s);
}
.options > div:nth-child(30) {
  animation-delay: calc(var(--_speed) * -30s);
}
.options > div:nth-child(31) {
  animation-delay: calc(var(--_speed) * -31s);
}
.options > div:nth-child(32) {
  animation-delay: calc(var(--_speed) * -32s);
}
.options > div:nth-child(33) {
  animation-delay: calc(var(--_speed) * -33s);
}
.options > div:nth-child(34) {
  animation-delay: calc(var(--_speed) * -34s);
}
.options > div:nth-child(35) {
  animation-delay: calc(var(--_speed) * -35s);
}

/* === СТИЛИ ДЛЯ КОНТЕЙНЕРА ЧАШКИ === */
.wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* Круглая форма */
  background-color: #9b8c83;
  /* Градиентный фон имитирующий деревянную поверхность */
  background: repeating-linear-gradient(
      45deg,
      #9c7154,
      #ffdfca 8px,
      #fff0 8px,
      #fff0 25px
    ),
    repeating-linear-gradient(
      -45deg,
      #7a5943,
      #ffcaa6 8px,
      #fff0 8px,
      #fff0 25px
    );
  background-color: #533723; /* Базовый цвет фона */
  /* Многослойные тени для создания объема */
  box-shadow: 0 0 1px 1px #7a665a, 0 0 4px 2px #9b8c83,
    inset 0 -630px 20px -500px #c59473, inset 0 -680px 40px -500px #9c7154,
    inset 0 -700px 0 -500px #775843;

  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none; /* Запрещаем выделение */
}
/* Тень под чашкой */
.shadow {
  position: absolute;
  top: 69.7%; /* Позиция относительно контейнера */
  left: 12%;
  width: 55%;
  height: 22px;
  border-radius: 50%; /* Круглая форма тени */
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.05); /* Внутренняя тень */
  /* Градиентный паттерн для текстуры тени */
  background: repeating-linear-gradient(
      -45deg,
      #0002,
      #0002 1px,
      #0000 1px,
      #0000 3px
    ),
    repeating-linear-gradient(45deg, #0002, #0002 1px, #0000 1px, #0000 3px);
}

/* Заголовок с названием напитка */
.title {
  height: fit-content;
  width: fit-content;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%; /* Позиция снизу */
  margin: auto;
  display: flex;
  color: rgb(255, 255, 255); /* Белый цвет текста */
  text-align: center;
  font-size: 20px;
  /* Тени для лучшей читаемости */
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.5), 0 0px 1px rgba(0, 0, 0, 0.7);
}

/* Основной элемент чашки */
.cup {
  width: 160px;
  height: 162px;
  position: relative; /* Для позиционирования внутренних элементов */
}
/* Содержимое чашки - слои напитка */
.contents {
  height: 100%;
  display: flex;
  flex-direction: column; /* Вертикальное расположение слоев */
  justify-content: end; /* Слои растут снизу вверх */
  background: rgba(247, 247, 247, 0.9); /* Полупрозрачный белый фон */
  /* Clip-path создает форму чашки */
  clip-path: path(
    'm 0 0 q 4.59 145.8 34.425 155.52 c 29.835 8.1 68.85 8.1 96.39 0 q 29.835 -9.72 29.835 -155.52 C 143 11 16 13 0 0 Z'
  );
}

/* Декоративные тени внутри чашки для создания объема */
.contents::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Поверх всех слоев */
  /* Многослойные внутренние тени */
  box-shadow: inset -18px 0px 4px -10px rgba(255, 255, 255, 0.7),
    inset 42px -22px 12px -10px rgba(0, 0, 0, 0.03),
    inset 0 -22px 12px -10px rgba(0, 0, 0, 0.2),
    inset 20px 0 10px -10px rgba(0, 0, 0, 0.2);
}
.cup::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 2;
  top: -10px;
  width: 100%;
  height: 20px;
  background: linear-gradient(
    63deg,
    rgba(253, 253, 253, 0.7) 9%,
    rgba(238, 238, 238, 0.7) 100%
  );
  border-radius: 50%;
  box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.05),
    inset 0 0 1px 2px rgba(0, 0, 0, 0.05);
}
.cup::after {
  content: '';
  background: #fff;
  width: 0%;
  height: 0%;
  scale: 1.15 0.7;
  transform-origin: 0% 0%;
  z-index: 1;
  position: absolute;
  top: 0;
}

/* === ОБЩИЕ СТИЛИ ДЛЯ ВСЕХ ИНГРЕДИЕНТОВ === */
/* Применяется ко всем слоям напитка */
.contents
  :is(
    .foam,
    .cream,
    .steamed-milk,
    .milk,
    .chocolate,
    .sugar,
    .whiskey,
    .water,
    .gelato,
    .espresso,
    .coffee
  ) {
  width: 100%; /* Полная ширина чашки */
  height: 0px; /* Начальная высота 0 - слои скрыты */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Скрываем содержимое за пределами */
  border-radius: 50% / 20%; /* Скругленная форма */
  font-size: 12px;
  transition: all 1s ease-in-out; /* Плавные переходы при изменении */
  opacity: 0.94; /* Полупрозрачность */
  position: relative;
  margin-top: 0;
  padding-top: 0;
  color: rgba(0, 0, 0, 0); /* Прозрачный текст по умолчанию */
  margin: 0 auto;
}
/* Декоративные элементы для каждого ингредиента (блестки/блики) */
.contents
  :is(
    .foam,
    .cream,
    .steamed-milk,
    .milk,
    .chocolate,
    .sugar,
    .whiskey,
    .water,
    .espresso,
    .coffee
  )::before {
  content: '';
  display: block;
  width: 100%;
  height: 26px; /* Высота блика */
  border-radius: 50%; /* Круглая форма блика */
  position: absolute;
  top: -10%; /* Позиция над слоем */
  transition: all 1s ease-in-out; /* Плавные переходы */
  opacity: 0.1; /* Полупрозрачность */
  background: white; /* Белый цвет блика */
  z-index: inherit;
}

/* Специальные блики для молочных продуктов */
.contents :is(.foam, .cream, .steamed-milk, .milk)::before {
  background: rgb(141, 141, 141); /* Серый цвет для молочных бликов */
}

/* === ЦВЕТА И Z-INDEX ДЛЯ КАЖДОГО ИНГРЕДИЕНТА === */
/* Высокий z-index означает, что слой находится выше в чашке */

/* Молочная пена - самый верхний слой */
.contents .foam {
  background: #ffffff; /* Белый цвет */
  z-index: 12;
}

/* Сливки */
.contents .cream {
  background: #fffbe7; /* Кремовый цвет */
  z-index: 11;
}

/* Парное молоко */
.contents .steamed-milk {
  background: #fffcf8; /* Светло-кремовый */
  z-index: 10;
}

/* Обычное молоко */
.contents .milk {
  background: #f8f2e8; /* Молочный цвет */
  z-index: 9;
}

/* Шоколад */
.contents .chocolate {
  background: #47260a; /* Темно-коричневый */
  z-index: 8;
}

/* Сахар */
.contents .sugar {
  background: #ffffff; /* Белый */
  z-index: 7;
}

/* Виски */
.contents .whiskey {
  background: rgba(207, 129, 39, 0.8); /* Полупрозрачный янтарный */
  color: #fff; /* Белый текст */
  z-index: 6;
}

/* Вода */
.contents .water {
  background: #e5f7ff; /* Светло-голубой */
  z-index: 5;
}

/* Кофе */
.contents .coffee {
  background: #5a341a; /* Кофейный цвет */
  z-index: 4;
}

/* Мороженое */
.contents .gelato {
  background: #fcf9ea; /* Кремовый */
  z-index: 4;
}

/* Эспрессо - самый нижний слой */
.contents .espresso {
  background: #462814; /* Темный кофе */
  z-index: 3;
}
.contents .espresso span {
  display: none;
}

/* === СПЕЦИФИЧЕСКИЕ СТИЛИ ДЛЯ КАЖДОГО НАПИТКА === */

/* Black Coffee - черный кофе */
.black .coffee {
  height: 90%; /* Занимает почти всю чашку */
  border-radius: 50% / 10%; /* Скругленная форма */
  padding-top: 0px;
  color: rgba(255, 255, 255, 1); /* Белый текст */
}
.black .coffee::before {
  opacity: 0.1; /* Полупрозрачный блик */
  background: white;
  top: 0%; /* Блик сверху */
}

/* Latte - классический латте */
.latte .espresso {
  color: rgba(255, 255, 255, 1); /* Белый текст */
  height: 30%; /* Эспрессо занимает 30% */
  padding-top: 12px;
  margin-top: -20px; /* Поднимаем слой выше */
}
.latte .steamed-milk {
  color: rgba(0, 0, 0, 1); /* Черный текст */
  height: 60%; /* Парное молоко занимает 60% */
  margin-top: -20px;
  padding-top: 12px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3); /* Разделительная линия */
}
.latte .foam {
  color: rgba(0, 0, 0, 1); /* Черный текст */
  height: 24%; /* Пена занимает 24% */
  padding-top: 22px;
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5); /* Нижняя граница */
  border-top: 1px dashed rgba(75, 75, 75, 0.3); /* Верхняя граница */
}
.latte .foam::before {
  background: #faf8f5; /* Светло-кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1; /* Полностью видимый блик */
}

/* Flat White - плоский белый */
.flat-white .espresso {
  color: rgba(255, 255, 255, 1);
  height: 40%; /* Эспрессо занимает 40% */
  margin-top: -21px;
  padding-top: 20px;
}
.flat-white .espresso::before {
  background: none; /* Без блика */
}
.flat-white .steamed-milk {
  color: rgba(0, 0, 0, 1);
  height: 40%; /* Молоко занимает 40% */
  margin-top: -20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3); /* Разделительная линия */
}
.flat-white .steamed-milk::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1; /* Видимый блик */
}

/* Cappuccino - капучино */
.cappuccino .espresso {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Эспрессо 30% */
  margin-top: -20px;
  padding-top: 20px;
}
.cappuccino .espresso::before {
  top: -33%; /* Блик выше */
}
.cappuccino .steamed-milk {
  color: rgba(0, 0, 0, 1);
  height: 30%; /* Молоко 30% */
  margin-top: -20px;
  padding-top: 20px;
}
.cappuccino .foam {
  color: rgba(0, 0, 0, 1);
  height: 40%; /* Пена 40% - самая большая часть */
  padding-top: 20px;
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.cappuccino .foam::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}

/* Americano - американо */
.americano .water {
  color: rgba(0, 0, 0, 1);
  height: 60%; /* Вода занимает 60% */
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.americano .water::before {
  background: #eff9fd; /* Светло-голубой блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
  top: 0; /* Блик сверху */
}
.americano .espresso {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Эспрессо 30% */
  margin-top: -20px;
  padding-top: 20px;
}

/* Espresso - чистый эспрессо */
.cup.espresso .espresso {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Только эспрессо */
  margin-top: -20px;
  padding-top: 20px;
}
.cup.espresso .espresso::before {
  background: #9e4a12; /* Темно-коричневый блик */
  opacity: 0.4; /* Полупрозрачный */
}

/* Doppio - двойной эспрессо */
.doppio .espresso {
  color: rgba(255, 255, 255, 1);
  height: 40%; /* Больше чем обычный эспрессо */
  padding-top: 10px;
}
.doppio .espresso::before {
  background: #9e4a12; /* Темно-коричневый блик */
  opacity: 0.4;
}
.doppio .espresso span {
  display: contents; /* Показываем текст "(2) espresso" */
}

/* Cortado - кортадо */
.cortado .steamed-milk {
  color: rgba(0, 0, 0, 1);
  height: 30%; /* Равные части */
  margin-top: -20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.cortado .steamed-milk::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.cortado .espresso {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Равные части */
  margin-top: -20px;
  padding-top: 20px;
}

/* Macchiato - маккиато */
.macchiato .foam::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.macchiato .foam {
  color: rgba(0, 0, 0, 1);
  height: 30%; /* Пена сверху */
  margin-top: -20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.macchiato .espresso {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Эспрессо снизу */
  margin-top: -20px;
  padding-top: 20px;
}

/* Mocha - мокко */
.mocha .steamed-milk {
  color: rgba(0, 0, 0, 1);
  height: 40%; /* Молоко 40% */
  margin-top: -20px;
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.mocha .steamed-milk::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.mocha .chocolate {
  color: rgba(255, 255, 255, 1);
  height: 25%; /* Шоколад 25% */
  margin-top: -20px;
  padding-top: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}
.mocha .espresso {
  color: rgba(255, 255, 255, 1);
  height: 40%; /* Эспрессо 40% */
  margin-top: -21px;
  padding-top: 20px;
}
.mocha .espresso::before {
  background: none; /* Без блика */
}

/* Affogato - аффогато */
.affogato .gelato {
  opacity: 1; /* Полностью видимое */
  color: rgba(0, 0, 0, 1);
  height: 30%; /* Мороженое 30% */
  padding-top: 10px;
  width: 60%; /* Уже чем обычно */
  border-radius: 100% 100% 50% 50%; /* Куполообразная форма */
  border: 1px dashed rgba(75, 75, 75, 0.5);
  border-bottom: none; /* Без нижней границы */
}
.affogato .espresso {
  margin-top: -16px; /* Накладывается на мороженое */
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Эспрессо 30% */
  padding-top: 10px;
}
.affogato .espresso::before {
  background: #9e4a12; /* Темно-коричневый блик */
  opacity: 0.4;
}

/* Con Panna - эспрессо со сливками */
.con-panna .cream {
  color: rgba(0, 0, 0, 1);
  height: 24%; /* Сливки сверху */
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.con-panna .cream::before {
  background: #fcf9ea; /* Светло-кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.con-panna .espresso {
  margin-top: -16px;
  color: rgba(255, 255, 255, 1);
  height: 40%; /* Эспрессо занимает больше места */
  padding-top: 10px;
}
.con-panna .espresso::before {
  opacity: 0; /* Без блика */
}

/* Cafe Au Lait - кофе с молоком */
.cafe-au-lait .steamed-milk {
  color: rgba(0, 0, 0, 1);
  height: 50%; /* Равные части молока и кофе */
  padding-top: 10px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.cafe-au-lait .steamed-milk::before {
  background: #faf8f5; /* Кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.cafe-au-lait .coffee {
  margin-top: -16px;
  color: rgba(255, 255, 255, 1);
  height: 50%; /* Равные части */
  padding-top: 10px;
}

/* Irish - ирландский кофе */
.irish .cream {
  color: rgba(0, 0, 0, 1);
  height: 24%; /* Сливки сверху */
  padding-top: 20px;
  border-top: 1px dashed rgba(75, 75, 75, 0.3);
}
.irish .cream::before {
  background: #fcf9ea; /* Светло-кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.irish .sugar {
  color: rgba(0, 0, 0, 1);
  height: 22%; /* Сахар */
  margin-top: -18px;
  padding-top: 20px;
}
.irish .sugar::before {
  background: #fcf9ea; /* Светло-кремовый блик */
  border-bottom: 1px dashed rgba(75, 75, 75, 0.5);
  opacity: 1;
}
.irish .whiskey {
  color: rgba(255, 255, 255, 1);
  height: 30%; /* Виски */
  margin-top: -18px;
  padding-top: 10px;
}
.irish .coffee {
  margin-top: -18px;
  color: rgba(255, 255, 255, 1);
  height: 40%; /* Кофе в основании */
  padding-top: 10px;
}
.irish .coffee::before {
  opacity: 0; /* Без блика */
}
