:root {
  --sky: #cbeeff;
  --sky-soft: #ecf9ff;
  --star-red: #e63946;
  --star-red-deep: #c92735;
  --star-blue: #2467dd;
  --star-blue-deep: #102e72;
  --star-yellow: #ffd94a;
  --star-green: #76d477;
  --star-pink: #ee7590;
  --cream: #fffdf2;
  --shadow-toy: 0 12px 30px -12px rgba(16, 46, 114, 0.35);
  --font-sans: "Nunito", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fredoka", "Nunito", ui-sans-serif, system-ui, sans-serif;
}

body[data-theme="catalog-cover"] {
  --sky: #171333;
  --sky-soft: #241d4b;
  --star-red: #f03342;
  --star-red-deep: #c92735;
  --star-blue: #d7a83f;
  --star-blue-deep: #171333;
  --star-yellow: #ffe58a;
  --star-green: #6ed6c9;
  --star-pink: #ff8096;
  --cream: #130f2d;
  --shadow-toy: 0 18px 45px -18px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--star-blue-deep);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body[data-theme="catalog-cover"] {
  background:
    radial-gradient(2px 2px at 8% 18%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 60%, rgba(255, 229, 138, 0.8), transparent 60%),
    radial-gradient(2.5px 2.5px at 78% 30%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(30rem 18rem at 50% 0%, rgba(215, 168, 63, 0.2), transparent 70%),
    linear-gradient(180deg, #171333 0%, #241d4b 100%);
  color: #fff3b5;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(203, 238, 255, 0.9);
  border-bottom: 2px dashed rgba(230, 57, 70, 0.28);
  backdrop-filter: blur(12px) saturate(140%);
}

body[data-theme="catalog-cover"] .site-header {
  background: rgba(23, 19, 51, 0.92);
  border-bottom-color: rgba(255, 229, 138, 0.34);
}

.header-inner {
  width: min(100% - 56px, 1500px);
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
}

.brand,
.footer-logo-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: auto;
  height: 56px;
  filter: drop-shadow(0 4px 8px rgba(16, 46, 114, 0.18));
}

.brand span,
.footer-logo-row span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong,
.footer-logo-row strong {
  color: var(--star-red);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.brand small,
.footer-logo-row small {
  margin-top: 4px;
  color: rgba(16, 46, 114, 0.7);
  font-weight: 700;
  font-size: 12px;
}

body[data-theme="catalog-cover"] .brand small,
body[data-theme="catalog-cover"] .footer-logo-row small {
  color: rgba(255, 243, 181, 0.78);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  margin-inline: auto;
}

.nav-link {
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--star-blue-deep);
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
  background: white;
  color: var(--star-red);
}

body[data-theme="catalog-cover"] .nav-link {
  color: #fff3b5;
}

body[data-theme="catalog-cover"] .nav-link:hover {
  background: rgba(255, 250, 240, 0.12);
  color: #ffe58a;
}

.nav-link.active {
  background: var(--star-red);
  color: white;
  box-shadow: var(--shadow-toy);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(36, 103, 221, 0.2);
  border-radius: 999px;
  background: white;
  padding: 8px 12px;
  color: var(--star-red);
}

.desktop-search-shell {
  position: relative;
  flex: 0 0 auto;
}

body[data-theme="catalog-cover"] .search-box {
  border-color: rgba(255, 229, 138, 0.34);
  background: #fffaf0;
}

.search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: white;
  color: var(--star-red);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
}

.search-submit {
  border: 0;
  border-radius: 999px;
  background: var(--star-red);
  padding: 5px 10px;
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.search-close {
  display: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--star-blue-deep);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.search-box input {
  width: clamp(180px, 16vw, 260px);
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--star-blue-deep);
}

@media (max-width: 1240px) {
  .header-inner {
    width: min(100% - 32px, 1240px);
    gap: 14px;
  }

  .desktop-nav {
    gap: 6px;
  }

  .nav-link {
    padding: 9px 12px;
    font-size: 14px;
  }

  .search-box input {
    width: 170px;
  }
}

@media (max-width: 1520px) and (min-width: 1025px) {
  .desktop-search-shell .search-toggle {
    display: inline-flex;
  }

  .desktop-search-shell .desktop-search {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 70;
    display: none;
    width: min(360px, calc(100vw - 32px));
    padding: 8px;
    box-shadow: var(--shadow-toy);
  }

  .desktop-search-shell.open .desktop-search {
    display: flex;
  }

  .desktop-search-shell .desktop-search input {
    width: auto;
    min-width: 0;
    flex: 1;
  }

  .desktop-search-shell .search-close {
    display: grid;
  }
}

