/********************
 GENERAL
*********************/

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  position: relative;
}

html {
  --cream: #f1eae1;
  --maroon-300: #dec9b0;
  --maroon: #b19570;
  --maroon-500: #846b49;
  --maroon-600: #4d3e29;
  --white: #ffffff;
  --black: #000000;
  --green: #467250;
  --red: #724646;
  --montserrat: "Montserrat", sans-serif;
  --lithos: "Lithos", serif;
  --small-hmargin: 20px;
  --medium-hmargin: 40px;
  --large-hmargin: 80px;
  --xlarge-hmargin: 180px;
  --small-vmargin: 40px;
  --medium-vmargin: 80px;
  --large-vmargin: 120px;
  --xlarge-vmargin: 180px;
}

@media screen and (max-width: 1200px) {
  html {
    --small-hmargin: 20px;
    --medium-hmargin: 40px;
    --large-hmargin: 60px;
    --xlarge-hmargin: 120px;
    --small-vmargin: 40px;
    --medium-vmargin: 60px;
    --large-vmargin: 80px;
    --xlarge-vmargin: 120px;
  }
}

@media screen and (max-width: 992px) {
  html {
    --small-hmargin: 20px;
    --medium-hmargin: 30px;
    --large-hmargin: 40px;
    --xlarge-hmargin: 80px;
    --small-vmargin: 20px;
    --medium-vmargin: 40px;
    --large-vmargin: 60px;
    --xlarge-vmargin: 80px;
  }
}

@media screen and (max-width: 500px) {
  html {
    --small-hmargin: 20px;
    --medium-hmargin: 20px;
    --large-hmargin: 20px;
    --xlarge-hmargin: 40px;
    --small-vmargin: 20px;
    --medium-vmargin: 20px;
    --large-vmargin: 40px;
    --xlarge-vmargin: 80px;
  }
}

a {
  text-decoration: none;
  cursor: pointer;
}

.protect {
  pointer-events: none;
}

div {
  align-items: start;
}

.hidden-title {
  position: fixed;
  pointer-events: none;
  opacity: 0;
  right: 200vw;
  bottom: 200vh;
}

img {
  display: block;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-track-piece {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--maroon);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--maroon);
}

::-webkit-scrollbar-thumb:active {
  background: var(--maroon-500);
}

::-webkit-scrollbar-corner {
  background: var(--white);
}

/********************
 FONTS
*********************/

/* Montserrat */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: fallback;
}

/* Lithos */

