/* Premium Children & Kids Bundles Page Styles */

/* --- Variables & Reset --- */
:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --color-bg: #f5f5f4;
  --color-surface: #ffffff;
  --color-text-main: #111827;
  --color-text-muted: #4b5563;
  --color-accent: #d9a45a;
  --color-gold: #d97706;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

/* Hide header elements on desktop, show on mobile */
@media (min-width: 769px) {
  body.children-bundles-page .header-main,
  body.children-bundles-page .nav-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body.children-bundles-page .header-content {
    display: none !important;
  }
}

body {
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text-main);
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  margin-top: 0;
  line-height: 1.2;
}

.hero-content p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  overflow: visible;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -16px;
  margin-left: -16px;
  overflow: visible;
}

.align-items-center {
  margin-left: 56px;
  align-items: center;
}

.text-center {
  text-align: center;
}

/* Grid Helpers */
[class*="col-"] {
  padding: 0 16px;
  box-sizing: border-box;
}

.col-sm-12,
.col-md-6,
.col-md-12,
.col-lg-6 {
  width: 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* --- 1. Bundle Header Section (Title + Search) --- */
.bundle-header-section {
  padding: 35px 0 30px;
  background: linear-gradient(135deg, #c4893a 0%, #d9a45a 50%, #c4893a 100%);
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Doodle decorations on sides */
.doodle-decorations {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 250px;
  pointer-events: none;
  z-index: 0;
}

.doodle-decorations.left {
  left: 0;
}

.doodle-decorations.right {
  right: 0;
}

.doodle-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  color: rgba(255, 255, 255, 0.4);
  animation: floatDoodle 4s ease-in-out infinite;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.doodle-1 {
  animation-delay: 0s;
  width: 55px;
  height: 55px;
}
.doodle-2 {
  animation-delay: 0.5s;
  width: 45px;
  height: 50px;
}
.doodle-3 {
  animation-delay: 1s;
  width: 35px;
  height: 45px;
}
.doodle-4 {
  animation-delay: 0.3s;
  width: 50px;
  height: 50px;
}
.doodle-5 {
  animation-delay: 0.8s;
  width: 40px;
  height: 40px;
}
.doodle-6 {
  animation-delay: 1.2s;
  width: 45px;
  height: 35px;
}

@keyframes floatDoodle {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

.header-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.header-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-main-title {
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bundle-header-section .hero-search-wrapper.centered-search {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 9999;
}

.bundle-header-section .hero-search-input {
  background: #ffffff;
  border: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.bundle-header-section .hero-search-input:focus {
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.25),
    0 0 0 3px rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .page-main-title {
    font-size: 2rem;
  }

  .bundle-header-section {
    padding: 25px 0 20px;
  }

  .doodle-decorations {
    display: none;
  }

  .bundle-header-section .hero-search-wrapper.centered-search {
    max-width: 100%;
  }
}

/* --- Hero Image Section (displayed after Find Your Story section) --- */
.children-hero-section {
  padding: 35px 0 60px;
  background: var(--color-bg);
  position: relative;
  overflow: visible;
  z-index: 4;
}

.children-hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.05) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.hero-card {
  background: transparent;
  padding: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.children-hero-section .hero-content {
  padding-right: 30px;
  margin-top: 30px;
}

.children-hero-section .hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  color: #111827;
  line-height: 1.2;
}

.children-hero-section .hero-content p {
  font-size: 1rem;
  margin-bottom: 16px;
  max-width: 95%;
  line-height: 1.6;
  text-align: justify;
}

/* Premium Search Bar */
.hero-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 90%;
  margin-top: 40px;
  z-index: 2000;
  overflow: visible;
  margin-left: auto;
  margin-right: auto;
}

.hero-search-input {
  width: 100%;
  padding: 20px 60px 20px 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  color: var(--color-text-main);
  box-sizing: border-box;
}

.hero-search-input::placeholder {
  letter-spacing: 0.15em;
  color: #9ca3af;
}

.hero-search-input:focus {
  outline: none;
  box-shadow: var(--shadow-xl), 0 0 0 2px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.hero-search-wrapper .search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent);
  font-size: 1.2rem;
  pointer-events: none;
}

/* Search Results Dropdown */
#search_results {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  max-height: 480px;
  overflow-y: auto;
  display: none;
  width: 100%;
  padding: 12px 0;
  z-index: 99999;
}

#search_results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  margin: 4px 8px;
  border-radius: 8px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: #f3f4f6;
}

.search-result-item .search-thumb {
  width: 50px;
  height: 65px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-result-item .search-details {
  flex: 1;
  min-width: 0;
}

.search-result-item .search-details h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--color-accent);
  line-height: 1.3;
}

.search-result-item .search-details .search-author {
  font-size: 14px;
  color: #718096;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.search-result-item .search-details .search-price {
  font-size: 16px;
  font-weight: 700;
  color: #4299e1;
  margin: 0;
}

