/* Basic styling for product filter form */
.submit_btn {
  text-align: end;
}
#productFilterForm {
  margin-bottom: 20px;
}

#productFilterForm select,
#productFilterForm button #productFilterForm input {
  margin: 5px 0;
}
#productFilterForm {
  background-color: #45c324;
  width: 116%;
}
.btn-warning {
  margin-bottom: 10px;
  background-color: #ff681e !important;
  width: 174px;
  height: 60px;
  font-size: 20px;
  margin-top: 5px;
  color: #ffffff;
}
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.col-md-2 > label {
  margin-top: 10px;
  color: #ffffff;
}
.fa-long-arrow-alt-up {
  z-index: 9998 !important;
}
.product-card {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}

.product-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.product-slider {
  object-fit: contain;
}

.product-info h2 {
  font-size: 18px;
}

.product-info p {
  font-size: 14px;
}

.filter-container {
  border-radius: 5px;
}
.filter-container select,
.filter-container input {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
}
.product-slider-wrapper {
  position: relative;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.product-slide-wrapper {
  position: relative;
  /* display: none; */
  max-width: 746px;
  max-height: 553px;
  object-fit: cover;
  border-radius: 0px 0px 0px 5px;
  opacity: 1;
}
.price-container {
  width: 143px !important;
  height: 62px !important;
}
.product-slide {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
  z-index: 10;
}

/* Arrows */
.slider-arrow,
.modal-arrow {
  position: absolute;
  top: 50%;
  /* font-size: 24px; */
  background: white;
  color: black;
  border: none;
  padding: 9px 13px;
  cursor: pointer;
  z-index: 10;
  transform: translateY(-50%);
  border-radius: 100%;
}

.slider-arrow.left {
  left: 10px;
}
.slider-arrow.right {
  right: 10px;
}
.modal-arrow.left {
  left: 20px;
}
.modal-arrow.right {
  right: 20px;
}

/* Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.gallery-modal-content {
  position: relative;
  top: 50px;
}

.modal-slide {
  max-width: 90%;
  max-height: 80vh;
  display: none;
  margin: auto;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}
/* Gallery Modal Container */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
  align-content: center;
}

/* Modal Image Area */
.gallery-modal-content {
  position: relative;
  margin: auto;
  padding: 1rem;
  max-width: 100%;
  max-height: 100%;
}

/* Individual Images */
.gallery-modal-content img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
}

/* Arrows */
.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}

.modal-arrow.left {
  left: 20px;
}

.modal-arrow.right {
  right: 20px;
}

.caravan-item {
  font-size: 10px;
  align-items: center;
  justify-content: flex-end;
  display: flex;
  text-align: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.filter-container button {
  background: orange;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

.pricing-overlay {
  position: absolute;
  top: -34px;
  left: 10px;
  right: 10px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6); /* Optional for better visibility */
  color: white;
  padding: 10px;
}

.finance-box {
  background: #ffc831;
  color: black;
  padding: 15px 70px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: -4px;
  display: inline-block;
  margin-top: -10px;
  width: 100%;
  border-radius: 5px;
  opacity: 1;
  /* height: 71px; */
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
  color: #000000;
  font-size: 20px;
  font-weight: 400;
}

.caravan-item {
  margin-bottom: 10px; /* Adjust the value as needed */
  padding-left: 10px; /* Optional: adds space to the left of the icon */
}

.product-image-slider .product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.desc {
  margin-top: 0px !important;
}
.make {
  color: dodgerblue;
}
.pricing-card {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9 !important;
  padding: 6px !important;
}
.label {
  font-size: 0.9rem;
  color: #6c757d;
}
.price,
.monthly {
  color: black !important;
  font-size: 10px !important;
}
.caravan-filters {
  max-width: 100% !important;
}
.price,
.savings,
.monthly {
  font-size: 10px;
}

.price_info {
  margin-top: -103px !important;
  margin-left: 3px;
}

/* Advance search filter style */
.caravan-filters {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  max-width: 300px;
  font-family: Arial, sans-serif;
}

.filter-header {
  cursor: pointer;
  border-radius: 5px;
  color: black;
}

.filter-options {
  border: 1px solid #eee;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.filter-option {
  cursor: pointer;
  transition: background-color 0.2s;
  list-style-type: none !important;
}

.filter-option:hover {
  background-color: #f0f0f0;
}

.d-none {
  display: none;
}

.clear-filters,
.saved-searches {
  color: black;
  text-decoration: underline !important;
}

/* slider css */
.caravan-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.caravan-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: -27px;
  text-align: left;
}