@font-face {
  font-family: "Lithos";
  src: url("../fonts/lithos-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Lithos";
  src: url("../fonts/lithos-extra-light.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Lithos";
  src: url("../fonts/lithos-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Lithos";
  src: url("../fonts/lithos-bold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: "Lithos";
  src: url("../fonts/lithos-black.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

/********************
 TITLES AND TEXTS
*********************/

body {
  font-family: var(--montserrat);
  font-size: 1rem;
  color: var(--maroon-500);
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
  font-family: var(--lithos);
}

h1,
.h1,
h1 p,
.h1 p {
  font-size: 2.5rem;
}

h2,
.h2,
h2 p,
.h2 p {
  font-size: 2rem;
}

h3,
.h3,
h3 p,
.h3 p {
  font-size: 1.6rem;
}

@media screen and (max-width: 1200px) {
  h1,
  .h1,
  h1 p,
  .h1 p {
    font-size: 2.2rem;
  }

  h2,
  .h2,
  h2 p,
  .h2 p {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 992px) {
  h1,
  .h1,
  h1 p,
  .h1 p {
    font-size: 2rem;
  }

  h2,
  .h2,
  h2 p,
  .h2 p {
    font-size: 1.6rem;
  }

  h3,
  .h3,
  h3 p,
  .h3 p {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 500px) {
  h1,
  .h1,
  h1 p,
  .h1 p {
    font-size: 1.6rem;
  }

  h2,
  .h2,
  h2 p,
  .h2 p {
    font-size: 1.2rem;
  }

  h3,
  .h3,
  h3 p,
  .h3 p {
    font-size: 1.1rem;
  }
}

/********************
 COMMONS
*********************/

/* BTN */
.btn {
  display: block;
  text-align: center;
  width: max-content;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  min-width: min(100%, 200px);
  text-overflow: ellipsis;
  cursor: pointer;
  border-radius: 9000px;
  background-color: transparent;
  color: var(--maroon-500);
  border: 1px solid var(--maroon);
  padding: 8px 20px;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out,
    border-color 0.2s ease-in-out, filter 0.2s ease-in-out;
}

.btn.locked {
  pointer-events: none;
  filter: grayscale(1);
  opacity: 0.6;
}

.btn:hover {
  color: var(--white);
  background-color: var(--maroon);
}

.btn:active {
  border-color: var(--maroon-500);
  background-color: var(--maroon-500);
}

.btn.small {
}

/* PRELOADER */

.preloader {
  display: block;
  height: 5px;
  width: 100%;
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 20px;
}

.preloader > span {
  position: absolute;
  animation: none;
  width: 100%;
  height: 100%;
  left: -100%;
  border-radius: 3px;
  background-color: var(--maroon);
}

.preloader.active > span {
  animation: preloader 1s linear 0s infinite normal forwards;
}

@keyframes preloader {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* BOUNCE */

.bounce {
  animation-name: bounce;
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.3, 1.4);
  animation-iteration-count: 1;
}

@keyframes bounce {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(0.6);
  }
  60% {
    transform: scale(1.2);
  }
  0% {
    transform: scale(1);
  }
}

/* WAVE */

.wave {
  animation-name: wave;
  animation-duration: 1.1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(2px);
  }
  100% {
    transform: translateY(-2px);
  }
}

/********************
 HEADER
*********************/
#head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  gap: 40px;
  z-index: 100;
  pointer-events: none;
}

#head > a:first-child {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease-in-out;
}

#head > a:first-child:hover {
  opacity: 0.7;
}

#head > a:first-child > p {
  font-family: var(--lithos);
  color: var(--maroon);
}

#head img {
  height: 2.5rem;
  width: auto;
}

#head a {
  display: block;
  width: max-content;
  position: relative;
  color: var(--maroon-500);
  pointer-events: all;
  font-size: 0.9rem;
}

#head a > span {
  white-space: nowrap;
}

#head a > span:last-child {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  font-weight: 500;
}

#head a:hover > span:last-child,
#head a.active > span:last-child {
  opacity: 1;
}

/********************
 MOBILE HEADER
*********************/
#burger {
  position: fixed;
  top: 0;
  right: 0;
  padding: 20px 20px 0 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 64px;
  height: 46px;
  z-index: 102;
  cursor: pointer;
}

#burger > span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 100px;
  background-color: var(--maroon-500);
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out,
    background-color 0.2s ease-in-out;
}

#burger.active > span:nth-child(1) {
  transform: translateY(11px) rotate(33deg);
}

#burger.active > span:nth-child(2) {
  transform: translateX(10px);
  opacity: 0;
}

#burger.active > span:nth-child(3) {
  transform: translateY(-11px) rotate(-33deg);
}

#head_mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 0.2s ease-in-out;
  pointer-events: none;
  transform: translateX(100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 101;
}

#head_mobile.active {
  transform: translateX(0);
  pointer-events: all;
}

#head_mobile img {
  height: 6rem;
  width: auto;
}

#head_mobile a {
  color: var(--maroon-500);
  font-size: 1.3rem;
}

#head_mobile a.active {
  font-weight: 600;
}

#head_mobile > a:first-child {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  font-family: var(--lithos);
  font-size: 2.5rem;
  color: var(--maroon);
  position: absolute;
  top: 20%;
  height: max-content;
  width: max-content;
}

@media screen and (max-width: 992px) {
  #head {
    display: none;
  }
  #burger,
  #head_mobile {
    display: flex;
  }
}

@media screen and (max-height: 1000px) {
  #head_mobile > a:first-child {
    position: relative;
    top: 0;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 350px) {
  #head_mobile > a:first-child {
    font-size: 1.8rem;
  }
}

