:root {
  --navy: #10244a;
  --navy-soft: #273a61;
  --teal: #0baba9;
  --teal-dark: #078f91;
  --sky: #eefdff;
  --sky-deep: #dff5fb;
  --cream: #fffaf0;
  --paper: #ffffff;
  --yellow: #ffd91c;
  --pink: #ff7474;
  --mint: #dff9ee;
  --gray: #686c76;
  --line: rgba(16, 36, 74, 0.1);
  --shadow: 0 18px 35px rgba(31, 97, 119, 0.15);
  --shadow-strong: 0 26px 60px rgba(31, 97, 119, 0.22);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--navy);
  background: #f1fbff;
  font-family: "Trebuchet MS", "Nunito", "Segoe UI", Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button-link {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 152px;
  background: #fff;
  display: grid;
  grid-template-columns: 245px 1fr 210px;
  align-items: center;
  gap: 20px;
  padding: 0 42px;
  box-shadow: 0 2px 13px rgba(17, 37, 77, 0.06);
  overflow: hidden;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 210px;
  display: block;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(25px, 4.7vw, 64px);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.main-nav a {
  position: relative;
  padding: 12px 0 20px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
}

.main-nav a:hover {
  transform: translateY(-1px);
}

.main-nav a.active::before,
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 92px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: translateX(-50%);
}

.main-nav a.active::before {
  top: 11px;
}

.main-nav a.active::after {
  bottom: 3px;
  width: 58px;
}

.header-prince {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.header-prince::before {
  content: "";
  position: absolute;
  width: 205px;
  height: 205px;
  right: -15px;
  bottom: -47px;
  border-radius: 50%;
  background: #eaf4f7;
}

.header-prince img {
  position: relative;
  width: 190px;
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(8, 151, 150, 0.25);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 21px;
  height: 3px;
  margin: 4px auto;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.open .menu-toggle span {
  opacity: 0;
}

.site-header.open .menu-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.site-header.open .menu-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.page-shell {
  position: relative;
  min-height: 650px;
  background:
    radial-gradient(circle at -5% 16%, rgba(255,255,255,0.95) 0 38px, transparent 40px),
    radial-gradient(circle at 101% 13%, rgba(255,255,255,0.9) 0 34px, transparent 36px),
    radial-gradient(circle at 2% 78%, rgba(202,236,248,0.8) 0 95px, transparent 98px),
    radial-gradient(circle at 99% 82%, rgba(202,236,248,0.8) 0 70px, transparent 72px),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
  overflow: hidden;
}

.section-wrap {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.home-main {
  padding: 30px 24px 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 4px auto 32px;
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #11254d;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 14px;
}

.hero-copy p,
.page-hero p,
.lead {
  font-size: clamp(16px, 1.55vw, 21px);
  color: #60646e;
  font-weight: 600;
  line-height: 1.68;
}

.hero-copy p {
  max-width: 780px;
  margin: 0 auto;
}

.books-grid {
  position: relative;
  z-index: 2;
  width: min(1030px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.book-card,
.content-card,
.value-card,
.catalog-card,
.invite-card,
.contact-panel,
.coming-panel {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.book-card {
  min-width: 0;
  padding: 14px 14px 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.book-card:hover,
.catalog-card:hover,
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.book-cover {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  border-radius: 10px;
  background: #f8f5df;
}

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

.book-card h2 {
  margin: 25px 18px 12px;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
}

.book-meta {
  margin: 0 18px;
  color: var(--gray);
  font-size: 16px;
  font-weight: 600;
}

.card-action,
.button-link {
  margin: 28px 0 0 18px;
  min-width: 176px;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #13b9b5 0%, #069996 100%);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 15px rgba(6, 153, 150, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.card-action:hover,
.button-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.card-action[disabled] {
  cursor: not-allowed;
  background: linear-gradient(180deg, #b6b6b8 0%, #8e8e91 100%);
  box-shadow: none;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.quick-card {
  display: block;
  padding: 28px;
  border: 2px dashed rgba(11, 171, 169, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 171, 169, 0.65);
  background: #fff;
}

.quick-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.quick-card span {
  color: var(--gray);
  font-weight: 700;
  line-height: 1.55;
}

.page-hero {
  padding: clamp(56px, 8vw, 92px) 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: var(--teal);
}

.page-hero p {
  margin-top: 22px;
  max-width: 700px;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.big-book {
  position: absolute;
  inset: 24px 16px 0 28px;
  border-radius: 34px 42px 34px 42px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  transform: rotate(-3deg);
  overflow: hidden;
}

.big-book::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(16, 36, 74, 0.08);
}

.big-book::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 3px dashed rgba(11, 171, 169, 0.28);
  border-radius: 25px;
}

.big-book .chapter {
  position: absolute;
  left: 40px;
  top: 54px;
  right: 48px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--teal);
}

.big-book .mini-lines {
  position: absolute;
  left: 43px;
  right: 52px;
  bottom: 56px;
  display: grid;
  gap: 11px;
}

.big-book .mini-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: #d9eff5;
}

.floating-badge {
  position: absolute;
  right: 0;
  top: 10px;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(255, 116, 116, 0.28);
  animation: floaty 3.4s ease-in-out infinite;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 28px;
  padding-bottom: 88px;
}

.content-card,
.invite-card,
.contact-panel,
.coming-panel {
  padding: clamp(28px, 4vw, 46px);
}

.content-card h2,
.values-section h2,
.catalog-section h2,
.invite-card h2,
.contact-panel h2,
.coming-panel h2 {
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 22px;
}

.copy p {
  margin: 0 0 18px;
  color: #4f5968;
  font-size: 18px;
  line-height: 1.78;
  font-weight: 600;
}

.values-section {
  padding-bottom: 96px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  min-height: 190px;
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-icon,
.catalog-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(180deg, #13b9b5 0%, #069996 100%);
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(6, 153, 150, 0.2);
}

.value-card h3,
.catalog-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
}

.value-card p,
.catalog-card p,
.invite-list p,
.contact-panel p {
  color: #5e6673;
  line-height: 1.65;
  font-weight: 600;
}

.catalog-section {
  padding: 0 0 96px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.catalog-card {
  position: relative;
  min-height: 220px;
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -46px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: rgba(255, 217, 28, 0.22);
}

.catalog-card:nth-child(2n)::after {
  background: rgba(255, 116, 116, 0.14);
}

.catalog-card:nth-child(3n)::after {
  background: rgba(11, 171, 169, 0.14);
}

.catalog-card h3,
.catalog-card p,
.catalog-card .catalog-icon {
  position: relative;
  z-index: 1;
}

.catalog-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 88px;
}

.showcase-note {
  grid-column: 1 / -1;
  padding: 28px 34px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed rgba(11, 171, 169, 0.28);
  color: #5e6673;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.activity-layout {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 76px 0 100px;
}

.coming-panel {
  width: min(780px, 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-panel::before,
.coming-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.55;
}

.coming-panel::before {
  width: 210px;
  height: 210px;
  left: -92px;
  top: -88px;
  background: var(--mint);
}

.coming-panel::after {
  width: 170px;
  height: 170px;
  right: -70px;
  bottom: -65px;
  background: #ffeeba;
}

.coming-panel > * {
  position: relative;
  z-index: 1;
}

.coming-panel img {
  width: 210px;
  margin-bottom: 24px;
  border-radius: 22px;
}

.coming-panel h1 {
  font-size: clamp(40px, 6vw, 70px);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 900;
}

.contact-layout {
  padding: 0 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
  gap: 28px;
  align-items: start;
}

.invite-list {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.invite-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border-radius: 18px;
  background: #f6fcff;
}

.invite-list span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--teal);
  font-size: 22px;
  font-weight: 900;
}

.quote-box {
  margin: 26px 0;
  padding: 24px 28px;
  border-left: 6px solid var(--yellow);
  border-radius: 18px;
  background: #fffaf0;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.45;
  font-weight: 900;
}

.contact-panel {
  position: sticky;
  top: 180px;
}

.contact-lines {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.contact-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: #4f5968;
  line-height: 1.55;
  font-weight: 700;
}

.contact-line .icon {
  color: var(--teal-dark);
  font-size: 22px;
  line-height: 1.1;
}

.small-print {
  margin-top: 22px;
  color: #6e7682;
  font-size: 15px;
  line-height: 1.65;
}

.decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.star {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
  animation: floaty 3.4s ease-in-out infinite;
}

.star.pink {
  background: var(--pink);
  animation-delay: 0.6s;
}

.star.teal {
  background: #4bc4c7;
  animation-delay: 1s;
}

.star.s1 { left: 23%; top: 62px; }
.star.s2 { left: 25.8%; top: 43px; width: 29px; height: 29px; }
.star.s3 { right: 8.8%; top: 270px; width: 33px; height: 33px; }
.star.s4 { right: 4.3%; bottom: 210px; width: 37px; height: 37px; }
.star.s5 { left: 7%; bottom: 160px; width: 32px; height: 32px; }

.pencil {
  left: 8%;
  top: 170px;
  width: 20px;
  height: 58px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(90deg, #f5c11a 0 34%, #ffe36b 34% 66%, #f5c11a 66% 100%);
  border: 2px solid #e5a91a;
  transform: rotate(23deg);
}

.pencil::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -13px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 13px solid #f2c58b;
}

.pencil::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -9px;
  width: 8px;
  height: 9px;
  border-radius: 0 0 3px 3px;
  background: #20a8a5;
}

.dash {
  border: 2px dashed rgba(15, 173, 174, 0.58);
  border-top: 0;
  border-left: 0;
  border-radius: 50%;
  opacity: 0.85;
}

.dash.left {
  left: 22px;
  top: 230px;
  width: 115px;
  height: 118px;
  transform: rotate(35deg);
}

.dash.right {
  right: 20px;
  bottom: 155px;
  width: 150px;
  height: 135px;
  transform: rotate(-18deg);
}

.burst {
  right: 27%;
  top: 25px;
  width: 48px;
  height: 42px;
}

.burst::before,
.burst::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--teal), var(--teal)) 50% 0/4px 16px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 10% 45%/4px 13px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 88% 45%/4px 13px no-repeat;
  transform: rotate(25deg);
  border-radius: 8px;
  opacity: 0.55;
}



.playful-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.playful-item {
  position: absolute;
  opacity: 0.95;
  filter: drop-shadow(0 10px 20px rgba(26, 96, 120, 0.10));
}

.playful-item.cloud {
  width: 92px;
  height: 34px;
  border: 3px solid rgba(75, 196, 199, 0.40);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.80);
  animation: cloudDrift 8.5s ease-in-out infinite;
}

.playful-item.cloud::before,
.playful-item.cloud::after {
  content: "";
  position: absolute;
  bottom: 8px;
  border: 3px solid rgba(75, 196, 199, 0.40);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
}

.playful-item.cloud::before {
  width: 34px;
  height: 34px;
  left: 10px;
}

.playful-item.cloud::after {
  width: 40px;
  height: 40px;
  left: 36px;
  bottom: 10px;
}

.playful-item.rainbow {
  width: 86px;
  height: 44px;
  border-top: 6px solid #ffae4c;
  border-left: 6px solid #ffae4c;
  border-right: 6px solid #ffae4c;
  border-bottom: 0;
  border-radius: 86px 86px 0 0;
  transform: rotate(-10deg);
  animation: sway 5.4s ease-in-out infinite;
}

.playful-item.rainbow::before,
.playful-item.rainbow::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 0;
  border-radius: inherit;
}

