/* Teenage routine landing — Figma 640:13351 */

.teen-landing-page {
  background: var(--color-bg, #fff);
}

.teen-landing-main {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 32px;
  max-width: 100%;
  overflow-x: clip;
}

.teen-landing-breadcrumb {
  padding-block: 16px 0;
}

.teen-landing-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
  color: #71717a;
  font-size: 14px;
  line-height: 20px;
}

.teen-landing-breadcrumb__list .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #a1a1aa;
}

.teen-landing-breadcrumb__list a {
  color: #71717a;
  text-decoration: none;
}

.teen-landing-breadcrumb__list a:hover {
  color: #09090b;
}

.teen-landing-breadcrumb__list .active {
  color: #09090b;
  font-weight: 600;
}

.teen-landing-breadcrumb__trail-icon {
  display: flex;
  align-items: center;
  margin-inline-end: 4px;
}

/* Hero — full static banner image (services-img-header.jpg) */
.teen-landing-hero {
  padding-block: 12px 20px;
}

.teen-landing-hero__banner--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-4xl, 32px);
  background: #f3c4d2;
  line-height: 0;
}

.teen-landing-hero__banner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2040 / 704;
  object-fit: cover;
  object-position: center;
}

.teen-landing-hero__banner-img--mobile-only {
  aspect-ratio: 516 / 548;
}

.teen-landing-hero__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* Intro */
.teen-landing-intro {
  position: relative;
  padding-block: 60px 40px;
  overflow-x: clip;
}

.teen-landing-intro__glow {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(1543px, 100%);
  height: 88px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #c2e1b7;
  filter: blur(117px);
  opacity: 0.55;
  pointer-events: none;
}

.teen-landing-intro__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.teen-landing-intro__title {
  margin: 0;
  color: #09090b;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
}

.teen-landing-intro__text-wrap {
  max-width: 1120px;
}

.teen-landing-intro__text {
  margin: 0;
  color: #27272a;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.teen-landing-intro__text--clamped {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.teen-landing-intro__toggle[hidden] {
  display: none;
}

.teen-landing-intro__toggle {
  margin-top: 8px;
}

/* Concerns — Figma 696:77582 */
.teen-landing-concerns {
  position: relative;
  padding-block: 60px 0;
  overflow-x: clip;
}

.teen-landing-concerns__glow {
  position: absolute;
  left: 50%;
  top: 51.5%;
  width: min(1543px, 100%);
  height: 42px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: #c2e1b7;
  filter: blur(117px);
  opacity: 0.45;
  pointer-events: none;
}

.teen-landing-concerns__title {
  margin: 0 0 12px;
  color: #09090b;
  font-size: 32px;
  font-weight: 800;
  line-height: 48px;
  text-align: center;
}

.teen-landing-concerns__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 282px));
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 32px 80px 0;
  list-style: none;
}

.teen-landing-concern-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  min-height: 293px;
  padding: 41px 25px 40px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.25s ease-in-out;
}

.teen-landing-concern-card:hover {
  box-shadow: 0 25px 25px rgba(50, 81, 39, 0.22);
}

.teen-landing-concern-card__icon {
  position: relative;
  flex-shrink: 0;
  width: 67px;
  height: 67px;
}

.teen-landing-concern-card__icon-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c2e1b7;
  filter: blur(22px);
}

.teen-landing-concern-card__icon img {
  position: relative;
  z-index: 1;
  margin: 14px auto 0;
  display: block;
}

.teen-landing-concern-card__copy {
  width: 100%;
  max-width: 232px;
}

.teen-landing-concern-card__copy h3 {
  margin: 0 auto 8px;
  max-width: 160px;
  color: #27272a;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.teen-landing-concern-card__copy p {
  margin: 0 auto;
  max-width: 207px;
  color: #71717a;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
}

/* Product shelf — همان product-shelf--plain صفحه اصلی */
.teen-landing-products-shelf {
  margin-top: 20px;
}

.teen-landing-page .teen-landing-products-shelf.product-shelf--plain {
  padding-block: 56px 24px;
}

.teen-landing-page .teen-landing-products-shelf .section-head .section-title {
  font-size: 32px;
  line-height: 48px;
}

/* شگفت‌انگیز — product-shelf--pink (مثل صفحه اصلی) */
.teen-landing-amazing-shelf {
  padding-bottom: 24px;
}

.teen-landing-page .teen-landing-amazing-shelf .product-shelf--pink {
  padding-block: 40px;
}

/* Green categorized shelf — Figma 640:13417 */
.teen-green-shelf-section {
  padding-block: 8px 24px;
}

.teen-green-shelf-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-4xl, 32px);
  background: var(--color-green-100, #eef5ea);
  padding: 40px;
}

.teen-green-shelf-card__glow {
  position: absolute;
  top: -115px;
  left: 50%;
  z-index: 0;
  width: min(981px, 72%);
  height: 140px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff;
  filter: blur(48px);
  opacity: 0.35;
  pointer-events: none;
}

.teen-green-shelf-card__head,
.teen-green-shelf-card__layout,
.teen-green-shelf-card__pagination {
  position: relative;
  z-index: 1;
}

