#site-header,
#site-footer {
  display: none;
}

p, h1, h2, h3 {
  margin: 0;
}

.tax-product_cat {
  overflow: hidden;
  background: url('../images/full-frame-shot-wall.webp') center/cover no-repeat;
  height: 100vh;
}

.magazine-viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.magazine-viewport .container {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: auto;
  transform: translateY(-50%);
}

.magazine-viewport .magazine {
  width: 100%;
  height: auto;
  left: -50%;
  top: 100%;
}

.magazine-viewport .page {
  width: 50%;
  height: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.magazine .page {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.magazine-viewport .page img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
}

.magazine-viewport .shadow {
  -webkit-transition: -webkit-box-shadow 0.5s;
  -moz-transition: -moz-box-shadow 0.5s;
  -o-transition: -webkit-box-shadow 0.5s;
  -ms-transition: -ms-box-shadow 0.5s;
  -webkit-box-shadow: 0 0 20px #ccc;
  -moz-box-shadow: 0 0 20px #ccc;
  -o-box-shadow: 0 0 20px #ccc;
  -ms-box-shadow: 0 0 20px #ccc;
  box-shadow: inset 0 0 20px #5f5b5b, 0 0 20px #5f5b5b;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 10px;
  box-sizing: border-box;
  height: 100%;
  position: relative;
  z-index: 1;
}

.page-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-background img {
  width: 100%;
  height: 100%;
}

.product-item {
  text-align: center;
}

.product-item a {
  text-decoration: none;
}

.cover {
  background: url('../images/font-cover.webp') center/cover no-repeat;
  height: 100%;
  display: grid;
  justify-content: center;
  position: relative;
}

.back-coverbook {
  background: url('../images/back-coverbook.webp') center/cover no-repeat;
  height: 100%;
  position: relative;
}

.coverbook {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.coverbook p {
  text-align: center;
  text-transform: uppercase;
  font-size: 8px;
  font-style: italic;
  color: #e0dbca;
  font-weight: 200;
}

.cover p {
  text-align: center;
  color: #e0dbca;
  font-size: 10px;
  font-weight: 300;
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-45%);
  white-space: nowrap;
}

.logo-book {
  max-width: 100px !important;
  position: absolute;
  top: 6rem;
  left: 50%;
  transform: translateX(-45%);
}

.magazine-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
  font-family: 'UTM Mabella', sans-serif;
  font-size: 35px;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
}

.magazine-title span {
  color: #e0dbca;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
}

.magazine-title h1 {
  background: linear-gradient(90deg, #af7649 0%, #e6be72 40%, #f7d47e 80%, #c9995c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 400;
}

.magazine-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -20%;
  transform: translateX(-50%);
  width: 64px;
  aspect-ratio: 22/5;
  background: url('/wp-content/themes/medherb/assets/images/icon-book.webp') no-repeat center/contain;
}

.magazine-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20%;
  transform: translateX(-50%) rotate(180deg);
  width: 64px;
  aspect-ratio: 22/5;
  background: url('/wp-content/themes/medherb/assets/images/icon-book.webp') no-repeat center/contain;
}

.short-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-main-1);
  font-size: 9px;
  margin: 0;
}

.info-product-book {
  color: var(--color-main-2);
  background-color: #d974002b;
  padding: 5px;
  border-radius: 15px;
}

.info-product-book h3 {
  font-family: 'UTM Mabella', sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 400;
}

.info-product-book .product-scientific-name {
  font-size: 9px;
  color: black;
  margin: 0 0 10px;
}

.page-wrap.even .product-grid {
  padding: 60px 22px 60px 40px;
}

.page-wrap.odd .product-grid {
  padding: 60px 40px 60px 22px;
}

.magazine {
  counter-reset: page;
}

.page-wrap {
  position: relative;
  counter-increment: page;
}

.numberpage-even::after,
.numberpage-odd::after {
  content: counter(page);
  position: absolute;
  bottom: 14px;
  font-size: 10px;
  color: white;
  font-weight: 500;
  pointer-events: none;
  background: #236e4f;
  width: 20px;
}

.numberpage-odd::after {
  left: 32px;
  text-align: center;
  transform: translateX(-100%);
}

.numberpage-even::after {
  right: 32px;
  text-align: center;
  transform: translateX(100%);
}

.page-title {
  position: absolute;
  top: 20px;
  text-transform: uppercase;
  color: var(--color-main-1);
  font-size: 10px;
  font-weight: 400;
}

.titlepage-odd {
  left: 33px;
}

.titlepage-odd::after {
  content: '';
  width: 200%;
  height: 1px;
  position: absolute;
  background: var(--color-main-1);
  margin-left: 5px;
  bottom: 2px;
}

.titlepage-even {
  right: 33px;
}

.titlepage-even::before {
  content: '';
  width: 200%;
  height: 1px;
  position: absolute;
  background: var(--color-main-1);
  margin-left: -5px;
  bottom: 2px;
  transform: translateX(-100%);
}

.straight-line.left-page {
  position: absolute;
  height: 98%;
  width: 1px;
  background: linear-gradient(0deg, #073230 0%, #3e3a23 100%);
  top: 1%;
  right: 0;
}

.straight-line.right-page {
  position: absolute;
  height: 98%;
  width: 1px;
  background: linear-gradient(0deg, #073230 0%, #3e3a23 100%);
  top: 1%;
  left: 0;
}

.swiper-button-prev.prev-btn {
	left: 100px;
}
.swiper-button-next.next-btn {
	right: 100px;
}