.playful-item.rainbow::before {
  top: 7px;
  width: 62px;
  height: 30px;
  border-top: 6px solid #ff7d90;
  border-left: 6px solid #ff7d90;
  border-right: 6px solid #ff7d90;
}

.playful-item.rainbow::after {
  top: 14px;
  width: 38px;
  height: 16px;
  border-top: 6px solid #4bc4c7;
  border-left: 6px solid #4bc4c7;
  border-right: 6px solid #4bc4c7;
}

.playful-item.kite {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #ffd91c 0 50%, #ff9292 50% 100%);
  border-radius: 8px;
  transform: rotate(18deg);
  animation: floaty 4.4s ease-in-out infinite;
}

.playful-item.kite::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 62px;
  background: repeating-linear-gradient(to bottom, rgba(11, 171, 169, 0.55) 0 8px, transparent 8px 14px);
}

.playful-item.kite::after {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  top: calc(100% + 12px);
  width: 22px;
  height: 30px;
  background:
    radial-gradient(circle at 50% 6px, #ffd91c 0 4px, transparent 4px),
    radial-gradient(circle at 50% 16px, #ff9292 0 4px, transparent 4px),
    radial-gradient(circle at 50% 26px, #4bc4c7 0 4px, transparent 4px);
}

.playful-item.heart {
  width: 24px;
  height: 24px;
  background: var(--pink);
  transform: rotate(-45deg);
  border-radius: 5px;
  animation: bobble 4.1s ease-in-out infinite;
}

.playful-item.heart::before,
.playful-item.heart::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: inherit;
}

.playful-item.heart::before {
  left: 0;
  top: -12px;
}

.playful-item.heart::after {
  left: 12px;
  top: 0;
}

.playful-item.booklet {
  width: 72px;
  height: 54px;
  border-radius: 16px;
  background:
    linear-gradient(to right, rgba(11, 171, 169, 0.12) 0 48%, rgba(255,255,255,0.9) 48% 52%, rgba(11, 171, 169, 0.12) 52% 100%),
    #ffffff;
  border: 3px solid rgba(11, 171, 169, 0.40);
  animation: sway 6s ease-in-out infinite;
}

.playful-item.booklet::before,
.playful-item.booklet::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 21px;
  height: 3px;
  border-radius: 999px;
  background: rgba(17, 37, 77, 0.18);
  box-shadow: 0 9px 0 rgba(17, 37, 77, 0.14), 0 18px 0 rgba(17, 37, 77, 0.10);
}

.playful-item.booklet::before { left: 10px; }
.playful-item.booklet::after { right: 10px; }

.playful-item.lollipop {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: conic-gradient(from 45deg, #ff8ca4 0 25%, #ffd91c 25% 50%, #4bc4c7 50% 75%, #ffffff 75% 100%);
  border: 3px solid rgba(255,255,255,0.85);
  animation: floaty 4.6s ease-in-out infinite;
}

.playful-item.lollipop::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 32px;
  width: 4px;
  height: 38px;
  border-radius: 999px;
  background: rgba(17, 37, 77, 0.18);
}

.playful-item.swirl-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px dashed rgba(75, 196, 199, 0.48);
  animation: slowSpin 13s linear infinite;
}

