/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ========================================
   HOMEPAGE MODERN COMPONENTS
   ======================================== */

/* Hero Section - Updated for transparent header overlay */
.hero-modern {
  min-height: 100vh;
  position: relative;
  margin-top: 0 !important;
  padding-top: 0 !important;
  z-index: 1;
}

.hero-modern .search-form-modern {
  backdrop-filter: blur(10px);
}

/* Improved Hero Text Contrast */
.hero-modern h1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: white !important;
}

.hero-modern h1 span {
  color: white !important;
}

.hero-modern p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Search Bar Styling */
.hero-modern input[type="text"] {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.hero-modern input[type="text"]:focus {
  border: 1px solid #FF6600 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.2) !important;
}

/* Better Background Overlay for Text Readability */
.hero-modern .absolute.inset-0.bg-gradient-to-r {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 100%);
}

/* Hero Section Button Styling */
.hero-modern .btn-black,
.hero-modern .btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  text-decoration: none !important;
  font-family: var(--font-display);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.hero-modern .btn-black:hover,
.hero-modern .btn-orange:hover {
  gap: 24px;
}

/* Button Styles */
.btn-primary {
  background-color: var(--color-primary);
  color: white;
  border: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background-color: #1a1a1a; /* Brand black for backgrounds */
  color: white;
  border: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
}

.btn-secondary:hover {
  background-color: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-white {
  background-color: white;
  color: var(--color-primary);
  border: none;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
}

.btn-white:hover {
  background-color: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

/* Featured Listings Carousel */

.carousel-container {
  overflow: hidden;
  border-radius: 1rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex-shrink: 0;
  padding: 0 1rem;
}

.featured-card {
  background: white;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all var(--transition-normal);
  overflow: hidden;
  height: 100%;
  position: relative;
}

.featured-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  background: white;
}

.featured-card img {
  transition: transform var(--transition-slow);
}

.featured-card:hover img {
  transform: scale(1.05);
}

/* Afri-style Card Hover Effects */
.featured-card .carousel-arrow-left,
.featured-card .carousel-arrow-right {
  opacity: 0;
  transform: translateX(0);
  transition: all var(--transition-normal);
}

.featured-card:hover .carousel-arrow-left {
  opacity: 1;
  transform: translateX(-8px);
}

.featured-card:hover .carousel-arrow-right {
  opacity: 1;
  transform: translateX(8px);
}

/* Card Hover Background Change */
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
  pointer-events: none;
}

.featured-card:hover::before {
  opacity: 1;
}

.featured-card .p-6 {
  position: relative;
  z-index: 2;
}

.carousel-nav {
  background: white;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  z-index: 10;
}

.carousel-nav:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.carousel-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Categories Grid */
.category-card {
  transition: all var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-card img {
  transition: transform var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.1);
}

