/* Children’s and education category page styles only. */
.children-page {
  --children-ink: #203b35;
  --children-muted: #667a75;
  --children-green: #78b90d;
  --children-gold: #f2b83e;
  color: var(--children-ink);
  background: #fff;
  font-family: "Open Sans", sans-serif;
}

.children-page h1,
.children-page h2,
.children-page h3 {
  font-family: "Raleway", sans-serif;
}

.children-hero {
  overflow: hidden;
  padding: 205px 0 64px;
  background: linear-gradient(118deg, #f5f8ed 0%, #fff9ed 58%, #eef7fb 100%);
}

.children-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #bd8320;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.children-eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--children-gold);
}

.children-hero h1 {
  margin: 0 0 18px;
  color: var(--children-ink);
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.children-lead {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--children-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.children-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.children-primary-link {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid #6eaa0b;
  border-radius: 999px;
  background: var(--children-green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.children-primary-link:hover,
.children-primary-link:focus-visible {
  transform: translateY(-2px);
  background: #639c05;
  color: #fff;
}

.children-secondary-link {
  color: #558408;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.children-secondary-link:hover {
  color: #345f00;
  text-decoration: underline;
}

.children-hero-art {
  position: relative;
  display: grid;
  min-height: 370px;
  place-items: center;
}

.children-hero-art::before {
  position: absolute;
  width: min(90%, 365px);
  aspect-ratio: 1;
  border: 1px solid rgba(106, 157, 59, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.12) 70%);
  content: "";
}

.children-hero-art img {
  position: relative;
  width: min(74%, 320px);
  aspect-ratio: 1;
  border: 8px solid rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  box-shadow: 0 24px 55px rgba(35, 64, 47, 0.2);
  object-fit: cover;
  transform: rotate(2deg);
}

.children-art-note {
  position: absolute;
  right: 0;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid #e9eee1;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 58, 49, 0.1);
  color: #526660;
  font-size: 0.8rem;
  font-weight: 600;
}

.children-art-note i {
  color: #e6a322;
}

.children-section-heading {
  max-width: 660px;
  margin-bottom: 30px;
}

.children-section-heading .children-eyebrow {
  margin-bottom: 8px;
}

.children-section-heading h2,
.children-feature-copy h2 {
  margin: 0 0 10px;
  color: var(--children-ink);
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.children-section-heading > p:last-child {
  margin: 0;
  color: var(--children-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.children-collection {
  padding: 12px 0 78px;
  background: #fbfcf8;
}

.children-collection .children-section-heading {
  margin-bottom: 28px;
}

.children-product-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid #e6ece3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 61, 49, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.children-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(31, 61, 49, 0.11);
}

.children-product-cover {
  position: relative;
  display: block;
  height: auto;
  aspect-ratio: 5 / 7;
  overflow: hidden;
  background: #f5f8ef;
}

.children-product-cover img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  transition: transform 220ms ease;
}

.children-product-card:hover .children-product-cover img { transform: none; }
.children-product-cover span { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border: 1px solid rgba(32, 59, 53, 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: #365049; font-size: 0.65rem; font-weight: 700; line-height: 1.1; }
.cover-learning img { object-position: center 18%; }
.cover-stories img { object-position: center 72%; }
.cover-science img { object-position: 85% 70%; }
.cover-nature img { object-position: 76% 84%; }
.cover-math img { object-position: 5% 74%; }
.cover-activity img { object-position: 50% 48%; }

.children-product-copy { padding: 20px 22px 22px; }
.children-product-copy > p:not(.children-product-description) { margin: 0 0 5px; color: var(--children-muted); font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; }
.children-product-copy h3 { min-height: 2.4em; margin: 0 0 13px; color: var(--children-ink); font-size: 1.15rem; font-weight: 750; line-height: 1.25; }
.children-product-copy h3.bengali-book-title { font-family: "Noto Sans Bengali", "Nirmala UI", "Vrinda", sans-serif; font-size: 1.08rem; font-weight: 700; line-height: 1.5; }
.children-product-description { min-height: 3.4em; margin: 0 0 12px; color: var(--children-muted); font-size: 0.78rem; line-height: 1.55; }
.children-product-copy a { display: inline-flex; align-items: center; gap: 8px; color: #679d10; font-size: 0.83rem; font-weight: 700; text-decoration: none; }
.children-product-copy a:hover { color: #436e06; }
.children-product-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.children-product-pricing { display: grid; grid-template-columns: 1fr; align-items: baseline; }
.children-product-stars { grid-column: 1 / -1; margin-bottom: 4px; color: #f2ae00; font-size: 1.05rem; letter-spacing: 1px; line-height: 1; }
.children-product-stars .children-empty-star { color: #d8dee1; }
.children-product-mrp { color: var(--children-muted); font-size: .73rem; }
.children-product-mrp del { color: #78858d; }
.children-product-price { color: var(--children-ink); font-size: 1rem; }
.children-product-copy a.children-view-book { min-height: 44px; flex: 0 0 auto; padding: 0 16px; border: 1px solid #f1a51a; border-radius: 999px; background: #fff; color: #69a900; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.children-product-copy a.children-view-book:hover,
.children-product-copy a.children-view-book:focus-visible { transform: translateY(-1px); border-color: #6eaa0b; background: var(--children-green); color: #fff; }
.children-product-copy a.children-view-book:hover { transform: translateY(-1px); border-color: #6eaa0b; background: var(--children-green); color: #fff; }
.children-product-copy a.children-view-book:focus-visible { outline: 3px solid rgba(112, 170, 24, 0.3); outline-offset: 3px; }

.children-feature {
  padding: 12px 0 80px;
}

.children-feature-card {
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  border: 1px solid #e5ece5;
  border-radius: 20px;
  background: #f8faf5;
}

.children-feature-image {
  display: grid;
  min-height: 390px;
  padding: 30px;
  place-items: center;
  background: linear-gradient(145deg, #ecf7e8, #fff4dc);
}

.children-feature-image img {
  display: block;
  width: min(100%, 330px);
  border: 7px solid #fff;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(35, 64, 47, 0.17);
}

.children-feature-copy {
  align-self: center;
  padding: 42px clamp(25px, 5vw, 62px);
}

.children-feature-copy .children-eyebrow {
  margin-bottom: 9px;
}

.children-feature-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.children-feature-summary {
  margin: 0 0 19px;
  color: var(--children-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.children-feature-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 25px;
  padding: 0;
  list-style: none;
}

.children-feature-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4f655b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.children-feature-copy li i {
  margin-top: 3px;
  color: #70aa18;
}

.children-discovery-note {
  padding: 34px 0;
  background: #f5f8ef;
}

.children-discovery-note .children-eyebrow {
  margin-bottom: 7px;
}

.children-discovery-note h2 {
  max-width: 670px;
  margin: 0 0 7px;
  color: var(--children-ink);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.children-discovery-note p:last-child {
  margin: 0;
  color: var(--children-muted);
  font-size: 0.86rem;
}

@media (max-width: 991.98px) {
  .children-hero {
    padding-top: 145px;
  }

  .children-hero-art {
    min-height: 320px;
  }

  .children-feature-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .children-feature-image {
    min-height: 350px;
    padding: 22px;
  }

  .children-feature-copy {
    padding: 30px;
  }
}

@media (max-width: 767.98px) {
  .children-hero {
    padding: 140px 0 42px;
  }

  .children-hero-art {
    max-width: 460px;
    min-height: 290px;
    margin: 0 auto;
  }

  .children-hero-art img {
    width: min(72%, 270px);
  }

  .children-collection { padding: 0 0 58px; }

  .children-feature {
    padding-bottom: 58px;
  }

  .children-feature-card {
    grid-template-columns: 1fr;
  }

  .children-feature-image {
    min-height: 0;
    padding: 24px;
  }

  .children-feature-image img {
    width: min(75%, 300px);
  }

  .children-feature-copy {
    padding: 28px;
  }

  .children-discovery-note .children-primary-link {
    align-self: flex-start;
  }
}

@media (max-width: 575.98px) {
  .children-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.1rem);
  }

  .children-lead {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .children-hero-art {
    min-height: 250px;
  }

  .children-hero-art img {
    width: min(70%, 240px);
  }

  .children-art-note {
    right: 0;
    bottom: 0;
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  .children-feature-copy {
    padding: 24px 20px;
  }

  .children-feature-copy .children-primary-link,
  .children-discovery-note .children-primary-link {
    width: 100%;
  }
}