.playful-item.swirl-ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 217, 28, 0.55);
}

.playful-item.squiggle {
  width: 92px;
  height: 24px;
  background:
    radial-gradient(circle at 12px 12px, transparent 12px, rgba(75, 196, 199, 0.92) 12px 14px, transparent 14px) 0 0/24px 24px repeat-x;
  animation: sway 5.8s ease-in-out infinite;
}

.playful-item.sparkle {
  width: 26px;
  height: 26px;
  animation: twinkle 2.7s ease-in-out infinite;
}

.playful-item.sparkle::before,
.playful-item.sparkle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--yellow), var(--yellow)) 50% 0/4px 100% no-repeat,
              linear-gradient(var(--yellow), var(--yellow)) 0 50%/100% 4px no-repeat;
  border-radius: 8px;
}

.playful-item.sparkle::after {
  transform: rotate(45deg);
}

.playful-scene .item-cloud-1 { left: 6%; top: 12%; }
.playful-scene .item-rainbow-1 { right: 12%; top: 11%; }
.playful-scene .item-heart-1 { left: 15%; top: 48%; }
.playful-scene .item-booklet-1 { right: 6%; top: 39%; transform: rotate(-12deg); }
.playful-scene .item-lollipop-1 { left: 10%; bottom: 17%; }
.playful-scene .item-kite-1 { right: 14%; bottom: 20%; }
.playful-scene .item-swirl-1 { left: -16px; bottom: 11%; }
.playful-scene .item-squiggle-1 { right: 30%; bottom: 13%; }
.playful-scene .item-sparkle-1 { left: 28%; top: 18%; }
.playful-scene .item-sparkle-2 { right: 23%; top: 56%; }

body[data-page="home"] .playful-scene .item-booklet-1 { top: 60%; right: 5.5%; }
body[data-page="home"] .playful-scene .item-kite-1 { right: 9%; bottom: 11%; }
body[data-page="catalog"] .playful-scene .item-rainbow-1 { right: 7%; top: 22%; }
body[data-page="catalog"] .playful-scene .item-heart-1 { left: 7%; top: 62%; }
body[data-page="culture"] .playful-scene .item-booklet-1,
body[data-page="contact"] .playful-scene .item-booklet-1 { top: 29%; }
body[data-page="activity"] .playful-scene .item-rainbow-1 { right: 18%; top: 20%; }
body[data-page="product-coloring-book"] .playful-scene .item-rainbow-1,
body[data-page="product-focus-games"] .playful-scene .item-rainbow-1 { right: 8%; top: 8%; }
body[data-page="product-coloring-book"] .playful-scene .item-kite-1,
body[data-page="product-focus-games"] .playful-scene .item-kite-1 { bottom: 9%; }
body[data-page="product-coloring-book"] .playful-scene .item-booklet-1 { top: 74%; right: 4.5%; }

.wave-edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 20px;
  background:
    radial-gradient(circle at 8px -1px, transparent 10px, #099f9e 10px) 0 0/16px 20px repeat-x;
}

.footer {
  position: relative;
  background: linear-gradient(180deg, #08aaa8 0%, #019493 100%);
  color: #fff;
  min-height: 222px;
  padding: 38px 70px 30px;
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr 320px;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.footer-contact h2 {
  font-size: 21px;
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 900;
}

.footer-contact strong {
  display: block;
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
}

.footer-contact p {
  margin: 9px 0;
  font-size: 16px;
  font-weight: 600;
}

.footer-contact .icon {
  display: inline-flex;
  width: 24px;
  font-weight: 900;
}

.social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-weight: 700;
}

.social img {
  height: 34px;
  width: auto;
  display: block;
}

.footer-art {
  justify-self: end;
  width: 285px;
  max-width: 100%;
  opacity: 0.96;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 24, 52, 0.42);
}

.modal.show {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(540px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(9, 24, 52, 0.28);
}

.modal-card h2 {
  margin-bottom: 14px;
  font-size: 30px;
}

.modal-card p {
  color: #5d6572;
  line-height: 1.7;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #eef7fb;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}


/* Product detail pages */
.product-page {
  padding-bottom: 86px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 36px;
  color: var(--navy-soft);
  font-size: 15px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--teal-dark);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: 34px 0 54px;
}

.product-main-cover,
.volume-cover,
.series-cover-grid figure,
.product-info-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.product-main-cover {
  padding: 18px;
  overflow: hidden;
}

.product-main-cover img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  border-radius: 14px;
}

.product-intro h1 {
  margin: 12px 0 16px;
  color: #11254d;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.product-intro h1 span {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -0.02em;
}

.product-intro p {
  max-width: 620px;
  color: #596270;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.68;
  font-weight: 700;
}

.product-back {
  margin: 28px 0 0;
  min-width: 165px;
}

.product-section,
.product-tabs-wrap {
  padding-bottom: 52px;
}

.product-section h2,
.product-tabs-wrap > h2 {
  margin-bottom: 22px;
  color: #11254d;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 900;
}

.series-cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.series-cover-grid figure {
  padding: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.series-cover-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.series-cover-grid img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.series-cover-grid figcaption {
  padding: 10px 4px 2px;
  text-align: center;
  color: var(--navy-soft);
  font-weight: 900;
}

.product-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 24px;
}

.product-info-card {
  padding: clamp(24px, 3vw, 38px);
}

.product-info-card h2 {
  margin-bottom: 18px;
  color: #11254d;
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: 1.12;
  font-weight: 900;
}