.no-results,
.search-loading {
  padding: 30px 20px;
  text-align: center;
  color: #718096;
  font-size: 15px;
}

.search-message {
  padding: 30px 20px;
  text-align: center;
  color: #2563eb;
  font-size: 15px;
  font-weight: 600;
}

.search-loading i {
  margin-right: 8px;
}

.children-hero-section .hero-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.children-hero-section .hero-img {
  max-width: 435px;
  width: 100%;
  height: auto;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.children-hero-section .hero-img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* --- 2. Find Your Next Great Story --- */
.find-story-section {
  margin-top: 15px;
  padding: 0;
  background: var(--color-bg);
  overflow: visible;
  position: relative;
  z-index: 1;
}

.story-card {
  background: var(--color-accent);
  border-radius: 0;
  position: relative;
  overflow: visible;
  box-shadow: none;
  border: none;
  color: #fff;
  margin: 0;
  display: block;
  z-index: 1;
  padding: 20px 0 20px 0;
}

.story-card::before,
.story-card::after {
  display: none;
}

.story-card:hover {
  transform: none;
  box-shadow: none;
}

.scallop-down {
  height: 50px;
  width: 100%;
  background: radial-gradient(circle at 50% 0, #d9a45a 12px, transparent 13px);
  background-size: 30px 30px;
  background-repeat: repeat-x;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.scallop-up {
  height: 30px;
  width: 100%;
  background: radial-gradient(
    circle at 50% 100%,
    #d9a45a 12px,
    transparent 13px
  );
  background-size: 30px 30px;
  background-repeat: repeat-x;
  margin: 0;
  padding: 0;
  display: block;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.story-content {
  position: relative;
  z-index: 1;
}

.story-content h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  color: #fff;
  line-height: 1.2;
  text-shadow: none;
  filter: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.story-content p {
  font-size: 1.125rem;
  color: #fff;
  line-height: 1.7;
  max-width: 100%;
  text-shadow: none;
  font-weight: 400;
  text-align: center;
}

.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-img {
  max-width: 90%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* --- 3. Bundle Listing Section --- */
.bundle-listing-section {
  padding: 50px 0;
  background: var(--color-bg);
}

/* Listing Header */
.listing-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
}

.listing-header-text {
  text-align: center;
}

.listing-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 5px;
  transition: all 0.3s ease;
}

.listing-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0;
}

.clear-filter-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  white-space: nowrap;
}

.clear-filter-btn:hover {
  background: #dc2626;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.clear-filter-btn i {
  font-size: 0.85rem;
  margin: 0;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .listing-header {
    flex-direction: column;
    gap: 15px;
  }

  .clear-filter-btn {
    position: static;
    transform: none;
  }
}

@media (max-width: 576px) {
  .listing-title {
    font-size: 1.6rem;
  }

  .listing-subtitle {
    font-size: 0.95rem;
  }

  .clear-filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

.section-title-wrapper {
  margin-bottom: 20px;
  text-align: left;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  border: none;
  position: relative;
}

.section-title::after {
  display: none;
}

.section-title-divider {
  width: 92%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 30px;
}

/* Grid Layout - CSS Grid System */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 65px 0;
  padding: 0 120px;
  align-items: stretch;
}

.col-bundle {
  display: flex;
  flex-direction: column;
}

/* Responsive Grid */
@media (max-width: 991px) {
  .bundle-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
    padding: 0 60px;
  }
}

@media (max-width: 767px) {
  .bundle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 55px 25px;
    padding: 0 40px;
  }
  .children-hero-section .hero-img {
    display: none;
  }
}

@media (max-width: 576px) {
  .bundle-grid {
    grid-template-columns: 2fr;
    gap: 55px;
    padding: 0 12px;
  }
  .bundle-card {
    border-radius: 1.1rem;
    box-shadow: var(--shadow-md);
  }
  .bundle-details {
    padding: 1rem 1.1rem 1.4rem;
  }
}

.bundle-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

/* Premium Card Design */
.bundle-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fc 100%);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.bundle-link:hover .bundle-card {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

.bundle-cover-wrapper {
  width: 100%;
  padding-top: 120%;
  position: relative;
  background: #f3f4f6;
  border-radius: 0.9rem 0.9rem 0 0;
  overflow: hidden;
}

/* Free Tag Overlay - positioned after col-bundle */
.free-tag-overlay {
  position: relative;
  padding: 5px 0;
  flex-shrink: 0;
}

.free-tag-img {
  width: 80px;
  height: 25px;
  display: block;
}

.bundle-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bundle-link:hover .bundle-cover {
  transform: scale(1.05);
}

.bundle-details {
  padding: 0.9rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bundle-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--color-text-main);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5rem;
}

.bundle-author {
  font-family: var(--font-body);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  margin-bottom: 0.4rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.2rem;
}

.bundle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.2rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #9ca3af;
}

