.eva-catalogue-shell {
  --eva-blue: #0b5f97;
  --eva-dark: #111827;
  --eva-soft: #f3f7fb;
  --eva-line: rgba(17, 24, 39, 0.12);
  --eva-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  width: min(1680px, 96vw);
  margin: 32px auto;
  font-family: inherit;
  color: var(--eva-dark);
}

.eva-catalogue-shell * {
  box-sizing: border-box;
}

.eva-catalogue-header,
.eva-contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--eva-line);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, var(--eva-soft) 100%);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.eva-catalogue-header h2,
.eva-contact-panel h3 {
  margin: 0 0 8px 0;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.eva-contact-panel h3 {
  font-size: clamp(22px, 2vw, 32px);
}

.eva-catalogue-header p,
.eva-contact-panel p {
  margin: 0;
  color: #4b5563;
}

.eva-catalogue-kicker {
  margin: 0 0 8px 0 !important;
  color: var(--eva-blue) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eva-catalogue-actions,
.eva-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.eva-btn,
.eva-btn-mini,
.eva-nav-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.eva-btn:hover,
.eva-btn-mini:hover,
.eva-nav-btn:hover {
  transform: translateY(-1px);
}

.eva-btn {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
}

.eva-btn-primary {
  color: #fff !important;
  background: var(--eva-blue);
  box-shadow: 0 10px 24px rgba(11, 95, 151, 0.25);
}

.eva-btn-secondary {
  color: var(--eva-dark) !important;
  background: #fff;
  border: 1px solid var(--eva-line);
}

.eva-toolbar {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--eva-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.eva-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff;
  background: var(--eva-dark);
  font-size: 30px;
  line-height: 1;
}

.eva-nav-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
}

.eva-page-indicator {
  min-width: 190px;
  padding: 0 10px;
  font-weight: 800;
  color: #1f2937;
}

.eva-select-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.eva-select-label select {
  min-height: 42px;
  max-width: min(360px, 70vw);
  border: 1px solid var(--eva-line);
  border-radius: 14px;
  padding: 0 12px;
  background: #f9fafb;
  color: var(--eva-dark);
  font-weight: 700;
}

.eva-btn-mini {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--eva-dark);
  background: #f3f4f6;
  font-size: 13px;
}

.eva-loading {
  margin: 18px 0;
  padding: 18px;
  border-radius: 18px;
  background: #eef6ff;
  color: #0f4f7a;
  font-weight: 800;
}

.eva-book-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(560px, 78vh, 920px);
  padding: clamp(14px, 2vw, 34px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.35), transparent 38%),
    linear-gradient(135deg, #0f172a 0%, #1f2937 50%, #0b5f97 100%);
  box-shadow: var(--eva-shadow);
  overflow: hidden;
  outline: none;
  perspective: 2200px;
}

.eva-book-stage:focus-visible {
  box-shadow: var(--eva-shadow), 0 0 0 4px rgba(11, 95, 151, 0.25);
}

.eva-book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  width: min(100%, calc((78vh - 40px) * 1.42));
  max-width: 1480px;
  aspect-ratio: 1.414 / 1;
  transform-style: preserve-3d;
}

.eva-page-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 16px;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08), 0 18px 40px rgba(0,0,0,.22);
}

.eva-left-slot {
  border-radius: 16px 4px 4px 16px;
}

.eva-right-slot {
  border-radius: 4px 16px 16px 4px;
}

.eva-page-slot canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.eva-page-slot.eva-empty canvas,
.eva-page-slot.eva-empty .eva-hotspot-layer {
  display: none;
}

.eva-page-slot.eva-empty::after {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.12));
  border: 1px dashed rgba(255,255,255,.32);
}

.eva-spine {
  position: relative;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.18), rgba(0,0,0,.28));
  box-shadow: inset 8px 0 14px rgba(0,0,0,.15), inset -8px 0 14px rgba(0,0,0,.15);
  z-index: 2;
}

.eva-hotspot-layer {
  position: absolute;
  pointer-events: none;
}

.eva-hotspot {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(11, 95, 151, 0.92);
  color: #fff !important;
  font-size: clamp(9px, .75vw, 12px);
  font-weight: 900;
  text-align: center;
  text-decoration: none !important;
  pointer-events: auto;
  box-shadow: 0 8px 18px rgba(11, 95, 151, 0.25);
  opacity: .94;
}

