:root {
  --ink: #161817;
  --positiv: #f5ad00;
  --harmony: #accd00;
  --relax: #b64b98;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
}

button { font: inherit; }

.herbal-animation {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.herbal-orbit {
  position: relative;
  width: min(100%, 1060px);
  min-height: 720px;
  margin: 0 auto;
}

.orbit-ring {
  position: absolute;
  top: 60px;
  left: 50%;
  width: 660px;
  height: 660px;
  border: 2px solid rgba(22, 24, 23, .7);
  border-radius: 50%;
  transform: translateX(-50%);
}

.product {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  /*filter: drop-shadow(0 25px 23px rgba(13, 48, 39, .32));*/
  transition:
    left .85s cubic-bezier(.22,.8,.28,1),
    right .85s cubic-bezier(.22,.8,.28,1),
    top .85s cubic-bezier(.22,.8,.28,1),
    bottom .85s cubic-bezier(.22,.8,.28,1),
    width .85s cubic-bezier(.22,.8,.28,1),
    transform .85s cubic-bezier(.22,.8,.28,1),
    filter .85s ease;
  will-change: left, right, top, bottom, width, transform;
}

.product-left {
  z-index: 2;
  left: -1%;
  right: auto;
  top: auto;
  bottom: -18px;
  width: 39%;
  transform: rotate(-3deg) scale(1.2) translateY(-20px);
}

.product-top {
  z-index: 3;
  left: 50%;
  right: auto;
  top: 125px;
  bottom: auto;
  width: 40%;
  transform: scale(1.2) translateX(-45%);
}

.product-right {
  z-index: 2;
  left: auto;
  right: -1%;
  top: auto;
  bottom: -18px;
  width: 39%;
  transform: rotate(3deg) scale(1.2) translateY(-29px);
}

.product-center {
  z-index: 4;
  left: 50%;
  right: auto;
  top: 54%;
  bottom: auto;
  width: 49%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 34px 30px rgba(13, 48, 39, .42));
}
.product-left:hover,.product-right:hover {
  transform: rotate(0deg) scale(1.3) translateY(-30px);
}
.product-top:hover {
  transform: scale(1.3) translateX(-43%);
}
.time-button {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(22, 24, 23, .12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.time-button:hover,
.time-button:focus-visible {
  box-shadow: 0 12px 26px rgba(0, 0, 0, .15);
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.time-morning {
  top: 82px;
  left: 15%;
  border: 2px solid var(--positiv);
  color: #d88f00;
  background: #fff9e9;
}

.time-day {
  top: 32px;
  left: 50%;
  border: 2px solid var(--harmony);
  color: #83a000;
  background: #f8fce8;
  transform: translateX(-50%);
}

.time-evening {
  top: 82px;
  right: 15%;
  border: 2px solid var(--relax);
  color: #a63a89;
  background: #fff1fa;
}

.time-morning:hover,
.time-morning:focus-visible,
.time-evening:hover,
.time-evening:focus-visible { transform: translateY(-2px); }

.time-day:hover,
.time-day:focus-visible { transform: translate(-50%, -2px); }

.time-morning.is-active { background: var(--positiv); color: var(--ink); }
.time-day.is-active { background: var(--harmony); color: var(--ink); }
.time-evening.is-active { background: var(--relax); color: #fff; }

@media (max-width: 900px) {
  .herbal-orbit { min-height: 650px; }
  .orbit-ring { width: 590px; height: 590px; }
  .product-left { left: 3%; bottom: -8px; width: 34%; }
  .product-top { top: 122px; width: 35%; }
  .product-right { right: 3%; bottom: -8px; width: 34%; }
  .product-center { top: 53%; width: 45%; }
  .time-morning { left: 20%; }
  .time-evening { right: 20%; }
}

@media (max-width: 600px) {
  .herbal-orbit { min-height: 480px; }
  .orbit-ring {
    top: 44px;
    width: 440px;
    height: 440px;
  }
  .time-button {
    padding: 9px 11px;
    gap: 5px;
    font-size: 12px;
  }
  .time-morning { top: 54px; left: 3%; }
  .time-day { top: 24px; }
  .time-evening { top: 54px; right: 3%; }
  .product-left { left: -8%; bottom: -3px; width: 43%; }
  .product-top { top: 105px; width: 43%; }
  .product-right { right: -8%; bottom: -3px; width: 43%; }
  .product-center { top: 56%; width: 57%; }
}

@media (prefers-reduced-motion: reduce) {
  .product,
  .time-button { transition: none; }
}