.meta-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.isbn {
  font-size: 0.65rem;
  color: #9ca3af;
  margin-top: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price-section {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid #f3f4f6;
}

.list-price {
  text-decoration: line-through;
  color: #9ca3af;
  font-size: 0.77rem;
}

.current-price {
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 1.071rem;
  font-family: var(--font-body);
}

.current-price.free {
  color: var(--color-accent);
}

/* Pagination */
.pagination-wrapper {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0 16px;
  border: none;
  background-color: #f5f5f4;
  color: #111827;
  text-decoration: none;
  border-radius: 50%;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.pagination-btn:hover {
  background-color: #e5e5e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pagination-btn.active {
  background-color: #111827;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pagination-dots {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #9ca3af;
  font-weight: 600;
}

/* --- 4. Related Searches (Pills) --- */
.related-searches-section {
  padding: 50px 0;
  background: var(--color-bg);
}

.related-searches-section .section-title-wrapper {
  text-align: center;
  border: none;
}

.related-searches-section .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.related-searches-section .section-subtitle {
  font-size: 16px;
  color: #718096;
  margin: 0;
}

.related-searches-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.related-searches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.related-search-card {
  display: flex;
  align-items: center;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.related-search-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent);
}

.related-search-card.category-filter.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.related-search-card.category-filter.active .category-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.related-search-card.category-filter.active .category-title,
.related-search-card.category-filter.active .category-description {
  color: white;
}

.related-search-card.category-filter {
  cursor: pointer;
}

.category-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 12px;
  color: var(--color-accent);
  font-size: 20px;
  margin-right: 16px;
}

.category-content {
  flex: 1;
}

.category-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-main);
}

.category-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* --- 5. FAQs (Clean Accordion) --- */
.faqs-section {
  padding: 40px 0 60px;
  background: var(--color-bg);
}

.faqs-section .section-title-wrapper {
  text-align: center;
  border: none;
  margin-bottom: 25px;
}

.faqs-section .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.faqs-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.faqs-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.faq-card {
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

.faq-icon {
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.faq-question {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-text-main);
  font-weight: 600;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .children-hero-section {
    padding: 50px 0 60px;
  }
  .children-hero-section .hero-content h1 {
    font-size: 2.25rem;
  }
  .children-hero-section .hero-img {
    max-width: 250px;
  }
  .story-card {
    padding: 40px 10%;
  }
  .scallop-down,
  .scallop-up {
    height: 30px;
    background-size: 20px 20px;
  }
  .story-content h2 {
    font-size: 2rem;
  }
  .related-searches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faqs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .bundle-listing-section {
    padding: 40px 0;
  }
  .section-title-wrapper {
    margin-bottom: 30px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .story-content h2 {
    font-size: 1.75rem;
    text-align: center;
  }
  .story-content p {
    font-size: 0.95rem;
    text-align: center;
  }
  .story-img {
    max-width: 100%;
  }
  .story-card {
    padding: 40px 10%;
  }
  .scallop-down,
  .scallop-up {
    height: 20px;
  }
  .faqs-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .children-hero-section .row,
  .find-story-section .row {
    flex-direction: column;
  }
  .children-hero-section .hero-content,
  .story-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 30px;
  }
  .hero-search-wrapper {
    margin: 20px auto 0;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
  }
  .children-hero-section {
    padding: 30px 0 40px;
  }
  .children-hero-section::before {
    width: 300px;
    height: 300px;
  }
  .hero-card {
    padding: 0 10px;
  }
  .children-hero-section .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }
  .children-hero-section .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    max-width: 100%;
  }
  .children-hero-section .hero-image {
    margin-top: 20px;
    padding: 0 20px;
  }
  .children-hero-section .hero-img {
    max-width: 250px;
    margin-top: 20px;
    transform: none;
  }
  .children-hero-section .hero-img:hover {
    transform: scale(1.02);
  }
  .align-items-center {
    margin-left: 0;
  }
  .related-searches-grid {
    grid-template-columns: 1fr;
  }
  .story-card {
    padding: 30px 8%;
  }
  .story-content h2 {
    font-size: 1.5rem;
  }
  .scallop-down,
  .scallop-up {
    height: 17px;
    background-size: 18px 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .children-hero-section {
    padding: 20px 0 30px;
  }
  .children-hero-section .hero-content h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .children-hero-section .hero-content p {
    font-size: 0.85rem;
  }
  .hero-search-input {
    padding: 16px 50px 16px 20px;
    font-size: 0.9rem;
  }
  .hero-search-wrapper .search-icon {
    right: 16px;
    font-size: 1rem;
  }
  .bundle-listing-section {
    padding: 30px 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .story-content h2 {
    font-size: 1.5rem;
  }
  .story-img {
    max-width: 90%;
  }
  .faqs-grid {
    gap: 12px;
  }
  .faq-card {
    padding: 16px;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
}