/********************
 FOOTER
*********************/
#foot {
  background-color: var(--maroon);
  padding: 40px 20px 10px;
  color: var(--cream);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#foot a {
  color: var(--cream);
  transition: color 0.2s ease-in-out;
}

#foot a:hover {
  color: var(--white);
}

#foot a.active {
  font-weight: 600;
}

.foot-top {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  justify-content: flex-end;
  align-items: flex-end;
}

.foot-right > p {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  width: max-content;
}

.foot-right > p path {
  fill: currentColor;
}

.foot-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-family: var(--lithos);
  color: var(--maroon-300);
  font-size: 2rem;
}

.foot-center img {
  height: 6rem;
  width: auto;
}

.foot-bottom {
  width: 100%;
  text-align: right;
  font-size: 0.8rem;
}

#foot .foot-bottom a {
  color: var(--maroon-500);
}

#foot .foot-bottom a:hover {
  color: var(--white);
}

@media screen and (max-width: 800px) {
  .foot-center {
    display: none;
  }
}

@media screen and (max-width: 400px) {
  .foot-top {
    flex-direction: column;
    gap: 40px;
  }
  .foot-left,
  .foot-right {
    text-align: center;
    align-items: center;
  }
}

/********************
 ANIMATIONS
*********************/
.anim-title:not(.ck) {
  opacity: 0;
}

.anim-title.inited {
  opacity: 1;
}

.anim-title > p > span,
.anim-title > p > i {
  display: inline-block;
  overflow: hidden;
}

.anim-title > p > span > span,
.anim-title > p > i > span {
  display: block;
  position: relative;
  transform: translateY(120%);
}

.anim-trigger:not(.animate) .anim-title > p > span > span,
.anim-trigger:not(.animate) .anim-title > p > i > span {
  transition: transform 0.5s ease-in-out 0s, opacity 0.5s ease-in-out 0s !important;
}

.anim-trigger.animate .anim-title > p > span > span,
.anim-trigger.animate .anim-title > p > i > span {
  transform: translateY(0);
}

.anim-title > p > i:last-child {
  margin-left: 10px;
}

.fade-up,
.fade-bottom,
.fade-right,
.fade-left,
.fade {
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.fade-up {
  transform: translateY(20px);
}

.fade-left {
  transform: translateX(20px);
}

.fade-right {
  transform: translateX(-20px);
}

.fade-bottom {
  transform: translateY(-20px);
}

.anim-trigger.animate .fade-up,
.anim-trigger.animate .fade-left,
.anim-trigger.animate .fade-right,
.anim-trigger.animate .fade-bottom {
  opacity: 1;
  transform: translate(0, 0);
}

.anim-trigger.animate .delay-1 {
  transition-delay: 0.2s;
}

.anim-trigger.animate .delay-2 {
  transition-delay: 0.4s;
}

.anim-trigger.animate .delay-3 {
  transition-delay: 0.6s;
}

.anim-trigger.animate .delay-4 {
  transition-delay: 0.8s;
}

.anim-trigger.animate .delay-5 {
  transition-delay: 1s;
}

.anim-trigger.animate .delay-6 {
  transition-delay: 1.2s;
}

.anim-trigger.animate .delay-7 {
  transition-delay: 1.4s;
}

.anim-trigger.animate .delay-8 {
  transition-delay: 1.6s;
}

.anim-trigger.animate .delay-9 {
  transition-delay: 1.8s;
}

.anim-trigger.animate .delay-10 {
  transition-delay: 2s;
}

.anim-trigger.animate .delay-11 {
  transition-delay: 2.2s;
}

.anim-trigger.animate .delay-12 {
  transition-delay: 2.4s;
}

.anim-trigger.animate .delay-13 {
  transition-delay: 2.6s;
}

.anim-trigger.animate .delay-14 {
  transition-delay: 2.8s;
}

.anim-trigger.animate .delay-15 {
  transition-delay: 3s;
}

@media screen and (max-width: 992px) {
  .fade-right,
  .fade-left {
    transform: translateY(20px);
  }
}

/*************
  404
**************/
.p404 {
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  padding: var(--large-vmargin) var(--large-hmargin);
}

/********************
 LEGALS
*********************/
.legals {
  max-width: 1400px;
  padding: 0 var(--large-hmargin);
}

.legals h1 {
  margin-bottom: 20px;
}

.legals h2 {
  margin: 20px 0 10px;
}

.legals p {
  margin: 10px 0;
}

.legals p a {
  color: var(--maroon);
  transition: color 0.2s ease-in-out;
}

.legals p a:hover {
  color: var(--maroon-500);
}

.legals .btn {
  margin: 10px 0;
}

/*************
  COOKIES
**************/
#cookies_success {
  color: var(--green);
}

