.prints-grid h3 {
  margin-top: 10px;
}

.prints .intro {
  text-align: center;
}
.prints .prints-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.prints .prints-grid .prints-item {
  min-width: 0;
  margin-bottom: 10px;
}
.prints .prints-grid .prints-item p {
  margin: 0;
}
.prints .prints-grid .prints-item .print-description {
  text-align: center;
  margin-top: 10px;
}
.prints .prints-grid img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .prints .prints-grid {
    grid-template-columns: 1fr;
  }
}
.prints .print-price {
  margin-top: 0;
}

.prints-detail {
  display: flex;
  align-items: center;
  text-align: left;
  justify-content: center;
  gap: 100px;
}
.prints-detail .prints-detail-info {
  width: 50%;
  text-align: left;
}
.prints-detail p {
  text-align: left;
}
.prints-detail h3 {
  font-size: 16px;
  font-weight: 500;
}
.prints-detail h2 {
  margin-bottom: 0;
}
.prints-detail .prints-detail-image {
  width: 50%;
}
.prints-detail .prints-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}
.prints-detail .prints-detail-image.portrait img {
  margin: auto;
  max-width: 300px;
}
@media (max-width: 900px) {
  .prints-detail {
    flex-direction: column;
    gap: 30px;
  }
  .prints-detail .prints-detail-info,
  .prints-detail .prints-detail-image {
    width: 100%;
  }
  .prints-detail .prints-detail-image {
    order: -1;
  }
}

.contact-button {
  margin-top: 20px;
  font-size: 14px;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  padding: 20px;
  border: solid 1px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.contact-button:hover {
  background-color: #000;
  color: #fff;
}

.prints-detail-text-container {
  max-width: 400px;
  margin-left: auto;
}

.hero-image {
  width: 100%;
  margin: auto;
}
.hero-image img {
  width: auto;
  height: calc(100vh - 255px);
  margin: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero-image img {
    height: auto;
    width: calc(100vw - 70px);
  }
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  cursor: pointer;
}

.gallery-links {
  display: flex;
  gap: 30px;
  height: calc(100vh - 255px);
}
.gallery-links__item {
  position: relative;
  max-height: 100%;
  display: block;
  flex: 1 1 0;
  overflow: hidden;
}
.gallery-links__item img {
  transition: opacity 1.5s ease, transform 0.5s ease;
  display: block;
  width: auto;
  height: 100%;
}
.gallery-links__item-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.gallery-links__item:hover img {
  transform: scale(1);
}
.gallery-links__item:hover .gallery-links__item-main {
  opacity: 0;
}
.gallery-links__item:hover .gallery-links__item-alt {
  opacity: 1;
}
.gallery-links__item:first-child img {
  margin-left: auto;
}
@media (max-width: 900px) {
  .gallery-links {
    flex-direction: column;
    height: auto;
  }
  .gallery-links__item {
    flex: none;
    max-height: none;
  }
  .gallery-links__item img {
    width: 100%;
    height: auto;
    transition: none;
  }
  .gallery-links__item-alt {
    display: none;
  }
  .gallery-links__item:hover img {
    transform: none;
  }
  .gallery-links__item:hover .gallery-links__item-main {
    opacity: 1;
  }
  .gallery-links__item:hover .gallery-links__item-alt {
    opacity: 0;
  }
  .gallery-links__item:first-child img {
    margin-left: 0;
  }
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.gallery-modal.visible {
  display: flex;
}
.gallery-modal img {
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  object-fit: contain;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.book-header h2,
.book-header h3 {
  text-align: center;
  margin: 0;
  line-height: 1.1;
}
.book-header h3 {
  margin-bottom: 20px;
}
.book-header p {
  margin: 0;
}

.book-carousel {
  margin-top: 100px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 700px;
  margin: auto;
  margin-top: 50px;
  height: 600px;
}
.book-carousel-track {
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.book-carousel-track::-webkit-scrollbar {
  display: none;
}
.book-carousel-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
}
.book-carousel-slide img {
  border: solid 1px;
  margin: auto;
  display: block;
  width: auto;
  height: 100%;
}
.book-carousel-prev, .book-carousel-next {
  flex: 0 0 auto;
  border: none;
  background: none;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
}
@media (max-width: 900px) {
  .book-carousel {
    width: 100%;
    height: auto;
    gap: 0;
  }
  .book-carousel-track {
    width: 100%;
  }
  .book-carousel-slide img {
    width: 100%;
    height: auto;
  }
  .book-carousel-prev, .book-carousel-next {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    z-index: 1;
    color: #444;
  }
  .book-carousel-prev {
    left: 1px;
  }
  .book-carousel-next {
    right: 1px;
  }
}

@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Extralight.a2cf654acddc.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Light.e882439525c6.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Regular.f6088d8a2ada.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Medium.830d197a6b77.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Semibold.5e7a52eb73ac.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ClashGrotesk";
  src: url("../fonts/clash-grotesk/ClashGrotesk-Bold.2847c3b3522f.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  font-family: "ClashGrotesk", sans-serif;
}

body {
  min-height: 100vh;
  max-width: 2000px;
  margin: 0 auto;
  padding: 40px clamp(20px, 8vw, 80px);
  padding-top: 0;
  padding-bottom: 0;
  color: #444;
  display: flex;
  flex-direction: column;
}

a {
  color: currentColor;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
}

footer {
  margin-top: auto;
  padding-top: 40px;
}
footer .icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
footer p {
  display: flex;
  align-items: center;
  gap: 16px;
}

header {
  display: flex;
  margin-bottom: 40px;
}
header a {
  text-decoration: none;
  color: currentColor;
}
header h1 {
  display: inline-block;
  margin-right: 30px;
}
header nav {
  display: flex;
  align-items: center;
}
header nav:hover a {
  opacity: 0.5;
}
header nav a {
  transition: opacity 1s;
  margin: 20px;
}
header nav a:hover {
  opacity: 1;
}

p {
  font-size: 14px;
  text-align: center;
}

.richtext-image {
  margin: auto;
  margin: auto;
}

.nav-mobile-container {
  display: none;
}

.nav-mobile {
  display: none;
}

@media (max-width: 900px) {
  .nav-default {
    display: none;
  }
  .nav-mobile-container {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-toggle {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 24px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
  }
  .nav-toggle::before {
    top: 0;
  }
  .nav-toggle span {
    top: 11px;
  }
  .nav-toggle::after {
    bottom: 0;
  }
  .nav-toggle--open::before {
    top: 11px;
    transform: rotate(45deg);
  }
  .nav-toggle--open span {
    opacity: 0;
  }
  .nav-toggle--open::after {
    bottom: 11px;
    transform: rotate(-45deg);
  }
  .nav-mobile {
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: fixed;
    top: 0;
    left: 100%;
    background-color: white;
    transition: left 0.3s ease;
  }
  .nav-mobile a {
    margin: 0;
    padding: 10px 30px;
  }
  .nav-mobile--open {
    left: 0;
  }
}
