
:root {
  --lime: #a8dd2b;
  --lime-soft: #c8ef62;
  --deep: #060b05;
  --deep-2: #0b1208;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.67);
  --line: rgba(255, 255, 255, 0.17);
  --panel: rgba(10, 16, 8, 0.58);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.product-landing {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--deep);
}

.product-background,
.product-background__shade,
.product-background__glow,
.product-background__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-background__image {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.7s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-background__image.is-active {
  opacity: 1;
  transform: scale(1);
}

.product-background__shade {
  background:
    linear-gradient(90deg, rgba(3, 8, 3, 0.96) 0%, rgba(3, 8, 3, 0.84) 31%, rgba(3, 8, 3, 0.27) 58%, rgba(3, 8, 3, 0.64) 100%),
    linear-gradient(180deg, rgba(3, 8, 3, 0.18), rgba(3, 8, 3, 0.15) 46%, rgba(3, 8, 3, 0.88));
}

.product-background__glow {
  background:
    radial-gradient(circle at 75% 48%, rgba(157, 213, 35, 0.12), transparent 31%),
    radial-gradient(circle at 22% 74%, rgba(78, 125, 30, 0.11), transparent 30%);
}

.brand-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(100% - 72px, 1540px);
  margin-inline: auto;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
}

.brand img {
  width: clamp(122px, 10.5vw, 174px);
  height: auto;
}

.product-stage {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  width: min(100% - 72px, 1540px);
  min-height: calc(100svh - 110px);
  margin-inline: auto;
  padding: 18px 0 118px;
}

.product-selector {
  position: relative;
  display: grid;
  gap: 5px;
  align-self: center;
}

