/* 
Theme Name: Melo
Theme URI: #
Description: Melo is a custom child theme of Hello Elementor.
Author: Devknight07
Author URI: #
Template: hello-elementor
Version: 1.0.0
Text Domain: melo
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Melo — brand variables
   Adjust these to match the actual brand palette/typography.
   ========================================================================== 
*/


h1 span {
  color: #b0915e;
  display: block;
}

h2 span {
  color: #b0915e;
}

.mx-545 {
  max-width: 545px !important;
}

.mx-565 {
  max-width: 565px !important;
}

.mx-575 {
  max-width: 575px !important;
}

.mx-670 {
  max-width: 670px !important;
}

.mx-930 {
  max-width: 930px !important;
}

.mx-768 {
  max-width: 768px !important;
}

.mx-850 {
  max-width: 850px !important;
}

.mx-450 {
  max-width: 450px !important;
}

.card-arrow {
  width: 36px !important;
  height: 36px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.object-card img,
.inside-melo-card img {
  transition: all 0.7s ease;
}

.object-card:hover img,
.inside-melo-card:hover img {
  transform: scale(1.05);
}

.primary-btn a,
.primary-btn a * {
  transition: all 0.3s ease;
}

.top-text p {
  display: flex;
  --line-color: var(--e-global-color-primary);
  align-items: center;
  gap: 8px;
}

.top-text p .line {
  width: 45px;
  height: 1px;
  background-color: var(--line-color);
  display: block;
}

.clinic-small-text .dot {
  width: 6px;
  height: 6px;
  background-color: #b0915e;
  border-radius: 1000px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.banner-line {
  background-color: #b0915e;
  height: 80px;
  width: 1px;
  display: block;
  margin-bottom: 32px;
}

.image-overlay {
  width: 100%;
  height: 100%;
}

.primary-btn a:hover .elementor-button-icon {
  transform: translateX(4px);
}

.fill-none svg,
.fill-none svg path {
  fill: none !important;
}

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 auto;
}

.overview-overlay li::marker {
  color: #b0915e;
  font-size: 1.2em;
}

.overview-overlay ul,
.overview-overlay ol {
  display: flex;
  flex-wrap: wrap;
  padding-left: 15px;
  gap: 5px;
}

.overview-overlay li {
  width: calc(50% - 2.5px);
}

.overview-overlay {
  background: linear-gradient(to bottom, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 0) 40%, rgba(31, 31, 31, 0.82) 80%, rgba(31, 31, 31, 0.82) 100%);
}

.ul-tick ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ul-tick li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 1.5rem;
}

.ul-tick li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 7px;
  background-image: url('data:image/svg+xml;utf8,<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.625 0.625L3.125 6.125L0.625 3.625" stroke="%231F1F1F" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
}

.ul-tick.golden-tick li::before {
  background-image: url('data:image/svg+xml;utf8,<svg width="10" height="7" viewBox="0 0 10 7" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.625 0.625L3.125 6.125L0.625 3.625" stroke="%23b0915e" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* ========== */
.page-id-564 .main-banner, .page-id-1208 .main-banner{
  min-height: 70vh;
}
.page-id-17 .main-banner{
  min-height: 80vh;
  background-position: top 20% center !important;
}
.page-id-15 .main-banner{
  min-height: 90vh;
}
.page-id-17 .main-banner h1 span{
  display: inline;
}
.page-id-1208 .main-banner .banner-line{
  height: 60px;
}
/* ========== */
.line-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  opacity: .04;
  pointer-events: none;
  width: 100%;
  height: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}
.line-overlay div {
  width: 1px;
  height: 100%;
  background-color: rgb(255, 255, 255);
}
.h2-span-inline h2 span{
  display: inline !important;
}
  .all-equal-height .ae_data,
  .all-equal-height .ae_data>.elementor,
  .all-equal-height .ae_data>.elementor>.elementor-element {
    height: 100%;
  }
@media (min-width: 768px) {
  .treatment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equal-height .ae_data,
  .equal-height .ae_data>.elementor,
  .equal-height .ae_data>.elementor>.elementor-element {
    height: 100%;
  }

  .pricing-card-section .ae_data,
  .pricing-card-section .ae_data .elementor {
    height: 100%;
  }

  .ae-acf-repeater-wrapper {
    margin-left: -10px;
    margin-right: -10px;
  }
  .grid-center.before-after .ae-post-collection{
    display: flex !important;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .treatment-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .treatment-grid .card--featured {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 600px;
  }
}

.treatment-grid .card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 300px;
  /* border-radius: 4px; */
  text-decoration: none;
  cursor: pointer;
}

.treatment-grid .card--featured {
  min-height: 400px;
}

.treatment-grid .card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: sepia(0.25) saturate(1.35) hue-rotate(-8deg) contrast(1.05) brightness(1.03);
}
.sp-image img{
  filter: sepia(0.25) saturate(1.35) hue-rotate(-8deg) contrast(1.05) brightness(1.03);
}
.sp-image2 img{
  filter: saturate(1.05) contrast(1.03);
}
.treatment-grid .card:hover img {
  transform: scale(1.05);
}