.caravan-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  text-align: left;
}

.finance-tag {
  background-color: #ffcb05;
  padding: 6px 10px;
  display: inline-block;
  font-weight: bold;
  font-size: 13px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-size: 10px;
}
.tag_price {
  margin-bottom: 10px;
}

.price-box {
  display: inline-block;
  background-color: #ffcb05;
  padding: 4px 10px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
}
.monthly-price {
  display: block;
  font-size: 10px;
  font-weight: 600;
  margin-top: 4px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}

.price-col {
  text-align: center;
  width: 32%;
}

.label {
  font-size: 12px;
  color: #888;
}

.value {
  font-weight: 700;
  font-size: 15px;
}

.strike {
  text-decoration: line-through;
}

.red {
  color: red;
}

.view-deal-btn {
  display: block;
  background: #ff5500;
  color: #fff;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
}
/* logo */
.make-logo-row {
  display: flex;
  align-items: center;
  gap: 10px; /* space between image and text */
  margin-bottom: 10px;
}
.btn-share {
}

.make-logo-row .logo {
  width: 121px;
  height: auto;
}

.make-logo-row .make {
  font-size: 18px;
  margin: 0;
}

/* //caravan slider */
.caravan-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 550px; /* ensures consistent height */
  padding: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.caravan-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin: 12px 0;
}

.caravan-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: auto;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.price-col {
  text-align: center;
  flex: 1;
}

.strike {
  text-decoration: line-through;
  color: #888;
}

.red {
  color: red;
}

.view-deal-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  background: orange;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

/* Modal Content */
.modal-content {
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* Modal Header */
.modal-header {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.75rem;
}

/* Modal Title */
.modal-title {
  font-size: 20px;
  font-weight: 600;
}

/* Form Labels */
.form-label {
  font-weight: 500;
  color: #333;
  float: left;
}

/* Input & Textarea Fields */
.form-control,
.form-select {
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  padding: 10px;
  transition: border-color 0.3s ease-in-out;
  border-radius: 5px;
  opacity: 1;
}

.form-control:focus,
.form-select:focus {
  border-color: #007bff;
  box-shadow: none;
}

/* Submit Button */
.modal-footer .btn-primary {
  background-color: #ff5a1f;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.modal-footer .btn-primary:hover {
  background-color: #e64a12;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .modal-dialog {
    margin: 1rem;
  }
  .view-deal {
    height: 52px !important;
  }

  .modal-content {
    padding: 10px;
  }

  .modal-footer .btn-primary {
    font-size: 15px;
    padding: 10px;
  }
}

