/*
Theme Name:  Listeo ChildTheme
Theme URI: http://listeo.pro
Author: Purethemes
Author URI: http://themeforest.net/user/purethemes
Description: Directory WordPress Theme by Purethemes
Version: 1.0
License: ThemeForest
License URI: http://themeforest.net/licenses
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template:  listeo

/* Custom fields for category styles */
.form-field-container-type-header:not(:first-child) .form-title {
	border-top: 1px solid #7e7e7e36;
	padding-top: 25px;
}

.form-title {
	font-size: 18px;
	font-weight: 500;
}
.slick-slide .col-lg-6 { width: 100%; padding: 0; }

.author-page-listings { display: flex; flex-direction: column; gap: 20px;}
@media (max-width: 992px) { .home-search-carousel .ai-search-form-wrapper { background: #fff; padding: 3px 10px; border-radius: 5px; } }

:root {
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
}

.price-wrapper .price {
  color: #f91942;
  font-size: inherit !important;
}

.line-price{
  color: #000;
  font-size: inherit !important;
  margin: 0 0 0 0;
}

.discounted-price {
  color: #f91942;
  font-weight: 700;
}

.regular-discounted {
  text-decoration: line-through;
  color: var(--gray-500) !important;
}


.start-from{
  color: var(--gray-500);
}

.content-section {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  flex: 1;
  min-height: 247px;
}

.title-section {
    flex: 1;
    display: grid;
    gap: 6px;
}

.price-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    gap: 6px;
    font-size: 1.5em;
    font-weight: 500;
}

.price-section{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.discount-button-nl {
	background-color: #f91942;
	color: white;
	padding: 0 10px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	position: absolute;
	bottom: 20px;
	left: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.info-box-cancellation-payment {
    background-color: hsl(25 84% 95% / 1);
    border-radius: 10px;
    padding: 16px;
    max-width: 600px;
    margin-bottom: 18px;
    /*box-shadow: 0 0 5px rgba(0,0,0,0.05);*/
}

.info-item-cancellation,
.info-item-payment {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.info-item-payment:last-child,
.info-item-cancellation:last-child {
    margin-bottom: 0;
}

.icon-circle-cancellation,
.icon-circle-payment {
    background-color: #f7c5a1;
    color: #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 16px;
}

.text-cancellation,
.text-payment {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.5;
}

.text-cancellation b,
.text-payment b {
    font-weight: bold;
}

.info-icon-cancellation,
.info-icon-payment {
    font-size: 14px;
    margin-left: 4px;
    color: #555;
    cursor: pointer;
}

/* Modal styles */
.modal-overlay-cancellation,
.modal-overlay-payment {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay-cancellation.active,
.modal-overlay-payment.active {
    display: flex;
    opacity: 1;
}

.modal-cancellation,
.modal-payment {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 32px 56px;
    padding-top: 48px;
    /*max-width: 700px;*/
    width: 40%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInUp 0.3s ease;
    box-sizing: border-box;
}

@keyframes fadeInUp {
    from {
    transform: translateY(20px);
    opacity: 0;
    }
    to {
    transform: translateY(0);
    opacity: 1;
    }
}

.modal-cancellation h2,
.modal-payment h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.modal-cancellation p,
.modal-payment p {
    margin-bottom: 12px;
    font-size: 15px;
}

.modal-payment ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.modal-payment ol li {
    margin-bottom: 10px;
}

.modal-payment a {
    font-size: 14px;
    color: #555;
}

.modal-content {
  font-size: 15px;
  line-height: 1.6;
}

.modal-content h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.close-modal-cancellation,
.close-modal-payment {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 40px;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 500px) {
  .text-cancellation, .text-payment {
	/*font-size: 13px;*/
  }

  .modal-cancellation, .modal-payment {
	padding-top: 48px;
  }

  .modal-cancellation h2, .modal-payment h2 {
	font-size: 18px;
  }
	  
  .close-modal-cancellation, .close-modal-payment {
	font-size: 32px;
  }

  .modal-content h2 {
	font-size: 18px;
  }

  .booking-widget span.per-person{
	padding-top: 12px !important;
  }

  .modal-cancellation, .modal-payment {
	width: 90% !important;
	height: 60% !important;
  }

}

.my-title-booking-sidebar{
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}

.btn-orange{
  background-color: #EF8E4A !important;
}

.avs_discount_div{
  display: flex;
  display: none;
}

.avs_org_div{
  display: block;
}

.you-pay-now{
  display: flex;
  justify-content: space-between;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 600;
}

.you-pay-later{
  display: flex;
  justify-content: space-between;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 600;
}


.tip_text{
  display: none;
  font-size: 12px;
  color:#9CA3AF;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 0px;
}

.avs_payNow_dicounted{
  display: none;
  text-decoration: none !important;
  color: #f91842 !important;
}

.avs_red{
  color: #f91842 !important;
}


.avs_hide{
  display: none !important;
}

.avs_show {
  display: block !important;
}

.avs_discount{
  text-decoration: line-through;
  color: #555 !important;
}

.avs_price{
  color: #f91842 !important;
  text-decoration: none !important;
}

.my-booking-box-price-widget{
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}
.my-price-label{
  margin: 0px !important;
  font-size: 14px;
}

.booking-box-price-value{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.page-title-istanbul {
  font-family: 'Arial Black', sans-serif !Important;
  text-align: center;
  color: #8A2BE2;
  font-weight: 900;
  font-size: 34px;
}


@media (min-width: 769px) {
  .page-title-istanbul {
    font-size: 48px;
  }
}

.page-subtitle {
	text-align: center;
	color: var(--gray-900);
	font-weight: 600;
	font-size: clamp(20px, 1rem + 2vw, 28px);
}

.products-intro {
	text-align: center;
	font-size: 28px;
	color: var(--gray-700);
	font-weight: 400;
	font-family: Poppins !Important;
}

.product-header {
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column;
}

.icon-card-container {
    display: flex;
    flex-wrap: wrap; /* Allows cards to wrap to the next line on smaller screens */
    justify-content: center;
    gap: 25px; /* Space between cards */
    width: 100%;
    max-width: 1360px;
    margin: 0 auto 50px auto; /* Centering and bottom margin */
}

.icon-card {
    flex: 1 1 220px; /* Responsive sizing: grow, shrink, and base width */
    max-width: 260px; /* Max width to prevent them from getting too large */
    height: 200px;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease-out;
    background-color: #fff;
    border: 2px solid var(--card-color, #ddd); /* Uses the color from the inline style */
    color: var(--card-color, #333);
}

.icon-card:hover {
    transform: translateY(-8px);
    background-color: var(--card-color, #333);
    color: #fff; /* Text and Icon color on hover */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Styling for the <i> tag which holds the Font Awesome icon */
.icon-card i {
    font-size: 35px; /* Control icon size */
    margin-bottom: 30px;
    color: var(--card-color, #333); /* Icon color */
    transition: color 0.3s ease-out;
}

.icon-card:hover i, .icon-card:hover h3 {
    color: #fff; /* Icon color on hover */
}

.icon-card h3 {
    font-size: 1.6rem; /* Adjusted for better fit */
    font-weight: 500;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    transition: color 0.3s ease-out;
	color: var(--card-color, #333); /* Icon color */
}

/* On smaller screens, adjust layout */
@media (max-width: 768px) {
    .icon-card {
        flex-basis: 180px; /* Slightly smaller base width on tablets */
        height: 180px;
    }
}

@media (max-width: 480px) {
    .icon-card-container {
        gap: 15px; /* Less gap on mobile */
    }
    .icon-card {
        flex-basis: calc(50% - 10px); /* Two cards per row on mobile */
        max-width: calc(50% - 10px);
        height: 160px;
    }
    .icon-card i {
        font-size: 30px;
		margin-bottom: 25px;
    }
    .icon-card h3 {
        font-size: 1.5rem;
    }
}

.section-title {
  text-align: center;
  font-size: 28px;
  color: var(--gray-700);
  font-weight: 500;
}

.product-slider-wrapper {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  aspect-ratio: 16 / 4;
  width: 100%;
  background-color: #f0f0f0;
  border-radius: 8px;
}

.product-slider-wrapper.loading::before {
  content: 'Loading...';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #555;
  z-index: 10;
}

.product-slider-wrapper:not(.loading) {
  background-color: transparent;
  aspect-ratio: auto;
}

.article-slider-wrapper {
  max-height: 400px; 
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
  opacity: 0;
  width: 100%;
  visibility: hidden;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}


.article-slider-wrapper.loading::before {
  content: 'Loading...';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #333;
  z-index: 10;
}


.article-slider-wrapper .slick-slide , .product-slider-wrapper .slick-slide {
  padding-right: 10px;
  padding-top: 15px;
}

.article-item {
  display:block;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s;
  margin-bottom: 30px;
  transform: translate3d(0, 0, 0);
  transition: transform 0.3s;
}

.article-item:hover {
  transform: translate3d(0, -6px, 0);
}

.article-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  padding: 20px;
}

.article-title {
  font-size: 18px;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 500;
}

.article-excerpt {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.avs-article-link {
  all: initial;
}

.read-more {
  font-size: 14px;
  color: #0073aa;
  text-transform: uppercase;
  font-weight: bold;
}

#listeo-listings-container .slick-track {
  display: flex !important;
  align-items: stretch;
  margin-bottom: 30px;
}

#listeo-listings-container .slick-slide {
  height: inherit !important;
  display: flex;
  flex-direction: column;
}

#listeo-listings-container .listing-card-container-nl,
#listeo-listings-container .listing-card-nl {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

#listeo-listings-container .listing-details-nl {
  flex-grow: 1;
}

@media (max-width:1700px) {
  #listeo-listings-container:not(.new-grid-layout-nl)  .listing-card-nl {
    max-height: 100%;
  }
}

.booking-widget .booking-pricing-tag {
  display: inline-block;
  font-size: 28px !important;
  font-weight: 550;
  border-radius: 100px;
  line-height: 30px;
  height: 30px;
  vertical-align: top;
  position: relative;
  border: none;
  color: #2C3E50;
  margin: 0;
  /*background: #6add2d2b;
  padding: 0 11px;*/
  font-size: 14px;
  position: relative;
  margin-top: 8px;
}

.listing-badge {
  background-color: #333;
  float: left;
  position: absolute;
  transform: rotate(-45deg);
  left: -60px;
  top: 25px;
  text-align: center;
  width: 200px;
  font-size: 12.5px;
  margin: 0;
  z-index: 999;
  color: #fff;
  font-weight: 500;
  line-height: 28px;
}

/* --- Image Slider Section (Left) --- */
.listing-image-container-nl {
  position: relative;
  flex-shrink: 0;
  width: 40%;
  overflow: hidden;
  border-radius: 6px 0 0 6px;
}

.slider-wrapper-nl {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease-in-out;
}

.slider-image-nl {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-wrapper-nl > picture {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.price-nl {
  font-size: 24px;
  font-weight: 600;
  color: #f91942;
  margin: 0 0 0 0;
  font-size: 16px;
}

/* Headlines */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #2C3E50;
}

#footer h4 {
  color: #2C3E50;
  font-size: 21px;
  margin-bottom: 25px;
  font-weight: 500;
}