@import url("https://fonts.googleapis.com/css2?family=Forum&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --legacyRed: #980400;
  --naturalBlack: #000000;
  --lightCream: #fefaf8;
  --bgCream: #9804000f;
  --darkRed: #980400;
}

.fs52Legacy {
  font-family: "Forum", serif;
  font-weight: 400;
  font-size: 3.25rem;
}

.fs44Legacy {
  font-family: "Forum", serif;
  font-weight: 400;
  font-size: 2.75rem;
}

.fs18Legacy {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: rgba(45, 41, 38, 0.7);
}

.redBtnLegacy {
  background-color: var(--legacyRed);
  padding: 15px 20px;
  color: var(--white);
  font-size: 1rem;
  font-family: 'sat400';
  border: 1px solid var(--legacyRed);
}

.redBtnLegacy:hover {
  background-color: var(--darkRed) !important;
}

.outlineBtnLegacy {
  color: var(--legacyRed);
  font-family: "sat500";
  font-size: 1rem;
  background-color: var(--white);
  padding: 1rem 2.25rem;
  border: 1px solid var(--legacyRed);
  background-color: transparent;
}

/* Start Banner page  */
.bannerSlider {
  background: none !important;
}

.bannerSliderInner.legacyBanner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 800px;
  margin-top: 81px;
  /* height: calc(100vh - 81px); */
  /* Full viewport height minus header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: #fff;
  transition: background-image 0.5s ease-in-out;
}

.bannerSliderInner.legacyBanner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Overlay for better text readability */
  z-index: 1;
}

.bannerImg {
  text-align: center;
}

.swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #fff !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-clickable .swiper-pagination-bullet {
  opacity: 1 !important;
}

.bannerData {
  margin-bottom: 0px;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  text-align: center;
  /* Fixed padding to stay below fixed header */
}

/* Aggressively force header transparency on the homepage */
/* .headerSection:not(.scrolled),
.headerSection:not(.scrolled) .landingNav,
.headerSection:not(.scrolled) .navbar,
.headerSection:not(.scrolled) .container-fluid,
.headerSection:not(.scrolled) .customContainer {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
} */

.bannerData h1 {
  color: #fff !important;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.bannerData p {
  color: #fff !important;
  font-size: 1.25rem !important;
  opacity: 1;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* End Banner page */
/* Start Top Brand */
.topBrand {
  height: 96px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0rem 0 2.1875rem 0;
}

.slide-box {
  font-size: 18px;
  color: var(--naturalBlack);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Forum", serif;
  font-weight: 400;
}

.brandDot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50px;
  background-color: var(--legacyRed);
}

/* End Top Brand */
/* Start Disvocer Product */
.discoverCard {
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 20px 18px;
  /* border-radius: 20px; */
}

.discoverCard .wineName {
  font-size: 1.125rem;
}

.discoverButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discoverImage {
  text-align: center;
  margin-bottom: 1.75rem;
}

.discoverImage img {
  width: 100%;
  object-fit: contain;
}

.wineName {
  font-family: "sat600";
  font-size: 1.125rem;
  color: var(--black);
}

.shopNowBtn {
  font-family: "sat600";
  font-size: 0.875rem;
  color: var(--red);
}

/*End Disvocer Product */
/* Start Service */
.service {
  background-color: var(--lightCream);
  padding: 1.6875rem;
  /* border-radius: 1.5rem; */
  margin-block: 6.875rem;
}

.service .subHeading {
  color: var(--black70);
  font-size: 1rem;
}

.serviceData {
  padding-left: 2rem;
}

/* End Service */
/* Start Newly  */
.newlyLaunch {
  margin-bottom: 3.875rem;
}

.homeNewlyCard {
  padding: 5px;
}

.newlyCardButton {
  padding: 2px;
}

.newlyCardImage {
  margin-bottom: 1.375rem;
}

.newlyCardImage img {
  width: 100%;
  min-height: 33rem;
  max-height: 33rem;
  object-fit: contain;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding-block: 16px;
}

.newlyCard .wineName {
  font-family: "Forum", serif;
  font-weight: 400;
  color: var(--black);
  text-transform: uppercase;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* limits to two lines */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  min-height: 50px;
}

