/* Katalóg skladového stanu – samostatné štýly */
.skladovy-stan-section {
  padding-top: 35px;
  padding-bottom: 45px;
}
.skladovy-stan-section h1 {
  margin-bottom: 28px;
  text-align: center;
}
.flipbook-area {
  width: min(100% - 30px, 1120px);
  margin: 0 auto;
}
.flipbook-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 0 auto 16px;
}
.flipbook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 112px;
  padding: 11px 17px;
  border: 0;
  border-radius: 4px;
  background: #174c70;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, opacity .2s ease, transform .2s ease;
}
.flipbook-btn:hover:not(:disabled) {
  background: #26769e;
  transform: translateY(-1px);
}
.flipbook-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}
.flipbook-count {
  min-width: 105px;
  color: #333;
  text-align: center;
  font-size: 15px;
}
.flipbook-count strong {
  font-size: 18px;
}
.flipbook-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  border-radius: 7px;
  background: #e9edf0;
  box-shadow: inset 0 0 18px rgba(0,0,0,.08);
  perspective: 1800px;
}
.flipbook-book {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1.414 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flipbook-page {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.20);
  transform-origin: left center;
  backface-visibility: hidden;
}
.flipbook-page.is-turning-next {
  animation: turnNext .42s ease-in-out;
}
.flipbook-page.is-turning-prev {
  animation: turnPrev .42s ease-in-out;
}
.flipbook-page img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes turnNext {
  0% { transform: rotateY(0); filter: brightness(1); }
  45% { transform: rotateY(-12deg); filter: brightness(.82); }
  100% { transform: rotateY(0); filter: brightness(1); }
}
@keyframes turnPrev {
  0% { transform: rotateY(0); filter: brightness(1); }
  45% { transform: rotateY(12deg); filter: brightness(.82); }
  100% { transform: rotateY(0); filter: brightness(1); }
}
.flipbook-loading {
  padding: 12px 16px;
  color: #8b2525;
  text-align: center;
}
.flipbook-bottom {
  max-width: 1000px;
  margin: 15px auto 0;
}
.flipbook-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 5px;
  background: #d8dde1;
}
.flipbook-progress span {
  display: block;
  width: 5.555%;
  height: 100%;
  border-radius: inherit;
  background: #174c70;
  transition: width .25s ease;
}
.flipbook-hint {
  margin-top: 10px;
  color: #777;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 600px) {
  .skladovy-stan-section { padding-top: 22px; padding-bottom: 28px; }
  .flipbook-area { width: calc(100% - 20px); }
  .flipbook-stage { padding: 5px; }
  .flipbook-book { aspect-ratio: 0.78 / 1; }
  .flipbook-toolbar { gap: 10px; }
  .flipbook-btn { min-width: 0; padding: 10px 12px; font-size: 13px; }
  .flipbook-btn span { display: none; }
  .flipbook-count { min-width: 90px; font-size: 13px; }
  .flipbook-count strong { font-size: 16px; }
  .flipbook-hint { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .flipbook-page.is-turning-next,
  .flipbook-page.is-turning-prev { animation: none; }
  .flipbook-progress, .flipbook-btn { transition: none; }
}