.product-info-card h3 {
  margin: 22px 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.product-info-card p {
  margin-bottom: 15px;
  color: #586271;
  font-size: 17px;
  line-height: 1.74;
  font-weight: 600;
}

.product-details-card {
  align-self: start;
  position: sticky;
  top: 178px;
}

.details-list {
  display: grid;
  gap: 0;
}

.details-list div {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.details-list div:last-child {
  border-bottom: 0;
}

.details-list dt {
  color: var(--navy);
  font-weight: 900;
}

.details-list dd {
  color: #596270;
  font-weight: 700;
}

.volume-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.volume-tab {
  border: 2px solid rgba(11, 171, 169, 0.24);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 97, 119, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.volume-tab:hover,
.volume-tab.active {
  color: #fff;
  border-color: var(--teal);
  background: linear-gradient(180deg, #13b9b5 0%, #069996 100%);
  transform: translateY(-2px);
}

.volume-panel[hidden] {
  display: none;
}

.volume-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: start;
}

.volume-cover {
  padding: 14px;
  position: sticky;
  top: 178px;
}

.volume-cover img {
  display: block;
  width: 100%;
  border-radius: 14px;
}

.volume-content {
  grid-template-columns: minmax(0, 1.35fr) minmax(265px, 0.72fr);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes cloudDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -8px); }
}

@keyframes sway {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}

@keyframes bobble {
  0%, 100% { transform: rotate(-45deg) translateY(0) scale(1); }
  50% { transform: rotate(-45deg) translateY(-6px) scale(1.06); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes twinkle {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 190px 1fr 160px;
    min-height: 138px;
    padding: 0 24px;
  }

  .brand img {
    width: 170px;
  }

  .main-nav {
    gap: 23px;
    font-size: 15px;
  }

  .header-prince img {
    width: 150px;
  }

  .header-prince::before {
    width: 165px;
    height: 165px;
  }

  .books-grid,
  .catalog-showcase {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 720px;
  }

  .coming-card,
  .catalog-showcase .book-card:nth-child(3) {
    grid-column: 1 / -1;
    width: min(350px, 100%);
    justify-self: center;
  }

  .footer-inner {
    grid-template-columns: 95px 1fr 240px;
  }

  .page-hero,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 310px;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 840px) {
  .catalog-grid,
  .values-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
    overflow: visible;
  }

  .brand img {
    width: 150px;
  }

  .header-prince {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-header.open .main-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 13px 10px;
    text-align: center;
  }

  .main-nav a.active::before,
  .main-nav a.active::after {
    display: none;
  }

  .section-wrap {
    width: min(100% - 32px, 1120px);
  }

  .home-main {
    padding: 34px 16px 52px;
  }

  .books-grid,
  .catalog-showcase {
    grid-template-columns: 1fr;
    max-width: 370px;
  }

  .coming-card,
  .catalog-showcase .book-card:nth-child(3) {
    width: 100%;
  }

  .book-card h2,
  .book-meta {
    margin-left: 12px;
    margin-right: 12px;
  }

  .card-action {
    margin-left: 12px;
  }

  .page-hero {
    padding-top: 48px;
    gap: 30px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .floating-badge {
    width: 92px;
    height: 92px;
    font-size: 30px;
  }

  .big-book .chapter {
    left: 30px;
    right: 28px;
  }

  .copy p {
    font-size: 16px;
  }

  .decor {
    opacity: 0.65;
  }

  .pencil,
  .dash.left {
    display: none;
  }

  .footer {
    padding: 36px 22px 34px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }

  .footer-logo {
    width: 92px;
    height: 92px;
  }

  .footer-art {
    justify-self: center;
    width: 235px;
    margin-top: 8px;
  }
}


@media (max-width: 1050px) {
  .product-hero,
  .product-content-grid,
  .volume-layout,
  .volume-content {
    grid-template-columns: 1fr;
  }

  .product-details-card,
  .volume-cover {
    position: static;
  }

  .series-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .volume-cover {
    width: min(480px, 100%);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .breadcrumb {
    padding-top: 24px;
  }

  .product-hero {
    padding: 26px 0 40px;
  }

  .product-main-cover,
  .product-info-card,
  .volume-cover {
    border-radius: 18px;
  }

  .product-info-card {
    padding: 22px 18px;
  }

  .series-cover-grid {
    gap: 14px;
  }

  .volume-tabs {
    gap: 10px;
  }

  .volume-tab {
    flex: 1 1 calc(50% - 10px);
    padding: 11px 12px;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 520px) {
  .series-cover-grid {
    grid-template-columns: 1fr;
  }

  .volume-tab {
    flex-basis: 100%;
  }
}


@media (max-width: 760px) {
  .playful-item {
    opacity: 0.68;
    transform: scale(0.82);
  }

  .playful-scene .item-booklet-1,
  .playful-scene .item-kite-1,
  .playful-scene .item-swirl-1,
  .playful-scene .item-squiggle-1 {
    display: none;
  }

  .playful-scene .item-rainbow-1 { right: 4%; top: 7%; }
  .playful-scene .item-cloud-1 { left: -2%; top: 17%; }
  .playful-scene .item-heart-1 { left: 8%; top: 58%; }
  .playful-scene .item-lollipop-1 { left: auto; right: 8%; bottom: 15%; }
}


/* === Advanced lively children's-book polish: richer, warmer, more refined === */
.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-shell::before {
  inset: 0;
  z-index: 0;
  opacity: 0.68;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 217, 28, 0.22) 0 9px, transparent 10px),
    radial-gradient(circle at 18% 74%, rgba(255, 116, 116, 0.17) 0 11px, transparent 12px),
    radial-gradient(circle at 42% 17%, rgba(75, 196, 199, 0.17) 0 10px, transparent 11px),
    radial-gradient(circle at 72% 24%, rgba(255, 174, 76, 0.18) 0 12px, transparent 13px),
    radial-gradient(circle at 88% 70%, rgba(255, 116, 116, 0.15) 0 14px, transparent 15px),
    radial-gradient(circle at 63% 84%, rgba(11, 171, 169, 0.13) 0 12px, transparent 13px);
}

.page-shell::after {
  left: -8%;
  right: -8%;
  top: 70px;
  bottom: 10px;
  z-index: 0;
  opacity: 0.62;
  background:
    radial-gradient(circle at 8% 35%, rgba(255, 255, 255, 0.74) 0 64px, transparent 66px),
    radial-gradient(circle at 21% 86%, rgba(255, 217, 28, 0.16) 0 92px, transparent 96px),
    radial-gradient(circle at 78% 12%, rgba(255, 151, 151, 0.17) 0 78px, transparent 82px),
    radial-gradient(circle at 93% 52%, rgba(75, 196, 199, 0.16) 0 86px, transparent 90px);
}

.playful-scene {
  z-index: 1;
}

.playful-item {
  opacity: 0.98;
  filter: drop-shadow(0 12px 22px rgba(26, 96, 120, 0.13));
}

.playful-item.cloud {
  width: 104px;
  height: 38px;
  border-color: rgba(75, 196, 199, 0.36);
  background: rgba(255, 255, 255, 0.84);
  animation: cloudDriftPlus 9s ease-in-out infinite;
}

.playful-item.cloud::before,
.playful-item.cloud::after {
  border-color: rgba(75, 196, 199, 0.36);
  background: rgba(255, 255, 255, 0.90);
}

.playful-item.cloud::before { width: 38px; height: 38px; left: 12px; }
.playful-item.cloud::after { width: 46px; height: 46px; left: 42px; bottom: 10px; }

.playful-item.rainbow {
  width: 104px;
  height: 54px;
  border-top-width: 7px;
  border-left-width: 7px;
  border-right-width: 7px;
  animation: elegantSwayPlus 5.8s ease-in-out infinite;
}

.playful-item.rainbow::before {
  top: 8px;
  width: 76px;
  height: 37px;
  border-top-width: 7px;
  border-left-width: 7px;
  border-right-width: 7px;
}

.playful-item.rainbow::after {
  top: 17px;
  width: 47px;
  height: 20px;
  border-top-width: 7px;
  border-left-width: 7px;
  border-right-width: 7px;
}

.playful-item.kite {
  width: 42px;
  height: 42px;
  background:
    linear-gradient(135deg, #ffd91c 0 50%, transparent 50%),
    linear-gradient(45deg, #ff9292 0 50%, #4bc4c7 50% 100%);
  border: 3px solid rgba(255,255,255,0.78);
  border-radius: 9px;
  animation: flyKitePlus 5.2s ease-in-out infinite;
}

.playful-item.kite::before { height: 78px; }
.playful-item.kite::after {
  left: calc(50% - 12px);
  top: calc(100% + 13px);
  width: 26px;
  height: 46px;
  background:
    radial-gradient(circle at 50% 7px, #ffd91c 0 5px, transparent 6px),
    radial-gradient(circle at 50% 21px, #ff9292 0 5px, transparent 6px),
    radial-gradient(circle at 50% 35px, #4bc4c7 0 5px, transparent 6px);
}

.playful-item.heart { animation: heartBeatPlus 4.3s ease-in-out infinite; }

.playful-item.booklet {
  width: 82px;
  height: 62px;
  border-radius: 18px;
  background:
    linear-gradient(to right, rgba(11, 171, 169, 0.12) 0 48%, rgba(255,255,255,0.95) 48% 52%, rgba(255, 217, 28, 0.14) 52% 100%),
    #ffffff;
  border: 3px solid rgba(11, 171, 169, 0.35);
  animation: elegantSwayPlus 6.2s ease-in-out infinite;
}

.playful-item.booklet::before,
.playful-item.booklet::after {
  top: 16px;
  width: 25px;
  background: rgba(17, 37, 77, 0.18);
  box-shadow: 0 10px 0 rgba(17, 37, 77, 0.14), 0 20px 0 rgba(17, 37, 77, 0.10);
}
.playful-item.booklet::before { left: 11px; }
.playful-item.booklet::after { right: 11px; }

.playful-item.lollipop {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255,255,255,0.88);
  animation: candyBouncePlus 4.8s ease-in-out infinite;
}
.playful-item.lollipop::before { left: 19px; top: 38px; width: 5px; height: 46px; }

.playful-item.swirl-ring {
  width: 118px;
  height: 118px;
  border-color: rgba(75, 196, 199, 0.45);
  animation: slowSpin 15s linear infinite;
}
.playful-item.swirl-ring::before { inset: 20px; border-color: rgba(255, 217, 28, 0.50); }

.playful-item.squiggle {
  width: 110px;
  height: 26px;
  background: radial-gradient(circle at 13px 13px, transparent 12px, rgba(75, 196, 199, 0.78) 12px 14px, transparent 15px) 0 0/26px 26px repeat-x;
  animation: elegantSwayPlus 6.2s ease-in-out infinite;
}

.playful-item.sparkle { width: 28px; height: 28px; animation: twinklePlus 2.8s ease-in-out infinite; }

.playful-item.balloon {
  width: 46px;
  height: 58px;
  border-radius: 50% 50% 48% 48%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.72) 0 7px, transparent 8px),
    linear-gradient(180deg, #ff7d90 0%, #ff5f7d 100%);
  animation: balloonFloatPlus 6.4s ease-in-out infinite;
}
.playful-item.balloon::before {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -10px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 11px solid #ff5f7d;
}
.playful-item.balloon::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 59px;
  width: 2px;
  height: 56px;
  background: repeating-linear-gradient(to bottom, rgba(17, 37, 77, 0.28) 0 6px, transparent 6px 11px);
}

.playful-item.paper-plane {
  width: 68px;
  height: 42px;
  background: linear-gradient(135deg, #ffffff 0 50%, #dff5fb 50% 100%);
  clip-path: polygon(0 48%, 100% 0, 72% 58%, 92% 100%);
  border-radius: 4px;
  animation: planeGlidePlus 7.4s ease-in-out infinite;
}
.playful-item.paper-plane::after {
  content: "";
  position: absolute;
  left: 38px;
  top: 13px;
  width: 28px;
  height: 2px;
  background: rgba(11, 171, 169, 0.32);
  transform: rotate(-28deg);
}

.playful-item.rocket {
  width: 42px;
  height: 78px;
  border-radius: 24px 24px 14px 14px;
  background:
    radial-gradient(circle at 50% 24%, #ffffff 0 8px, #4bc4c7 9px 13px, transparent 14px),
    linear-gradient(180deg, #ffffff 0 62%, #ff7d90 62% 100%);
  border: 3px solid rgba(16, 36, 74, 0.10);
  animation: rocketWigglePlus 5.6s ease-in-out infinite;
}
.playful-item.rocket::before,
.playful-item.rocket::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 16px;
  height: 24px;
  background: #4bc4c7;
  border-radius: 12px 12px 4px 4px;
}
.playful-item.rocket::before { left: -10px; transform: rotate(-18deg); }
.playful-item.rocket::after { right: -10px; transform: rotate(18deg); }

.playful-item.flower {
  width: 48px;
  height: 48px;
  animation: slowSpin 16s linear infinite;
}
.playful-item.flower::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: #ffd91c;
  box-shadow:
    0 -18px 0 #ff8ca4,
    0 18px 0 #ff8ca4,
    18px 0 0 #ff8ca4,
    -18px 0 0 #ff8ca4,
    13px 13px 0 #4bc4c7,
    -13px 13px 0 #4bc4c7,
    13px -13px 0 #4bc4c7,
    -13px -13px 0 #4bc4c7;
}

.playful-item.crayon {
  width: 22px;
  height: 70px;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(90deg, #ff7d90 0 30%, #ffa8b5 30% 62%, #ff7d90 62% 100%);
  border: 2px solid rgba(16, 36, 74, 0.08);
  animation: crayonTiltPlus 5.8s ease-in-out infinite;
}
.playful-item.crayon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: -13px;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 13px solid #f5c38a;
}
.playful-item.crayon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: -10px;
  width: 8px;
  height: 8px;
  background: #5e4b43;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.playful-item.abc {
  color: rgba(16, 36, 74, 0.18);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transform: rotate(-12deg);
  animation: softPopPlus 5.6s ease-in-out infinite;
}
.playful-item.music {
  color: rgba(11, 171, 169, 0.38);
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  animation: floaty 5.1s ease-in-out infinite;
}
.playful-item.dot-confetti {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7d90;
  box-shadow:
    22px -12px 0 #ffd91c,
    42px 10px 0 #4bc4c7,
    64px -6px 0 #ffae4c,
    82px 14px 0 rgba(11, 171, 169, 0.8),
    104px 0 0 rgba(255, 116, 116, 0.72);
  animation: confettiFloatPlus 5.9s ease-in-out infinite;
}

.playful-scene .item-cloud-1 { left: 4.5%; top: 13%; }
.playful-scene .item-cloud-2 { right: 17%; top: 62%; transform: scale(0.82); animation-delay: 0.8s; }
.playful-scene .item-rainbow-1 { right: 9%; top: 10%; }
.playful-scene .item-rainbow-2 { left: 17%; bottom: 11%; transform: scale(0.78) rotate(8deg); animation-delay: 1s; }
.playful-scene .item-heart-1 { left: 14%; top: 47%; }
.playful-scene .item-heart-2 { right: 28%; top: 16%; transform: scale(0.86) rotate(-45deg); animation-delay: 1.4s; }
.playful-scene .item-booklet-1 { right: 5.5%; top: 38%; }
.playful-scene .item-booklet-2 { left: 5%; bottom: 24%; transform: scale(0.76) rotate(13deg); animation-delay: 0.6s; }
.playful-scene .item-lollipop-1 { left: 10%; bottom: 16%; }
.playful-scene .item-kite-1 { right: 13%; bottom: 18%; }
.playful-scene .item-swirl-1 { left: -22px; bottom: 10%; }
.playful-scene .item-swirl-2 { right: -28px; top: 32%; transform: scale(0.78); animation-direction: reverse; }
.playful-scene .item-squiggle-1 { right: 31%; bottom: 13%; }
.playful-scene .item-squiggle-2 { left: 29%; top: 8%; transform: scale(0.78) rotate(18deg); animation-delay: 1.1s; }
.playful-scene .item-sparkle-1 { left: 27%; top: 18%; }
.playful-scene .item-sparkle-2 { right: 22%; top: 55%; animation-delay: 1.2s; }
.playful-scene .item-sparkle-3 { left: 41%; bottom: 18%; transform: scale(0.76); animation-delay: 0.5s; }
.playful-scene .item-balloon-1 { right: 4.8%; top: 68%; }
.playful-scene .item-balloon-2 { left: 2.8%; top: 56%; transform: scale(0.78); animation-delay: 1.3s; }
.playful-scene .item-plane-1 { left: 55%; top: 14%; }
.playful-scene .item-rocket-1 { right: 2.4%; bottom: 7%; transform: rotate(18deg); }
.playful-scene .item-flower-1 { left: 21%; top: 30%; }
.playful-scene .item-flower-2 { right: 32%; bottom: 28%; transform: scale(0.72); animation-delay: 1.6s; }
.playful-scene .item-crayon-1 { left: 7%; top: 28%; }
.playful-scene .item-crayon-2 { right: 18%; top: 28%; transform: rotate(-24deg); animation-delay: 0.9s; }
.playful-scene .item-abc-1 { left: 37%; bottom: 8%; }
.playful-scene .item-music-1 { right: 39%; top: 37%; }
.playful-scene .item-confetti-1 { left: 39%; top: 5%; }
.playful-scene .item-confetti-2 { right: 10%; bottom: 39%; transform: rotate(16deg); animation-delay: 1.5s; }

body[data-page="home"] .playful-scene .item-booklet-1 { top: 59%; right: 5%; }
body[data-page="home"] .playful-scene .item-kite-1 { right: 8.5%; bottom: 9%; }
body[data-page="home"] .playful-scene .item-rocket-1 { right: 1%; bottom: 3%; }
body[data-page="home"] .playful-scene .item-plane-1 { left: 69%; top: 5%; }
body[data-page="catalog"] .playful-scene .item-rainbow-1 { right: 6%; top: 21%; }
body[data-page="catalog"] .playful-scene .item-heart-1 { left: 7%; top: 61%; }
body[data-page="catalog"] .playful-scene .item-balloon-1 { right: 3%; top: 51%; }
body[data-page="culture"] .playful-scene .item-booklet-1,
body[data-page="contact"] .playful-scene .item-booklet-1 { top: 29%; }
body[data-page="activity"] .playful-scene .item-rainbow-1 { right: 18%; top: 20%; }

.book-card { position: relative; overflow: hidden; }
.book-card::before {
  content: "";
  position: absolute;
  left: -32px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 217, 28, 0.14);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.book-card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -50px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: rgba(75, 196, 199, 0.12);
}
.book-card > * { position: relative; z-index: 1; }
.book-cover img { transition: transform 0.36s ease; }
.book-card:hover { transform: translateY(-8px) rotate(-0.7deg); }
.book-card:nth-child(2):hover { transform: translateY(-8px) rotate(0.7deg); }
.book-card:hover::before { transform: scale(1.22); opacity: 0.9; }
.book-card:hover .book-cover img { transform: scale(1.045); }

.quick-card,
.catalog-card,
.product-info-card { position: relative; overflow: hidden; }
.quick-card::before,
.catalog-card::before,
.product-info-card::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 20px;
  width: 38px;
  height: 38px;
  opacity: 0.25;
  background:
    linear-gradient(var(--yellow), var(--yellow)) 50% 0/4px 100% no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) 0 50%/100% 4px no-repeat;
  transform: rotate(45deg);
}
.card-action,
.button-link,
.volume-tab.active {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0)),
    linear-gradient(180deg, #16c2bd 0%, #069996 100%);
}
.card-action:hover,
.button-link:hover { transform: translateY(-3px) scale(1.03); }

