/* Definire variabile globale */
:root {
  --primary-color: #00b39d;
  --primary-hover: #029988;
  --secondary-color: #009eaf;
  --secondary-hover: #3093b1;
  --accent-color: #ffa17a;
  --success-color: #0ca75e;
  --success-hover: #08964e;
  --danger-color: #e63946;
  --danger-hover: #c32f39;
  --warning-color: #ffc24d;
  --warning-hover: #e0a800;
  --info-color: #17a2b8;
  --info-hover: #138496;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --body-font: "Alexandria", serif;
  --heading-font: "Alexandria", serif;
}

a {
  color: var(--primary-color);
}

.text-success {
  color: #0ca75e !important;
}

.form-control:focus {
  /* border: 1px solid #ddd; */
  box-shadow: 0 0 0 1px #9d9d9d;
  transition: none;
}

.bg-success {
  background: var(--success-color) !important;
}

img {
  max-width: 100%;
}

.primary-btn {
  background: #00b39d;
  color: #fff;
}

.fw-600 {
  font-weight: 600;
}

.fw-500 {
  font-weight: 500;
}

.fs-7 {
  font-size: 0.8rem;
}

.fs-8 {
  font-size: 0.6rem;
}

a {
  text-decoration: none;
}

.btn-link {
  text-decoration: none;
}

.text-primary {
  color: var(--primary-color) !important;
}

body {
  font-family: var(--body-font);
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--body-font);
  letter-spacing: -0.5px;
}

p {
  letter-spacing: -0.3px;
}

.btn {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--success-color);
  color: #fff;
  border: none;
}

.btn-success:hover {
  background-color: var(--success-hover);
  transform: translateY(-1px);
}

.btn-danger {
  background-color: var(--danger-color);
  color: #fff;
  border: none;
}

.btn-danger:hover {
  background-color: var(--danger-hover);
  transform: translateY(-1px);
}

.btn-warning {
  background-color: var(--warning-color);
  color: #212529; /* Gri închis */
  border: none;
}

.btn-warning:hover {
  background-color: var(--warning-hover);
  transform: translateY(-1px);
}

.btn-info {
  background-color: var(--info-color);
  color: #fff;
  border: none;
}

.btn-info:hover {
  background-color: var(--info-hover);
  transform: translateY(-1px);
}

.btn-light {
  background-color: var(--light-color);
  color: #212529;
  border: 1px solid #e0e0e0;
}

.btn-light:hover {
  background-color: #e9ecef;
  transform: translateY(-1px);
}

.btn-dark {
  background-color: var(--dark-color);
  color: #fff;
  border: none;
}

