.catalog-flipbook-section {
  background: linear-gradient(135deg, #f4f3f1 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: #111;
  overflow: hidden;
  padding: clamp(64px, 8vw, 104px) max(20px, 4vw);
}

.catalog-flipbook-section [hidden] { display: none !important; }

.catalog-flipbook-layout {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 84px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  margin: 0 auto;
  max-width: 1500px;
  width: 100%;
}

.catalog-flipbook-copy {
  min-width: 0;
}

.catalog-flipbook-kicker,
.catalog-flipbook-count {
  color: var(--blue, #0055ff);
  font-family: var(--fh, sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.catalog-flipbook-title {
  color: #111;
  font-family: var(--fd, sans-serif);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  line-height: 0.92;
  margin-top: 16px;
}

.catalog-flipbook-description {
  color: #555;
  font-family: var(--fb, sans-serif);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 24px;
  max-width: 480px;
}

.catalog-flipbook-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.catalog-flipbook-primary,
.catalog-flipbook-download {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-family: var(--fh, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  gap: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.catalog-flipbook-primary {
  background: var(--blue, #0055ff);
  border: 0;
  border-radius: 999px;
  color: #fff;
  padding: 14px 23px;
  transition: opacity 0.2s, transform 0.3s;
}

.catalog-flipbook-primary:hover { transform: translateY(-2px); }
.catalog-flipbook-primary:disabled { cursor: default; opacity: 0.55; transform: none; }

.catalog-flipbook-download {
  color: #111;
  padding-bottom: 5px;
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-underline-offset: 6px;
}

.catalog-flipbook-reader {
  margin-left: auto;
  max-width: 980px;
  min-width: 0;
  position: relative;
  width: 100%;
}

.catalog-flipbook-sound {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0;
  width: 44px;
  z-index: 10;
}

.catalog-flipbook-status {
  align-items: center;
  color: #666;
  display: flex;
  font-family: var(--fb, sans-serif);
  font-size: 0.88rem;
  justify-content: center;
  min-height: 370px;
  text-align: center;
}

.catalog-flipbook-stage {
  aspect-ratio: 1935 / 2724;
  max-width: 260px;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.catalog-flipbook,
.catalog-flipbook .stf__parent {
  height: 100% !important;
  width: 100% !important;
}

.catalog-flipbook .stf__parent { margin: 0 auto !important; }

.catalog-flipbook-page {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 22px 50px -34px rgba(15, 23, 18, 0.65);
}

.catalog-flipbook-page img {
  height: 100%;
  image-rendering: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  width: 100%;
}

.catalog-flipbook-controls {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 20px auto 0;
  max-width: 448px;
}

.catalog-flipbook-arrow {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.catalog-flipbook-arrow:hover { background: #111; color: #fff; }
.catalog-flipbook-arrow:disabled { cursor: default; opacity: 0.4; }

.catalog-flipbook-progress-wrap { flex: 1; }
.catalog-flipbook-count { color: #666; text-align: center; }
.catalog-flipbook-progress { background: rgba(0, 0, 0, 0.12); border-radius: 999px; height: 3px; margin-top: 8px; overflow: hidden; width: 100%; }
.catalog-flipbook-progress-value { background: var(--blue, #0055ff); height: 100%; transition: width 0.5s; width: 0; }

@media (min-width: 900px) {
  .catalog-flipbook-stage {
    aspect-ratio: 2724 / 1935;
    max-width: 980px;
  }
}

@media (max-width: 899px) {
  .catalog-flipbook-layout { grid-template-columns: 1fr; }
  .catalog-flipbook-reader { margin: 0 auto; }
  .catalog-flipbook-stage { margin: 0 auto; }
  .catalog-flipbook-copy { text-align: center; }
  .catalog-flipbook-description { margin-left: auto; margin-right: auto; }
  .catalog-flipbook-actions { justify-content: center; }
}
