html {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

.home-page {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background:
    radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0) 30%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 48%, #fffdf5 100%);
}

.home-page * {
  box-sizing: border-box;
}

.home-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.home-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1rem, 2.8vw, 1.8rem);
  padding-right: clamp(1rem, 2.8vw, 1.8rem);
}

.home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
}

.home-header-row {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: #b45309;
  letter-spacing: -0.01em;
}

.home-brand-mark {
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
  fill: #b45309;
}

.home-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.home-brand-title {
  color: #0f172a;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
}

.home-brand-tagline {
  color: #64748b;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin-top: 0.18rem;
}

.home-desktop-nav {
  display: none;
  align-items: center;
  gap: 1.7rem;
}

.home-desktop-nav a,
.home-admin-link,
.home-mobile-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
  transition: color 0.2s ease;
}

.home-desktop-nav a:hover,
.home-admin-link:hover,
.home-mobile-nav a:hover {
  color: #b45309;
}

.home-desktop-nav a.is-active,
.home-mobile-nav a.is-active {
  color: #d97706;
}

.home-admin-link {
  display: none;
}

.home-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  background: #fff;
  color: #0f172a;
  font-size: 1.2rem;
  cursor: pointer;
}

.home-mobile-menu {
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.home-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-top: 0.55rem;
  padding-bottom: 0.65rem;
}

.home-mobile-nav a {
  padding: 0.62rem 0;
}

.home-main {
  width: 100%;
}

.home-main,
.catalog-main,
.main-content,
main {
  flex: 1 0 auto;
}

footer,
.site-footer,
.footer {
  flex-shrink: 0;
  width: 100%;
  margin-bottom: 0 !important;
  margin-top: auto;
}

.home-section {
  padding-top: clamp(3.2rem, 6vw, 5rem);
  padding-bottom: clamp(3.2rem, 6vw, 5rem);
}

.home-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: #be185d;
}

.home-hero {
  /* background color/image is set inline per admin settings; this is only a pre-paint fallback */
  background-color: #0f172a;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: center;
}

.home-hero-copy {
  max-width: 36rem;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fde68a;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.42rem 0.86rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-hero-title {
  margin: 0.95rem 0 0;
  font-size: clamp(2rem, 5vw, 3.45rem);
  line-height: 1.09;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: #ffffff;
}

.home-hero-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  line-height: 1.72;
  color: rgba(248, 250, 252, 0.94);
}

.home-hero-media-card {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 54px -36px rgba(2, 6, 23, 0.85);
  padding: 0.55rem;
}

.home-hero-media {
  width: auto;
  max-width: min(100%, 560px);
  max-height: 520px;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 0.72rem;
}

.home-showcase {
  position: relative;
  z-index: 3;
  margin-top: clamp(-4.5rem, -7vw, -3rem);
  padding-top: 0;
  padding-bottom: clamp(2.2rem, 5vw, 3.4rem);
}

.home-showcase-frame {
  position: relative;
  border-radius: 1.5rem;
  padding: 0.55rem;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 45%, #be185d 100%);
  box-shadow: 0 40px 80px -32px rgba(15, 23, 42, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(2.4rem) scale(0.98);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-showcase-frame.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-showcase-glow {
  position: absolute;
  inset: -18% -10%;
  z-index: 0;
  background:
    radial-gradient(38% 55% at 18% 30%, rgba(244, 63, 94, 0.35), transparent 70%),
    radial-gradient(42% 60% at 82% 70%, rgba(250, 204, 21, 0.32), transparent 72%);
  filter: blur(38px);
  opacity: 0.85;
  pointer-events: none;
}

.home-showcase-badge {
  position: absolute;
  top: -0.85rem;
  left: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px -14px rgba(15, 23, 42, 0.65);
}

.home-showcase-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 1.05rem;
  cursor: zoom-in;
}

.home-showcase-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-showcase-frame:hover .home-showcase-media img {
  transform: scale(1.035);
}

.home-showcase-shine {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-120%);
}

.home-showcase-frame:hover .home-showcase-shine {
  transform: translateX(120%);
  transition: transform 1.05s ease;
}