.treatment-grid .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(31, 31, 31, 0.8), rgba(31, 31, 31, 0.2), rgba(0, 0, 0, 0));
}

.treatment-grid .card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.derma-banner-bottom .ae-acf-repeater-wrapper {
  margin-left: 0;
  margin-right: 0;
}

.derma-banner-bottom .ae-acf-repeater-item {
  width: auto !important;
}

.derma-banner-bottom .ae-acf-repeater-item .elementor-widget-image,
.team-banner-socials .elementor-image-box-img {
  flex-shrink: 0;
}

.place-card .ae-acf-repeater-wrapper .ae-acf-repeater-item:last-child .elementor-element {
  margin: 0;
  border: none;
}

.place-card .ae-acf-repeater-wrapper .ae-acf-repeater-item:last-child .elementor-element .e-con-inner {
  padding: 0;
}

@media (min-width: 1024px) {
  .treatment-grid .card-content {
    padding: 2rem;
  }
}

.treatment-grid .card-title {
  color: #ffffff;
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-family: "Cormorant Garamond", sans-serif;
}

@media (min-width: 1024px) {
  .treatment-grid .card-title {
    font-size: 1.5rem;
  }

  body .grid-col-4 .ae-post-collection {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.treatment-grid .card-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 24rem;
  margin-bottom: 0;
}

.treatment-grid .card-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.treatment-grid .card-arrow svg {
  stroke: #ffffff;
}

.why-choose-card-section::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 1px;
  background-color: #2a2a2a;
}

.why-choose-card-section .ae-acf-repeater-item {
  margin: 0 !important;
  padding: 0.5px !important;
  z-index: 2;
  position: relative;
}

.m-header-show {
  display: none;
}

.treatment-list .ae-acf-repeater-item div,
.treatment-list .ae-acf-repeater-item a,
.why-choose-card-section .ae-acf-repeater-item div {
  height: 100%;
}

.pricing-card-section .dark {
  background-color: #1f1f1f !important;
}

.pricing-card-section .dark h4 {
  color: #ffffff;
}

.pricing-card-section .dark p {
  color: #fff9;
}

.price-row .ae-acf-repeater-item:nth-child(even) .elementor-element {
  background-color: transparent !important;
}

