/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file
 * If you need help please contact info@presta.hu
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
.pshucatalogs-grid {
  display: grid;
  grid-template-columns: repeat(var(--pshucatalogs-cols-m, 2), minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .pshucatalogs-grid {
    grid-template-columns: repeat(min(var(--pshucatalogs-cols, 4), 3), minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .pshucatalogs-grid {
    grid-template-columns: repeat(var(--pshucatalogs-cols, 4), minmax(0, 1fr));
  }
}

.pshucatalogs-grid-item {
  display: flex;
  min-width: 0;
}

.pshucatalogs-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--bs-body-bg, transparent);
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 6px;
  overflow: hidden;
}

.pshucatalogs-card-cover {
  display: block;
  aspect-ratio: 3 / 4;
  background: color-mix(in srgb, currentColor 5%, transparent);
  overflow: hidden;
}

.pshucatalogs-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease-out;
}

.pshucatalogs-card-cover:hover img,
.pshucatalogs-card-cover:focus img {
  transform: scale(1.03);
}

.pshucatalogs-card-nocover {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.5rem;
  font-weight: 700;
  color: color-mix(in srgb, currentColor 65%, transparent);
}

.pshucatalogs-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem;
}

.pshucatalogs-card-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pshucatalogs-card-title a {
  color: inherit;
}

