:root {
  /* Fonts */
  --offer-font-hero-title: clamp(22px, 2.5vw, 24px);
  --offer-font-banner-title: clamp(20px, 2.5vw, 32px);
  --offer-font-banner-subtitle: clamp(18px, 2vw, 28px);
  --offer-font-banner-small: clamp(16px, 1.8vw, 24px);
  --offer-font-h1: clamp(28px, 3.5vw, 48px);
  --offer-font-h2: clamp(24px, 2.8vw, 40px);
  --offer-font-h3: clamp(20px, 2.5vw, 32px);
  --offer-font-accordion: clamp(16px, 1.8vw, 24px);

  /* colors */
  --offer-color-text-light: #fff;
  --offer-color-text-dark: var(--color-body);
  --offer-color-hr-teal: #a7cbd2;

  /* Fonts - mobile */
  --offer-font-discount-mobile: 44px;
  --offer-font-hero-title-mobile: 22px;

  /* Color offers variants */
  --offer-color-feb-banner-bg: var(--colorSandLight);
  --offer-color-feb-title: #6a0437;
  --offer-color-golf-banner-bg: #0b2463;
}

.block-shadow .htt-text-image:has(.title-section) {
  width: 100%;
}
/*Weddings*/
.box-bg-experience {
  position: relative;
  min-height: 190px;
}
.box-bg-experience .ring-wedding,
.box-bg-experience .flower-wedding {
  position: absolute;
  width: 100%;
  height: 100%;
}
.box-bg-experience .ring-wedding {
  background: url(/dam/multiHotel-majesticresorts/weddings/ring-wedding-majestic-resorts.png)
    bottom left no-repeat;
  left: -17%;
  top: -55px;
}
.box-bg-experience .flower-wedding {
  background: url(/dam/multiHotel-majesticresorts/weddings/flowers-wedding-majestic-resorts.png)
    bottom left no-repeat;
  left: 85%;
  top: 35%;
}
.htt-text-image:has(.destination),
.destination {
  height: 100%;
}
.destination {
  display: flex;
  flex-direction: column;
}
.destination .block-shadow {
  flex: 1;
}

.email-contact {
  text-transform: none !important;
}
.buttons-flex {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.border-bottom-secondary > .row > div > div:has(> .carousel),
.border-bottom-secondary .carousel,
.border-bottom-secondary .carousel-inner,
.border-bottom-secondary .carousel-item,
.border-bottom-secondary .carousel-item img {
  height: 100%;
  max-height: 100%;
}
.border-bottom-secondary .carousel-item {
  display: block !important;
  opacity: 0;
}
.border-bottom-secondary .carousel-item.active {
  opacity: 1;
  z-index: 1;
}
/*Destination vow renewals*/
.imgLove {
  height: auto;
  width: 250px;
  position: absolute;
  bottom: 60px;
  left: 60px;
}
/*Groups events*/
.block-guide {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.09);
  padding-right: 0;
  padding-left: 0;
  height: 100%;
}
.block-guide > .row,
.block-guide > .row > .col > .htt-text-image {
  height: 100%;
}
.img-guide {
  position: relative;
}
.icon-guide {
  position: absolute;
  bottom: -40px;
  width: 100%;
  text-align: center;
}
.text-guide {
  padding: 60px 10px 30px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-bottom: 30px !important;
}
.block-guide h3 {
  font-size: 32px;
  font-family: var(--fontPrimary);
  font-weight: 600;
  text-transform: none;
}
/*Adults only*/
.box-bg-experience .cocktails-adults-only {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(/dam/multiHotel-majesticresorts/punta-cana/adults-only/adults-only-cocktail-majestic-resorts.png)
    bottom left no-repeat;
  left: -17%;
  top: -55px;
  z-index: 0;
}
.grid-resort-club .htt-text-image {
  height: 100%;
}
.resort-club {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.resort-club .text-resort p {
  color: var(--color-body);
}
/*Spa*/
.grid-spa .border-bottom-secondary {
  height: 100%;
}
/*Golf*/
.box-bg-experience .golf-punta-cana,
.box-bg-experience .golf-costa-mujeres {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(/dam/multiHotel-majesticresorts/punta-cana/golf/golf-detail-majestic-resorts.png)
    bottom left no-repeat;
  left: -15%;
  top: 20px;
  z-index: 0;
}
/*Groups events*/
.block-guide {
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.09);
  padding-right: 0;
  padding-left: 0;
  height: 100%;
}
.block-guide > .row,
.block-guide > .row > .col > .htt-text-image {
  height: 100%;
}
.img-guide {
  position: relative;
}
.icon-guide {
  position: absolute;
  bottom: -40px;
  width: 100%;
  text-align: center;
}
.text-guide {
  padding: 60px 10px 30px 10px;
}
.block-guide h3 {
  font-size: 32px;
  font-family: var(--fontPrimary);
  font-weight: 600;
  text-transform: none;
}
/*Mixology*/
.destinations.w60 {
  width: 50% !important;
}
.cocktail hr {
  width: 80px;
  height: 2px;
  background: var(--colorPrimary);
  opacity: 1;
}
.cocktail-ig {
  overflow: hidden;
}
.cocktail-ig a {
  position: relative;
}
.cocktail-ig a:before {
  content: "+";
  position: absolute;
  z-index: 1;
  background-color: var(--colorSecondary);
  top: 0;
  color: #fff;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1px 11px;
  font-size: 25px;
  border-radius: 50%;
  opacity: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s;
  border: 2px solid rgb(255 255 255 / 30%) !important;
}
.cocktail-ig:hover a img {
  filter: grayscale(0) brightness(50%);
}
.cocktail-ig:hover a:before {
  opacity: 1;
}
.grid-video-mixology {
  position: relative;
}
.text-video-mixology {
  background: rgba(12, 43, 57, 0.9);
  position: absolute;
  width: 80%;
  bottom: -150px;
  left: 10%;
  padding: 15px;
}
.destinations .buttons-flex {
  gap: 50px;
}