.teen-green-shelf-card__head {
  margin-bottom: 20px;
}

.teen-green-shelf-card__view-all {
  gap: 8px;
  padding: 8px 12px;
  border: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 43, 0.04);
}

.teen-green-shelf-card__layout {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.teen-green-shelf-card__rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: stretch;
  min-height: 624px;
  padding-block: 98px 24px;
  border-radius: 16px 0 0 16px;
  background: var(--color-green-200, #c2e1b7);
}

.teen-green-shelf-card__rail-btn {
  border: 0;
  background: transparent;
  color: #27272a;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  padding: 10px 8px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  cursor: pointer;
  opacity: 0.65;
}

.teen-green-shelf-card__rail-btn.is-active {
  opacity: 1;
  font-weight: 800;
}

.teen-green-shelf-card__stage {
  min-width: 0;
  padding-block: 8px;
}

.teen-green-shelf-card__pagination {
  margin-top: 8px;
}

/* Usage guide — Figma 862:22782 */
.teen-landing-usage {
  padding-block: 32px 24px;
  overflow-x: clip;
}

.teen-landing-usage__shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-4xl, 32px);
  border: 1px solid rgba(194, 225, 183, 0.65);
  background: #f8fbf6;
  padding: 16px 38px 38px;
}

.teen-landing-usage__pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/bg-routine.jpg") center top / cover no-repeat;
  pointer-events: none;
}

.teen-landing-usage__title {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  text-align: right;
  font-size: 24px;
  font-weight: 600;
  line-height: 48px;
}

.teen-landing-usage__step-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
  padding: 33px;
  border: 1px solid rgba(194, 225, 183, 0.75);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.teen-landing-usage__step-card:last-child {
  margin-bottom: 0;
}

.teen-landing-usage__step-head {
  display: block;
}

.teen-landing-usage__step-copy {
  max-width: 823px;
  margin-inline-end: auto;
  text-align: right;
}

.teen-landing-usage__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-green-200, #c2e1b7);
  color: #27272a;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.teen-landing-usage__step-copy h3 {
  margin: 0 0 8px;
  color: #09090b;
  font-size: 28px;
  font-weight: 800;
  line-height: 36px;
}

.teen-landing-usage__step-copy p {
  margin: 0;
  color: #52525b;
  font-size: 16px;
  line-height: 24px;
}

.teen-landing-usage__step-shelf {
  min-height: 574px;
  overflow: hidden;
}

.teen-landing-usage__carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.teen-landing-usage__stage {
  position: relative;
  padding-block: 8px;
  min-width: 0;
}

.teen-landing-usage__stage .teen-landing-usage__swiper {
  overflow: hidden;
}

.teen-landing-usage__stage .teen-landing-usage__swiper .swiper-slide {
  width: 260px;
  height: auto;
}

@media (min-width: 992px) {
  .teen-landing-usage__stage .teen-landing-usage__swiper .swiper-slide {
    width: 356px;
  }
}

.teen-landing-usage__stage .product-card .product-media {
  background: rgba(94, 158, 73, 0.1);
}

.teen-landing-usage__stage .product-card--discounted .product-media::before {
  opacity: 0.12;
}

.teen-landing-usage__stage .swiper-nav-btn--float {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  box-shadow: 0 8px 24px rgba(15, 23, 43, 0.08);
}

.teen-landing-usage__stage .swiper-nav-btn--start {
  left: 32px;
}

.teen-landing-usage__stage .swiper-nav-btn--end {
  right: 32px;
}

.teen-landing-usage__stage .swiper-nav-btn--start img {
  transform: rotate(90deg);
}

.teen-landing-usage__stage .swiper-nav-btn--end img {
  transform: rotate(-90deg);
}

/* Mosaic + wide banner */
.teen-landing-mosaic {
  padding-block: 28px;
}

/* Desktop mosaic only when all 3 tiles exist; mobile stacks any uploaded tiles. */
@media (min-width: 992px) {
  .teen-landing-mosaic--incomplete {
    display: none;
  }
}

.teen-landing-mosaic__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.teen-landing-banner-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast, 0.2s ease);
}

.teen-landing-banner-link:hover {
  opacity: 0.92;
}

.teen-landing-banner-link:focus-visible {
  outline: 2px solid #5e9e49;
  outline-offset: 3px;
}

.teen-landing-mosaic__tile {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 432 / 385;
}

.teen-landing-mosaic__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teen-landing-wide-banner {
  padding-block: 28px;
}

.teen-landing-wide-banner__frame {
  overflow: hidden;
  border-radius: 24px;
  height: 600px;
}

.teen-landing-wide-banner__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teen-landing-page .articles .section-head--title-only {
  justify-content: flex-start;
}

/* FAQ — الگوی faq-box (مثل جزئیات محصول / Figma 641:15906) */
.teen-landing-faq {
  padding-block: 56px 40px;
}

.teen-landing-faq__head {
  margin-bottom: 24px;
}

