html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
.font-display {
  font-family: "Syne", sans-serif;
}

.site-nowrap-safe {
  min-width: 0;
}

.site-nowrap-safe > * {
  min-width: 0;
}

[data-modal].is-open {
  display: flex;
}

.calc-option.is-active,
.rights-option.is-active {
  background: #f4f4f5;
  color: #000;
  border-color: #fff;
  font-weight: 700;
}

.model-card img {
  opacity: 1;
}

.model-card {
  height: 100%;
  min-height: 610px;
}

.model-card-head {
  min-height: 58px;
}

.model-photo-swiper {
  touch-action: auto;
}

.model-photo-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  width: 2rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(63 63 70 / 0.9);
  background: rgb(0 0 0 / 0.72);
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.model-photo-arrow:hover {
  border-color: white;
  background: rgb(0 0 0 / 0.9);
}

.model-photo-arrow.is-prev {
  left: 0.625rem;
}

.model-photo-arrow.is-next {
  right: 0.625rem;
}

.model-photo-counter {
  position: absolute;
  right: 0.625rem;
  bottom: 0.625rem;
  z-index: 5;
  border: 1px solid rgb(63 63 70 / 0.9);
  background: rgb(0 0 0 / 0.72);
  padding: 0.25rem 0.5rem;
  color: rgb(244 244 245);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.65rem;
  font-weight: 700;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  color: white;
}

.gallery-modal.hidden {
  display: none;
}

.gallery-modal-shell {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #000;
}

.gallery-modal-topbar {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(0 0 0 / 0.96);
  padding: 0.75rem 1rem;
}

.gallery-modal-stage {
  position: relative;
  display: flex;
  min-height: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  padding: 1.25rem 5rem;
}

.gallery-modal-actions {
  display: flex;
  justify-content: center;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(0 0 0 / 0.96);
  padding: 0.9rem 1rem 1rem;
}

.gallery-close {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(63 63 70);
  background: rgb(24 24 27);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
}

