/* === Font Import ===
@import url('https://fonts.googleapis.com/css2?family=Anek+Latin:wght@300;400;500;600;700&family=Philosopher:wght@400;700&display=swap');

/* === Base Typography === */
body,
html {
  font-family: "Anek Latin", sans-serif;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6,
.heading,
.page-title,
.modal-title {
  font-family: "Philosopher", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

label,
input,
button,
.form-control,
.btn,
p,
span,
li {
  font-family: "Anek Latin", sans-serif;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

p {
  margin-bottom: 0.5rem;
}

/* === Background Sections === */
.cityDescription,
.cat-faqs,
.cat-tabular-info {
  width: 100%;
  float: left;
  margin: 15px 0 0;
  background-color: #f3f3f3;
}

.cat-faqs,
.cat-tabular-info {
  margin: 0;
  padding-top: 15px;
}

/* === Filter Sidebar === */
.filter-sidebar {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
}

.filter-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  color: #6b1e45;
}

.filter-section {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.filter-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.filter-section h4 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.filter-section label {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.filter-section label:hover {
  color: #ff6e00;
}

.filter-section input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}

/* === Range Slider === */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(to right, #ff6e00 0%, #e0e0e0 0%);
  outline: none;
  transition: background 0.3s ease;
  margin: 15px 0;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ff6e00;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 110, 0, 0.3);
  transition: all 0.3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 8px rgba(255, 110, 0, 0.5);
}

.range-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #ff6e00;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255, 110, 0, 0.3);
  transition: all 0.3s ease;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 8px rgba(255, 110, 0, 0.5);
}

/* === Filter Button (Mobile) === */
.filter-btn {
  display: none;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ff6600 0%, #ff9900 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  margin: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: linear-gradient(135deg, #ff7700 0%, #ffaa00 100%);
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
  transform: translateY(-2px);
}

.filter-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

/* === Filter Popup (Mobile) === */
.filter-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.filter-popup-content {
  background-color: #fff;
  padding: 24px;
  width: 90%;
  max-width: 380px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-popup:hover {
  color: #ff6600;
  background: #fff0e8;
  transform: rotate(90deg);
}

/* === Listing Cards === */
.categoryListingMainBox {
  width: 100%;
  float: left;
  margin: 30px 0 60px;
}

.li-main {
  cursor: pointer;
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 12px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.li-main:hover {
  border-color: #ff7733;
  box-shadow: 0 8px 24px rgba(255, 119, 51, 0.15);
  transform: translateY(-2px);
}

.card {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: #ff7733 !important;
  background: linear-gradient(180deg, #fff 0%, #fff0e8 100%);
  box-shadow: 0 8px 24px rgba(255, 119, 51, 0.15);
  transform: translateY(-2px);
}

.card-main-div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.card-equal {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body-equal {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.25rem;
}

.card-img-custom {
  object-fit: cover;
  height: 100%;
  max-height: 250px;
  transition: transform 0.5s ease;
}

.card:hover .card-img-custom {
  transform: scale(1.05);
}

/* === Typography & Text Styles === */
.title-text {
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  color: #6b1e45;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.div-rating {
  margin: 0 0 10px;
  font-size: 14px;
  color: #5a1a3c;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating-star {
  color: #f9a825;
  font-size: 16px;
}

.product_list {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.address-tag-p {
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon-class {
  color: #ff6e00;
  font-size: 18px;
  flex-shrink: 0;
}

/* === Feature List === */
.feature-list-div {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.feature-list-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list-ul li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.facility-icon {
  color: #ff6e00;
  font-size: 16px;
  flex-shrink: 0;
}

.facility-text {
  color: #ff6e00;
  font-weight: 500;
}

/* === Divider === */
.div-hr {
  width: 1px;
  background: #ddd;
  height: 60px;
  margin: 0 15px;
}

/* === Price Section === */
.price-section {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.price-section-p {
  margin: 0;
  font-weight: 700;
  color: #5a1a3c !important;
  font-size: 14px;
}

.price-section-span {
  font-size: 13px;
  font-weight: 400;
  color: #999;
  text-decoration: line-through;
  margin-right: 8px;
}

.price-section-price {
  font-size: 22px;
  font-weight: 700;
  color: #6b1e45;
}

.price-text {
  color: #6b1e45;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 700;
}

/* === Buttons === */
.price-button,
.select-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: linear-gradient(180deg, #ff8f57 0%, #f50 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  transition: all 0.3s ease;
}

.price-button:hover,
.select-btn:hover {
  background: linear-gradient(
    0deg,
    rgba(255, 85, 0, 1) 0%,
    rgba(255, 137, 78, 1) 100%
  );
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.price-button:active,
.select-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.Primary-btn {
  width: 100%;
  display: inline-flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff8f57 0%, #f50 100%);
  cursor: pointer;
  margin: 1.5rem 0 0.5rem;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.3);
  transition: all 0.3s ease;
}

.Primary-btn:hover {
  background: linear-gradient(135deg, #f50 0%, #ff8f57 100%);
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4);
  transform: translateY(-2px);
}

.Primary-btn a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* === Badges & Tags === */
.hover-text {
  position: relative;
  display: inline-block;
  text-align: center;
  padding: 6px 16px;
  border-radius: 20px;
  background: linear-gradient(83deg, #dd4b4d 0.82%, #ff8b41 98.51%);
  color: #f3f3f3;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hover-text:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 15px rgba(221, 75, 77, 0.3);
}

.cancellation-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #4caf50;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.disabled-bhavan {
  background-color: #e0e0e0;
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* === Tooltip === */
.tooltip-text {
  visibility: hidden;
  position: absolute;
  z-index: 1060;
  width: 240px;
  color: #333;
  font-size: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 15px;
  text-align: left;
  margin: 10px 0 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
}

.tooltip-text::before {
  content: "";
  position: absolute;
  transform: rotate(45deg);
  background: #fff;
  padding: 6px;
  z-index: -1;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.hover-text:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-image {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Tooltip Positions */
#top {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

#top::before {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

#bottom {
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
}

#bottom::before {
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

#left {
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%);
}

#left::before {
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
}

#right {
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
}

#right::before {
  top: 50%;
  left: -6px;
  transform: translateY(-50%) rotate(45deg);
}

/* === Utility Classes === */
.tag_responsive {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.single-div {
  display: flex;
  gap: 15px;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 430px;
}

.truncate-tag {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 150px;
}

.text-muted {
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: #999;
}

/* === Responsive Fluid Typography === */
.tag_responsive_ds_name,
.facility-text,
.address_tag,
.facility_tag,
.distance_tag {
  font-size: clamp(0.85rem, 1vw, 1rem);
}

/* === Responsive Design === */

/* Large Tablets (992px - 1199px) */
@media (max-width: 1199px) {
  .truncate {
    max-width: 350px;
  }
}

/* Medium Tablets (768px - 991px) */
@media (max-width: 991px) {
  .truncate {
    max-width: 350px;
  }

  .hover-text {
    font-size: 11px;
    padding: 5px 12px;
  }

  .cancellation-badge {
    font-size: 10px;
  }

  .tag_responsive {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

/* Tablets & Small Devices (769px - 991px) */
@media (min-width: 769px) and (max-width: 991px) {
  .single-div {
    display: block !important;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .filter-sidebar {
    display: none;
  }

  .filter-btn {
    display: inline-block;
  }

  .innerPageBannerBox {
    margin-top: 0;
  }

  .categoryListingMainBox {
    margin: 20px 0 40px;
  }

  .ul-of-checkin {
    flex-wrap: wrap;
  }

  .li-main {
    padding: 12px;
  }

  .card-body-equal {
    padding: 1rem;
  }

  .feature-list-div {
    gap: 12px;
  }

  .price-section-price {
    font-size: 20px;
  }
}

/* Small Mobile (max-width: 568px) */
@media (max-width: 568px) {
  .cDetailsMainBox {
    padding: 10px !important;
  }

  .cDetailsBox {
    flex-direction: column;
    align-items: stretch !important;
  }

  .product_list label {
    font-size: 12px;
  }

  .price-section {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  .price-button,
  .select-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .categoryListingMainBox .clistMainBox ul li .cDetailsMainBox .cDetailsBox p {
    font-size: 12px;
  }

  .categoryListingMainBox .clistMainBox ul li .cBookingBox ul {
    padding: 0 !important;
  }

  .div-hr {
    display: none;
  }

  .address-tag-p {
    font-size: 12px !important;
  }

  .icon-class {
    font-size: 14px !important;
  }

  .feature-list-ul li {
    font-size: 12px !important;
  }

  .feature-list-div {
    gap: 8px !important;
    flex-wrap: wrap;
  }

  .price-section-p {
    font-size: 12px !important;
  }

  .price-section-price {
    font-size: 16px !important;
  }

  .truncate {
    max-width: 200px;
  }
}

/* Extra Small Mobile (max-width: 425px) */
@media (max-width: 425px) {
  #facility-mobile-second {
    display: none;
  }

  #bottom {
    left: 50%;
    transform: translateX(-50%);
  }

  .hover-text {
    font-size: 10px;
    padding: 4px 10px;
  }

  .card-img-custom {
    max-height: 200px;
  }

  .title-text {
    font-size: 15px;
  }

  .price-section-price {
    font-size: 18px !important;
  }

  .truncate {
    max-width: 150px;
  }
}

/* Very Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
  .filter-popup-content {
    width: 95%;
    padding: 20px;
  }

  .li-main {
    padding: 10px;
    border-radius: 10px;
  }

  .card-body-equal {
    padding: 0.875rem;
  }

  .feature-list-div {
    gap: 6px !important;
  }

  .price-button,
  .select-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .cancellation-badge {
    font-size: 9px;
    padding: 3px 8px;
  }
}

/* Additional Responsive Rules */
@media (min-width: 768px) {
  .innerPageBannerBox {
    width: 100%;
    float: left;
    position: relative;
    margin: 88px 0 0;
  }

  .product_list label {
    font-family: "Anek Latin", sans-serif;
    color: #191970;
    margin-right: 5px;
    font-weight: 600;
  }
}

@media screen and (max-width: 1200px) {
  .categoryListingMainBox .clistMainBox ul li .cBookingBox ul {
    padding: 0 150px 0 0;
  }
}

@media screen and (max-width: 922px) {
  .categoryListingMainBox .clistMainBox ul li .cBookingBox .btnSelectRoom {
    top: -40px;
  }
}

@media screen and (max-width: 700px) and (min-width: 479px) {
  .categoryListingMainBox .clistMainBox ul li .cDetailsMainBox {
    width: 70% !important;
  }
}

/* === Print Styles === */
@media print {
  .filter-sidebar,
  .filter-btn,
  .filter-popup {
    display: none !important;
  }
}
