:root {
  --sky: #A07D54;
  --sky-deep: #5D5646;
  --palm: #3E5974;
  --palm-deep: #2c4258;
  --palm-light: #DFD4C3;
  --sand: #EEEAE2;
  --sand-dark: #E4D9C4;
  --ink: #4D4C4B;
  --coral: #8a6a45;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background: var(--sand); color: var(--ink); overflow-x: hidden; }
h1, h2, h3, .display { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; }
a { color: inherit; }

/* HEADER */
header { background: var(--sky-deep); color: white; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 24px; gap: 20px; }
.logo-link { display: flex; align-items: center; }
.logo-link img { height: 52px; width: auto; display: block; }
nav.textnav { display: flex; gap: 24px; font-weight: 700; font-size: 0.92rem; flex-wrap: wrap; }
nav.textnav a { color: white; text-decoration: none; opacity: 0.9; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.textnav a:hover, nav.textnav a.active { opacity: 1; color: var(--palm-light); border-bottom-color: var(--palm-light); }
.cart-btn { background: var(--palm); color: white; border: none; padding: 9px 18px; border-radius: 999px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 0.9rem; cursor: pointer; white-space: nowrap; }

/* ICON NAV */
.icon-nav { background: var(--palm-light); border-bottom: 4px dashed var(--sky-deep); }
.icon-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; gap: 8px; padding: 14px 12px; flex-wrap: wrap; }
.icon-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; background: white; border: 3px solid var(--sky-deep); border-radius: 20px; padding: 9px 16px; cursor: pointer; transition: transform 0.15s; text-decoration: none; min-width: 88px; }
.icon-btn:hover { transform: translateY(-4px) rotate(-1deg); }
.icon-btn.active { background: var(--sky-deep); }
.icon-btn.active .label { color: white; }
.icon-btn .emoji { font-size: 1.7rem; }
.icon-btn .label { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 0.76rem; color: var(--sky-deep); text-align: center; }

/* PAGE HERO (non-home pages) */
.page-hero { background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%); padding: 44px 24px; text-align: center; color: white; }
.page-hero .eyebrow { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; color: var(--palm-light); letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 8px; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* HOME HERO */
.hero { position: relative; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%); padding: 50px 24px 0; overflow: hidden; }
.hero-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-inner .eyebrow { color: var(--palm-light); font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.hero-inner h1 { color: white; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.2); }
.hero-inner h1 .hi { color: var(--palm-light); }
.hero-inner p.sub { color: white; opacity: 0.92; font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; font-weight: 600; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; flex-wrap: wrap; }
.btn-primary { background: var(--palm); color: white; border: none; padding: 14px 30px; border-radius: 999px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 6px 0 var(--palm-deep); text-decoration: none; display: inline-block; }
.btn-secondary { background: rgba(255,255,255,0.15); color: white; border: 2px solid white; padding: 12px 28px; border-radius: 999px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; display: inline-block; }
.hero-art { width: 100%; max-width: 780px; margin: 0 auto; display: block; border-radius: 20px 20px 0 0; }
.hero-glow { position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; background: var(--palm-light); border-radius: 50%; opacity: 0.35; z-index: 1; }

/* SECTIONS */
.section { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-head .eyebrow { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; color: var(--palm-deep); letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--sky-deep); margin-top: 6px; }
.section-foot { text-align: center; margin-top: 30px; }

/* BOOK CARDS */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; max-width: 950px; margin: 0 auto; }
.book-card { text-align: center; text-decoration: none; color: inherit; display: block; }
.book-cover { width: 100%; aspect-ratio: 5/7.24; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 30px rgba(28,143,174,0.25); transition: transform 0.2s; display: block; margin-bottom: 14px; }
.book-cover:hover { transform: translateY(-6px) scale(1.02); }
.book-card.placeholder .book-cover { background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%); display: flex; align-items: center; justify-content: center; color: white; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 1.05rem; padding: 18px; text-align: center; }
.book-card h3 { color: var(--sky-deep); font-size: 1.1rem; margin-bottom: 4px; }
.book-card .price { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 800; color: var(--palm-deep); font-size: 0.98rem; display: block; margin-bottom: 8px; }
.buy-btn { background: var(--sky-deep); color: white; border: none; padding: 9px 22px; border-radius: 999px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.buy-btn:hover { background: var(--palm); }

/* JOURNEY */
.journey { background: var(--sky-deep); color: white; }
.journey .section-head .eyebrow { color: var(--palm-light); }
.journey .section-head h2 { color: white; }
.route { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; padding: 20px 0; flex-wrap: wrap; gap: 20px; }
.route::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 3px; background: repeating-linear-gradient(90deg, var(--palm-light) 0 10px, transparent 10px 20px); transform: translateY(-50%); z-index: 0; }
.stop { background: var(--palm-light); color: var(--ink); border-radius: 50%; width: 88px; height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 800; font-size: 0.7rem; position: relative; z-index: 1; border: 4px solid white; text-decoration: none; }
.stop.next { background: var(--coral); color: white; width: 98px; height: 98px; font-size: 0.76rem; }
.stop .emoji { font-size: 1.4rem; margin-bottom: 2px; }

