.wine-tabs {
  display: flex;

  flex-direction: row;

  gap: 95px;
}

.wine-viewer {
  display: flex;
}

.wine-item {
  display: flex;

  flex-direction: row;

  /* align-items: end; */

  gap: 100px;
}

.wine-details {
  display: flex;

  flex-direction: column;

  gap: 35px;

  margin-top: 30px;
  /* margin-bottom: 10px; */
}

.wine-viewer .tabs-navigation-wrapper {
  height: 625px;

  width: 120px;

  position: relative;

  overflow-y: auto;

  -ms-overflow-style: none;

  scrollbar-width: none;
}

.wine-viewer .tabs-navigation-wrapper::-webkit-scrollbar {
  display: none;
}

.wine-viewer .tabs-navigation-container {
  max-height: 600px;

  position: relative;

  padding-left: 40px;

  margin-top: 25px;

  overflow-y: hidden;
}

.wine-viewer .tabs-navigation-container::before {
  content: "";

  position: absolute;

  top: -10px;

  bottom: 0;

  left: 10px;

  width: 1px;

  background-color: #d2cfc7;
}

.wine-viewer .tabs-navigation {
  display: flex;

  flex-direction: column;

  gap: 30px;

  transition: transform 0.3s ease;
}

.wine-viewer .tabs-navigation .tab {
  cursor: pointer;

  position: relative;

  font-size: 16px;

  line-height: 36px;

  transition: all 0.3s ease;
}

.wine-viewer .tabs-navigation .tab.active {
  color: #c1a97e;

  font-weight: 700;

  font-size: 32px;

  line-height: 36px;
}

.wine-viewer .tabs-navigation .tab.active::after {
  content: "";

  position: absolute;

  left: -37px;

  width: 15px;

  height: 15px;

  border-radius: 50%;

  top: 10px;

  background-color: #c1a97e;
}

.wine-viewer .tabs-content {
  display: flex;
}

.wine-viewer .tabs-content .tab-content {
  display: none;

  align-items: center;

  justify-content: center;

  gap: 120px;

  width: 100%;
}

.wine-viewer .tab-content-title {
  width: 300px;

  font-family: "Kudryashev Display";

  font-weight: 500;

  font-size: 50px;

  line-height: 60px;
}

.wine-viewer p {
  width: 324px;

  font-family: "Barlow";

  font-weight: 400;

  font-size: 14px;

  line-height: 100%;

  letter-spacing: 0%;
  text-align: justify;
}

.wine-viewer .tab-content-image {
  display: flex;
}

.wine-viewer .tab-content-image img {
  width: 340px;

  height: 508px;

  object-fit: cover;
}

.wine-viewer .tab-content-image .tab-content-year {
  font-family: "Kudryashev Display";

  font-weight: 500;

  font-size: 135px;

  line-height: 60px;

  color: #b3beba80;

  text-transform: uppercase;

  writing-mode: sideways-lr;

  text-align: end;

  padding-left: 55px;
}

/* .wine-viewer .tab-button[aria-disabled="true"] {

  opacity: 0.3;

  cursor: not-allowed;

  pointer-events: none;

}



.wine-viewer .tab-button[aria-disabled="false"] {

  opacity: 1;

  cursor: pointer;

  pointer-events: auto;

} */

.wine-viewer .tab-button {
  display: flex;

  background-color: transparent;

  border: none;

  padding-left: 5px;

  cursor: pointer;

  transition: opacity 0.3s ease;

  z-index: 10;
}

.wine-viewer .tab-button:hover {
  opacity: 0.7;
}

.wine-viewer .prev-tab {
  position: absolute;

  left: 40px;

  top: 0;
}

.wine-viewer .next-tab {
  position: absolute;

  left: 40px;

  bottom: 0;
}

.wine-field .gold-title {
  color: #c1a97e;

  margin-bottom: 6px;

  font-family: "Barlow";

  font-weight: 400;

  font-size: 16px;

  line-height: 20px;

  letter-spacing: 2.5%;

  text-transform: uppercase;
}

.wine-field a {
  border: 1px solid #c1a97e;

  font-family: "FrutigerLTPro";

  font-weight: 400;

  font-size: 12px;

  line-height: 27px;

  letter-spacing: 0%;

  text-transform: uppercase;

  padding: 10px 5px;

  color: #000000;
}