@keyframes cloudDriftPlus { 0%,100%{transform:translate(0,0)} 50%{transform:translate(14px,-9px)} }
@keyframes elegantSwayPlus { 0%,100%{transform:rotate(-8deg) translateY(0)} 50%{transform:rotate(5deg) translateY(-9px)} }
@keyframes flyKitePlus { 0%,100%{transform:rotate(18deg) translate(0,0)} 50%{transform:rotate(9deg) translate(-8px,-14px)} }
@keyframes heartBeatPlus { 0%,100%{transform:rotate(-45deg) translateY(0) scale(1)} 50%{transform:rotate(-45deg) translateY(-7px) scale(1.08)} }
@keyframes candyBouncePlus { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-9px) rotate(10deg)} }
@keyframes balloonFloatPlus { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-18px) rotate(4deg)} }
@keyframes planeGlidePlus { 0%,100%{transform:translate(0,0) rotate(-10deg)} 50%{transform:translate(24px,-10px) rotate(-3deg)} }
@keyframes rocketWigglePlus { 0%,100%{transform:rotate(16deg) translateY(0)} 50%{transform:rotate(22deg) translateY(-12px)} }
@keyframes crayonTiltPlus { 0%,100%{transform:rotate(20deg) translateY(0)} 50%{transform:rotate(29deg) translateY(-9px)} }
@keyframes softPopPlus { 0%,100%{transform:rotate(-12deg) scale(1);opacity:.72} 50%{transform:rotate(-6deg) scale(1.06);opacity:.95} }
@keyframes confettiFloatPlus { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-11px) rotate(8deg)} }
@keyframes twinklePlus { 0%,100%{transform:scale(1);opacity:.9} 50%{transform:scale(1.2);opacity:1} }