.legals input {
  accent-color: var(--maroon);
}

/********************
 COOKIES
*********************/
.cookies {
  position: fixed;
  bottom: 10px;
  right: 10px;
  border: 1px solid var(--white);
  background-color: rgba(3, 13, 20, 0.9);
  z-index: 104;
  color: var(--white);
  padding: 15px;
  gap: 20px;
  width: 300px;
  max-width: calc(100% - 20px);
  transform: translateY(40px);
  pointer-events: none;
  opacity: 0;
  font-size: 0.9rem;
  border-top-left-radius: 50px;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.cookies.active {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.6s ease-in-out 0.6s, opacity 0.8s ease-in-out 0.8s;
}

.cookies > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
  justify-content: space-around;
  float: 1;
  margin-top: 20px;
}

.cookies p > a {
  color: var(--grey);
  transition: color 0.2s ease-in-out;
}

.cookies p > a:hover {
  color: var(--white);
}

@media screen and (max-width: 400px) {
  .cookies {
    max-width: 100%;
    width: 100%;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--blue);
    padding: 10px;
  }
}

/********************
 SPACER
*********************/

.spacer-1 {
  height: var(--small-vmargin);
}

.spacer-2 {
  height: var(--medium-vmargin);
}

.spacer-3 {
  height: var(--large-vmargin);
}

.spacer-4 {
  height: var(--xlarge-vmargin);
}

#page__body > .spacer-1:first-child,
#page__body > .spacer-2:first-child,
#page__body > .spacer-3:first-child,
#page__body > .spacer-4:first-child {
  min-height: 60px;
}

/********************
 TWO COLS
*********************/

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--medium-vmargin) var(--large-hmargin);
  align-items: center;
  padding: 0 var(--large-hmargin);
  margin: auto;
}

.two-cols-text h2 {
  margin-bottom: 20px;
}

.two-cols-text p {
  margin: 10px 0;
}

.two-cols-text .btn {
  margin: auto;
  margin-top: var(--small-vmargin);
}

.two-cols-img {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 25vw;
}

.two-cols-img > img {
  position: absolute;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 992px) {
  .two-cols {
    grid-template-columns: 1fr;
  }
  .two-cols-img {
    min-height: 46vw;
  }
  .two-cols.reverse > div:last-child {
    order: 1;
  }
  .two-cols.reverse > div:first-child {
    order: 2;
  }
}

/********************
 INDEX
*********************/
.index-1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--maroon);
  text-align: center;
}

.index-1 img {
  height: 10rem;
  width: auto;
  margin-bottom: 10px;
}

/* INDEX 2 */

.index-2 h2 {
  margin-left: var(--large-hmargin);
}

.index-2 .btn {
  margin: auto;
}

.index-2 > div {
  margin: var(--small-vmargin) 0;
}

.index-2 .swiper a {
  color: var(--maroon-500);
  transition: color 0.2s ease-in-out;
}

.index-2 .swiper a:hover {
  color: var(--maroon);
}

.index-2 .swiper a > div {
  position: relative;
  width: 100%;
  padding-bottom: calc(100% - 2px);
  overflow: hidden;
  transition: border-color 0.2s ease-in-out;
  border: 1px solid transparent;
  margin-bottom: 10px;
}

.index-2 .swiper a > div > img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.index-2 .swiper a:hover > div > img {
  transform: scale(1.1);
  transition: transform 0.7s ease-in-out;
}