.home-showcase-caption {
  margin: 1.35rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .home-showcase-frame {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-showcase-media img,
  .home-showcase-shine {
    transition: none;
  }
}

.home-lightbox-trigger {
  appearance: none;
  border: 0;
  background: none;
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.home-lightbox-trigger:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.38);
  outline-offset: 3px;
  border-radius: 0.85rem;
}

.home-hero-media-trigger {
  border-radius: 0.72rem;
}

.home-cta-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.82rem;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-cta:hover {
  transform: translateY(-1px);
}

.home-cta-primary {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  border: 1px solid transparent;
  color: #111827;
  box-shadow: 0 16px 26px -20px rgba(245, 158, 11, 0.88);
}

.home-cta-primary:hover {
  box-shadow: 0 20px 34px -24px rgba(245, 158, 11, 0.95);
}

.home-cta-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.55);
  color: #f8fafc;
}

.home-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(250, 204, 21, 0.85);
  color: #fde68a;
}

.home-promo {
  background: transparent;
}

.home-promo-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
  align-items: center;
}

.home-promo-layout + .home-promo-layout {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid #e2e8f0;
}

.home-promo-copy h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.home-promo-copy p {
  margin: 0.8rem 0 0;
  color: #475569;
  line-height: 1.7;
  max-width: 34rem;
}

.home-promo-copy .home-cta {
  margin-top: 1rem;
}

.home-promo-card {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 20px 45px -36px rgba(15, 23, 42, 0.6);
  padding: 0.5rem;
}

.home-promo-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
}

.home-promo-media.home-lightbox-trigger {
  text-align: left;
}

.home-promo-media img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  height: auto;
  object-fit: contain;
}

.home-promo-gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home-promo-gallery .home-promo-media {
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.home-promo-placeholder {
  min-height: 240px;
  border-radius: 0.75rem;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.2rem;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-about-copy,
.home-about-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.15rem;
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.55);
}

.home-about-copy h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: #0f172a;
}

.home-about-copy p {
  margin: 0.85rem 0 0;
  color: #475569;
  line-height: 1.75;
}

.home-about-card {
  background: linear-gradient(135deg, #fffdf7 0%, #ffffff 100%);
}

.home-about-points {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: #334155;
  line-height: 1.65;
}

.home-section-head h1,
.home-section-head h2,
.home-contact-box h2 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.home-section-head p {
  margin: 0.8rem 0 0;
  max-width: 48rem;
  color: #475569;
  line-height: 1.7;
}

.home-why-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-benefit-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.95rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 14px 26px -28px rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
}

.home-benefit-icon {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: #facc15;
  color: #1f2937;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.home-benefit-card p {
  margin: 0;
  color: #1e293b;
  line-height: 1.55;
}

.home-benefit-title {
  font-weight: 800;
}

.home-benefit-description {
  color: #475569;
  margin-top: 0.2rem;
}

.home-series-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-category-grid {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.home-category-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #ffffff;
  padding: 1.2rem;
}

.home-category-empty h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.home-category-empty p {
  margin: 0.5rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.home-category-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.55);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -32px rgba(15, 23, 42, 0.6);
}

.home-category-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #f8fafc;
  padding: 0.95rem;
  appearance: none;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  cursor: zoom-in;
}

.home-category-media img {
  display: block;
  object-fit: contain;
}

.home-category-media img.is-landscape {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.home-category-media img.is-portrait,
.home-category-media img.is-square {
  width: auto;
  height: 100%;
  max-width: 100%;
}

.home-category-media-button {
  border: 0;
  padding: 0.9rem;
}

.home-category-body {
  padding: 1rem;
}

.home-category-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #0f172a;
}

.home-category-body p {
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.92rem;
}

.home-category-link {
  margin-top: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 1px solid #f9a8d4;
  background: #fdf2f8;
  color: #9d174d;
  border-radius: 999px;
  padding: 0.4rem 0.74rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.home-category-link:hover {
  background: #fce7f3;
  border-color: #f472b6;
  color: #831843;
}

.home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none !important;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
}

.home-lightbox.active,
.home-lightbox[aria-hidden='false'] {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.home-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(6px);
}

.home-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  max-height: 88vh;
  padding: 1rem;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 30px 80px -40px rgba(2, 6, 23, 0.9);
}

.home-lightbox-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 0.75rem;
}

