
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  /* overflow: hidden; */
  /* background: #c9e78a; */
}

.slider {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--brand);
}

.logo span { color: white; }

.header-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #ffffff66;
  padding: 12px 24px;
  border-radius: 30px;
}

.track {
  display: flex;
  width: 300%;
  height: 100%;
  position: relative;
}

.slide {
  width: 33.333333%;
  height: 100%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--brand);
}

.slide-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 21vw, 340px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -0.09em;
  color: #ffffff;
  white-space: nowrap;
  z-index: 1;
  opacity: 0.45;
}

.product {
  position: absolute;
  width: 190px;
  height: 440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product .pimage{
    max-height: 80vh;
}

.bottle {
  width: 150px;
  height: 370px;
  position: relative;
  border-radius: 35px 35px 27px 27px;
  background: linear-gradient(100deg, #ffffff55, transparent 25%, transparent 75%, #00000025),
              var(--liquid);
  box-shadow: 15px 25px 45px #00000035,
              inset 5px 0 12px #ffffff66;
  transform: rotate(-5deg);
}

.bottle::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 38px;
  top: -29px;
  left: 40px;
  background: #e9e9e9;
  border-radius: 9px 9px 3px 3px;
  box-shadow: inset 0 5px 5px #ffffff;
}

.bottle::after {
  content: "";
  position: absolute;
  width: 90px;
  height: 42px;
  top: -48px;
  left: 30px;
  background: #ffffff;
  border-radius: 7px;
  box-shadow: inset 0 -5px 4px #00000015;
}

.label {
  position: absolute;
  width: 100%;
  height: 180px;
  top: 95px;
  left: 0;
  background: var(--label);
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotate(0deg);
  box-shadow: 0 5px 12px #00000022;
}

.label small {
  font-size: 10px;
  letter-spacing: 4px;
  font-weight: 600;
}

.label strong {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.label span {
  font-size: 10px;
  margin-top: 12px;
  letter-spacing: 2px;
}

.product-info {
  position: absolute;
  left: 9%;
  bottom: 13%;
  z-index: 8;
  color: var(--brand);
  max-width: 300px;
}

.product-info h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.product-info p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #2229;
}

.explore {
  display: inline-block;
  margin-top: 24px;
  padding: 13px 25px;
  border-radius: 30px;
  background: var(--brand);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.fruit {
  position: absolute;
  z-index: 3;
  font-size: clamp(60px, 9vw, 140px);
  filter: drop-shadow(12px 20px 12px #00000030);
  user-select: none;
}
.fruit .fimage{
    max-width: 300px;
}

.f1 { left: 13%; top: 18%; }
.f2 { right: 13%; top: 20%; }
.f3 { left: 22%; bottom: 13%; }
.f4 { right: 17%; bottom: 12%; }

.navigation {
  position: absolute;
  z-index: 30;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.nav-btn {
  width: 65px;
  height: 65px;
  border: none;
  border-radius: 50%;
  background: white;
  color: var(--brand);
  font-size: 28px;
  cursor: pointer;
  transition: .3s;
  box-shadow: 0 0 0 0 var(--bg);
}

.nav-btn:hover {
  box-shadow: 0 0 0 12px #ffffff44;
  transform: scale(1.08);
}

.nav-btn:disabled {
  opacity: .3;
  cursor: default;
}

.counter {
  position: absolute;
  z-index: 20;
  right: 7%;
  bottom: 8%;
  color: var(--brand);
  font-weight: 800;
  font-size: 15px;
}

@media(max-width: 700px) {
  header { padding: 22px 6%; }
  .logo { font-size: 24px; }
  .product { transform: translate(-50%, -55%) scale(.8); }
  .product-info { left: 7%; bottom: 10%; }
  .product-info h2 { font-size: 29px; }
  .product-info p { max-width: 220px; font-size: 13px; }
  .navigation { right: 5%; top: 44%; gap: 12px; }
  .nav-btn { width: 46px; height: 46px; font-size: 20px; }
  .fruit { font-size: 65px; }
  .f1 { left: 5%; top: 22%; }
  .f2 { right: 5%; top: 25%; }
  .f3 { left: 5%; bottom: 34%; }
  .f4 { right: 5%; bottom: 35%; }
  .counter { right: 7%; bottom: 4%; }
}