.eva-hotspot:hover {
  opacity: 1;
  transform: scale(1.02);
}

.eva-flip-sheet {
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f8fafc;
  z-index: 30;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
  overflow: hidden;
}

.eva-flip-sheet canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
}

.eva-flip-forward-ready {
  transform-origin: left center;
  border-radius: 4px 16px 16px 4px;
}

.eva-flip-backward-ready {
  transform-origin: right center;
  border-radius: 16px 4px 4px 16px;
}

.eva-flip-forward {
  animation: evaFlipForward 1.05s cubic-bezier(.16,.82,.22,1) forwards;
}

.eva-flip-backward {
  animation: evaFlipBackward 1.05s cubic-bezier(.16,.82,.22,1) forwards;
}

@keyframes evaFlipForward {
  0% { transform: rotateY(0deg) translateZ(0); filter: brightness(1); box-shadow: 0 18px 60px rgba(0,0,0,.22); }
  35% { transform: rotateY(-62deg) translateZ(16px); filter: brightness(.92); box-shadow: -26px 20px 70px rgba(0,0,0,.32); }
  58% { transform: rotateY(-104deg) translateZ(22px); filter: brightness(.76); box-shadow: -34px 22px 78px rgba(0,0,0,.38); }
  100% { transform: rotateY(-178deg) translateZ(0); filter: brightness(.9); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
}

@keyframes evaFlipBackward {
  0% { transform: rotateY(0deg) translateZ(0); filter: brightness(1); box-shadow: 0 18px 60px rgba(0,0,0,.22); }
  35% { transform: rotateY(62deg) translateZ(16px); filter: brightness(.92); box-shadow: 26px 20px 70px rgba(0,0,0,.32); }
  58% { transform: rotateY(104deg) translateZ(22px); filter: brightness(.76); box-shadow: 34px 22px 78px rgba(0,0,0,.38); }
  100% { transform: rotateY(178deg) translateZ(0); filter: brightness(.9); box-shadow: 0 18px 60px rgba(0,0,0,.18); }
}

.eva-mobile-note {
  display: none;
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 13px;
  text-align: center;
}

.eva-single-mode .eva-book {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, calc((78vh - 40px) * .72));
  aspect-ratio: .707 / 1;
}

.eva-single-mode .eva-left-slot,
.eva-single-mode .eva-spine {
  display: none;
}

.eva-single-mode .eva-right-slot {
  border-radius: 16px;
}

.eva-contact-panel {
  margin-top: 20px;
  align-items: flex-start;
}

.eva-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
}

.eva-contact-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--eva-dark);
}

.eva-contact-grid a {
  color: var(--eva-blue);
  font-weight: 800;
}

.eva-contact-bottom {
  white-space: nowrap;
}

.eva-catalogue-shell:fullscreen {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 18px;
  background: #eef2f7;
  overflow: auto;
}

.eva-catalogue-shell:fullscreen .eva-book-stage {
  min-height: calc(100vh - 220px);
}

.eva-catalogue-shell:fullscreen .eva-book {
  width: min(100%, calc((100vh - 260px) * 1.42));
}

.eva-catalogue-shell:fullscreen.eva-single-mode .eva-book {
  width: min(100%, calc((100vh - 260px) * .72));
}

@media (max-width: 1100px) {
  .eva-catalogue-header,
  .eva-contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .eva-contact-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 920px) {
  .eva-catalogue-shell {
    width: 96vw;
    margin: 20px auto;
  }

  .eva-catalogue-header,
  .eva-contact-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .eva-toolbar {
    align-items: stretch;
  }

  .eva-page-indicator {
    min-width: 100%;
    order: -1;
  }

  .eva-select-label {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .eva-select-label select {
    width: 100%;
    max-width: none;
  }

  .eva-book-stage {
    min-height: clamp(520px, 72vh, 820px);
    padding: 12px;
    border-radius: 22px;
  }

  .eva-mobile-note {
    display: block;
  }

  .eva-btn,
  .eva-contact-bottom {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .eva-catalogue-actions,
  .eva-toolbar {
    width: 100%;
  }

  .eva-nav-btn {
    flex: 1;
  }

  .eva-btn-mini {
    flex: 1;
  }

  .eva-book-stage {
    min-height: 72vh;
  }

  .eva-page-slot,
  .eva-flip-sheet {
    padding: 10px;
  }

  .eva-hotspot {
    font-size: 9px;
  }
}