/* KIDS ZONE */
.kidszone { background: var(--palm-light); }
.kidszone .section-head .eyebrow { color: var(--palm-deep); }
.zone-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.zone-card { background: white; border-radius: 20px; padding: 26px 22px; text-align: center; border: 4px solid var(--sky-deep); box-shadow: 6px 6px 0 var(--sky-deep); }
.zone-card .emoji { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.zone-card h3 { color: var(--sky-deep); font-size: 1.25rem; margin-bottom: 8px; }
.zone-card p { font-size: 0.9rem; color: #5a5142; margin-bottom: 16px; }
.zone-btn { background: var(--palm); color: white; border: none; padding: 10px 22px; border-radius: 999px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; cursor: pointer; }
.coloring-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-top: 30px; }
.coloring-card { background: white; border: 3px dashed var(--sky-deep); border-radius: 14px; padding: 24px 14px; text-align: center; }
.coloring-card .emoji { font-size: 2.2rem; }
.coloring-card p { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; color: var(--sky-deep); margin: 8px 0 12px; font-size: 0.9rem; }

/* PACKING */
.packing { background: var(--palm-light); }
.packing-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.packing-img { width: 100%; border-radius: 16px; box-shadow: 0 14px 30px rgba(28,143,174,0.2); }
.checklist { list-style: none; }
.checklist li { display: flex; align-items: center; gap: 12px; background: white; border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; font-weight: 700; color: var(--ink); font-size: 0.95rem; box-shadow: 0 3px 0 rgba(28,143,174,0.15); cursor: pointer; user-select: none; transition: background 0.2s; }
.checklist li:hover { background: var(--sand-dark); }
.checklist li .box { width: 22px; height: 22px; border: 3px solid var(--palm); border-radius: 6px; flex-shrink: 0; }
.checklist li.packed { background: var(--palm-light); }
.checklist li.packed span.box { background: var(--palm); border-color: var(--palm); position: relative; }
.checklist li.packed span.box::after {
  content: '✓'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; color: white; font-size: 0.85rem; font-weight: 800;
}
.checklist li.packed .item-text { text-decoration: line-through; opacity: 0.6; }
.pack-progress { text-align: center; font-weight: 700; color: var(--sky-deep); margin-bottom: 16px; font-size: 1.05rem; }
.packing h2 { text-align: left; }
.packing .section-head { text-align: left; margin-bottom: 24px; }

/* GALLERY */
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 30px rgba(28,143,174,0.18); }
.gallery-strip figure { margin: 0; }
.gallery-strip figcaption { text-align: center; font-size: 0.82rem; color: #5a5142; margin-top: 8px; font-weight: 700; }

/* JOURNAL / ADULTS */
.journal-hero { background: white; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.journal-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 26px rgba(28,143,174,0.15); }
.journal-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.journal-card .journal-body { padding: 18px 20px; }
.journal-card h3 { color: var(--sky-deep); font-size: 1.1rem; margin-bottom: 6px; }
.journal-card p { font-size: 0.9rem; color: #5a5142; line-height: 1.5; margin-bottom: 12px; }
.postcard-frame { background: white; padding: 8px; border-radius: 10px; box-shadow: 0 10px 26px rgba(28,143,174,0.18); max-width: 260px; margin: 0 auto; }
.postcard-frame img { width: 100%; border-radius: 4px; display: block; }
.postcard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 24px; justify-content: center; }
.shop-adult { background: var(--sand-dark); }
.adult-item { background: white; border-radius: 16px; padding: 22px; text-align: center; box-shadow: 0 8px 20px rgba(28,143,174,0.12); }
.adult-item .emoji { font-size: 2.2rem; }
.adult-item h3 { color: var(--sky-deep); margin: 10px 0 6px; font-size: 1.05rem; }
.adult-item p { font-size: 0.85rem; color: #5a5142; margin-bottom: 10px; }
.adult-item .price { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 800; color: var(--palm-deep); display: block; margin-bottom: 10px; }

/* BOOK DETAIL PAGE */
.book-detail { display: grid; grid-template-columns: 380px 1fr; gap: 50px; max-width: 1100px; margin: 0 auto; align-items: start; }
.book-detail .cover-large { width: 100%; border-radius: 14px; box-shadow: 0 20px 40px rgba(28,143,174,0.3); }
.book-detail .cover-large.placeholder { aspect-ratio: 5/7.24; background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%); display: flex; align-items: center; justify-content: center; color: white; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 1.3rem; text-align: center; padding: 30px; }
.book-detail h1 { color: var(--sky-deep); font-size: 2rem; margin-bottom: 6px; }
.book-detail .book-price { font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 800; color: var(--palm-deep); font-size: 1.4rem; margin-bottom: 16px; display: block; }
.book-detail p.desc { font-size: 1.02rem; line-height: 1.6; color: #4a4030; margin-bottom: 20px; }
.book-detail .stops-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.book-detail .stops-list span { background: var(--palm-light); color: var(--sky-deep); font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 0.82rem; padding: 6px 14px; border-radius: 999px; }
.book-scenes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.book-scenes img { width: 100%; border-radius: 12px; box-shadow: 0 8px 20px rgba(28,143,174,0.15); }

/* FOOTER */
footer { background: var(--sky-deep); color: white; padding: 46px 24px 24px; margin-top: 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-inner h3 { color: var(--palm-light); margin-bottom: 10px; font-size: 1.15rem; }
.footer-inner p { font-size: 0.85rem; opacity: 0.85; max-width: 320px; line-height: 1.5; }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input { padding: 10px 14px; border-radius: 999px; border: none; font-family: 'Poppins', sans-serif; min-width: 190px; }
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.footer-social a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: white; font-weight: 700; font-size: 0.95rem; opacity: 0.95; }
.footer-bottom { max-width: 1200px; margin: 18px auto 0; text-align: center; font-size: 0.78rem; opacity: 0.7; }

/* BACK LINK */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: white; opacity: 0.9; text-decoration: none; font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
.back-link:hover { opacity: 1; text-decoration: underline; }

/* SPOT THE DIFFERENCE */
.sd-game { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1100px; margin: 0 auto; }
.sd-wrap { position: relative; cursor: crosshair; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 26px rgba(28,143,174,0.2); }
.sd-wrap img { width: 100%; display: block; }
.sd-markers { position: absolute; inset: 0; pointer-events: none; }
.sd-marker {
  position: absolute; width: 68px; height: 68px; border: 6px solid var(--palm);
  border-radius: 50%; transform: translate(-50%, -50%); background: rgba(63,89,116,0.15);
}
.sd-marker::after { content: '✓'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--palm); font-weight: 800; font-size: 1.4rem; }
#sd-progress { text-align: center; font-weight: 700; color: var(--sky-deep); font-size: 1.1rem; margin-bottom: 20px; }
.sd-picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.sd-picker-btn { background: white; border: 3px solid var(--sky-deep); color: var(--sky-deep); border-radius: 999px; padding: 8px 18px; font-family: 'Palatino Linotype', 'Palatino', 'Book Antiqua', Georgia, serif; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.sd-picker-btn:hover { background: var(--palm-light); }
.sd-picker-btn.active { background: var(--sky-deep); color: white; }

/* SOCIAL FEATURE BOXES */
.social-feature { background: var(--sky-deep); color: white; padding: 50px 24px; }
.social-feature .section-head .eyebrow { color: var(--palm-light); }
.social-feature .section-head h2 { color: white; }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.social-box { text-decoration: none; display: block; transition: transform 0.15s; text-align: center; }
.social-box:hover { transform: translateY(-4px); }
.social-box h3 { color: white; font-size: 1.2rem; margin-top: 4px; }
.social-box p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 4px; }
.social-placeholder-box {
  aspect-ratio: 9/16;
  max-width: 260px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-icon { width: 56px; height: 56px; }
.platform-icon-footer { width: 22px; height: 22px; vertical-align: middle; }

@media (max-width: 700px) {
  nav.textnav { display: none; }
  .route::before { display: none; }
  .gallery-strip { grid-template-columns: 1fr; }
  .packing-wrap { grid-template-columns: 1fr; }
  .packing .section-head { text-align: center; }
  .book-detail { grid-template-columns: 1fr; }
  .sd-game { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
}