.index-2 .swiper a:hover > div {
  border-color: var(--maroon);
}

@media screen and (max-width: 1500px) {
  .index-2 img {
    height: 19vw;
  }
}

@media screen and (max-width: 1200px) {
  .index-2 img {
    height: 24vw;
  }
}

@media screen and (max-width: 900px) {
  .index-2 img {
    height: 34vw;
  }
}

@media screen and (max-width: 600px) {
  .index-2 img {
    height: 70vw;
  }
}

/* INDEX 3 */

.index-3 h2 {
  margin-left: var(--large-hmargin);
}

.index-3 .btn {
  margin: auto;
}

.index-3 > div:not(.swiper) {
  padding: 20px var(--large-hmargin) 5px;
  display: flex;
  gap: 10px;
  overflow: auto;
}

.index-3 > div > a {
  color: var(--maroon-500);
  border: 1px solid var(--maroon);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 900px;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  white-space: nowrap;
}

.index-3 > div > a:hover {
  color: var(--white);
  background-color: var(--maroon);
}

.index-3 > div > a:active {
  background-color: var(--maroon-500);
  border-color: var(--maroon-500);
}

.index-3 .swiper {
  margin: var(--small-vmargin) 0;
}

.index-3 img {
  height: 400px;
  width: auto;
}

@media screen and (max-width: 1200px) {
  .index-3 img {
    height: 350px;
  }
}

@media screen and (max-width: 992px) {
  .index-3 img {
    height: 300px;
  }
}

/* INDEX 4 */

.index-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--small-vmargin);
  padding: 0 var(--large-hmargin);
  text-align: center;
}

/********************
 SECOND MENU
*********************/
#second_menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  padding-top: 60px;
  width: 100%;
  display: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 80%,
    rgba(255, 255, 255, 0) 100%
  );
}

#second_menu.active {
  display: block;
}

/********************
 IMAGE ZOOM
*********************/
img.zoomable {
  cursor: zoom-in;
  transition: opacity 0.2s ease-in-out;
}

img.zoomable:hover {
  opacity: 0.9;
}

#image_zoom {
  user-select: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 105;
  opacity: 0;
  cursor: zoom-out;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#image_zoom.active {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.2s ease-in-out 0.1s;
}

#image_zoom > div {
  cursor: auto;
  flex: 1;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#image_zoom > div > img {
  user-select: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#image_zoom.active > div > img {
  pointer-events: all;
}

#image_zoom > p {
  cursor: text;
  user-select: text;
  text-align: right;
  font-style: italic;
  margin-top: 5px;
  color: var(--maroon-300);
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

#image_zoom > svg {
  position: absolute;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

#image_zoom > svg:hover {
  opacity: 0.7;
}

#image_zoom > svg.hidden {
  opacity: 0;
  pointer-events: none;
}

#zoom_prev {
  left: 15px;
  top: 50%;
  height: 3.5rem;
  width: auto;
  transform: translateY(-50%);
}

#zoom_prev:hover {
  transform: translate(-3px, -50%);
}

#zoom_next {
  right: 15px;
  top: 50%;
  height: 3.5rem;
  width: auto;
  transform: translateY(-50%);
}

#zoom_next:hover {
  transform: translate(3px, -50%);
}

#zoom_close {
  right: 15px;
  top: 20px;
  height: 1.6rem;
  width: auto;
}

@media screen and (max-width: 700px) {
  #image_zoom > img {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
}

/********************
 CATALOG
*********************/

.catalog-top > h1 {
  padding: 0 var(--medium-hmargin);
}

.catalog-top.hide {
  opacity: 0;
  pointer-events: none;
}

.catalog-top > div {
  padding: 10px var(--medium-hmargin) 5px;
  display: flex;
  gap: 10px;
  overflow: auto;
}

.catalog-top > div > a {
  color: var(--maroon-500);
  border: 1px solid var(--maroon-500);
  background-color: var(--white);
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 900px;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out,
    color 0.2s ease-in-out, filter 0.2s ease-in-out, opacity 0.2s ease-in-out;
  white-space: nowrap;
}