.menu-toggle {
  display: none;
  min-width: 76px;
  height: 44px;
  padding: 0 18px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--star-red);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
}

.mobile-panel {
  display: none;
  overflow: hidden;
  border-top: 1px solid rgba(230, 57, 70, 0.18);
  background: white;
  padding: 16px;
}

body[data-theme="catalog-cover"] .mobile-panel {
  background: #171333;
  border-top-color: rgba(255, 229, 138, 0.26);
}

.mobile-link {
  display: block;
  border-radius: 18px;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--star-blue-deep);
}

body[data-theme="catalog-cover"] .mobile-link {
  color: #fff3b5;
}

.mobile-link.active {
  background: rgba(230, 57, 70, 0.1);
  color: var(--star-red);
}

.sky-doodle {
  background-color: var(--sky);
  background-image:
    radial-gradient(2px 2px at 8% 18%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(2px 2px at 22% 60%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(2.5px 2.5px at 78% 30%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 80%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(2px 2px at 45% 85%, rgba(255, 255, 255, 0.8), transparent 60%);
}

body[data-theme="catalog-cover"] .sky-doodle {
  background-color: #171333;
  background-image:
    radial-gradient(2px 2px at 8% 18%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 60%, rgba(255, 229, 138, 0.8), transparent 60%),
    radial-gradient(2.5px 2.5px at 78% 30%, rgba(255, 255, 255, 0.95), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 80%, rgba(255, 229, 138, 0.72), transparent 60%),
    radial-gradient(1px 1px at 14% 42%, rgba(255, 255, 255, 0.82), transparent 65%),
    radial-gradient(1.2px 1.2px at 32% 28%, rgba(255, 229, 138, 0.78), transparent 65%),
    radial-gradient(1px 1px at 48% 72%, rgba(255, 255, 255, 0.76), transparent 65%),
    radial-gradient(1.4px 1.4px at 66% 14%, rgba(255, 229, 138, 0.68), transparent 65%),
    radial-gradient(1px 1px at 82% 58%, rgba(255, 255, 255, 0.8), transparent 65%),
    radial-gradient(3px 3px at 3% 24%, rgba(255, 255, 255, 0.42), transparent 55%),
    radial-gradient(2.5px 2.5px at 96% 12%, rgba(255, 229, 138, 0.42), transparent 55%),
    radial-gradient(30rem 18rem at 50% 0%, rgba(215, 168, 63, 0.2), transparent 70%),
    linear-gradient(180deg, #171333 0%, #241d4b 100%);
}

body[data-theme="catalog-cover"] .sky-doodle :where(h1, h2) {
  color: #fff3b5;
}

body[data-theme="catalog-cover"] .sky-doodle :where(p, .text-blue) {
  color: rgba(255, 243, 181, 0.82);
}

body[data-theme="catalog-cover"] .sky-doodle :where(.product-card, .info-card, .catalog-book, .catalog-page, .contact-form, .contact-card, .representatives-card, .product-detail-card, .highlight-card, .quick-card, .form-card, .white-card, .bg-white, form, aside) :where(h1, h2, h3, p, small, label, input, textarea, select) {
  color: #171333;
}

body[data-theme="catalog-cover"] .sky-doodle :where(h1, h2, h3, h4, .text-blue) {
  color: #d7a83f !important;
}

body[data-theme="catalog-cover"] .sky-doodle :where(p, .hero-copy p, .page-hero p, .about-hero p) {
  color: #fff3b5 !important;
}

body[data-theme="catalog-cover"] .sky-doodle :where(.product-card, .info-card, .catalog-book, .catalog-page, .contact-form, .contact-card, .representatives-card, .product-detail-card, .highlight-card, .quick-card, .form-card, .white-card, .bg-white, form, aside) :where(h1, h2, h3, h4, p, small, label, input, textarea, select) {
  color: #171333 !important;
}

body[data-theme="catalog-cover"] .section-heading h2,
body[data-theme="catalog-cover"] .section-title,
body[data-theme="catalog-cover"] .product-grid-heading h2 {
  color: #d7a83f !important;
}

body[data-theme="catalog-cover"] .category-section .section-heading h2,
body[data-theme="catalog-cover"] .category-title-row h2 {
  color: #d7a83f !important;
}

body[data-theme="catalog-cover"] .section-heading p,
body[data-theme="catalog-cover"] .section-copy {
  color: #fff3b5 !important;
}

body[data-theme="catalog-cover"] :where(.product-card, .info-card, .catalog-book, .catalog-page, .contact-form, .contact-card, .representatives-card, .product-detail-card, .highlight-card, .quick-card, .form-card, .white-card, .shortcut-card:not(.dark), form, aside) :where(h1, h2, h3, h4, p, small, label, input, textarea, select) {
  color: #171333 !important;
}

body[data-theme="catalog-cover"] :where(.detail-info-card, .technical-note),
body[data-theme="catalog-cover"] :where(.detail-info-card, .technical-note) :where(h1, h2, h3, h4, p, strong, label, input, textarea, select) {
  color: #171333 !important;
}

body[data-theme="catalog-cover"] .technical-note p {
  color: rgba(23, 19, 51, 0.75) !important;
}

body[data-theme="catalog-cover"] .technical-note .technical-source {
  color: rgba(23, 19, 51, 0.58) !important;
}

.hero,
.about-hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-grid,
.about-grid {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 48px;
  padding: 56px 0 76px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 430px;
}

.hero-slide {
  display: none;
  animation: slideIn 0.45s ease both;
}

.hero-slide.active {
  display: block;
}

.eyebrow,
.mini-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(230, 57, 70, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 7px 14px;
  color: var(--star-red);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-label {
  margin-bottom: 12px;
  border: 0;
  background: rgba(230, 57, 70, 0.1);
}

.mini-label.blue {
  background: rgba(36, 103, 221, 0.1);
  color: var(--star-blue);
}

.hero h1,
.about-hero h1,
.page-hero h1 {
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 900;
}

.hero h1 span,
.about-hero h1 span,
.page-hero h1 span,
.section-heading h2 span {
  color: var(--star-red);
}

.text-blue {
  color: var(--star-blue) !important;
}

.text-red {
  color: var(--star-red) !important;
}

.hero p,
.about-hero p,
.page-hero p {
  max-width: 480px;
  margin-top: 20px;
  color: rgba(16, 46, 114, 0.75);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--font-display);
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-red {
  background: var(--star-red);
  color: white;
  box-shadow: var(--shadow-toy);
}

.button-red:hover {
  background: var(--star-red-deep);
}

.button-blue {
  background: var(--star-blue);
  color: white;
  box-shadow: var(--shadow-toy);
}

.button-blue:hover {
  background: var(--star-blue-deep);
}

.button-outline {
  border: 2px solid rgba(36, 103, 221, 0.4);
  background: white;
  color: var(--star-blue);
}

.button-outline:hover {
  border-color: var(--star-blue);
  background: var(--star-blue);
  color: white;
}

.love-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(16, 46, 114, 0.7) !important;
  font-size: 14px !important;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-controls > button,
.dots button {
  border: 2px solid rgba(36, 103, 221, 0.28);
  background: white;
  color: var(--star-blue);
  cursor: pointer;
}

.slider-controls > button {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 24px;
  line-height: 1;
}

.dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 103, 221, 0.25);
  transition: width 0.2s ease, background 0.2s ease;
}

.dots button.active {
  width: 32px;
  background: var(--star-red);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.mascot-float {
  position: relative;
  animation: floatY 4s ease-in-out infinite;
}

.mascot-float img {
  position: relative;
  z-index: 2;
  width: auto;
  height: min(480px, 70vw);
  filter: drop-shadow(0 24px 28px rgba(16, 46, 114, 0.28));
}

.halo {
  position: absolute;
  inset: 50% 0 auto;
  z-index: 1;
  width: 90%;
  aspect-ratio: 1;
  margin-inline: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(42px);
}

.badge-corner {
  position: absolute;
  top: 26px;
  right: 2px;
  z-index: 4;
}

.since-pill {
  position: absolute;
  left: 0;
  bottom: 60px;
  z-index: 4;
  border: 4px solid white;
  border-radius: 999px;
  background: var(--star-red);
  padding: 10px 16px;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  box-shadow: var(--shadow-toy);
}

.star-badge-floating {
  animation: starFloat 7s ease-in-out infinite;
}

.section {
  padding: 68px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading h2 {
  color: var(--star-blue-deep);
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
  font-weight: 900;
}

.section-heading p {
  margin-top: 16px;
  color: rgba(16, 46, 114, 0.72);
  line-height: 1.65;
}

.split-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.split-heading.compact {
  align-items: center;
  margin-bottom: 24px;
}

.split-heading.compact h2 {
  font-size: clamp(28px, 4vw, 42px);
}

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

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 26px;
  background: white;
  box-shadow: var(--shadow-toy);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:focus-visible {
  outline: 3px solid var(--star-yellow);
  outline-offset: 4px;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 57, 70, 0.3);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: white;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.age-badge,
.new-badge {
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 12px rgba(16, 46, 114, 0.18);
}

.new-badge {
  background: var(--star-red);
  color: white;
}

.badge-yellow,
.badge-green {
  color: var(--star-blue-deep);
}

.badge-yellow {
  background: var(--star-yellow);
}

.badge-green {
  background: var(--star-green);
}

.badge-red {
  background: var(--star-red);
  color: white;
}

.badge-pink {
  background: var(--star-pink);
  color: white;
}

.badge-blue {
  background: var(--star-blue);
  color: white;
}

.details-chip {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  border-radius: 999px;
  background: rgba(16, 46, 114, 0.94);
  padding: 9px 14px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .details-chip {
  opacity: 1;
  transform: translateY(0);
}

.details-chip span:last-child {
  color: var(--star-yellow);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--star-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-meta span:last-child {
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--sky-soft);
  padding: 3px 8px;
  color: var(--star-blue);
}

.product-body h3 {
  color: var(--star-blue-deep);
  font-size: 19px;
  line-height: 1.2;
}

.product-body p {
  color: rgba(16, 46, 114, 0.7);
  font-size: 14px;
  line-height: 1.55;
}

.shortcut-band,
.filter-band {
  border-block: 2px dashed rgba(230, 57, 70, 0.15);
  background: var(--sky-soft);
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 56px 0;
}

.shortcut-card,
.help-card {
  border: 2px solid white;
  border-radius: 26px;
  background: white;
  padding: 32px;
  box-shadow: var(--shadow-toy);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.shortcut-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.3);
}

.shortcut-card small {
  color: var(--star-red);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.shortcut-card h3 {
  margin-top: 8px;
  font-size: clamp(26px, 4vw, 34px);
}

.shortcut-card p {
  margin-top: 10px;
  color: rgba(16, 46, 114, 0.72);
  line-height: 1.6;
}

.shortcut-card strong {
  display: inline-flex;
  margin-top: 16px;
  color: var(--star-red);
  font-family: var(--font-display);
}

.shortcut-card.dark {
  background: var(--star-blue-deep);
  color: white;
}

.shortcut-card.dark small,
.shortcut-card.dark strong,
.shortcut-card.dark p strong {
  color: var(--star-yellow);
}

.shortcut-card.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero .container {
  padding: 58px 0 78px;
}

.filter-band .container {
  padding: 24px 0;
}

.filter-stack {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.filter-group {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.filter-label {
  color: var(--star-blue-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-theme="catalog-cover"] .filter-label {
  color: var(--star-yellow);
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  border: 2px solid white;
  border-radius: 999px;
  background: white;
  padding: 8px 15px 8px 8px;
  color: var(--star-blue-deep);
  font-family: var(--font-display);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pill[data-filter-category="all"] {
  padding-left: 15px;
}

.age-filter-pill {
  min-width: 64px;
  min-height: 44px;
  justify-content: center;
  padding: 8px 18px;
}

.category-pill-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: white;
  padding: 4px;
  box-shadow: 0 6px 14px -10px rgba(16, 46, 114, 0.65);
}

.category-pill-icon img,
.category-section-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pill:hover {
  transform: translateY(-2px);
  border-color: var(--star-red);
  color: var(--star-red);
}

.pill.active {
  border-color: var(--star-red);
  background: var(--star-red);
  color: white;
  box-shadow: var(--shadow-toy);
}

.pill:focus-visible {
  outline: 3px solid var(--star-yellow);
  outline-offset: 3px;
}

.grouped-sections {
  padding: 64px 0;
}

.category-section {
  margin-bottom: 64px;
}

.category-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-section-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  overflow: hidden;
  border: 2px solid white;
  border-radius: 18px;
  background: white;
  padding: 8px;
  box-shadow: var(--shadow-toy);
}

.count-pill {
  border-radius: 999px;
  background: rgba(36, 103, 221, 0.1);
  padding: 8px 12px;
  color: var(--star-blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-state {
  display: none;
  border: 2px dashed rgba(36, 103, 221, 0.2);
  border-radius: 26px;
  background: var(--sky-soft);
  padding: 48px 24px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
}

.help-card {
  margin-top: 24px;
  border-style: dashed;
  text-align: center;
}

    .help-card p:first-child strong {
        color: rgba(16, 46, 114, 0.7);
    }

.help-card p + p {
  margin-top: 6px;
  color: rgba(16, 46, 114, 0.7);
}

.help-card .button {
  margin-top: 16px;
}

.form-grid,
.representatives-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: start;
}

.representatives-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-form,
.info-panel,
.representatives-panel,
.map-panel {
  border: 2px solid white;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: var(--shadow-toy);
}

.info-panel {
  align-self: start;
  padding: 20px;
}

.info-panel h2 {
  font-size: 28px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  color: var(--star-red);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 2px solid rgba(16, 46, 114, 0.3);
  border-radius: 18px;
  background: white;
  padding: 12px 14px;
  color: var(--star-blue-deep);
  outline: 0;
  box-shadow: inset 0 0 0 1px rgba(16, 46, 114, 0.08);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--star-red);
  box-shadow: 0 0 0 4px rgba(246, 48, 65, 0.12);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin-bottom: 18px;
  border-radius: 20px;
  padding: 14px 16px;
  font-weight: 800;
}

.form-alert.success {
  background: rgba(118, 212, 119, 0.22);
  color: #236b27;
}

.form-alert.error {
  background: rgba(230, 57, 70, 0.12);
  color: var(--star-red-deep);
}

.brazil-map-shell {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1000 / 912;
  margin: 20px auto 0;
}

.brazil-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.brazil-map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(16, 46, 114, 0.08));
  pointer-events: none;
}

.map-state {
  cursor: pointer;
  outline: none;
}

.map-state circle {
  fill: white;
  stroke: var(--star-blue);
  stroke-width: 5;
  filter: drop-shadow(0 8px 12px rgba(16, 46, 114, 0.16));
  transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.map-state text {
  fill: var(--star-blue-deep);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
}

.map-state:hover circle,
.map-state:focus-visible circle,
.map-state.active circle {
  fill: var(--star-red);
  stroke: white;
  filter: drop-shadow(0 10px 16px rgba(230, 57, 70, 0.24));
  transform: scale(1.12);
}

.map-state:hover text,
.map-state:focus-visible text,
.map-state.active text {
  fill: white;
}

.state-select {
  display: none;
  margin-bottom: 16px;
}

.representative-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  max-height: min(68vh, 720px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-color: var(--star-blue) var(--sky-soft);
  scrollbar-width: thin;
}

.representative-list::-webkit-scrollbar {
  width: 10px;
}

.representative-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--sky-soft);
}

.representative-list::-webkit-scrollbar-thumb {
  border: 2px solid var(--sky-soft);
  border-radius: 999px;
  background: var(--star-blue);
}

.representative-card {
  border: 2px solid var(--sky-soft);
  border-radius: 20px;
  background: white;
  padding: 16px;
}

.representative-card h3 {
  color: var(--star-blue-deep);
  font-size: 20px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.representative-card p,
.info-panel p {
  margin-top: 8px;
  color: rgba(16, 46, 114, 0.72);
  line-height: 1.55;
}

.representative-card p {
  overflow-wrap: anywhere;
}

.representative-card p strong {
  color: var(--star-blue-deep);
}

.representative-card a {
  color: var(--star-blue);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.representative-card a:hover,
.representative-card a:focus-visible {
  color: var(--star-red);
  text-decoration: underline;
}

.representative-empty {
  border: 2px dashed rgba(36, 103, 221, 0.2);
  border-radius: 20px;
  background: var(--sky-soft);
  padding: 18px;
  font-weight: 800;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-editorial {
  border: 2px solid white;
  border-radius: 26px;
  background: white;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-toy);
}

.story-lead {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.story-editorial p {
  max-width: 980px;
  color: rgba(16, 46, 114, 0.76);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

.story-editorial p + p {
  margin-top: 18px;
}

.story-editorial strong {
  color: var(--star-blue-deep);
  font-weight: 900;
}

.story-commitment {
  margin-top: 24px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.story-commitment h3 {
  color: var(--star-blue-deep);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
}

.story-commitment p {
  margin-top: 10px;
}

.timeline-heading {
  margin-top: 56px;
}

.history-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.timeline li,
.value-card {
  border: 2px solid white;
  border-radius: 26px;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-toy);
}

.history-timeline li {
  padding: 20px;
}

.timeline li div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline span {
  border-radius: 999px;
  background: var(--star-red);
  padding: 5px 12px;
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
}

.history-timeline span {
  display: inline-flex;
  width: fit-content;
}

.timeline h3 {
  font-size: 19px;
}

.timeline p,
.value-card p {
  margin-top: 12px;
  color: rgba(16, 46, 114, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.history-timeline.bigstar-history-timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0;
}

.history-timeline.bigstar-history-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 13px;
  width: 5px;
  border-radius: 999px;
  background: var(--star-blue);
}

.history-timeline.bigstar-history-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 68px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0 0 36px;
  box-shadow: none;
}

.history-timeline.bigstar-history-timeline > li::before {
  content: "★";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  color: var(--star-red);
  font-size: 27px;
  line-height: 1;
  text-shadow: 0 1px 0 white, 0 4px 12px rgba(16, 46, 114, 0.2);
  transform: translateY(-50%);
}

.history-timeline.bigstar-history-timeline > li:nth-child(even)::before {
  color: var(--star-yellow);
}

.history-timeline.bigstar-history-timeline > li > div {
  min-width: 0;
}

.history-timeline.bigstar-history-timeline > li > div > span {
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--star-blue);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.15;
  white-space: nowrap;
}

.history-timeline.bigstar-history-timeline > li > p {
  margin: 0;
  border: 1px solid rgba(36, 103, 221, 0.08);
  border-radius: 16px;
  background: var(--sky-soft);
  padding: 13px 18px;
  color: rgba(16, 46, 114, 0.86);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.5;
  box-shadow: 0 10px 24px -22px rgba(16, 46, 114, 0.75);
}

@media (max-width: 720px) {
  .history-timeline.bigstar-history-timeline > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding-left: 42px;
  }

  .history-timeline.bigstar-history-timeline > li::before {
    top: -2px;
    transform: none;
  }

  .history-timeline.bigstar-history-timeline > li > p {
    padding: 12px 14px;
  }
}

.slogan-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--star-blue-deep);
  padding: 70px 24px;
  color: white;
  text-align: center;
}

.slogan-band p {
  color: var(--star-yellow);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.slogan-band h2 {
  font-size: clamp(38px, 6vw, 68px);
}

.slogan-band span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

.principles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 18px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--star-red);
  font-weight: 900;
}

.value-card h3 {
  margin-top: 16px;
  font-size: 19px;
}

.site-footer {
  background: var(--star-blue-deep);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 42px;
  padding: 64px 0;
}

.footer-logo-row img {
  height: 64px;
  width: auto;
}

.footer-logo-row strong,
.site-footer h4 {
  color: var(--star-yellow);
}

.footer-logo-row small {
  color: rgba(255, 255, 255, 0.7);
}

.footer-brand p {
  max-width: 460px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

.footer-brand p strong {
  color: var(--star-yellow);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: white;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social-links a:hover {
  border-color: var(--star-yellow);
  background: var(--star-yellow);
  color: var(--star-blue-deep);
}

.site-footer h4 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--star-yellow);
}

.contact-list li {
  line-height: 1.5;
}

.footer-bottom {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-bottom span {
  color: var(--star-red);
}

.hidden-by-filter,
.hidden-by-search {
  display: none !important;
}

.product-detail-hero {
  padding: 42px 0 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  border: 2px solid rgba(36, 103, 221, 0.3);
  border-radius: 999px;
  background: white;
  padding: 9px 16px;
  color: var(--star-blue);
  font-family: var(--font-display);
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.back-link:hover {
  border-color: var(--star-red);
  color: var(--star-red);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 32px;
}

.product-detail-image,
.product-carousel {
  overflow: hidden;
  border: 2px solid white;
  border-radius: 28px;
  background: #ffffff;
  background: white;
  padding: 16px;
  box-shadow: var(--shadow-toy);
}

.product-detail-image img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}

.product-carousel-stage {
  position: relative;
  height: clamp(420px, 58vh, 620px);
}

.product-carousel-media {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-carousel-media.active {
  display: block;
}

.product-carousel-video {
  background: #111631;
}

.product-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(16, 46, 114, 0.92);
  color: white;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
}

.product-carousel-arrow:hover {
  background: var(--star-red);
}

.product-carousel-arrow.prev {
  left: 12px;
}

.product-carousel-arrow.next {
  right: 12px;
}

.product-carousel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.product-carousel-label {
  border-radius: 999px;
  background: #d8f6ff;
  background: var(--sky-soft);
  padding: 8px 12px;
  color: #0099d8;
  color: var(--star-blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-toy);
}

.download-button.red {
  background: #f52d38;
  background: var(--star-red);
}

.download-button.blue {
  background: #0099d8;
  background: var(--star-blue);
}

.product-carousel-thumbs-shell {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.product-carousel-thumbs-shell.is-compact {
  grid-template-columns: minmax(0, 1fr);
}

.product-carousel-thumbs-shell.is-compact .product-carousel-thumbs {
  justify-content: center;
}

.product-carousel-thumbs {
  display: flex;
  min-width: 0;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.product-carousel-thumbs::-webkit-scrollbar {
  display: none;
}

.product-carousel-thumbs > button {
  flex: 0 0 82px;
  overflow: hidden;
  border: 2px solid var(--sky-soft);
  border-radius: 16px;
  background: white;
  padding: 4px;
  cursor: pointer;
  scroll-snap-align: center;
}

.product-carousel-thumbs > button.active {
  border-color: var(--star-red);
  box-shadow: var(--shadow-toy);
}

.product-carousel-thumbs img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.product-video-thumb {
  display: grid;
  width: 100%;
  aspect-ratio: 3 / 4;
  place-content: center;
  gap: 7px;
  border-radius: 11px;
  background: linear-gradient(145deg, #172658, #102e72);
  color: white;
  font-family: var(--font-display);
  text-align: center;
}

.product-video-thumb-icon {
  display: grid;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--star-red);
  font-size: 14px;
  line-height: 1;
  text-indent: 2px;
}

.product-video-thumb small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-carousel-thumbs-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--star-blue-deep);
  color: white;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.product-carousel-thumbs-arrow:hover:not(:disabled) {
  background: var(--star-red);
  transform: scale(1.05);
}

.product-carousel-thumbs-arrow:disabled {
  opacity: 0.28;
  cursor: default;
  box-shadow: none;
}

.product-carousel-thumbs-arrow[hidden] {
  display: none;
}

.product-carousel-thumbs > button:focus-visible,
.product-carousel-thumbs-arrow:focus-visible {
  outline: 3px solid var(--star-yellow);
  outline-offset: 2px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-badges span {
  border-radius: 999px;
  background: var(--star-red);
  padding: 8px 13px;
  color: white;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-badges .launch-badge {
  background: var(--star-yellow);
  color: var(--star-blue-deep);
}

.product-detail-copy h1,
.detail-not-found h1 {
  color: var(--star-blue-deep);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
}

.product-detail-copy > p,
.detail-not-found p {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(16, 46, 114, 0.75);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.detail-info-card,
.technical-note {
  border: 2px solid white;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  padding: 20px;
  box-shadow: var(--shadow-toy);
}

.detail-info-card small,
.technical-note small {
  color: var(--star-red);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-info-card strong {
  display: block;
  margin-top: 8px;
  color: var(--star-blue-deep);
  font-family: var(--font-display);
  font-size: 20px;
}

.technical-note {
  margin-top: 24px;
  border-style: dashed;
}

.technical-note p {
  margin-top: 10px;
  color: rgba(16, 46, 114, 0.75);
  line-height: 1.65;
}

.technical-note .technical-source {
  color: rgba(16, 46, 114, 0.55);
  font-size: 13px;
}

.detail-not-found {
  text-align: center;
}

.detail-not-found .button {
  margin-top: 24px;
}

.catalog-hero {
  padding: 40px 0 58px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.catalog-heading h1 {
  max-width: 760px;
  margin-top: 16px;
  color: var(--star-blue-deep);
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
}

.catalog-heading h1 span {
  color: var(--star-red);
}

.catalog-book {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
  max-width: 1040px;
  min-height: calc(min(62vh, 620px) + 49px);
  margin-inline: auto;
  border: 2px solid white;
  border-radius: 24px;
  background: #ffffff;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  box-shadow: var(--shadow-toy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.catalog-book.single {
  max-width: 500px;
  margin-inline: auto;
  grid-template-columns: 1fr;
}

.catalog-book.single .catalog-page.empty {
  display: none;
}

.catalog-book.turning {
  transform: scale(0.99) rotateY(-2deg);
  opacity: 0.82;
}

.catalog-page {
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
  background: #ffffff;
  background: white;
  box-shadow: var(--shadow-toy);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-page:hover {
  transform: translateY(-2px);
}

.catalog-page:focus-visible {
  outline: 4px solid rgba(255, 229, 138, 0.78);
  outline-offset: 4px;
}

.catalog-page.empty {
  min-height: 320px;
  background: var(--sky-soft);
  box-shadow: none;
}

.catalog-page img {
  display: block;
  height: min(62vh, 620px);
  width: 100%;
  object-fit: contain;
}

.catalog-page figcaption {
  border-top: 1px solid var(--sky-soft);
  padding: 12px;
  color: var(--star-blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.catalog-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #0099d8;
  background: var(--star-blue);
  color: #ffffff;
  color: white;
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
}

.catalog-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #ffffff;
  background: white;
  padding: 9px 16px;
  color: #102e72;
  color: var(--star-blue-deep);
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: var(--shadow-toy);
}

.catalog-controls input {
  width: 70px;
  border: 2px solid var(--sky-soft);
  border-radius: 999px;
  padding: 6px;
  color: var(--star-blue-deep);
  text-align: center;
  outline: 0;
}

.catalog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 18px;
}

.catalog-lightbox.active {
  display: flex;
}

.catalog-lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 20px;
  background: white;
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.catalog-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--star-red);
  padding: 12px 18px;
  color: white;
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: var(--shadow-toy);
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes starFloat {
  0%,
  100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(8deg) translateY(-4px);
  }
  75% {
    transform: rotate(-8deg) translateY(-2px);
  }
}

@media (max-width: 1024px) {
  .desktop-nav,
  .desktop-search,
  .desktop-search-shell {
    display: none;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .mobile-panel.open {
    display: grid;
    gap: 8px;
  }

  .mobile-panel .search-box input {
    width: 100%;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    min-height: auto;
  }

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

  .principles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .brand span {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .hero-grid,
  .about-grid {
    padding: 36px 0 56px;
  }

  .hero h1,
  .about-hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero p,
  .about-hero p,
  .page-hero p {
    font-size: 16px;
  }

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

  .mascot-float img {
    height: 340px;
  }

  .since-pill {
    display: none;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-band .container {
    overflow: visible;
    padding: 16px 0;
  }

  .filter-band {
    position: sticky;
    top: 72px;
    z-index: 40;
    overflow-x: clip;
    box-shadow: 0 14px 24px -22px rgba(16, 46, 114, 0.55);
  }

  .filter-pills {
    contain: layout paint;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0 16px 4px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .filter-pills::-webkit-scrollbar {
    display: none;
  }

  .filter-stack {
    gap: 12px;
  }

  .filter-label {
    padding: 0 16px;
  }

  .pill {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 6px 12px 6px 6px;
    font-size: 12px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .pill[data-filter-category="all"] {
    min-height: 42px;
    padding: 6px 14px;
  }

  .age-filter-pill {
    min-width: 58px;
    min-height: 38px;
    padding: 6px 14px;
  }

  .category-pill-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    padding: 3px;
  }

  .category-title-row {
    gap: 10px;
  }

  .category-section-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
    border-radius: 14px;
    padding: 6px;
  }

  .form-grid,
  .representatives-layout {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .info-panel {
    padding: 18px;
  }

  .contact-form .button {
    width: 100%;
  }

  .representative-list {
    max-height: 520px;
  }

  .brazil-map-shell {
    max-width: 390px;
  }

  .state-select {
    display: block;
  }

  .product-grid,
  .shortcut-grid,
  .timeline,
  .values-grid,
  .principles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grouped-sections {
    overflow-x: clip;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .product-carousel-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-carousel-thumbs-shell {
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
  }

  .product-carousel-thumbs > button {
    flex-basis: 70px;
  }

  .product-carousel-thumbs-arrow {
    width: 34px;
    height: 34px;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .catalog-book {
    grid-template-columns: 1fr;
    max-width: min(100%, 430px);
    min-height: calc(min(58vh, 560px) + 45px);
    padding: 8px;
  }

  .catalog-page {
    border-radius: 16px;
  }

  .catalog-page img {
    height: min(58vh, 560px);
  }

  .catalog-page.empty,
  .catalog-page[data-right-page] {
    display: none;
  }

  .catalog-lightbox {
    padding: 10px;
  }

  .catalog-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

body[data-theme="catalog-cover"] :where(.representatives-panel, .map-panel, .timeline li, .value-card, .principle-card, .info-panel, .white-card, .story-editorial, .story-commitment) :where(h1, h2, h3, h4, strong, .text-blue) {
  color: #171333 !important;
}

body[data-theme="catalog-cover"] :where(.representatives-panel, .map-panel, .timeline li, .value-card, .principle-card, .info-panel, .white-card, .story-editorial, .story-commitment) :where(p, small, label, input, textarea, select) {
  color: rgba(23, 19, 51, 0.75) !important;
}

@media (prefers-reduced-motion: reduce) {
  .product-carousel-thumbs {
    scroll-behavior: auto;
  }

  .product-carousel-thumbs-arrow {
    transition: none;
  }
}