.btn-dark:hover {
  background-color: #23272b;
  transform: translateY(-1px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-outline-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-outline-success {
  background-color: transparent;
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

.btn-outline-success:hover {
  background-color: var(--success-color);
  color: #fff;
}

.btn-outline-danger {
  background-color: transparent;
  color: var(--danger-color);
  border: 1px solid var(--danger-color);
}

.btn-outline-danger:hover {
  background-color: var(--danger-color);
  color: #fff;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  border-radius: 12px;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  border-radius: 50%;
}

.btn-icon:hover {
  transform: translateY(-1px);
}

.slick-dots li.slick-active button {
  transition: width 0.4s ease, background 0.4s ease;
  width: 24px;
}
.slick-dots li.slick-active button,
.slick-dots li button:hover {
  background: var(--primary-color);
}

.slick-dots li button {
  font-size: 0;
  width: 14px;
  height: 5px;
  border-radius: 5px;
  border: 1px solid transparent;
  transition: 0.4s all;
}

.slick-dots {
  position: absolute;
  display: flex !important;
  justify-content: center;
  width: max-content;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 15px;
  border-radius: 50px;
  margin-bottom: 0;
  gap: 5px;
  list-style: none;
}

/* New CSS */
.btn-header img {
  max-width: 20px;
}

.btn-header {
  background: #f2f2f2;
}
.site-header {
  background: #f1f3f4;
}

.logo-main {
  max-width: 160px;
  width: 100%;
}

.site-header .nav {
  gap: 15px;
}

.my-account img {
  max-width: 30px;
  border-radius: 50%;
}

.wishlist img {
  max-width: 17px;
}

.wishlist .counter {
  position: absolute;
  background: #ee3250;
  color: #fff;
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  border-radius: 50%;
  font-weight: bold;
  right: -6px;
  top: -4px;
  border: 2px solid #f1f3f4;
}

/* Header End */

/* Grid List */
.homepage {
  background: #f8f8f8;
  padding-top: 50px;
}

.listing-card {
  background: #fff;
  padding: 5px;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

.listing-card--image img {
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.listing-card--image {
  width: 100%;
  height: 240px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  background-color: #222222;
}

.listing-card--image .wishlist img {
  max-width: 18px;
  position: absolute;
  top: 7px;
  right: 6px;
  height: auto;
  background-color: transparent;
  background: #fff;
  padding: 3px;
  border-radius: 50%;
}

.listing-card--image .listing-type {
  background: #fff;
  position: absolute;
  left: 7px;
  top: 7px;
  font-size: 10px;
  padding: 2px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.listing-card--info {
  padding: 10px;
}

.listing-card--info .title {
  color: #304355;
  font-weight: 600;
  font-size: 15px;
}

.listing-card--info_top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.listing-card--info_top .rating i {
  font-size: 12px;
  color: #304355;
}

.listing-card--info_top .rating {
  font-size: 10px;
  color: #717171;
}

.listing-spec {
  font-size: 11px;
  color: #727272;
}

.listing-card--info_bottom .price {
  margin-top: 5px;
  font-size: 14px;
}

/* Filters start */

aside.sticky-top.filters {
  top: 65px;
  z-index: 2;
}
.card.side-filters {
  border: none;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}
.filter-title {
  /* background: #ffffff; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid #ddd;
}

.filter-title p {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 16px;
}

.active-filters {
  color: #575656;
  font-size: 11px;
}

p.side-filters-heading {
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  margin-bottom: 0;
}

.side-filters-heading small {
  font-weight: 400;
  font-size: 12px;
}

#price-slider {
  height: 3px;
  border: none;
  background: #ddd;
  margin-top: 0px;
  margin-bottom: 10px;
}

#price-slider .ui-widget-header {
  border: 1px solid #dddddd;
  background: #00b39d;
  color: #333333;
  font-weight: bold;
  height: 5px;
  top: -1px;
}

.side-filters .form-floating > .form-control,
.form-floating > .form-select {
  height: calc(2.5rem + 2px);
  line-height: 1.25;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.side-filters .price-inputs label {
  font-size: 11px;
}

.side-filters .form-check-input {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
}

.side-filters .form-check-input:checked {
  background-color: #00b39d;
  border-color: #00b39d;
}

.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-left: -0.6em;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #00b39d;
  background: #f6f6f6;
  font-weight: normal;
  border-radius: 50%;
  color: #454545;
}

.range-bar-container {
  position: relative;
  height: 30px;
  margin-top: 10px;
  max-width: 100%;
  overflow: hidden;
}

.range-bar {
  position: absolute;
  bottom: 0;
  width: 3.5px;
  background: #999;
  opacity: 0.4;
  border-radius: 1px;
}

.price-inputs {
  display: flex;
  gap: 10px;
}

.price-inputs input {
  width: 100%;
}

.form-check.form-switch.v-tickets label {
  font-size: 12px;
}

.facilities-scroll {
  max-height: 100px;
  overflow-y: auto;
  padding-right: 5px;
}

.facilities label {
  font-size: 13px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.facilities label span {
  background: #3043551c;
  color: #304355;
  font-size: 10px;
  width: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-weight: 600;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 10px;
}

::-webkit-scrollbar-button {
  display: none; /* hides the up/down arrows */
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}
/* Filters end */

/* Form search */
.search-form .form-floating .form-control {
  padding-left: 2.5rem;
}

.search-form .form-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #888;
}

.search-form .form-group {
  position: relative;
}

.search-form .ui-autocomplete {
  z-index: 1051;
  background: #fff;
  border: 1px solid #ccc;
  padding: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
}

.search-form .form-input img {
  max-width: 20px;
}

.search-form label {
  font-size: 12px;
  color: #888;
  font-weight: 700;
}

.search-form .form-control {
  border: none;
  background: none;
}

.formInp {
  display: flex;
}

.search-form .form-input {
  background: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}

.search-form button img {
  filter: invert(1);
  max-width: 20px;
  margin-right: 5px;
}

section.site-search {
  padding: 20px 0 0 10px;
}

/* Datepicker CSS */

#ui-datepicker-div.ui-widget.ui-widget-content {
  border: none !important;
  padding: 30px !important;
  font-family: Alexandria, sans-serif !important;
  border: 1px solid #dde9ff !important;
  padding: 20px;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  margin-top: 5px !important;
  border-radius: 10px !important;
  min-width: 600px;
  left: 50% !important;
  transform: translateX(-50%);
}

#ui-datepicker-div .ui-widget-header {
  border: none !important;
  background: #fff !important;
  color: #333 !important;
  font-weight: bold !important;
}

.ui-datepicker th {
  font-weight: 300 !important;
  border: 0 !important;
}

#ui-datepicker-div .ui-widget.ui-widget-content {
  padding: 30px !important;
  font-family: Alexandria, sans-serif !important;
}

#ui-datepicker-div .ui-state-default,
#ui-datepicker-div .ui-widget-content .ui-state-default {
  border: none !important;
  background: none !important;
  font-weight: normal !important;
  color: #222 !important;
  text-align: center !important;
  padding: 8px !important;
}

.ui-datepicker-calendar thead {
  border-bottom: 1px solid #f1f2f3 !important;
}

#ui-datepicker-div .ui-state-default.ui-state-highlight {
  color: #fff !important;
  font-weight: 500 !important;
  border: none !important;
  border-radius: 8px !important;
  line-height: 1 !important;
  background: var(--primary-color) !important;
}