.product-selector__line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.product-selector__item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 66px;
  padding: 0 0 0 22px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.54);
  text-align: left;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.product-selector__item::before {
  position: absolute;
  left: 4px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  content: "";
  box-shadow: 0 0 0 0 rgba(168, 221, 43, 0);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.product-selector__item span {
  font-size: 1rem;
  font-weight: 650;
}

.product-selector__item strong {
  font-size: 0.96rem;
  font-weight: 620;
}

.product-selector__item.is-active {
  color: var(--white);
  transform: translateX(6px);
}

.product-selector__item.is-active span {
  color: var(--lime);
}

.product-selector__item.is-active::before {
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(168, 221, 43, 0.12);
}

.product-copy {
  position: relative;
  max-width: 770px;
  padding-top: 54px;
}

.product-watermark {
  position: absolute;
  top: -122px;
  left: -12px;
  z-index: -1;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(14rem, 22vw, 25rem);
  font-weight: 500;
  letter-spacing: -0.11em;
  line-height: 0.8;
  pointer-events: none;
}

.product-eyebrow,
.varieties-panel__title {
  margin: 0;
  color: var(--lime);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.product-copy h1 {
  margin: 14px 0 0;
  font-size: clamp(3.7rem, 6vw, 6.5rem);
  font-weight: 690;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.product-variety-line {
  margin: 19px 0 0;
  color: var(--lime);
  font-size: clamp(1rem, 1.55vw, 1.38rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-description {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  line-height: 1.7;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.product-tags span {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 43px;
  padding: 9px 15px;
  border: 1px solid rgba(168, 221, 43, 0.3);
  border-radius: 999px;
  background: rgba(8, 14, 7, 0.42);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 650;
  backdrop-filter: blur(8px);
}

.product-tags svg {
  width: 18px;
  fill: none;
  stroke: var(--lime);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.primary-cta {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  margin-top: 32px;
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime-soft), var(--lime));
  color: #111807;
  box-shadow:
    0 15px 34px rgba(119, 180, 14, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-size: 0.92rem;
  font-weight: 850;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.primary-cta:hover,
.primary-cta:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.varieties-panel {
  align-self: center;
  width: 100%;
}

.varieties-panel__title {
  margin-bottom: 18px;
}

.varieties-grid {
  display: grid;
  gap: 14px;
}

.varieties-grid.is-three {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(205px, 1.08fr) minmax(165px, 0.92fr);
}

.variety-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(168, 221, 43, 0.6);
  border-radius: 24px;
  background: rgba(6, 12, 5, 0.62);
  box-shadow:
    0 0 0 2px rgba(168, 221, 43, 0.15),
    0 22px 44px rgba(0, 0, 0, 0.28);
}

.varieties-grid.is-three .variety-card:first-child {
  grid-column: 1 / -1;
}

.variety-card img,
.variety-card__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.variety-card img {
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.variety-card__overlay {
  background: linear-gradient(180deg, rgba(4, 9, 3, 0.03), rgba(4, 9, 3, 0.76));
}

.variety-card:hover img {
  transform: scale(1.055);
}

.variety-card strong {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 17px;
  left: 20px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.variety-card i {
  position: absolute;
  z-index: 3;
  right: 17px;
  bottom: 17px;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--lime);
  border-radius: 50%;
  color: var(--lime);
  font-style: normal;
  font-weight: 800;
}

.variety-card strong {
  padding-right: 44px;
}

.carousel-controls {
  position: absolute;
  z-index: 8;
  bottom: 31px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.carousel-arrow {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(8, 14, 7, 0.38);
  cursor: pointer;
  backdrop-filter: blur(9px);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  border-color: var(--lime);
  background: rgba(168, 221, 43, 0.12);
  transform: translateY(-2px);
}

.carousel-arrow svg {
  width: 24px;
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.carousel-pagination {
  display: grid;
  min-width: 94px;
  justify-items: center;
  gap: 11px;
}

.carousel-pagination strong {
  color: var(--lime);
  font-size: 1.05rem;
}

.carousel-pagination > span {
  position: absolute;
  margin-left: 54px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.95rem;
  font-weight: 700;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.carousel-dots i.is-active {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(168, 221, 43, 0.11);
}

.interaction-hint {
  position: absolute;
  z-index: 7;
  right: 38px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
}

.interaction-hint svg {
  width: 25px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.64);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.is-changing .product-copy,
.is-changing .varieties-panel {
  opacity: 0;
  transform: translateY(14px);
}

.product-copy,
.varieties-panel {
  transition:
    opacity 0.32s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1180px) {
  .product-stage {
    grid-template-columns: 135px minmax(0, 1fr) 300px;
    gap: 30px;
  }

  .product-copy h1 {
    font-size: clamp(3.2rem, 5.2vw, 5.3rem);
  }

  .variety-card {
    min-height: 205px;
  }
}

@media (max-width: 900px) {
  .brand-header {
    width: min(100% - 38px, 1540px);
  }

  .product-stage {
    grid-template-columns: 112px 1fr;
    width: min(100% - 38px, 1540px);
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 150px;
  }

  .varieties-panel {
    grid-column: 1 / -1;
  }

  .varieties-grid,
  .varieties-grid.is-three {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 215px;
  }

  .varieties-grid .variety-card,
  .varieties-grid.is-three .variety-card:first-child {
    grid-column: auto;
  }

  .interaction-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-landing {
    min-height: auto;
  }

  .brand img {
    width: 112px;
  }

  .product-stage {
    grid-template-columns: 1fr;
    padding-top: 22px;
    padding-bottom: 128px;
  }

  .product-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    overflow-x: auto;
  }

  .product-selector__line {
    display: none;
  }

  .product-selector__item {
    grid-template-columns: 1fr;
    gap: 5px;
    justify-items: center;
    min-height: 58px;
    padding: 7px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    text-align: center;
  }

  .product-selector__item::before {
    display: none;
  }

  .product-selector__item.is-active {
    border-color: rgba(168, 221, 43, 0.58);
    background: rgba(168, 221, 43, 0.08);
    transform: none;
  }

  .product-selector__item span,
  .product-selector__item strong {
    font-size: 0.7rem;
  }

  .product-copy {
    padding-top: 26px;
  }

  .product-watermark {
    top: -20px;
    left: -5px;
    font-size: 10rem;
  }

  .product-copy h1 {
    font-size: clamp(2.9rem, 13vw, 4.3rem);
  }

  .product-tags {
    display: grid;
    grid-template-columns: 1fr;
  }

  .product-tags span {
    width: max-content;
  }

  .varieties-grid,
  .varieties-grid.is-three {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .variety-card {
    min-height: 220px;
  }

  .carousel-controls {
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