.teen-landing-page .teen-landing-faq .section-head .section-title {
  margin: 0;
  color: #09090b;
  font-size: 32px;
  font-weight: 800;
  line-height: 48px;
}

.teen-landing-faq .faq-accordion .accordion-header {
  margin: 0;
  width: 100%;
}

.teen-landing-faq .faq-accordion .accordion-collapse {
  border: 0;
}

.teen-landing-faq__box {
  position: relative;
  overflow: hidden;
  padding: 48px 40px;
  border: 2px solid #e9f4e4;
  border-radius: 32px;
  background: #fff;
}

.teen-landing-faq__box::after {
  position: absolute;
  left: calc(50% + 8px);
  top: calc(50% - 0.5px);
  z-index: 0;
  width: min(982px, 120%);
  height: 671px;
  border-radius: 999px;
  background: #e9f4e4;
  filter: blur(117px);
  transform: translate(-50%, -50%);
  content: "";
  pointer-events: none;
}

.teen-landing-faq__box::before {
  position: absolute;
  inset: -55% -35%;
  z-index: 0;
  opacity: 0.55;
  background: url("../img/faq-pattern.svg") center / contain no-repeat;
  transform: rotate(154.1deg);
  content: "";
  pointer-events: none;
}

.teen-landing-faq .faq-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-padding-y: 0;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-active-color: #27272a;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-color: #27272a;
  position: relative;
  z-index: 1;
}

.teen-landing-faq .faq-list {
  display: grid;
  gap: 12px;
}

.teen-landing-faq .faq-accordion .accordion-item {
  padding: 0;
  border: 1px solid #e4e4e7;
  border-radius: 20px;
  background: #fff;
}

.teen-landing-faq .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: #c2e1b7;
  background: #f5faf3;
}

.teen-landing-faq .faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
  min-height: 48px;
  padding: 24px 30px;
  border: 0;
  color: #27272a;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: none;
}

.teen-landing-faq .faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) .accordion-button {
  padding-bottom: 0;
}

.teen-landing-faq .faq-accordion .accordion-button::after {
  display: none;
}

.teen-landing-faq .faq-accordion .accordion-button:not(.collapsed) {
  color: #27272a;
  background: transparent;
  box-shadow: none;
}

.teen-landing-faq .faq-question,
.teen-landing-faq .faq-toggle-icon {
  pointer-events: none;
}

.teen-landing-faq .faq-question {
  flex: 1;
  min-width: 0;
  text-align: right;
}

.teen-landing-faq .faq-toggle-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.teen-landing-faq .faq-accordion .accordion-body {
  padding: 16px 32px 24px;
}

.teen-landing-faq .faq-answer {
  margin: 0;
  color: #52525b;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: right;
}

/* CTA */
.teen-landing-cta {
  padding-block: 32px;
}

.teen-landing-cta__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  min-height: 332px;
  padding: 32px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f4faf1 0%, #eef5ea 100%);
}

.teen-landing-cta__visual {
  width: 100%;
  max-height: 395px;
  object-fit: contain;
  object-position: bottom center;
}

.teen-landing-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 602px;
  margin-inline-start: auto;
  text-align: right;
}

.teen-landing-cta__copy h2 {
  margin: 0;
  color: #09090b;
  font-size: 32px;
  font-weight: 800;
  line-height: 48px;
}

.teen-landing-cta__copy p {
  margin: 0;
  color: #52525b;
  font-size: 18px;
  line-height: 28px;
}

@media (max-width: 1199.98px) {
  .teen-landing-concerns__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 24px;
  }

  .teen-landing-concern-card {
    min-height: 0;
  }
}

@media (max-width: 991.98px) {
  .teen-landing-hero__banner--photo {
    border-radius: 24px;
  }

  .teen-landing-hero__banner-img--mobile {
    aspect-ratio: 516 / 548;
  }

  .teen-landing-concerns__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .teen-green-shelf-card {
    padding: 24px 16px;
  }

  .teen-green-shelf-card__layout {
    grid-template-columns: 1fr;
  }

  .teen-green-shelf-card__rail {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 12px;
    border-radius: 16px;
    writing-mode: horizontal-tb;
  }

  .teen-green-shelf-card__rail-btn {
    writing-mode: horizontal-tb;
    transform: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
  }

  .teen-landing-usage__shell {
    padding: 24px 16px;
  }

  .teen-landing-usage__step-card {
    padding: 20px 16px;
  }

  .teen-landing-usage__step-shelf {
    min-height: 0;
  }

  .teen-landing-faq__box {
    padding: 24px 16px;
  }

  .teen-landing-faq .faq-accordion .accordion-button {
    padding: 16px;
    font-size: 14px;
    line-height: 22px;
  }

  .teen-landing-faq .faq-accordion .accordion-body {
    padding: 12px 16px 16px;
  }

  .teen-landing-mosaic__grid {
    grid-template-columns: 1fr;
  }

  .teen-landing-wide-banner__frame {
    height: 240px;
  }

  .teen-landing-cta__card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .teen-landing-cta__copy {
    align-items: center;
    margin-inline: auto;
    text-align: center;
  }
}