#ui-datepicker-div .ui-datepicker-unselectable.ui-state-disabled span {
  font-weight: 300;
}

#ui-datepicker-div .ui-state-default {
  font-weight: 500 !important;
}

.ui-datepicker td.range-start a,
.ui-datepicker td.range-end a {
  background: #3c8dbc !important;
  color: white !important;
}

.ui-datepicker td.in-range a {
  background: #d4e9ff !important;
}

/* Rangepicker CSS */
.daterangepicker .drp-calendar.left {
  padding: 30px 0 30px 30px !important;
}

.daterangepicker .drp-calendar.right {
  padding: 30px 30px 30px 0px !important;
}

.daterangepicker td.active,
.daterangepicker td.active:hover {
  background-color: var(--primary-color) !important;
  border-color: transparent;
  color: #fff;
}

.daterangepicker .calendar-table th,
.daterangepicker .calendar-table td {
  width: 36px !important;
  height: 23px;
  line-height: 24px;
  font-size: 13px;
  padding: 5px !important;
  font-family: var(--body-font) !important;
}

td.today {
  font-weight: bold !important;
}

.daterangepicker {
  direction: ltr;
  text-align: left;
  margin-top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: initial !important;
}

.daterangepicker::after {
  display: none !important;
}
/* Datepicker CSS */
.search-form {
  position: relative;
  z-index: 10;
  display: flex;
  margin: 0;
}

.site-search {
  background: #f8f8f8;
  padding: 5px;
  border-radius: 8px;
}

#search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 5;
}

/* Active state */
#search-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Options dropdown */
.search-options {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  width: 100%;
  margin-top: 50px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 20;
  left: 0;
}

