/* ═══════════════════════════════════════════
   HYDROGLASS PRODUCT PAGE — Referral Design
   ═══════════════════════════════════════════ */

/* ── Hero Section ── */
.hg-hero {
  position: relative;
  padding: 140px 0 60px;
  background: var(--cream);
  overflow: hidden;
}

.hg-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  opacity: .12;
  z-index: 0;
}

.hg-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hg-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hg-hero__left {
  padding-right: 10px;
}

.hg-hero__tag {
  font: 400 .72rem/1 var(--sans);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--earth);
  margin-bottom: 20px;
}

.hg-hero__title {
  font-size: 4.5rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: .95;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.hg-hero__subtitle {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.hg-hero__leaf {
  font-size: 1.2rem;
  color: var(--earth);
  margin-bottom: 14px;
}

.hg-hero__tagline {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Center: Intelligent Formula */
.hg-hero__center {
  border-left: 1px solid var(--sand);
  padding-left: 40px;
}

.hg-hero__center h3 {
  font-size: 1.3rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.hg-hero__center p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Right: Product + Badge */
.hg-hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-hero__bottle {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, .12));
  position: relative;
  z-index: 2;
}

.hg-hero__badge-circle {
  position: absolute;
  top: 20px;
  right: -10px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(250, 246, 240, .85);
  backdrop-filter: blur(8px);
  z-index: 3;
}

.hg-hero__badge-circle span {
  font: 400 .58rem/1.3 var(--sans);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
}

.badge-divider {
  width: 30px;
  height: 1px;
  background: var(--stone);
  margin: 6px 0;
}

/* ── Visible Benefits ── */
.hg-benefits {
  padding: 60px 0;
  background: var(--cream);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.hg-section-title {
  font-size: 1.3rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
  color: var(--charcoal);
}

.hg-benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.hg-benefit {
  padding: 16px 12px;
}

.hg-benefit__icon {
  font-size: 1.6rem;
  color: var(--stone);
  margin-bottom: 12px;
  line-height: 1;
}

.hg-benefit h5 {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--charcoal);
  line-height: 1.4;
}

.hg-benefit p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Botanical Ingredients — Glassmorphism Cards ── */
.hg-botanicals {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--sand) 0%, var(--warm) 50%, var(--blush) 100%);
  position: relative;
  overflow: hidden;
}

.hg-botanicals::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 168, 124, .08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(200, 185, 168, .06) 0%, transparent 50%);
  animation: shimmerBg 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes shimmerBg {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(3%, 2%);
  }
}

.hg-botanicals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hg-ingr {
  padding: 28px 18px 24px;
  background: rgba(255, 255, 255, .35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 16px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, .04),
    0 1px 0 rgba(255, 255, 255, .6) inset,
    0 -1px 0 rgba(0, 0, 0, .02) inset;
  transition: transform .5s cubic-bezier(.25, .8, .25, 1),
    box-shadow .5s cubic-bezier(.25, .8, .25, 1),
    border-color .4s ease;
  position: relative;
  overflow: hidden;
}

/* Mirror shimmer overlay on hover */
.hg-ingr::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg,
      transparent 20%,
      rgba(255, 255, 255, .3) 45%,
      rgba(255, 255, 255, .5) 50%,
      rgba(255, 255, 255, .3) 55%,
      transparent 80%);
  transition: left .8s ease;
  z-index: 0;
  pointer-events: none;
}

.hg-ingr:hover::before {
  left: 130%;
}

.hg-ingr:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, .08),
    0 8px 16px rgba(196, 168, 124, .12),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  border-color: rgba(196, 168, 124, .35);
}

.hg-ingr__img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2.5px solid rgba(196, 168, 124, .4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06), 0 0 0 4px rgba(255, 255, 255, .3);
  position: relative;
  z-index: 1;
  transition: border-color .4s ease, box-shadow .4s ease, transform .4s ease;
}

.hg-ingr:hover .hg-ingr__img {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(196, 168, 124, .2), 0 0 0 5px rgba(255, 255, 255, .5);
  transform: scale(1.05);
}

.hg-ingr__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.hg-ingr:hover .hg-ingr__img img {
  transform: scale(1.1);
}

.hg-ingr h5 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--charcoal);
  position: relative;
  z-index: 1;
}

.hg-ingr p {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

/* ── Cannabinoid Section ── */
.hg-canna {
  padding: 60px 0;
  background: var(--cream);
  border-top: 1px solid var(--sand);
}

.hg-canna__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.hg-canna__text h3 {
  font-size: 1.3rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hg-canna__text p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
}

.hg-canna__compounds {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hg-compound {
  padding: 24px;
  background: var(--sand);
  border-radius: 4px;
}

.hg-compound__icon {
  font-size: 1.2rem;
  color: var(--earth);
  margin-bottom: 8px;
}

.hg-compound h5 {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 8px;
}

.hg-compound p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}

.hg-canna__skintype {
  padding: 28px;
  background: var(--sand);
  border-radius: 4px;
  position: relative;
}

.hg-canna__skintype h4 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hg-skin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.hg-skin-tags span {
  padding: 5px 12px;
  border: 1px solid var(--stone);
  font: 300 .6rem/1 var(--sans);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.hg-canna__skintype>p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hg-canna__product {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .08));
}

/* ── How to Use ── */
.hg-howto {
  padding: 60px 0;
  background: var(--sand);
  border-top: 1px solid var(--warm);
}

.hg-howto__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.hg-howto__use h3 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hg-howto__ampm {
  display: flex;
  gap: 20px;
}

.hg-howto__time {
  flex: 1;
}

.hg-time-icon {
  font-size: 1.2rem;
  color: var(--stone);
  margin-bottom: 8px;
}

.hg-howto__time h5 {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.hg-howto__time p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}

.hg-howto__img {
  height: 280px;
  overflow: hidden;
  border-radius: 4px;
}

.hg-howto__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hg-howto__pair {
  padding: 28px;
  background: var(--cream);
  border-radius: 4px;
}

.hg-howto__pair h3 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hg-howto__pair p {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hg-howto__pair-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hg-howto__pair-img img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .08));
}

/* ── Trust Badges ── */
.hg-trust {
  padding: 50px 0;
  background: var(--cream);
  border-top: 1px solid var(--sand);
}

.hg-trust__row {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.hg-trust__badge {
  text-align: center;
  min-width: 100px;
}

.hg-trust__badge svg {
  color: var(--earth);
  margin-bottom: 10px;
}

.hg-trust__badge h5 {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hg-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hg-hero__right {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .hg-botanicals__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hg-canna__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hg-canna__skintype {
    grid-column: 1 / -1;
  }

  .hg-howto__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hg-howto__pair {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hg-hero__grid {
    grid-template-columns: 1fr;
  }

  .hg-hero__title {
    font-size: 3rem;
  }

  .hg-hero__subtitle {
    font-size: 1.8rem;
  }

  .hg-hero__center {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--sand);
    padding-top: 24px;
  }

  .hg-hero__badge-circle {
    position: static;
    margin: 20px auto 0;
  }

  .hg-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hg-botanicals__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .hg-ingr {
    padding: 20px 14px 18px;
  }

  .hg-canna__grid {
    grid-template-columns: 1fr;
  }

  .hg-howto__grid {
    grid-template-columns: 1fr;
  }

  .hg-howto__ampm {
    flex-direction: column;
  }

  .hg-trust__row {
    gap: 24px;
  }
}