.gallery-full-image {
  max-width: min(72vw, 920px);
  max-height: min(72vh, 760px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-full-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 3rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(63 63 70 / 0.9);
  background: rgb(0 0 0 / 0.72);
  color: white;
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-full-arrow.is-prev {
  left: 1.5rem;
}

.gallery-full-arrow.is-next {
  right: 1.5rem;
}

.gallery-full-counter {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  border: 1px solid rgb(63 63 70 / 0.9);
  background: rgb(0 0 0 / 0.72);
  padding: 0.375rem 0.625rem;
  color: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.gallery-contact-button {
  display: inline-flex;
  min-height: 2.8rem;
  width: min(100%, 24rem);
  align-items: center;
  justify-content: center;
  background: #f4f4f5;
  color: black;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.gallery-contact-button:hover {
  background: white;
}

.booking-quiz {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.86);
  padding: 1rem;
  backdrop-filter: blur(12px);
}

.booking-quiz.hidden {
  display: none;
}

.booking-quiz-card {
  width: min(100%, 30rem);
  border: 1px solid rgb(63 63 70);
  background: #09090b;
  color: white;
  box-shadow: 0 2rem 5rem rgb(0 0 0 / 0.55);
}

.booking-quiz-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(39 39 42);
  padding: 1.25rem;
}

.booking-quiz-kicker {
  display: block;
  color: rgb(251 191 36);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-quiz-title {
  margin-top: 0.25rem;
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

.booking-quiz-close {
  display: flex;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(63 63 70);
  background: rgb(24 24 27);
  color: white;
  font-size: 1.45rem;
  line-height: 1;
}

.booking-quiz-progress {
  height: 2px;
  background: rgb(39 39 42);
}

.booking-quiz-progress span {
  display: block;
  height: 100%;
  background: rgb(251 191 36);
  transition: width 0.06s linear;
}

.booking-quiz-body {
  padding: 1.25rem;
}

.booking-quiz-subtitle {
  margin-bottom: 1rem;
  color: rgb(161 161 170);
  font-size: 0.85rem;
  line-height: 1.55;
}

.booking-quiz-options {
  display: grid;
  gap: 0.65rem;
}

.booking-quiz-option {
  display: flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgb(63 63 70);
  background: rgb(24 24 27);
  padding: 0.9rem 1rem;
  color: rgb(244 244 245);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  transition: background-color 0.06s linear, border-color 0.06s linear, color 0.06s linear;
}

.booking-quiz-option:hover {
  border-color: white;
  background: rgb(244 244 245);
  color: black;
}

.booking-quiz-option strong {
  color: rgb(251 191 36);
  white-space: nowrap;
}

.booking-quiz-option:hover strong {
  color: black;
}

.catalog-sort-btn {
  border: 1px solid rgb(63 63 70);
  background: rgb(24 24 27);
  color: rgb(228 228 231);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.625rem 0.875rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.catalog-sort-btn:hover {
  background: rgb(39 39 42);
  border-color: rgb(161 161 170);
  color: white;
}

.party-add-btn {
  width: 2.75rem;
  height: 2.75rem;
  background: #f4f4f5;
  color: #000;
  border: 1px solid #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.party-add-btn:hover,
.party-add-btn.is-added {
  background: rgb(251 191 36);
  color: #000;
}

.party-cart-toggle {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgb(63 63 70);
  background: rgb(24 24 27);
  color: white;
  padding: 0.75rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.party-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  background: rgb(244 244 245);
  color: #000;
  border-radius: 999px;
}

.party-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 50;
  width: min(420px, 100vw);
  height: 100vh;
  overflow-y: auto;
  background: rgb(9 9 11);
  border-left: 1px solid rgb(39 39 42);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  box-shadow: -2rem 0 4rem rgba(0, 0, 0, 0.45);
}

.party-cart.is-open {
  transform: translateX(0);
}

.party-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgb(39 39 42);
  background: rgb(24 24 27);
  padding: 0.75rem;
  color: rgb(228 228 231);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.75rem;
}

.actual-carousel {
  overflow: hidden;
  width: 100%;
}

.actual-carousel.has-overflow {
  padding-right: 0;
  margin-right: 0;
}

.actual-carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.actual-carousel-item {
  width: 300px;
  flex: 0 0 300px;
  display: flex;
}

.actual-carousel.is-moving .actual-carousel-track {
  animation: actual-carousel-scroll 42s linear infinite;
}

.actual-carousel.is-moving:hover .actual-carousel-track {
  animation-play-state: paused;
}

@keyframes actual-carousel-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

@media (min-width: 1024px) {
  .actual-carousel-item {
    width: calc((100% - 4.5rem) / 4);
    max-width: none;
    flex-basis: calc((100% - 4.5rem) / 4);
  }

  .actual-carousel.fits-four .actual-carousel-track {
    width: 100%;
  }

  .actual-carousel.fits-four .actual-carousel-item {
    width: calc((100% - 4.5rem) / 4);
    flex-basis: calc((100% - 4.5rem) / 4);
  }
}

@media (min-width: 1280px) {
  .actual-carousel-item {
    flex-basis: calc((1280px - 4.5rem) / 4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .actual-carousel.is-moving .actual-carousel-track {
    animation: none;
  }

  .model-photo-arrow {
    width: 1.75rem;
    height: 2.25rem;
    opacity: 0.9;
  }

  .gallery-full-arrow {
    width: 2.5rem;
    height: 3.25rem;
    font-size: 2rem;
  }

  .gallery-full-arrow.is-prev {
    left: 0.5rem;
  }

  .gallery-full-arrow.is-next {
    right: 0.5rem;
  }

  .gallery-modal-stage {
    padding: 0.75rem 3rem;
  }

  .gallery-full-image {
    max-width: 100%;
    max-height: 74vh;
  }

  .gallery-modal-actions {
    padding: 0.75rem;
  }
}

@media (max-width: 640px) {
  .site-nowrap-safe {
    align-items: flex-start;
  }

  .site-nowrap-safe span,
  .site-nowrap-safe div {
    white-space: normal;
  }

  header .max-w-7xl {
    gap: 0.5rem;
  }

  header a.text-base {
    font-size: 0.95rem;
  }

  header button.js-open-contact {
    display: none;
  }

  .actual-carousel,
  .actual-carousel.has-overflow {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    padding-right: 0;
    margin-right: 0;
  }

  .actual-carousel.is-moving .actual-carousel-track {
    animation: none;
  }

  .actual-carousel-track {
    display: flex;
    gap: 0.5rem;
    width: max-content;
  }
}