.price-row .ae-acf-repeater-wrapper {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dental-services-slider .ae-swiper-button-prev,
.dental-services-slider .ae-swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body .dental-services-slider .ae-post-collection {
  overflow: visible;
}

.dental-services-slider .dental-team-card img,
.team-card img {
  transition: all 0.7s ease-in;
}

.dental-team-card:hover img,
.team-card:hover img {
  filter: saturate(100%) !important;
}

.dental-services-slider .ae-swiper-pagination {
  display: none;
}

.clinical-result .ae-acf-repeater-wrapper {
  justify-content: center;
}

/* =====mega menu start===== */
@media(min-width: 1050px) {
  .header-mega-menu ul.max-mega-menu>li.mega-menu-item>ul.mega-sub-menu {
    width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    position: fixed !important;
    top: 76px !important;
    background: #fdfbf7 !important;
    border-top: 1px solid #e0dad2 !important;
  }

  .logged-in .header-mega-menu ul.max-mega-menu>li.mega-menu-item>ul.mega-sub-menu {
    top: 108px !important;
  }

  .header-mega-menu ul.max-mega-menu>li.mega-menu-item>ul.mega-sub-menu>li.mega-menu-row {
    max-width: var(--content-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: initial !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link .mega-menu-title {
    color: #1f1f1f !important;
    line-height: 1.25 !important;
    font-size: 1rem !important;
    font-family: Inter, sans-serif !important;
    text-transform: none !important;
    font-weight: 600 !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link .mega-menu-description {
    font-size: 13px !important;
    font-weight: 300 !important;
    color: #1f1f1f !important;
    font-style: normal !important;
    margin: 0 !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>.mega-menu-link {
    padding-bottom: 15px !important;
    border-bottom: 1px solid #e0dad2 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>.mega-menu-link::before {
    content: '';
    height: 40px !important;
    width: 40px !important;
    display: block !important;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .aesthetics-icon a::before {
    background-image: url("/wp-content/uploads/2026/08/aesthetics-menu-icon.svg") !important;
  }

  .dermatology-icon a::before {
    background-image: url("/wp-content/uploads/2026/08/dermatology-menu-icon.svg") !important;
  }

  .IV-drips-icon a::before {
    background-image: url("/wp-content/uploads/2026/08/IV-therapy-menu-icon.svg") !important;
  }

  .dentistry-icon a::before {
    background-image: url("/wp-content/uploads/2026/08/dentistry-menu-icon.svg") !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>ul>li.mega-menu-item>a.mega-menu-link {
    color: #1f1f1f !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1.65px !important;
    line-height: 16.5px !important;
    text-transform: uppercase !important;
    cursor: auto !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>ul>li.mega-menu-item>a.mega-menu-link::after {
    content: '';
    display: block !important;
    background-color: transparent;
    height: 6px;
    width: 6px;
    margin-left: auto;
    margin-right: 45px;
    border-radius: 50%;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link .mega-menu-description {
    color: #1f1f1f !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    font-style: normal !important;
    margin-top: 0 !important;
    letter-spacing: normal !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu .mega-menu-link {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 19.5px !important;
    color: #1f1f1f !important;
    transition: all 0.3s ease;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu .mega-menu-link:hover {
    color: #b0915e !important;
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu {
    margin-left: 0 !important;
    /* margin-bottom: 15px !important;
  border-bottom: 1px solid #e0dad2 !important; */
  }

  .header-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu>li {
    margin-top: 10px !important;
  }

  .header-mega-menu ul.max-mega-menu {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    max-width: 628px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .cqc-text p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0 !important;
  }

  .cqc-text p::before {
    content: '';
    display: block;
    background-color: #059669;
    height: 6px;
    width: 6px;
    border-radius: 50%;
  }
}

/* =====mega menu end===== */
.cs-global-loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999999;
  justify-content: center;
  align-items: center;
}

.cs-global-loader p {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

.cs-popup {
  opacity: 0;
}

.cs-swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cs-swiper-slide img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cs-popup-title{
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
  color: #1f1f1f;
}
.cs-popup-inner .swiper-button-next, .cs-popup-inner .swiper-button-prev{
  width : 35px;
  height : 35px;
  display : inline-flex;
  align-items : center;
  justify-content : center;
  background-color: #1f1f1f;
  color: #ffffff;
  border-radius: 50%;
}
.cs-popup-inner .swiper-button-next::after, .cs-popup-inner .swiper-button-prev::after{
  font-size: 15px;
}
.cs-swiper-wrapper{
  align-items: center;
}
.grid-center .ae-acf-repeater-wrapper{
  justify-content: center;
}
.derma-listing h3 span{
  color: #b0915e;
}

@media(max-width: 1050px) {
  .m-header-hide,
  .header-mega-menu {
    display: none !important;
  }

  .m-header-show {
    display: block;
  }

  /* =====mobile menu start===== */
  .header-mobile-mega-menu ul.max-mega-menu>li.mega-menu-item>a.mega-menu-link {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
  }

  .header-mobile-mega-menu ul.max-mega-menu>li.mega-menu-item>ul.mega-sub-menu {
    background-color: #fff !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .header-mobile-mega-menu li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu li>ul.mega-sub-menu>li.mega-menu-item {
    width: 100% !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu .mega-menu-link {
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 19.5px !important;
    color: #1f1f1f !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu li {
    margin-bottom: 10px !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>ul>li.mega-menu-item>a.mega-menu-link {
    color: #b0915e !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 1.65px !important;
    line-height: 16.5px !important;
    text-transform: uppercase !important;
    cursor: auto !important;
    margin-bottom: 8px !important;
    margin-top: 10px !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item li.mega-menu-item>a.mega-menu-link .mega-menu-description {
    color: #1f1f1f !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    font-style: normal !important;
    margin-top: 0 !important;
    letter-spacing: normal !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>ul>li.mega-menu-item>a.mega-menu-link .mega-menu-description {
    display: none !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu {
    margin-left: 0 !important;
  }

  .header-mobile-mega-menu li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link .mega-menu-title {
    color: #1f1f1f !important;
    line-height: 1.25 !important;
    font-size: 15px !important;
    font-family: Inter, sans-serif !important;
    text-transform: none !important;
    font-weight: 600 !important;
  }

  /* =====mobile menu end===== */
}

@media (max-width: 1300px){
	.overview-overlay ul,
	.overview-overlay ol {
	  column-gap: 10px;
	  justify-content:space-between;
	}
	.overview-overlay li {
	  width: calc(48% - 5px);
	}
}

@media(max-width: 1024px) {
  .mx-tab-100 {
    max-width: 100% !important;
  }
}

@media(max-width: 768px) {
  .why-choose-card-section .elementor-element {
    background-color: #1f1f1f;
  }

  .why-choose-item {
    background-color: #1f1f1f !important;
  }

  .results-blurb {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* .derma-banner-bottom .ae-acf-repeater-item {
    width: 100% !important;
  } */

  .dental.why-choose-card-section .ae-acf-repeater-item div {
    height: initial;
  }

  .dental-team-card img,
  .team-card img {
    filter: saturate(100%) !important;
  }

  .team-banner-socials .elementor-image-box-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .dental-services-slider .ae-swiper-button-prev,
  .dental-services-slider .ae-swiper-button-next {
    display: none;
  }

  .dental-services-slider .ae-swiper-pagination {
    bottom: auto;
    display: block;
    top: calc(100% + 10px);
  }

  .banner-line {
    display: none;
  }
  .dental-services-slider .ae-swiper-container{
    margin-right: 60px;
  }
  .span-mobile-inline span{
    display: inline !important;
  }
  .dr-overlay{
    right: -15px;
    left: auto !important;
  }
  .m-flex .elementor-image-box-wrapper{
    display: flex;
    gap: 13px;
    align-items: center;
}
.m-flex .elementor-image-box-wrapper p{
  margin-bottom: 0;
}
.m-center ul li a{
  justify-content: center !important;
}
}