.hotel-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hotel-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border:solid #cdcdcd 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.hotel-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


.hotel-image {
  flex: 0 0 30%;
  position: relative;
}
.hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotel-title{
  margin:0 0 .1407911001em;
}

.hotel-info {
  flex: 1;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hotel-title a {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  text-decoration: none;
}
.hotel-desc {
  color: #666;
  font-size: 14px;
  line-height:normal;
}
.hotel-property {
   color: #cd8c0d;
   line-height:normal;
   margin:0;
}

.hotel-price {
  flex: 0 0 20%;
  background: #fafafa;
  padding: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #eee;
}
.hotel-price p {
  margin: 0;
  color: #333;
}
.hotel-price h4 {
  margin: 5px 0;
  font-size: 18px;
  color: #009688;
}

.original-price {
    color: red;
    text-decoration: line-through;
    margin-right: 10px;
    font-size: 1.5rem;
}

.discounted-price {
    color: green;
    font-size: 2rem;
    font-weight: bold;
}

.price-wrapper {
    align-items: center;
}

@media (max-width: 768px) {
    .price-wrapper {
        align-items: flex-start;
    }
    .original-price {
        font-size: 1.8rem;
    }
    .discounted-price {
        font-size: 2.5rem;
    }
}

.view-btn {
  background: #4756B4;
  color: #fff;
  padding: 8px 12px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  margin-top: 8px;
  transition: background 0.3s;
}
.view-btn:hover {
  background: #f4a700;
}

.hotel-room-name {
    display: inline-block;
    background-color: #f7faff;
    border: 1px solid #cce5ff;
    color: #0056b3;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    line-height:2;
    font-size: 16px;
    margin: 8px 0;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.hotel-room-name:hover {
    background-color: #e6f0ff;
    border-color: #99c2ff;
}

@media (max-width: 768px) {
   .hotel-room-name {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 15px;
        padding: 10px;
    }
  .hotel-item {
    flex-direction: column;
  }
  .hotel-image {
    flex: 0 0 auto;
  }
  .hotel-image img {
    height: 200px;
  }
  .hotel-info {
    text-align: center;
    padding: 5px 15px;
  }
  .hotel-price {
    border: none;
    background: #fff;
    border-top: 1px solid #ddd; 
  }
  .view-btn {
    width: 80%;
    margin: 10px auto 0 auto;
  }
}

.hotel-sort-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.hotel-sort-wrapper span {
    font-weight: bold;
    color: #333;
}

.hotel-sort-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sort-btn {
    border: 1px solid #ccc;
    background: #f7f7f7;
    color: #333;
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    background: #e6e6e6;
}

.sort-btn.active {
    background: #4756B4;
    color: #fff;
    border-color: #4756B4;
}

.transfer-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.transfer-toggle-label {
    font-size: 15px;
    margin-left: 10px;
    font-weight: 600;
}

/* سوئیچ */
.transfer-switch {
    position: relative;
    width: 50px;
    height: 26px;
    display: inline-block;
}

.transfer-switch input {
    display: none;
}

.transfer-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #ccc;
    border-radius: 34px;
    transition: .3s;
    cursor: pointer;
}

.transfer-slider:before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.transfer-switch input:checked + .transfer-slider {
    background: #4CAF50;
}

.transfer-switch input:checked + .transfer-slider:before {
    transform: translateX(24px);
}

.hotel-filters {
    margin: 20px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-stars {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.star-btn {
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: 6px 14px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
    color:black;
}

.star-btn:hover {
    background: #e6e6e6;
    border-color: #999;
}

.star-btn.active {
    background: #ff7b00;
    color: #fff;
    border-color: #ff7b00;
}

.swal-confirm-btn {
    background-color:#3498db !important;
    color:white !important;
    padding:10px 25px !important;
    border-radius:8px !important;
    font-size:16px !important;
}
.swal-confirm-btn:hover {
    background-color:#2980b9 !important;
}

.swal-modal {
    border-radius:25px;
}
.swal-button-container {
    display:flex;
    justify-content:center;
}
.checkout-info-box {
    background: #fff8e5;
    border: 1px solid #ffd28a;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;
    color: #5a4300;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    direction: rtl;
    text-align: right;
}
.checkout-info-box strong {
    color: #d48806;
}
#tour-date-picker1,
#tour-date-picker2
{
    width:98%;
}