/* Text Utilities */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scroll Indicator */
.scroll-indicator {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .carousel-slide {
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .carousel-nav {
    display: none;
  }
  
  .featured-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-modern h1 {
    font-size: 2rem;
  }
  
  .hero-modern .search-form-modern {
    padding: 1rem;
  }
  
  .btn-primary,
  .btn-secondary,
  .btn-white {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Enhanced Color Contrast for Light Theme */
.theme-light .featured-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #1a1a1a;
}

.theme-light .featured-card h3 {
  color: #1a1a1a;
  font-weight: 700;
}

.theme-light .featured-card p {
  color: #4b5563;
}

.theme-light .featured-listings-section {
  background: #f9fafb;
}

.theme-light .categories-section {
  background: #ffffff;
}

.theme-light .category-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
}

/* Enhanced Color Contrast for Dark Theme */
[data-theme="dark"] .featured-card,
.theme-dark .featured-card {
  background: #1a1a1a; /* Brand black for backgrounds */
  border: 1px solid #374151;
  color: #ffffff;
}

[data-theme="dark"] .featured-card h3,
.theme-dark .featured-card h3 {
  color: #ffffff;
  font-weight: 700;
}

[data-theme="dark"] .featured-card p,
.theme-dark .featured-card p {
  color: #d1d5db;
}

[data-theme="dark"] .featured-listings-section,
.theme-dark .featured-listings-section {
  background: #111827; /* Darker than brand black for better contrast */
}

[data-theme="dark"] .categories-section,
.theme-dark .categories-section {
  background: #1a1a1a; /* Brand black for backgrounds */
}

[data-theme="dark"] .category-card,
.theme-dark .category-card {
  background: #1a1a1a;
  border: 1px solid #374151;
}

/* Improved Text Contrast */
.theme-light .text-gray-900 {
  color: #111827 !important;
}

.theme-light .text-gray-600 {
  color: #4b5563 !important;
}

.theme-light .text-gray-500 {
  color: #6b7280 !important;
}

[data-theme="dark"] .text-gray-900,
.theme-dark .text-gray-900 {
  color: #f9fafb !important;
}

[data-theme="dark"] .text-gray-600,
.theme-dark .text-gray-600 {
  color: #d1d5db !important;
}

[data-theme="dark"] .text-gray-500,
.theme-dark .text-gray-500 {
  color: #9ca3af !important;
}
.user_thumb {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  position: relative;
  height: 40px;
  width: 40px;
  z-index: 0;
  border: 1px solid #616161;
  padding: .2rem;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

video {
  position: initial;
}

.hero_in.shop_detail {
  height:400px !important;
}

.wishlist-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 9px 10px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.featured-tag-grid {
  position: absolute;
  right: 15px;
  top: 165px;
  z-index: 1;
  color: #fff;
  background-color: #ffc108;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.home_readio_btn{
  display: flex;
}

.featured-tag-grid:hover{
  color: #fff !important;
}

.featured-tag-list {
  margin-top: 128px;
  text-transform: uppercase;
}
.featured-tag-border{
  border: 1px solid #ffc108;
}
@media (max-width: 990px) {
  .featured-tag-list{
    margin-top: 108px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

@media (min-width: 991px) {
  .featured-tag-list{
    margin-top: 134px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

.featured-body{
  background-color: #feffed;
}

.featured-footer{
  background-color: #fffad5;
}

.wishlist-icon:hover {
  background-color: rgba(0, 0, 0, 1);
  color: #fff;
}
.wishlist-icon:focus {
  color: #fff;
}

.main-menu ul ul:before {
  left: 61%;
}

@media only screen and (min-width: 992px){
  .main-menu ul li:hover > ul {
    margin-left: -90px;
  }
}

.stiky-map .map-full{
  height: calc(100vh - 128px);
}
.stiky-map{
  position: sticky;
  top:118px;
}

.stiky-map-list .map-full{
  height: calc(100vh - 60px);
}

.stiky-map-list{
  position: sticky;
  top:60px;
}

@media only screen and (max-width: 991px){
  .stiky-map .map-full{
    height: 40vh;
  }
}

.map-layout {
  border:15px solid #fff;
  background-color:#fff;
}

.single-listing-map {
  height: 500px;
}

.social-links ul li a i {
  color: #0D0D0D;
  /*opacity: 0.6;*/
}

.social-links ul li {
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  font-size: 1.25rem;
}

.category-title {
  border-radius: 5px; background-color: rgb(63,66,119); padding: 20px; text-align: center; color: #fff; font-size: 20px; font-weight: bold;
}
.sub-category-link {
}
.sub-category-link:hover {
}
.sub-category-link .sub-category {
  border-radius: 2px; padding: 10px; margin: 4px 0px; text-align: left; color: #676767; background-color: #fff; width: 100%; transition: all .4s ease-in-out;
}
.sub-category-link .sub-category .sub-category-number{
  /* background-color: #e4e4e4; padding: 1px 5px; border-radius: 2px; margin-right: 10px; color: #fff; */
  background-color: #fff;
  color: #676767;
  font-size: 14px;
  font-size: .875rem;
  line-height: 1;
  padding: 6px;
  display: inline-block;
  margin-right: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}
.sub-category-link .sub-category .sub-category-title{
  margin-right: 5px;
}
.sub-category-link .sub-category .sub-category-arrow{
  float: right;
}

.sub-category-link .sub-category:hover{
  background-color: #e74e84;
  /* -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05); */
  color: #fff;
}

/* Popover styles */

.leaflet-popup-content {
  margin-top: 0px;;
}

.leaflet-popup-content-wrapper {
  width: 280px;
}
.leaflet-popup-content p{
  margin: 4px 0;
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    top: 15px;
    right: 15px;
    color: #fff;
    border-radius: 100%;
    z-index: 20;
    box-shadow: 0px 0px 0px 3px rgba(255,255,255,0.4);
    cursor: pointer;
    background-color: #ffffff;
    color: #333;
}

.leaflet-popup-content {
    margin: 0;
    width: 100% !important;
}
.leaflet-popup-content img{
    height: 160px;
    transition: all .4s ease-in-out;
}
.leaflet-popup-content img:hover{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
}
.leaflet-popup-content p i {
    position: absolute;
    left: 0;
    top: 3px;
}

.leaflet-popup-content p {
    padding-left: 22px;
    position: relative;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    box-shadow: 0 1px 4px rgba(0,0,0 ,0.3);
}
.strip .img {
    background-size: cover;
    background-position: center center;
}

.strip figure:hover .img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.focus-a-listing{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #3544f9;
    border-color: #727cf5;
    border-radius: 50%;
}
.pagination-rounded .page-link {
    border-radius: 30px!important;
    margin: 0 3px;
    border: none;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #313a46;
    background-color: #fff;
    border: 1px solid #dee2e6;;
}

/* Customizing Radio Button */
[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #004dda;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.hidden {
  display: none;
}

.box_detail .price > span {
  font-size: 20px;
  font-weight: 600;
}

@media (min-width: 1px) and (max-width: 990px) {
  #categorySideMap{
    height: 400px;
  }
  
}
@media (min-width: 1px) and (max-width: 990px) {
  #map{
    height: 400px;
  }
  
}
@media (min-width: 991px) {
  .custom-mt-7{
    margin-top: 58px;
  }
  
}

.social-button{
  width: 210px !important;
  float: left !important;
  margin-right: 5px;
  text-align: left !important;
}
/*
.map-direction-image{
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-animation: zoomin .2s ease-in infinite;
  animation: zoomin .2s ease-in infinite;
  transition: all .2s ease-in-out;
  overflow: hidden;
}

.map-direction-image:hover{
  transform: scale(1.05);

  position: relative;
  background-size: cover !important;
  background-position: top !important;
  height: 150px !important;
  background-repeat: no-repeat;
}*/


/*Time picker custom css on beauty listing type appointment form*/
.gj-timepicker-bootstrap [role=right-icon] button .gj-icon, .gj-timepicker-bootstrap [role=right-icon] button .material-icons {
    position: absolute;
    font-size: 21px;
    top: 0px;
    left: 6px;
}
.input-group-append .btn-outline-secondary:hover {
  background-color: #fff;
  border-left: 1px solid #dee2e6;
}
.input-group-append .btn-outline-secondary {
  border: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6
}
.input-group-append {
  border-left: 1px solid grey;
}
.claimed_icon{
  font-size: 30px;
  color: #32a067;
  cursor: pointer;
}
.claimed_icon_sm{
  font-size: 20px;
  color: #32a067;
  cursor: pointer;
}
.tooltip div{
  /*background-color: #66BB6A;*/
  /*font-size: 18px;*/
  font-weight:500;
}
.blog_text img {
  width: 100% !important;
}
.text-10{
  font-size: 10px;
}
.text-11{
  font-size: 11px;
}
.text-12{
  font-size: 12px;
}
.text-13{
  font-size: 13px;
}
.text-14{
  font-size: 14px;
}
.text-15{
  font-size: 15px;
}

