body{
    background: #252525;
    color: #e2e8f0;
}

catalogo-libro {
  display: block;
  width: 100%;
}

.nebula-catalogue {
  --nebula-orange: #f97316;
  --nebula-ink: #080d1b;
  --nebula-panel: #111827;
  padding: clamp(1rem, 4vw, 2.5rem) 0 2rem;
}

.nebula-book-wrapper {
  position: relative;
  width: min(94vw, 860px);
  background: #080d1b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(249, 115, 22, .12);
}

.nebula-book-wrapper.nebula-book-cover {
  width: min(47vw, 430px);
}

.nebula-whatsapp-float {
  position: absolute;
  right: clamp(.65rem, 2vw, 1rem);
  bottom: clamp(.65rem, 2vw, 1rem);
  z-index: 1000;
  display: grid;
  width: clamp(2.75rem, 7vw, 3.5rem);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .35), 0 0 20px rgba(16, 185, 129, .35);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nebula-whatsapp-float:hover {
  background: #059669;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4), 0 0 26px rgba(16, 185, 129, .5);
  transform: scale(1.08);
}

.nebula-whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nebula-whatsapp-float svg {
  width: 72%;
  height: 72%;
  fill: #fff;
}

.nebula-flipbook {
  width: 100%;
}

.nebula-cover,
.nebula-back-cover {
  background: radial-gradient(circle at 50% 18%, rgba(249, 115, 22, .18), transparent 32%), linear-gradient(145deg, #111827, #050814 68%);
}

.nebula-cover {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  background: #ffffff;
}

.nebula-cover::after {
  display: none;
}

.nebula-cover-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.nebula-cover-mark {
  color: #fdba74;
  background: rgba(249, 115, 22, .12);
  border: 1px solid rgba(249, 115, 22, .42);
  box-shadow: 0 0 30px rgba(249, 115, 22, .16);
}

.nebula-kicker {
  color: #fb923c;
}

.nebula-cover-hint {
  color: #94a3b8;
  animation: nebula-pulse 2.2s ease-in-out infinite;
}

.nebula-product-page {
  background: #ffffff;
}

.nebula-full-page-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.nebula-quote-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  background: #059669;
  box-shadow: 0 8px 22px rgba(5, 150, 105, .3);
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nebula-quote-button:hover {
  background: #10b981;
  box-shadow: 0 10px 28px rgba(16, 185, 129, .38);
  transform: translateY(-2px);
}

.nebula-contact-page {
  position: relative;
  overflow: hidden;
  padding: 2rem !important;
}

.nebula-contact-page::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 37%, rgba(16, 185, 129, .14), transparent 34%);
  content: "";
  pointer-events: none;
}

.nebula-contact-page > * {
  position: relative;
}

.nebula-whatsapp-mark {
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-items: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(52, 211, 153, .35);
  border-radius: 50%;
  background: rgba(16, 185, 129, .12);
  box-shadow: 0 0 36px rgba(16, 185, 129, .16);
}

.nebula-whatsapp-mark svg {
  width: 3.25rem;
  height: 3.25rem;
  fill: #34d399;
}

.nebula-contact-title {
  max-width: 17rem;
  line-height: 1.2;
}

.nebula-contact-copy {
  max-width: 17rem;
  line-height: 1.6;
}

.nebula-button-whatsapp {
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: .8;
  text-transform: uppercase;
}

.nebula-control-button {
  background: #1e293b;
  border: 1px solid #334155;
}

.nebula-control-button:hover {
  background: #334155;
}

.nebula-control-next {
  background: var(--nebula-orange);
  border-color: var(--nebula-orange);
}

.nebula-control-next:hover {
  background: #fb923c;
}

@keyframes nebula-pulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@media (max-width: 640px) {
  .nebula-catalogue {
    padding-top: 1rem;
  }

  .nebula-book-wrapper {
    width: min(88vw, 360px);
  }

}

@media (max-height: 720px) and (min-width: 641px) {
  .nebula-book-wrapper {
    width: min(72vh, 400px);
  }
}

model-viewer {
  width: 100vw;
  height: 100vh;
  display: block;
}
