/* AeroGuard PDP Layout Specifics 
   Restores the dual-column grid and deep-purple hero branding.
*/

/* ── HERO SECTION ────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default: single column */
  min-height: 82vh;
  background: var(--purple-deep) !important; /* Original brand color */
  overflow: hidden;
  position: relative;
  padding-top: 72px; /* Offset for fixed nav */
}

/* Desktop: Restore two-column layout */
@media (min-width: 860px) {
  .hero { 
    grid-template-columns: 1fr 1fr; 
  }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(201,168,76,.07) 55%);
  pointer-events: none;
}

.hero__image-col {
  position: relative;
  overflow: hidden;
}

@media (max-width: 859px) {
  .hero__image-col {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: unset;
  }
  .hero__image-col img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

@media (min-width: 860px) {
  .hero__image-col {
    order: -1; /* desktop: product shot on the left */
  }
}

/* Mobile: when JS moves the image outside .hero, give it a proper height */
.hero__image-col--mobile-bottom {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero__image-col--mobile-bottom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: .93;
}

/* Image stacking and opacity */
.hero__image-col img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: .93;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 32px 48px; /* Mobile: reduced top padding */
  position: relative;
  z-index: 1;
}

@media (min-width: 860px) {
  .hero__content { 
    padding: 72px 64px 72px 56px; /* Original desktop padding */
  }
}

/* ── TYPOGRAPHY & DECORATION ─────────────────────────────── */
.hero__eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: white;
  line-height: 1.12;
  margin-bottom: 28px;
}

/* The Gold Divider */
.hero__divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
  border-radius: 2px;
}

.hero__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__price {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: white;
}

.hero__supply {
  font-size: .85rem;
  color: white;
  /* font-weight: 300; */
  letter-spacing: .03em;
}

.hero__desc{
  color: white;
  margin-bottom: 16px; 
  font-weight: 300;
}

/* ── FAQ / BOTTOM SECTION ─────────────────────────────── */
/* Ensure the answer is hidden by default */
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0;
}

/* Ensure the text is visible when open */
.faq__item.open .faq__answer {
  max-height: 500px; /* Large enough to fit the text */
  padding-bottom: 22px;
}

/* FAQ Question Container */
.faq__question{
  display: flex !important; 
  align-items: center; /* Vertically centers icon with text */
  justify-content: flex-start; /* Moves everything to the left */
  gap: 1.2rem; /* Spacing between icon and text */
  cursor: pointer;
  padding: 1.5rem 0;
  text-align: left;
  width: 100%;
  border: none;
  background: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--purple-deep);
}

/* Icon Styling (The + and -) */
.faq__question::before {
  content: '+'; /* Places icon BEFORE the text */
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0; /* Prevents icon from squishing */
  transition: transform 0.3s ease;
}

/* Change icon to - or rotate when active */
.faq__item.open .faq__question::before {
  content: '−';
  transform: rotate(180deg);
}

/* Remove the old ::after icon if you had one */
.faq__question::after {
  display: none;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  min-height: calc(82vh - 72px);
  background: var(--cream);
  align-items: center;
}

@media (min-width: 860px) {
  .bottom { 
    grid-template-columns: 1fr 1fr; /* Desktop default */
  }
}

.bottom__image-col {
  position: relative;
  overflow: hidden;
  align-self: stretch;
  min-height: 260px;
}

@media (min-width: 860px) {
  .bottom__image-col {
    order: -1; /* desktop: image on the left */
  }
}

.bottom__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottom__faq {
  padding: 40px 20px 48px; /* Mobile padding */
}

@media (min-width: 860px) {
  .bottom__faq { 
    padding: 72px 64px 72px 40px; /* Original desktop padding */
  }
}
/* ── SCIENCE SECTION ──────────────────────────────────────── */
.science {
  background: var(--cream);
  border-top: 5px solid var(--gold);
}

.science__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5.5rem;
  max-width: 1152px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

@media (min-width: 860px) {
  .science__inner {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 5rem 3rem 3rem;
    gap: 3.5rem;
  }
}

.science__col--images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  order: -1; /* images first on mobile */
}

@media (min-width: 860px) {
  .science__col--images {
    order: unset;
    max-height: 480px; /* cap to roughly match text column height */
  }
}

.science__img {
  width: 100%;
  border-radius: 3px;
  display: block;
  object-fit: cover;
  object-position: center;
  flex: 1;       /* each image splits the capped height equally */
  min-height: 0; /* allows flex children to shrink below content size */
}

/* On mobile, keep a reasonable fixed ratio */
@media (max-width: 859px) {
  .science__img {
    aspect-ratio: 4 / 3;
    flex: unset;
  }
}

.science__heading {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 1.2rem;
}

.science__body {
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.science__body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Science feature bar ── */
.science__bar {
  background: var(--purple-deep);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 860px) {
  .science__bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

.science__pill {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid rgba(228,199,127,0.12);
}

@media (min-width: 860px) {
  .science__pill {
    border-bottom: none;
    border-right: 1px solid rgba(228,199,127,0.12);
  }
  .science__pill:last-child {
    border-right: none;
  }
}

.science__pill-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-deep);
  background: var(--gold);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.science__pill-body {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.science__pill-body strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* ── REVIEWS SECTION ──────────────────────────────────────── */
.reviews {
  background: var(--cream);
  padding: 3rem 1.5rem 4rem;
  border-top: 5px solid var(--gold);
}

@media (min-width: 860px) {
  .reviews {
    padding: 5rem 3rem 6rem;
  }
}

.reviews__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--purple-deep);
  text-align: center;
  margin-bottom: 3rem;
}

.reviews__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.reviews__item {
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
}

.reviews__item:last-child {
  border-bottom: none;
}

.reviews__stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.reviews__text {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 0.6rem;
}

.reviews__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── REVIEWS SUMMARY ──────────────────────────────────────── */
.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.reviews__score {
  font-family: 'Raleway', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1;
}

.reviews__score-right {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.reviews__stars--large {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
}

.reviews__score-label {
  font-size: 0.75rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}