@media (max-width: 760px) {
  .page-shell::before,
  .page-shell::after { opacity: 0.36; }
  .playful-item { opacity: 0.72; transform: scale(0.78); }
  .playful-scene .item-booklet-2,
  .playful-scene .item-kite-1,
  .playful-scene .item-swirl-1,
  .playful-scene .item-swirl-2,
  .playful-scene .item-squiggle-1,
  .playful-scene .item-squiggle-2,
  .playful-scene .item-rocket-1,
  .playful-scene .item-flower-2,
  .playful-scene .item-crayon-2,
  .playful-scene .item-abc-1,
  .playful-scene .item-music-1,
  .playful-scene .item-confetti-2 { display: none; }
  .playful-scene .item-rainbow-1 { right: 3%; top: 7%; }
  .playful-scene .item-cloud-1 { left: -2%; top: 17%; }
  .playful-scene .item-heart-1 { left: 8%; top: 58%; }
  .playful-scene .item-lollipop-1 { left: auto; right: 8%; bottom: 15%; }
  .playful-scene .item-plane-1 { left: 64%; top: 24%; }
  .playful-scene .item-balloon-1 { right: 8%; top: 68%; }
  .playful-scene .item-crayon-1 { left: 4%; top: 38%; }
}

/* === 2026-06-08 UK site UI refinements ===
   Fixes: centered nav active lines + hover glow; product details card layout. */
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 18px 0;
  border-radius: 999px;
  isolation: isolate;
}