.pshucatalogs-card-desc {
  display: -webkit-box;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pshucatalogs-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.pshucatalogs-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.pshucatalogs-card-actions .btn {
  flex: 1 1 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pshucatalogs-empty {
  padding: 2rem 0;
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .pshucatalogs-card-cover img {
    transition: none;
  }
}

.pshucatalogs-view-desc {
  max-width: 70ch;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.pshucatalogs-viewer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: color-mix(in srgb, currentColor 5%, transparent);
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 6px;
  overflow: hidden;
}

.pshucatalogs-viewer.is-ready {
  align-items: stretch;
  justify-content: flex-start;
  min-height: 0;
}

.pshucatalogs-viewer-poster {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  height: auto;
}

.pshucatalogs-viewer-msg {
  margin: 1rem;
}

.pshucatalogs-v-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  background: var(--bs-body-bg, transparent);
}

.pshucatalogs-v-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.pshucatalogs-v-goto {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.pshucatalogs-v-goto input {
  width: 5.5em;
  min-height: 44px;
  padding: 0 0.5rem;
  text-align: center;
  font: inherit;
  color: inherit;
  background: var(--bs-body-bg, transparent);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 6px;
}

.pshucatalogs-v-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.625rem;
  font: inherit;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease;
}

.pshucatalogs-v-btn:hover,
.pshucatalogs-v-btn[aria-pressed="true"] {
  color: inherit;
  text-decoration: none;
  background: color-mix(in srgb, currentColor 10%, transparent);
}

.pshucatalogs-v-btn:focus-visible,
.pshucatalogs-v-goto input:focus-visible,
.pshucatalogs-v-stage:focus-visible,
.pshucatalogs-v-th:focus-visible {
  outline: 2px solid var(--bs-primary, currentColor);
  outline-offset: 2px;
}

.pshucatalogs-v-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.pshucatalogs-v-ic {
  flex: none;
}

.pshucatalogs-v-toc {
  max-height: 16rem;
  padding: 0.5rem;
  overflow-y: auto;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.pshucatalogs-v-toc[hidden] {
  display: none;
}

.pshucatalogs-v-toc-list,
.pshucatalogs-v-toc-sub {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pshucatalogs-v-toc-sub {
  padding-left: 1rem;
}

.pshucatalogs-v-toc-item {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.5rem;
  font: inherit;
  text-align: left;
  color: inherit;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.pshucatalogs-v-toc-item.is-bold {
  font-weight: 600;
}

.pshucatalogs-v-toc-item:hover {
  color: inherit;
  text-decoration: none;
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.pshucatalogs-v-toc-item:focus-visible {
  outline: 2px solid var(--bs-primary, currentColor);
  outline-offset: 2px;
}

.pshucatalogs-v-search {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.pshucatalogs-v-search[hidden] {
  display: none;
}

.pshucatalogs-v-search-form {
  display: flex;
  gap: 0.5rem;
  margin: 0;
}

.pshucatalogs-v-search-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--bs-body-bg, transparent);
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 6px;
}

.pshucatalogs-v-search-form input:focus-visible,
.pshucatalogs-v-hit:focus-visible {
  outline: 2px solid var(--bs-primary, currentColor);
  outline-offset: 2px;
}

.pshucatalogs-v-search-form input:disabled {
  opacity: 0.5;
}

.pshucatalogs-v-search-go {
  min-height: 44px;
}

.pshucatalogs-v-search-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.pshucatalogs-v-search-status:empty {
  display: none;
}

.pshucatalogs-v-search-stop {
  min-height: 36px;
  border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}

.pshucatalogs-v-search-stop[hidden] {
  display: none;
}

.pshucatalogs-v-hits {
  max-height: 14rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.pshucatalogs-v-hits:empty {
  display: none;
}

.pshucatalogs-v-hit {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0.375rem 0.5rem;
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}

.pshucatalogs-v-hit:hover,
.pshucatalogs-v-hit.is-on {
  background: color-mix(in srgb, currentColor 8%, transparent);
}

.pshucatalogs-v-hit-page {
  flex: none;
  min-width: 5.5em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pshucatalogs-v-hit-text {
  overflow-wrap: anywhere;
}

.pshucatalogs-v-hit mark {
  padding: 0;
  color: inherit;
  background: color-mix(in srgb, var(--bs-warning, currentColor) 45%, transparent);
}

.pshucatalogs-v-marks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pshucatalogs-v-mark {
  position: absolute;
  background: color-mix(in srgb, var(--bs-warning, currentColor) 40%, transparent);
  mix-blend-mode: multiply;
  border-radius: 2px;
}

.pshucatalogs-v-mark.is-on {
  outline: 2px solid var(--bs-primary, currentColor);
}

.pshucatalogs-v-stage {
  position: relative;
  height: clamp(360px, 78vh, 1100px);
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.pshucatalogs-v-stage.is-zoomed {
  touch-action: none;
  cursor: grab;
}

.pshucatalogs-v-stage .pshucatalogs-viewer-poster {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  max-height: none;
  object-fit: contain;
  opacity: 0.35;
}

.pshucatalogs-v-zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  transition: transform 0.2s ease-out;
}

.pshucatalogs-v-book {
  position: relative;
  display: flex;
  justify-content: center;
  height: var(--pshucatalogs-ph, 400px);
  transform: translateX(var(--pshucatalogs-shift, 0px));
  transition: transform 0.35s ease;
  perspective: 2400px;
}

.pshucatalogs-v-slot {
  position: relative;
  width: var(--pshucatalogs-pw, 280px);
  height: var(--pshucatalogs-ph, 400px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.pshucatalogs-v-slot.is-empty {
  visibility: hidden;
}

.pshucatalogs-v-book:not(.is-two) .pshucatalogs-v-slot-l {
  display: none;
}

.pshucatalogs-v-pg {
  display: block;
  width: 100%;
  height: 100%;
}

.pshucatalogs-v-leaf {
  position: absolute;
  top: 0;
  width: var(--pshucatalogs-pw, 280px);
  height: var(--pshucatalogs-ph, 400px);
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  z-index: 2;
}

.pshucatalogs-v-leaf.is-right {
  left: 50%;
  transform-origin: left center;
}

.pshucatalogs-v-leaf.is-left {
  left: 0;
  transform-origin: right center;
}

.pshucatalogs-v-leaf.is-right.is-turning {
  transform: rotateY(-180deg);
}

.pshucatalogs-v-leaf.is-left.is-turning {
  transform: rotateY(180deg);
}

.pshucatalogs-v-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.pshucatalogs-v-face.is-back {
  transform: rotateY(180deg);
}

.pshucatalogs-v-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) 30%);
}

.pshucatalogs-v-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  background: var(--bs-body-bg, Canvas);
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 50%;
}

.pshucatalogs-v-nav-prev {
  left: 8px;
}

.pshucatalogs-v-nav-next {
  right: 8px;
}

.pshucatalogs-v-load {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  max-width: min(90%, 32rem);
  padding: 0.75rem 1rem;
  text-align: center;
  transform: translate(-50%, -50%);
  background: var(--bs-body-bg, Canvas);
  border: 1px solid color-mix(in srgb, currentColor 15%, transparent);
  border-radius: 6px;
}

.pshucatalogs-v-load[hidden] {
  display: none;
}

.pshucatalogs-v-load.is-error {
  border-color: var(--bs-danger, currentColor);
}

.pshucatalogs-v-whole {
  font-size: 0.875rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.pshucatalogs-v-whole[hidden] {
  display: none;
}

.pshucatalogs-v-open {
  min-height: 44px;
}

.pshucatalogs-v-error-id {
  font-variant-numeric: tabular-nums;
  font-size: 0.875rem;
  user-select: all;
}

.pshucatalogs-v-progress {
  display: block;
  width: 14rem;
  max-width: 100%;
  height: 6px;
  overflow: hidden;
  background: color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 3px;
}

.pshucatalogs-v-progress[hidden] {
  display: none;
}

.pshucatalogs-v-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--bs-primary, currentColor);
  transition: width 0.2s linear;
}

.pshucatalogs-v-thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  overflow-x: auto;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  scrollbar-width: thin;
}

.pshucatalogs-v-thumbs[hidden] {
  display: none;
}

.pshucatalogs-v-th {
  position: relative;
  flex: none;
  width: 72px;
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: color-mix(in srgb, currentColor 6%, transparent);
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.pshucatalogs-v-th.is-on {
  border-color: var(--bs-primary, currentColor);
}

.pshucatalogs-v-th span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  padding: 0 4px;
  font-size: 0.75rem;
  line-height: 1.4;
  background: var(--bs-body-bg, Canvas);
  border-radius: 3px;
}

.pshucatalogs-v-thimg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pshucatalogs-v-hint {
  margin: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.pshucatalogs-v-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pshucatalogs-viewer.is-full {
  background: var(--bs-body-bg, Canvas);
  border-radius: 0;
}

.pshucatalogs-viewer.is-full .pshucatalogs-v-stage {
  flex: 1;
  height: auto;
}

@media (max-width: 767px) {
  .pshucatalogs-v-stage {
    height: clamp(320px, 70vh, 900px);
  }

  .pshucatalogs-v-dl span,
  .pshucatalogs-v-hint {
    display: none;
  }

  .pshucatalogs-v-nav {
    top: auto;
    bottom: 8px;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pshucatalogs-v-zoom,
  .pshucatalogs-v-book,
  .pshucatalogs-v-leaf,
  .pshucatalogs-v-progress i,
  .pshucatalogs-v-btn {
    transition: none;
  }
}

.pshucatalogs-view-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pshucatalogs-view-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.pshucatalogs-product {
  margin: 1.5rem 0;
}

.pshucatalogs-product-title {
  margin: 0 0 1rem;
}

.pshucatalogs-product .pshucatalogs-grid {
  --pshucatalogs-cols: 4;
  --pshucatalogs-cols-m: 2;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pshucatalogs-product .pshucatalogs-card-title {
  font-size: 1rem;
}

.pshucatalogs-v-btn[data-state="copied"] {
  color: var(--bs-success, currentColor);
}

.pshucatalogs-v-linkfield {
  flex: 1 1 16rem;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.375rem 0.625rem;
  border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}

.pshucatalogs-embed {
  margin: 1.5rem 0;
}