.catalog-top > div > a.disabled {
  filter: grayscale(1);
  opacity: 0.6;
  pointer-events: none;
}

.catalog-top > div > a:hover,
.catalog-top > div > a.active {
  color: var(--white);
  background-color: var(--maroon);
  border-color: var(--maroon);
}

.catalog-top > div > a:active,
.catalog-top > div > a.active:hover {
  background-color: var(--maroon-500);
  border-color: var(--maroon-500);
}

.catalog-top > div > a.active:active {
  background-color: var(--maroon);
}

.catalog-top > span {
  margin: 5px var(--medium-hmargin) 0;
  position: relative;
  border: 1px solid var(--maroon-500);
  background-color: var(--white);
  border-radius: 9000px;
  width: max-content;
  display: flex;
  align-items: center;
  padding-right: 10px;
  overflow: hidden;
}

.catalog-top > span > input {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  background-color: transparent;
  font-family: var(--montserrat);
  font-size: 1rem;
  color: var(--maroon-500);
  font-weight: 400;
  padding: 6px 10px;
  box-sizing: border-box;
  width: 500px;
  max-width: calc(100vw - var(--medium-hmargin) * 2 - 32px);
}

.catalog-top > span > input::placeholder {
  color: var(--maroon);
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
}

.catalog-top > span > svg {
  height: 1.2rem;
  width: auto;
}

.catalog-title {
  text-align: center;
  margin: var(--small-vmargin) var(--medium-hmargin);
}

.catalog-title:empty,
.catalog-title.disabled {
  display: none;
}

.catalog {
  grid-template-columns: repeat(6, 1fr);
  margin-top: var(--small-vmargin);
  padding: 0 var(--medium-hmargin);
  display: grid;
  gap: 20px;
}

.catalog > a {
  overflow: hidden;
  color: var(--maroon-500);
  transition: color 0.2s ease-in-out;
}

.catalog > a.hide {
  display: none;
}

.catalog > a > div {
  position: relative;
  border: 1px solid currentColor;
  width: 100%;
  padding-bottom: calc(100% - 2px);
  overflow: hidden;
  margin-bottom: 5px;
}

.catalog > a > div > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease-in-out;
}