.main-nav a::before,
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  pointer-events: none;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.22s ease, width 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.main-nav a::before {
  top: 5px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
}

.main-nav a::after {
  bottom: 5px;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
  text-shadow: 0 0 14px rgba(11, 171, 169, 0.35);
}

.main-nav a:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 16px rgba(11, 171, 169, 0.24));
}

.main-nav a:hover::before,
.main-nav a:hover::after,
.main-nav a.active::before,
.main-nav a.active::after {
  opacity: 1;
  box-shadow: 0 0 12px rgba(11, 171, 169, 0.42), 0 0 24px rgba(11, 171, 169, 0.18);
}

.main-nav a:hover::before,
.main-nav a.active::before { width: 92px; }
.main-nav a:hover::after,
.main-nav a.active::after { width: 58px; }

.volume-content {
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.8fr);
  gap: 28px;
}

.product-details-card {
  overflow: visible;
  border: 1px solid rgba(11, 171, 169, 0.10);
  box-shadow: 0 22px 48px rgba(31, 97, 119, 0.14);
}

.product-details-card::before {
  display: none;
}

.product-details-card h3 {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 2px solid rgba(11, 171, 169, 0.14);
  color: #11254d;
  font-size: 22px;
}

.details-list {
  gap: 10px;
}

.details-list div {
  grid-template-columns: minmax(110px, 0.82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 18px;
  padding: 13px 15px;
  border: 1px solid rgba(17, 37, 77, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.details-list div:last-child {
  border-bottom: 1px solid rgba(17, 37, 77, 0.07);
}

.details-list dt,
.details-list dd {
  min-width: 0;
  line-height: 1.35;
}

.details-list dd {
  overflow-wrap: anywhere;
  text-align: left;
}

@media (max-width: 1160px) {
  .volume-content {
    grid-template-columns: 1fr;
  }

  .product-details-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .main-nav a {
    min-width: 0;
    padding: 12px 18px;
  }

  .details-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* === Product page layout repair: align details with cover + clean premium cards === */
.product-page {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.78) 0 88px, transparent 92px),
    linear-gradient(180deg, #eaf9fb 0%, #eefaf8 48%, #f8fbf4 100%);
}

.product-page .decor,
.product-page .wave-edge {
  opacity: 0.42;
}

.product-page .product-info-card::before {
  display: none;
}

.product-page .product-main-cover,
.product-page .volume-cover,
.product-page .product-info-card,
.product-page .series-cover-grid figure {
  border: 1px solid rgba(17, 37, 77, 0.07);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(25, 94, 119, 0.13);
}

.product-page .product-info-card {
  padding: clamp(28px, 3vw, 40px);
}

.product-page .product-info-card h2,
.product-page .product-info-card h3 {
  letter-spacing: -0.025em;
}

.product-page .product-info-card p {
  color: #586270;
  line-height: 1.78;
}

.product-page .product-hero,
.product-page .product-content-grid {
  align-items: start;
}

.product-hero-with-details {
  grid-template-columns: minmax(230px, 0.78fr) minmax(330px, 1.14fr) minmax(300px, 0.86fr);
  gap: clamp(22px, 2.8vw, 34px);
  align-items: start;
}

.product-hero-with-details .product-main-cover,
.product-hero-with-details .product-details-card {
  align-self: start;
}

.product-hero-with-details .product-intro {
  padding-top: 10px;
}

.product-hero-with-details .product-intro h1 {
  font-size: clamp(38px, 4.2vw, 58px);
}

.product-description-section {
  padding-bottom: 56px;
}

.product-description-card {
  max-width: 920px;
}

/* Coloring book selected-volume layout */
.volume-detail-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(340px, 1.1fr) minmax(300px, 0.88fr);
  grid-template-areas:
    "cover summary details"
    "description description description";
  gap: clamp(22px, 2.8vw, 32px);
  align-items: start;
}

.volume-detail-layout .volume-cover {
  grid-area: cover;
  position: static;
  padding: 16px;
}

.volume-detail-layout .volume-cover img {
  border-radius: 18px;
}

.volume-summary-card {
  grid-area: summary;
  min-height: 100%;
}

.volume-summary-card h2 {
  margin: 10px 0 18px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
}

.volume-summary-card .volume-lead {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 700;
}

.volume-description-card {
  grid-area: description;
  padding-inline: clamp(34px, 5vw, 66px) !important;
}

.volume-description-card h3,
.product-description-card h2 {
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(11, 171, 169, 0.14);
}

.volume-description-card p {
  max-width: 940px;
}

/* Details card: flush top, less clutter, clearer rows */
.product-page .product-details-card {
  position: static;
  align-self: start;
  overflow: hidden;
  border: 1px solid rgba(11, 171, 169, 0.16);
  box-shadow: 0 24px 58px rgba(31, 97, 119, 0.16);
}

.product-page .product-details-card h2,
.product-page .product-details-card h3 {
  margin: 0 0 18px;
  padding: 0 0 15px;
  border-bottom: 2px solid rgba(11, 171, 169, 0.15);
  color: #11254d;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.12;
}

.product-page .details-list {
  display: grid;
  gap: 10px;
}

.product-page .details-list div {
  display: grid;
  grid-template-columns: minmax(98px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(17, 37, 77, 0.07);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.76);
}

.product-page .details-list div:last-child {
  border-bottom: 1px solid rgba(17, 37, 77, 0.07);
}

.product-page .details-list dt,
.product-page .details-list dd {
  min-width: 0;
  line-height: 1.35;
}

.product-page .details-list dt {
  color: #11254d;
  font-weight: 900;
}

.product-page .details-list dd {
  color: #596270;
  font-weight: 800;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1160px) {
  .product-hero-with-details,
  .volume-detail-layout {
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    grid-template-areas:
      "cover summary"
      "details details"
      "description description";
  }

  .product-hero-with-details .product-details-card {
    grid-column: 1 / -1;
  }

  .volume-detail-layout .product-details-card {
    grid-area: details;
  }
}

@media (max-width: 1050px) {
  .product-hero-with-details,
  .volume-detail-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "cover"
      "summary"
      "details"
      "description";
  }

  .product-hero-with-details .product-main-cover,
  .volume-detail-layout .volume-cover {
    width: min(480px, 100%);
    justify-self: center;
  }

  .product-hero-with-details .product-intro,
  .volume-summary-card,
  .volume-description-card,
  .product-hero-with-details .product-details-card {
    grid-column: auto;
    grid-area: auto;
  }
}

@media (max-width: 760px) {
  .product-page .product-info-card {
    padding: 24px 20px;
  }

  .volume-description-card {
    padding-inline: 22px !important;
  }

  .product-page .details-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.product-hero-with-details .product-main-cover { grid-area: cover; }
.product-hero-with-details .product-intro { grid-area: summary; }
.product-hero-with-details .product-details-card { grid-area: details; }
.volume-detail-layout .product-details-card { grid-area: details; }

/* grid-area order lock */
.product-hero-with-details {
  grid-template-areas: "cover summary details";
}
.product-hero-with-details .product-main-cover { grid-area: cover; }
.product-hero-with-details .product-intro { grid-area: summary; }
.product-hero-with-details .product-details-card { grid-area: details; }
.volume-detail-layout .volume-cover { grid-area: cover; }
.volume-detail-layout .volume-summary-card { grid-area: summary; }
.volume-detail-layout .product-details-card { grid-area: details; }
.volume-detail-layout .volume-description-card { grid-area: description; }

@media (max-width: 1160px) {
  .product-hero-with-details {
    grid-template-areas:
      "cover summary"
      "details details";
  }
  .volume-detail-layout {
    grid-template-areas:
      "cover summary"
      "details details"
      "description description";
  }
}

@media (max-width: 1050px) {
  .product-hero-with-details {
    grid-template-areas:
      "cover"
      "summary"
      "details";
  }
  .volume-detail-layout {
    grid-template-areas:
      "cover"
      "summary"
      "details"
      "description";
  }
}


/* === 2026-06-09 UI alignment + overflow repair === */
:root {
  --shadow: 0 16px 38px rgba(24, 89, 116, 0.12);
  --shadow-strong: 0 24px 56px rgba(24, 89, 116, 0.18);
}

/* Keep cards premium, calm, and prevent text from crossing rounded borders */
.book-card,
.catalog-card,
.product-info-card,
.product-main-cover,
.volume-cover,
.series-cover-grid figure {
  overflow: hidden;
}

.book-card h2 {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.22;
  min-height: 2.45em;
}

.book-meta {
  line-height: 1.5;
}

.card-action,
.button-link {
  max-width: calc(100% - 36px);
  white-space: nowrap;
}

/* Product details: tighter label column + wrapping values, so ISBN/publisher never overflow */
.product-page .product-details-card {
  min-width: 0;
}

.product-page .details-list div {
  grid-template-columns: minmax(74px, 0.56fr) minmax(0, 1.44fr);
  gap: 12px;
  min-width: 0;
}

.product-page .details-list dt,
.product-page .details-list dd {
  min-width: 0;
  font-size: 15px;
}

.product-page .details-list dd {
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.45;
}

/* Catalog: show series first, categories below */
.catalog-featured {
  padding-bottom: 48px;
}

.catalog-featured-heading {
  grid-column: 1 / -1;
  max-width: 760px;
  margin-bottom: 4px;
}

.catalog-featured-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.catalog-featured-heading p {
  color: #5c6674;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 700;
}

.catalog-section {
  padding: 10px 0 96px;
}

.catalog-section h2 {
  padding-top: 8px;
}

/* Focus Games: original structure, but ensure description and parameters start at the same height */
.product-page .product-content-grid {
  align-items: start;
  grid-template-columns: minmax(0, 1.48fr) minmax(300px, 0.72fr);
  gap: clamp(24px, 3vw, 34px);
}

.product-page .product-content-grid > .product-info-card,
.product-page .product-content-grid > .product-details-card {
  align-self: start;
}

.product-page .product-content-grid .product-info-card > h2,
.product-page .product-content-grid .product-details-card > h2 {
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(11, 171, 169, 0.14);
}

/* Reduce decorative noise for a cleaner professional look */
.page-shell .playful-scene,
.product-page .decor,
.product-page .wave-edge {
  opacity: 0.28;
}

@media (max-width: 1160px) {
  .product-page .details-list div {
    grid-template-columns: minmax(92px, 0.65fr) minmax(0, 1.35fr);
  }
}

@media (max-width: 1050px) {
  .product-page .product-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .catalog-featured-heading {
    margin-bottom: 0;
  }

  .book-card h2 {
    min-height: auto;
  }

  .product-page .details-list div {
    grid-template-columns: 1fr;
  }

  .card-action,
  .button-link {
    max-width: calc(100% - 24px);
  }
}

/* === V3: USD pricing done in HTML; restore playful original background while keeping alignment fixes === */
.product-page {
  background:
    radial-gradient(circle at -5% 16%, rgba(255,255,255,0.95) 0 38px, transparent 40px),
    radial-gradient(circle at 101% 13%, rgba(255,255,255,0.9) 0 34px, transparent 36px),
    radial-gradient(circle at 2% 78%, rgba(202,236,248,0.8) 0 95px, transparent 98px),
    radial-gradient(circle at 99% 82%, rgba(202,236,248,0.8) 0 70px, transparent 72px),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
}

.product-page::before {
  opacity: 0.68;
}

.product-page::after {
  opacity: 0.62;
}

.product-page .decor,
.product-page .wave-edge {
  opacity: 1;
}

.page-shell .playful-scene {
  opacity: 1;
}

.product-page .product-info-card::before {
  display: block;
  opacity: 0.18;
}

/* Keep the restored playful details from interfering with readable product cards */
.product-page .product-details-card::before,
.volume-description-card::before,
.product-description-card::before {
  opacity: 0.12;
}