/* ================================================================================================
  ============================GENERAL OFFER CARDS STYLING==========================================
   ================================================================================================ */

/* ========================================
   RESORT OFFER CARDS
   ======================================== */

/* Resort offer container */
.resort-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(218, 202, 176, 1);
  max-width: 600px;
  margin: 0 auto;
  min-height: 780px;
  box-shadow: 0px 20px 24px -4px rgba(0, 0, 0, 0.08);
}

/* Extra discount badge */
.extra-discount {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--colorPrimary);
  color: var(--offer-color-text-light);
  padding: 10px 20px;
}

/* Remove border radius when discount badge present */
.resort-offer:has(.extra-discount),
.resort-offer:has(.extra-discount) .img-resort-offer img {
  border-radius: 0;
}

/* Resort offer image */
.resort-offer .img-resort-offer img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* Resort offer text content */
.text-resort-offer {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: rgba(252, 250, 247, 1);
  border-radius: 10px;
}
ul.resort-offer--list.mTop20 {
  list-style-type: disc;
}
.text-resort-offer p:last-child {
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
}

.resort-offer .text-resort-offer {
  padding: 5%;
}

.resort-offer .text-resort-offer h3 {
  font-size: var(--offer-font-h3);
  font-family: var(--fontTitles);
  line-height: 1.2;
  text-transform: none;
}

.resort-offer .text-resort-offer p span {
  font-style: italic;
  font-weight: 600;
}

.grid-overlay-bottom > div {
  margin-top: 20px;
}

/* Row resort card - variant */

.resort-offer.row-card_offer {
  flex-direction: row;
  max-width: max-content;
  height: auto;
  min-height: auto;
}

.resort-offer.row-card_offer .img-resort-offer img {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0px;
}
.resort-offer.row-card_offer .text-resort-offer {
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media screen and (max-width: 980px) {
  .resort-offer.row-card_offer,
  .resort-offer {
    flex-direction: column;
    max-width: max-content;
    height: auto;
    min-height: auto;
  }

  .resort-offer.row-card_offer .img-resort-offer img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 10px;
  }
  .resort-offer.row-card_offer .text-resort-offer {
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
}
/* ================================================================================================
  =========================== END -> GENERAL OFFER CARDS STYLING ==================================
   ================================================================================================ */

/* ========================================
   ACCORDION STYLES (TERMS & CONDITIONS)
   ======================================== */

.accordion-item {
  border: none !important;
}

.accordion-item .accordion-button {
  border-radius: 0 !important;
  padding: 10px 15px;
  color: var(--offer-color-text-dark);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--colorSand) !important;
  font-size: var(--offer-font-accordion);
  padding-left: 0;
}

.accordion-button::after {
  transform: rotate(180deg);
}

.accordion-button.collapsed::after {
  transform: none;
}

#offer-terms .accordion-body {
  padding-left: 0;
}

/* ========================================
   BOX COMPONENTS
   ======================================== */

.box {
  border: 1px solid var(--colorCaribbean);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.box > div img.img-responsive {
  margin-bottom: 20px;
}

.box > div:last-child {
  flex: 1;
  padding: 5%;
}

.htt-text-image:has(.box) {
  height: 100%;
}

@media (max-width: 1199px) {
  .box-bg-wedding .ring-wedding,
  .box-bg-wedding .flower-wedding {
    display: none;
  }
  .destinations.w60 {
    width: 70% !important;
  }
}
@media (max-width: 1024px) {
  .box-bg-experience .ring-wedding,
  .box-bg-experience .flower-wedding,
  .box-bg-experience .cocktails-adults-only,
  .box-bg-experience .golf-punta-cana,
  .box-bg-experience .golf-costa-mujeres {
    display: none;
  }
  .text-video-mixology {
    position: relative;
    bottom: 0;
    margin: 0 auto;
    left: 0;
    width: 90%;
  }
  .grid-id-mixology.mTop120 {
    margin-top: 0 !important;
  }
}
@media (max-width: 991px) {
  .helpful-guides > .row > div:has(.block-guide) {
    margin-top: 20px;
  }
  .img-guide img.img-responsive {
    height: 300px;
  }
}
@media (max-width: 767px) {
  .buttons-flex {
    flex-direction: column;
  }
  .destinations.w60 {
    width: 98% !important;
  }
}