.home-lightbox-caption {
  margin: 0.75rem 0 0;
  color: #475569;
  font-size: 0.95rem;
  text-align: center;
}

.home-lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.home-series-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.55);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home-series-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -32px rgba(15, 23, 42, 0.6);
}

.home-series-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 250px;
  max-height: 250px;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.home-series-media img {
  width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: cover;
  transition: transform 0.38s ease;
}

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

.home-series-body {
  padding: 1rem;
}

.home-series-body h3 {
  margin: 0;
  font-size: 1.08rem;
  color: #0f172a;
  line-height: 1.35;
}

.home-series-body p {
  margin: 0.55rem 0 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.92rem;
}

.home-series-link {
  margin-top: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  border: 1px solid #fbcfe8;
  background: #fdf2f8;
  color: #9d174d;
  border-radius: 999px;
  padding: 0.4rem 0.74rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.home-series-link:hover {
  background: #fce7f3;
  border-color: #f9a8d4;
  color: #831843;
}

.home-contact {
  padding-top: clamp(2.8rem, 5vw, 4.4rem);
}

.home-contact-box {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
  padding: clamp(1rem, 2.5vw, 1.55rem);
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.52);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  justify-content: space-between;
}

.home-contact-box p {
  margin: 0.7rem 0 0;
  line-height: 1.7;
  color: #475569;
}

.home-contact-box p a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
}

.home-contact-box p a:hover {
  text-decoration: underline;
}