.search-options.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#guests-options.search-options {
  right: 0;
  left: initial;
  width: 300px;
  padding: 30px;
}

#location.search-options {
  width: 300px;
}

.group-title {
  font-weight: bold;
  padding: 5px 10px;
  background: #f0f0f0;
}

.option {
  padding: 6px 20px;
  cursor: pointer;
}

.option:hover {
  background: #e0e0ff;
}

.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
}

.guest-row span {
  flex: 1;
}

.guest-row button {
  width: 30px;
  height: 30px;
  border: none;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.guest-row span {
  font-weight: 400;
  font-size: 13px;
}

.guest-row input.guest-input {
  width: 40px;
  text-align: center;
  border: none;
  border-radius: 4px;
  text-align: center;
  font-weight: 300;
  font-size: 13px;
}

.gr-item {
  border: 1px solid #ddd;
  padding: 5px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 400;
}

span.pets {
  font-size: 12px;
  font-weight: 400;
}
/* Form search */

.type-filter a span img {
  max-width: 20px;
  margin-right: 5px;
}

.type-filter {
  overflow-x: auto;
  display: flex;
  flex-wrap: nowrap;
  padding-left: 10px;
  gap: 7px;
  padding-bottom: 10px;
}

.type-filter a span {
  display: flex;
  align-items: center;
}

.type-filter a {
  flex-shrink: 0;
  border: 1px solid #ddd;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 400;
  border-radius: 50px;
  background: #fff;
  color: #222;

  /* padding-bottom: 10px; */
}

.type-filter a.active {
  background: #f3eada;
  border: 1px solid #ffa17a;
  color: var(--accent-color);
}

/* Grid List */

/* Single listing start */
.guestpilot-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.left-image img,
.right-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.left-image {
  grid-row: span 2;
}

.right-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
}

.show-more-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
}

.single-listing--title h1 {
  font-weight: bold;
  font-size: 20px;
}
.sls-item img {
  max-width: 18px;
  opacity: 0.7;
  margin-right: 5px;
}
.single-listing--shortinfo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sls-item {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  font-size: 14px;
}
.sls-item:not(:last-child)::after {
  content: "";
  width: 6px;
  height: 6px;
  background: #676767;
  border-radius: 50%;
  display: block;
  position: absolute;
  right: 6px;
}
.show-more-btn {
  bottom: 30px;
}
.single-listing--rating {
  display: flex;
  justify-content: space-between;
  margin: 12px 0;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #f9f9f9;
  border-bottom: 1px solid #f9f9f9;
}
.single-listing--rating .rating small {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}
.single-listing--rating .listing-reviews {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}
.single-listing--rating .rating i {
  font-size: 11px;
  line-height: 1;
}
.single-listing--rating .rating {
  line-height: 1;
}
.single-listing--rating .listing-reviews span {
  font-size: 15px;
  display: block;
  text-align: center;
}
.single-listing--rating .listing-type {
  background: #f1f3f4;
  padding: 5px 15px;
  color: #222;
  border-radius: 50px;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
}
.single-listing--description {
  color: #5b5b5b;
  font-weight: 500;
  font-size: 14px;
}
.ga-btn {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 9px;
}
.ga-btn a {
  display: block;
  line-height: 1;
  display: flex;
}
.d-md-none.gallery-actions {
  position: absolute;
  z-index: 1;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: space-between;
}
.slf-item {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
}
.slf-item img {
  max-width: 19px;
  margin-right: 6px;
  opacity: 0.8;
}
.verified {
  background: #ffa17a;
  padding: 4px 11px 4px 5px;
  color: #fff;
  border-radius: 50px;
  font-size: 12px;
  align-items: center;
  display: inline-flex;
}
.verified img {
  max-width: 21px;
  filter: invert(1);
  margin-right: 5px;
  background: #0282b6;
  padding: 4px;
  border-radius: 50px;
}
.single-listing--facilities h3 {
  font-weight: bold;
  font-size: 16px;
}

/* Single listing start */