.catalog > a > p {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog > a:hover {
  color: var(--maroon);
}

.catalog > a:hover > div > img {
  transform: scale(1.1);
  transition: transform 0.7s ease-in-out;
}

@media screen and (max-width: 1400px) {
  .catalog {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media screen and (max-width: 1000px) {
  .catalog {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 800px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 500px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

/********************
 PRODUCT
********************/
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--large-hmargin);
  padding: 0 var(--large-hmargin);
  margin: 0 auto;
  max-width: 1400px;
}

.product-price {
  font-style: italic;
}

.product-image {
  position: relative;
  border: 1px solid var(--maroon);
  width: 100%;
  padding-bottom: calc(100% - 2px);
  overflow: hidden;
}

.product-image > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.product-image > img.active {
  pointer-events: all;
  opacity: 1;
}

.product-images {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 5px;
}

.product-images > div {
  border: 1px solid var(--maroon);
  cursor: pointer;
}

.product-images > div > img {
  height: 90px;
  width: 90px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.2s ease-in-out;
}

.product-images > div:hover > img,
.product-images > div.active > img {
  filter: grayscale(0) brightness(1);
}

.product-right h1 {
  margin-bottom: 20px;
}

.product-right p {
  margin-top: 10px;
}

.product-right .btn {
  margin-top: var(--small-vmargin);
}

.see-more {
  padding: 0 var(--medium-hmargin);
  margin-bottom: var(--small-vmargin);
}

@media screen and (max-width: 900px) {
  .product {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-left {
    width: 500px;
    max-width: 100%;
  }

  .product-images > div > img {
    width: 60px;
    height: 60px;
  }

  .product-right {
    width: 500px;
    max-width: 100%;
  }
}

@media screen and (max-width: 1400px) {
  .see-more-products > a:nth-child(6) {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  .see-more-products > a:nth-child(5) {
    display: none;
  }
}

@media screen and (max-width: 800px) {
  .see-more-products > a:nth-child(4) {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  .see-more-products > a:nth-child(3) {
    display: none;
  }
}

/********************
 GALLERIES
********************/

.catalog-top > .catalog-submenu {
  margin-top: -2px;
  padding-top: 5px;
  display: none;
  min-height: calc(0.8rem + 19px);
}

.catalog-top > .catalog-submenu.active {
  display: flex;
}

.catalog-top > .catalog-submenu > a {
  padding: 4px 8px 3px;
  font-size: 0.8rem;
  line-height: 1;
}

.subgallery-title {
  display: none;
}

.subgallery-title.active {
  display: block;
}

/*.gallery {
  display: none;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0 var(--large-hmargin);
}

.gallery.active {
  display: flex;
}

.gallery::after {
  content: "";
  flex-grow: 1000000000;
}

.gallery > div {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery > div > img {
  max-height: 20vw;
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}

.gallery > div > p {
  font-style: italic;
  margin-top: 3px;
  font-size: 0.9rem;
  bottom: 0;
  left: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--maroon-600);
  padding: 5px;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.2s ease-in-out;
}

.gallery > div > p:empty {
  display: none;
}

.gallery > div:hover > p {
  transform: translateY(0);
}

@media screen and (max-width: 992px) {
  .gallery > div > img {
    height: auto;
  }
  .gallery > div {
    max-width: calc(50vw - var(--large-hmargin) - 13px);
  }
}

@media screen and (max-width: 500px) {
  .gallery {
    gap: 10px;
  }
  .gallery > div {
    max-width: calc(50vw - var(--large-hmargin) - 8px);
  }
}

@media screen and (max-width: 350px) {
  .gallery {
    gap: 10px;
  }
  .gallery > div > img {
    height: auto;
  }
  .gallery > div {
    max-width: 100%;
  }
}*/

.gallery {
  padding: 0 var(--large-hmargin);
  --gutter: 20px;
  display: none;
}

.gallery.active {
  display: block;
}

.gallery-row {
  display: flex;
  gap: var(--gutter);
  margin-bottom: var(--gutter);
}

.gallery-row:last-child {
  margin-bottom: 0;
}

.gallery-row > div {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.gallery-row > div > img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-row > div > p {
  font-style: italic;
  font-size: 0.9rem;
  margin-top: 3px;
  text-align: right;
  line-height: 1.2;
}

/********************
 CONTACT
********************/

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--large-hmargin);
  padding: 0 var(--large-hmargin);
}

.contact-right > div {
  width: 100%;
  height: 40vw;
  overflow: hidden;
  position: relative;
  border-radius: 40px;
}

.contact-right > div > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact input,
.contact textarea {
  background-color: none;
  border: none;
  outline: none;
  border-bottom: 1px solid var(--maroon);
  color: var(--maroon-500);
  padding: 5px;
  width: 100%;
  font-size: 1rem;
  font-family: var(--montserrat);
}

.contact input::placeholder,
.contact textarea::placeholder {
  color: var(--maroon);
  font-style: italic;
  font-size: 0.9rem;
}

.contact textarea {
  resize: vertical;
  border: 1px solid var(--maroon);
}

.contact form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.contact form > span {
  display: block;
  font-style: italic;
  text-align: right;
  font-size: 0.9rem;
}

.contact form > p {
  text-align: center;
}

.contact form > p:empty {
  display: none;
}

#success {
  color: var(--green);
}

#error {
  color: var(--red);
}

.contact form > .btn {
  margin: 20px auto 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info a {
  color: var(--maroon-500);
  transition: opacity 0.2s ease-in-out;
}

.contact-info a svg path {
  fill: var(--maroon);
}

.contact-info a:hover {
  opacity: 0.7;
}

.contact-info > p {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

@media screen and (max-width: 992px) {
  .contact {
    display: block;
  }
  .contact-right {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .contact form > div {
    grid-template-columns: 1fr;
  }
}

.grecaptcha-badge {
  display: none;
}