/* mobile resposive code */
@media (max-width: 450px) {
  .elementor-element-7cc5947 {
    display: none;
  }
  .elementor-18 .elementor-element.elementor-element-bf4e063 {
    margin-left: 0px;
  }
  .fas .fa-bed me-2 {
    width: 24px !important;
    height: 14px !important;
  }
  .info-cards-container {
    margin-left: 15px;
  }
  .e-con-inner {
    display: none !important;
  }
  .text-dark {
    margin-left: 15px;
    margin-bottom: 10px;
  }
  .enquire {
    display: none !important;
  }
  #toggleFilterBtn {
    background-color: #ff6600 !important;
    color: white;
    border: none;
    width: 50%;
  }
  #sortToggleBtn {
    width: 50%;
    border: 1px solid gray;
  }
  /* .caravan-filters {
    display: none;
  } */
  #descText_48 {
    display: none;
  }
  .finance-box {
    display: none;
  }
  .caravan_info {
    display: none;
  }
  .make-logo-row {
    display: none;
  }
  .floor-plan {
    display: none;
  }
  /* .pricing {
    display: none;
  } */
  /* .price,
  .save {
    display: none;
  } */
  .product-img {
    max-width: 100%;
    height: 300px !important;
    object-fit: contain !important;
  }
  .month {
    width: 25%;
    background: #ffc831 !important;
    color: black !important;
    position: relative;
    top: -440px;
    width: 82px;
    line-height: 1;
    height: 38px;
    margin-left: 7px;
    text-align: center;
    /* border-radius: 60px !important; */
  }
  .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .label {
    font-size: 7px !important;
    color: #202020 !important;
  }
  .berth-container {
    font-size: 15px !important;
  }
  .year-container {
    font-size: 12px !important;
    margin-top: 2px;
  }
  .monthly {
    font-size: 13px !important;
    color: #202020 !important;
    font-weight: 500;
  }
  .enquire {
    display: none;
  }
  .product-slider-wrapper {
    display: grid;
    grid-template-areas: "image" "title";
  }
  .mrp {
    text-decoration: line-through;
    font-size: 12px;
  }

  .product-slider-wrapper img {
    grid-area: image;
    width: 98%;
    max-width: 100%;
    height: auto;
  }

  .product-title {
    display: none;
    font-size: 30px !important;
  }
  .text-center {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 30%;
  }
  .pricing {
    font-size: 18px;
    margin-top: -120px;
    margin-left: 7px;
    position: relative;
    margin-bottom: 20px;
  }
  .product-content {
    display: flex;
    align-items: flex-start !important;
    gap: 0px !important;
    margin-top: 0px;
    flex-direction: column;
    width: 100%;
    margin-left: 7px;
  }
  .product-card {
    max-width: none !important;
    padding: 0 !important;
    padding-top: 10px !important;
  }
  .zoom-icon {
    display: none;
  }
  .container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
  .desc {
    display: none;
  }
  .view-deal {
    margin-top: 40px !important;
    width: 210% !important;
  }
  .pricing {
    font-size: 18px;
    margin-top: -118px !important;
    margin-left: 7px;
    position: relative;
  }
  .slider-arrow.right,
  .slider-arrow.left {
    display: none;
  }
  .info-cards-container {
    width: 50%;
    display: inline-flex;
    flex-wrap: nowrap;
  }
  .info-txt {
    font-size: 10px;
  }
  .swiper {
    display: none;
  }
  .price-monthly {
    color: black !important;
    font-size: 10px;
    margin-top: -5px;
  }
}
.filter-options {
  list-style-type: none;
  padding-left: 0;
}

.filter-item .filter-options li:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}

.filter-item .dropdown-toggle {
  cursor: pointer;
}
.price-section {
  width: 100%;
}
.content_box ul li {
  margin: 5px 0 !important;
}

@media (min-width: 768px) {
  #caravanFilterPanel {
    display: block !important;
  }

  /* .price-boxs {
    width: 33% !important;
  }
  .col-md-2 {
    width: 33% !important;
  } */
}
.btn-section {
  z-index: 9997;
  position: relative;
}

.spec-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
}

.spec-item {
  min-width: 48%;
  display: flex;
  align-items: center;
}
.specification {
  display: flex !important;
  flex-direction: row !important;
  ign-content: center !important;
  flex-wrap: wrap !important;
  align-content: space-between !important;
  justify-content: space-around !important;
}
.search-filter {
  width: 100%;
  margin-left: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider-counter {
  margin-left: -7%;
}
.slider-counter {
  /* position: relative !important;
  width: 50px;
  top: -40px;
  left: 88%;
  border-radius: 5px;
  height: 41px;
  background: white !important;
  text-align: center;
  color: black !important;
  font-size: 19px;
  width: 65px; */
  width: 6%;
  position: relative !important;
  height: 35px;
  background-color: white !important;
  color: black !important;
  left: 85px;
}

.filter-options {
  list-style-type: none;
  padding-left: 0;
}

.filter-item .filter-options li:hover {
  background-color: #f0f0f0;
  cursor: pointer;
}

.filter-item .dropdown-toggle {
  cursor: pointer;
}

@media (min-width: 768px) {
  #caravanFilterPanel {
    display: block !important;
  }
}


.pagination {
    display: flex;
    justify-content: flex-end; /* aligns to right */
    gap: 8px; /* spacing between buttons */
    padding-left: 0;
    list-style: none;
}

.page-item {
    display: inline-block;
}

.page-link {
    display: inline-block;
    padding: 6px 12px;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.page-item.active .page-link {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-color: #007bff;
}

.page-link:hover {
    background-color: #f2f2f2;
}