@media (min-width: 640px) {
  .home-why-grid,
  .home-series-grid,
  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-promo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact-box {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .home-category-card {
    display: grid;
    grid-template-columns: minmax(132px, 38%) minmax(0, 1fr);
    align-items: stretch;
  }

  .home-category-media {
    height: 100%;
    min-height: 100%;
    border-right: 1px solid #e2e8f0;
    border-bottom: 0;
    padding: 0.7rem;
  }

  .home-category-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .home-category-body {
    padding: 0.95rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-category-body h3 {
    font-size: 1rem;
  }

  .home-category-body p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

@media (min-width: 768px) {
  .home-desktop-nav,
  .home-admin-link {
    display: inline-flex;
  }

  .home-mobile-toggle,
  .home-mobile-menu {
    display: none;
  }

  .home-hero-grid,
  .home-promo-layout,
  .home-about-grid {
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 1.7rem;
  }

  .home-promo-layout--text-only {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-promo-layout--text-only .home-promo-copy {
    max-width: 42rem;
  }

  .home-promo-layout--image-left .home-promo-copy {
    order: 2;
  }

  .home-promo-layout--image-left .home-promo-card {
    order: 1;
  }
}

@media (min-width: 1024px) {
  .home-why-grid,
  .home-series-grid,
  .home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-category-card--large {
    grid-column: span 2;
  }

  .home-category-card--large .home-category-media {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .home-cta {
    width: 100%;
  }

  .home-category-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    align-items: stretch;
  }

  .home-category-media {
    height: auto;
    min-height: 100%;
    padding: 0.35rem;
    border-right: 1px solid #e2e8f0;
    border-bottom: 0;
  }

  .home-category-media img {
    object-fit: contain;
  }

  .home-category-body {
    padding: 0.82rem 0.9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-category-body h3 {
    font-size: 0.98rem;
  }

  .home-category-body p {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .home-hero-media-card {
    width: 100%;
    padding: 0.5rem;
  }

  .home-hero-media {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .home-promo-card {
    width: 100%;
    padding: 0.5rem;
  }

  .home-promo-media {
    width: 100%;
    max-width: 100%;
  }

  .home-promo-media img {
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .home-series-media,
  .home-series-media img {
    height: 220px;
    max-height: 220px;
  }
}

.catalog-page {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background:
    radial-gradient(circle at 95% 0%, rgba(251, 191, 36, 0.12) 0%, rgba(251, 191, 36, 0) 35%),
    #f8fafc;
}

.catalog-page * {
  box-sizing: border-box;
}

.catalog-main {
  width: 100%;
}

.catalog-section {
  padding-top: clamp(2.8rem, 5.4vw, 4.2rem);
  padding-bottom: clamp(3.6rem, 6.4vw, 5rem);
}

.catalog-head h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.catalog-head > p:last-child {
  margin: 0.8rem 0 0;
  max-width: 48rem;
  color: #475569;
  line-height: 1.72;
}

.catalog-viewer-shell {
  margin-top: 1.6rem;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 24px 45px -36px rgba(15, 23, 42, 0.62);
  overflow: hidden;
}

.catalog-viewer-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(120deg, #ffffff 0%, #fffbeb 100%);
}

.catalog-viewer-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #be185d;
}

.catalog-viewer-toolbar h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.1rem, 2.3vw, 1.55rem);
  line-height: 1.25;
  color: #0f172a;
}

.catalog-viewer-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.catalog-viewer-select-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400e;
}

.catalog-viewer-select {
  min-width: 18rem;
  max-width: min(100%, 26rem);
  height: 2.8rem;
  padding: 0 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.78rem;
  background: #ffffff;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.92rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.catalog-viewer-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.catalog-loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.catalog-loading[hidden] {
  display: none;
}

.catalog-loading-spinner {
  width: 1rem;
  height: 1rem;
  border: 2px solid #cbd5e1;
  border-top-color: #f59e0b;
  border-radius: 999px;
  animation: catalog-spinner 0.8s linear infinite;
}

.catalog-fallback {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid #fecaca;
  border-bottom: 1px solid #fecaca;
  background: #fff7ed;
  color: #7c2d12;
}

.catalog-fallback-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

.catalog-fallback-text {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #9a3412;
}

.catalog-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@keyframes catalog-spinner {
  to {
    transform: rotate(360deg);
  }
}

.catalog-viewer-frame {
  padding: 0;
  background: #f8fafc;
}

.catalog-viewer-frame iframe {
  width: 100%;
  min-height: 72vh;
  height: 72vh;
  max-height: 82vh;
  border: 0;
  border-radius: 0 0 1rem 1rem;
  background: #ffffff;
}

.catalog-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.catalog-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 16px 34px -30px rgba(15, 23, 42, 0.55);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -30px rgba(15, 23, 42, 0.62);
}

.catalog-card.is-selected {
  border-color: #f59e0b;
}

.catalog-card-body {
  padding: 1rem 1rem 0.4rem;
}

.catalog-card-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #92400e;
}

.catalog-card-body h3 {
  margin: 0.55rem 0 0;
  font-size: 1.08rem;
  line-height: 1.35;
  color: #0f172a;
}

.catalog-card-body p {
  margin: 0.58rem 0 0;
  color: #475569;
  line-height: 1.62;
  font-size: 0.93rem;
}

.catalog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.58rem 0.95rem;
  border-radius: 0.75rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-btn:hover {
  transform: translateY(-1px);
}

.catalog-btn-primary {
  background: linear-gradient(135deg, #facc15 0%, #f59e0b 100%);
  border: 1px solid transparent;
  color: #111827;
  box-shadow: 0 16px 26px -22px rgba(245, 158, 11, 0.88);
}

.catalog-btn-secondary {
  border: 1px solid #f9a8d4;
  background: #fdf2f8;
  color: #9d174d;
}

.catalog-btn-ghost {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}

.catalog-btn-secondary:hover {
  border-color: #f472b6;
  background: #fce7f3;
  color: #831843;
}

.catalog-btn-ghost:hover {
  border-color: #f59e0b;
  color: #92400e;
  background: #fffbeb;
}

@media (min-width: 768px) {
  .catalog-viewer-toolbar {
    flex-direction: row;
    align-items: center;
  }

  .catalog-viewer-toolbar-actions {
    justify-content: flex-end;
    align-items: flex-end;
  }

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

  .catalog-viewer-frame iframe {
    height: 78vh;
    min-height: 560px;
    max-height: 84vh;
  }

  .catalog-fallback {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .catalog-viewer-shell {
    display: none;
  }

  .catalog-viewer-toolbar > div:first-child {
    display: none;
  }

  .catalog-viewer-toolbar-actions {
    display: none;
  }

  .catalog-viewer-frame.is-mobile-hidden {
    display: none;
  }

  .catalog-viewer-frame iframe {
    min-height: 76vh;
    height: 76vh;
    max-height: 88vh;
  }
}

@media (min-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