.wine-image {
  display: flex;

  align-items: start;
}

.wine-image-class {
  font-family: "Kudryashev Display";

  font-weight: 500;

  font-size: 50px;

  letter-spacing: 0%;

  color: #dddbd5;

  /* writing-mode: sideways-lr; */

  margin-right: -20px;
}

/* Mobile Swiper Navigation Styles */

.wine-viewer .swiper-tabs {
  display: none; /* Hidden by default, shown on mobile */
}

.wine-viewer .swiper-container {
  width: 100%;

  padding: 20px 0 0 0;
}

.wine-viewer .swiper-wrapper {
  align-items: center;
}

.wine-viewer .swiper-wrapper::before {
  content: "";

  display: block;

  width: 100%;

  height: 1px;

  background-color: #d2cfc7;

  position: absolute;

  top: -8px;

  left: 0;
}

.wine-viewer .swiper-slide {
  width: auto !important;

  text-align: center;

  flex-shrink: 0;
}

.wine-viewer .swiper-slide .tab {
  padding: 10px 20px;

  font-size: 16px;

  line-height: 36px;

  cursor: pointer;

  transition: all 0.3s ease;

  white-space: nowrap;

  position: relative;
}

.wine-viewer .swiper-slide .tab.active {
  color: #c1a97e;

  font-weight: 700;

  font-size: 24px;

  line-height: 36px;
}

.wine-viewer .swiper-slide .tab.active::after {
  content: "";

  position: absolute;

  left: 50%;

  top: -15px;

  transform: translateX(-50%);

  width: 15px;

  height: 15px;

  border-radius: 50%;

  background-color: #c1a97e;
}

/* Custom Swiper Navigation Buttons */

.swiper-navigation {
  height: 20px;

  width: 100vw;

  margin: 0 auto;

  position: relative;
}

.wine-viewer .swiper-button-prev:after,
.wine-viewer .swiper-button-next:after {
  font-size: 16px;

  font-weight: bold;

  color: #000;
}

@media (max-width: 1300px) {
  .wine-viewer {
    justify-content: center;
  }

  .wine-tabs {
    gap: 50px;
  }

  .wine-viewer .tabs-content .tab-content {
    gap: 50px;
  }

  .wine-viewer .tab-content-image img {
    width: 300px;

    height: 450px;
  }

  /* .tabs-navigation .tab.active {

    font-size: 24px;

    line-height: 28px;

  } */

  .wine-viewer .tab-content-image .tab-content-year {
    font-size: 100px;

    line-height: 40px;

    padding-left: 40px;
  }
}

@media (max-width: 1024px) {
  .wine-viewer {
    overflow: hidden;
  }

  /* Hide desktop navigation */

  .wine-viewer .tabs-navigation-wrapper {
    display: none;
  }

  /* Show Swiper navigation */

  .wine-viewer .swiper-tabs {
    display: block;

    width: 100%;
  }

  /* Update main layout for mobile */

  .wine-tabs {
    flex-direction: column;

    align-items: center;

    gap: 30px;
  }

  .wine-item {
    flex-direction: column;

    gap: 60px;

    align-items: center;

    text-align: center;
  }

  .wine-details {
    text-align: left;
  }

  .wine-viewer p {
    width: 100%;

    max-width: 324px;
  }

  .wine-viewer .tab-content-title {
    width: 100%;

    text-align: center;
  }

  .wine-viewer .wine-image {
    justify-content: center;

    width: 60%;
  }

  .wine-image-class {
    font-size: 30px;

    margin-right: -9px;

    line-height: 1;
  }

  .wine-viewer .tab-content-image img {
    width: 280px;

    height: 420px;
  }

  .wine-viewer .tab-content-image .tab-content-year {
    font-size: 80px;

    line-height: 40px;

    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .wine-viewer .swiper-slide .tab {
    padding: 8px 15px;

    font-size: 14px;
  }

  .wine-viewer .swiper-slide .tab.active {
    font-size: 20px;
  }

  .wine-viewer .tab-content-image img {
    width: 250px;

    height: 375px;
  }

  .wine-viewer .tab-content-image .tab-content-year {
    font-size: 60px;

    padding-left: 15px;
  }

  .wine-viewer .tab-content-title {
    font-size: 40px;

    line-height: 48px;
  }
}