.homeNewlyCard .ml {
  font-family: "Open Sans";
}

.newlyCardDetails {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newlyCardDetails .winePrice {
  font-family: "Open Sans";
  font-weight: 700;
}

.newlyCardButton {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newlyCardButton .redButton,
.newlyCardButton .outlineBtn {
  padding-block: 14px;
  width: 100%;
}

.quantity-box {
  border: 1px solid var(--legacyRed);
  /* dark red border */
  padding: 14.5px 20px;
  color: var(--legacyRed);
  font-weight: 600;
  width: fit-content;
}

.quantity-box button {
  background: none;
  border: none;
  color: var(--legacyRed);
  font-size: 22px;
  font-weight: bold;
  line-height: 0;
  cursor: pointer;
}

.count {
  font-size: 18px;
  min-width: 20px;
  text-align: center;
}

.newlyFixImg {
  background: url(/images/newly4.png) no-repeat;
  height: 100%;
  width: 100%;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  min-height: 400px;
}

.newlyFixImg p {
  color: var(--brightWhite);
  font-size: 2.5rem;
  font-family: "Forum", serif;
  font-weight: 400;
  line-height: 37px;
}

.newlyCardImage img {
  width: 100%;
  min-height: 25rem;
}

.fit-content {
  width: fit-content;
}

.vertical-slider-wrapper {
  height: 600px;
  background: url("/images/bg-clouds.jpg") no-repeat center center / cover;
}

.stack-slider-wrapper {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.verticalSwiper {
  height: 100%;
  position: relative;
}

.verticalSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.verticalSwiper .slide-card {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
}

.verticalSwiper .slide-img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

.verticalSwiper .swiper-slide {
  position: relative;
}

.verticalSwiper .swiper-slide-next,
.verticalSwiper .swiper-slide-prev {
  opacity: 0.7;
  /* background card look */
  transform: translateY(10px);
}

.verticalSwiper .swiper-slide-active {
  transform: translateY(0);
  opacity: 1;
}

.verticalSwiper .text-box {
  max-width: 60%;
}

/* Swiper "cards" stacking customization */
.verticalSwiper .swiper {
  overflow: visible !important;
}

.verticalSwiper .swiper-slide-prev {
  transform: translateY(-15px) scale(0.96) !important;
  opacity: 0.7;
}

.verticalSwiper .swiper-slide-next {
  transform: translateY(15px) scale(0.96) !important;
  opacity: 0.7;
}

.stack-container {
  position: relative;
}

.stack-card {
  position: absolute;
}

/* End Newly */
/* Start Variety */

.moodSlider {
  margin-bottom: 5rem;
}

.mood-box {
  text-align: center;
}

.mood-box img {
  margin-bottom: 15px;
}

.moodWine {
  color: var(--black);
  font-size: 1.25rem;
  font-family: "sat500";
}

.new {
  background: #9c1e331a;
  padding: 8.5px 14px;
  font-size: 14px;
  color: #9c1e33;
  font-family: "sat500";
  text-transform: uppercase;
  border-radius: 30px;
}

/* End Variety */
.stackContainer {
  position: relative;
  height: 400vh;
  /* enough scroll space */
  background: #000;
  /* optional backdrop */
}

/* === Card stacking layout === */
.cardWrapper {
  position: sticky;
  top: 50px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardsBg {
  background-image: url(/skyImage.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* border-radius: 30px; */
}

/* main card container */
.cardInner {
  width: 90%;
  height: 70vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  position: relative;
}

/* content */
.cardContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem;
  height: 100%;
  width: 100%;
}

/* text area */
.textBlock {
  flex: 1;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

/* image */
.imageBlock {
  position: relative;
  flex: 1;
  height: 100%;
}

/*variety css start*/
.legacyHeading44 {
  font-size: 2.75rem;
  font-family: "Forum", serif;
  color: var(--black);
  font-weight: 400;
}

.variety .legacyHeading44 {
  color: var(--brightWhite);
}

/*mood css start*/

.moodWineLegacy {
  font-family: "Forum", serif;
  color: var(--black);
  font-size: 1.25rem;
}

.mood-boxLegacy:hover {
  background-color: var(--bgCream);
}

/*footer css start*/
.footerLegacy {
  background-color: #fff !important;
  border-top: 1px solid #0000001a;
}

.footerHeadingLegacy {
  font-family: "Forum", serif !important;
  color: var(--black) !important;
}

.footerLegacy ul li a,
.footerLegacy ul li {
  font-size: 16px;
  color: var(--black) !important;
  font-family: "sat400";
  text-transform: capitalize;
}

.footerLegacy ul li {
  margin-bottom: 8px;
}

.allRightsLegacy {
  background-color: var(--lightCream);
  padding: 1rem !important;
}

.redIcon {
  filter: brightness(0) saturate(100%) invert(9%) sepia(63%) saturate(7478%) hue-rotate(7deg) brightness(91%) contrast(109%);
}

.cardsBg .fs18Legacy {
  color: #fff;
}

@media (max-width: 1024px) {
  .cardInner {
    flex-direction: column;
    height: auto;
    min-height: 80vh;
  }

  .cardContent {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .imageBlock {
    width: 100%;
    height: 40vh;
  }
}

/* Featured Home Section Styles */
.featuredHomeSection {
  background-color: #fff;
  padding: 60px 0;
  position: relative;
}

.featuredSwiper {
  position: relative;
  overflow: hidden;
}

.featuredProductCard {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.featuredPromoCard {
  position: relative;
  height: 600px;
  width: 100%;
  overflow: hidden;
}

.promoImageWrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.promoOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.1); */
  background: rgb(0 0 0 / 31%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.promoSub {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 2px;
  margin-bottom: 5px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.promoTitle {
  font-family: "Forum", serif;
  font-size: 3.5rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.promoBtn {
  background: #555;
  color: #fff;
  padding: 14px 40px;
  font-family: "Open Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.promoBtn:hover {
  background: #000;
}

.featuredProductDetails {
  padding: 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featuredLabel {
  color: var(--legacyRed);
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 20px;
}

.featuredProductName {
  font-family: "Forum", serif;
  font-size: 4rem;
  color: #000;
  margin-bottom: 25px;
  font-weight: 400;
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.featuredMeta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.featuredCountry {
  font-family: "Open Sans", sans-serif;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
}

.inStockBadge {
  background-color: #5cb85c;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: "Open Sans", sans-serif;
}

.featuredPrice {
  font-family: "Forum", serif;
  font-size: 2.25rem;
  color: #000;
  font-weight: 400;
  margin-bottom: 50px;
}

.selectVariantBtn {
  background-color: var(--legacyRed);
  color: #fff;
  padding: 20px 0;
  width: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: none;
}

.selectVariantBtn:hover {
  background-color: var(--darkRed);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #333;
}

.swiper-button-prev-custom {
  left: 15px;
}

.swiper-button-next-custom {
  right: 15px;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background: var(--legacyRed);
  color: #fff;
  box-shadow: 0 6px 20px rgba(152, 4, 0, 0.3);
}


@media (max-width: 1199px) {
  .featuredProductDetails {
    padding: 40px;
  }

  .featuredProductName {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .featuredPromoCard {
    height: 400px;
  }

  .featuredProductDetails {
    padding: 30px 0px;
    align-items: center;
    text-align: center;
  }

  .featuredProductName {
    font-size: 2.5rem;
  }

  .featuredMeta {
    justify-content: center;
  }

  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    display: none;
  }
}

@media (max-width: 767px) {
  .featuredProductName {
    font-size: 2rem;
  }

  .featuredPrice {
    font-size: 1.75rem;
    margin-bottom: 30px;
  }

  .promoTitle {
    font-size: 2.5rem;
  }
}

@media (max-width: 575px) {
  .featuredHomeSection {
    padding: 40px 0;
  }

  .featuredPromoCard {
    height: 300px;
  }

  .promoTitle {
    font-size: 2rem;
  }

  .featuredProductName {
    font-size: 1.75rem;
  }

  .selectVariantBtn {
    padding: 15px 0;
    font-size: 1rem;
  }

  .featuredLabel {
    margin-bottom: 15px;
  }
}