@import url('fonts.css');

h1,h2,h3,h4,h5,h6,p,a,span,div,li,button,input,textarea {
    font-family: 'Peyda', sans-serif;
}
a{
    text-decoration:none!important;
}
h1,h2,h3,h4,h5,h6{
  font-weight: 800!important;
}
.icon-box {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 25%;
    padding: 5px;
    background-color: #f8f9fa;
}
.item-hover:hover{
    color:#4bb543!important;
    transition:0.5s;
    padding-right: 10px;
    font-size: 18px;
}
.divider{
   height:10px;
   border-top:2px solid #efe9e994;
   width:100%;
   
}
.box-menu-item {
    text-align: center;
    margin-bottom: 30px;
}
.box-menu-item p{
    font-size: 20px;
    font-weight: 600;
}
.box-menu-item ul li a{
    text-decoration: none;
    font-size: 16px;
    color:#000;
    font-weight: 600;
}
.list-menu-item{
    padding: 0;
}
label{
    font-weight: 600!important;
    font-size:16px;
    padding:10px 0 ;
}
button.btn, a.btn{
    font-weight: 600;
}

.routecumb {
    padding:10px;
}
.routecumb a{
    border-left: 1px solid #ddd;
    text-decoration: none;
    font-weight: 600;
    color: #fff !important;
}
.routecumb a:hover{
  background:#4bb543;
  transition: 0.5s;
}

.card .card-title svg{
    height:150px;
    width:150px;
    background: #f7f4f4;
    padding: 20px;
    border-radius: 50%;
}
.card .card-title a{
    text-decoration:none;
    color:#222;
    font-size:18px;
}
.card .card-title a:hover{
    font-weight:bold;
}
/*-----------------------------*/

.step-btn-top{
    background:transparent;
    border:0px;
    color:#000;
}
.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
  font-family: 'Peyda', sans-serif;
}

.stepper-item.active .step-name a {
  font-weight: 700;
  color: #4bb543;
}

.stepper-item.completed .step-counter {
  background-color: #4bb543;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #4bb543;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}
.step-name a{
    text-decoration: none;
    color:#1b1b1b;
    font-weight: 600;
}
.step-name a:hover{
    color:#4bb543
}
.pagination{
  display: flex;
  justify-content: center ;
}
.pagination .page-numbers{
  color:#000;
  font-weight: 600;
  margin: 0 5px;
  padding:8px 12px;
  border:1px solid #ddd;
  text-decoration: none;
}
.pagination .page-numbers .current{
  background-color: #4bb543;
  color:#fff;
  border:none;
}
.pagination .page-numbers:hover{
  background-color: #4bb543;
  color:#fff;
  border:none;
}
.pagination .page-numbers a{
  text-decoration: none;
}
.action-btn{
  text-decoration: none;
}
.select2{
  width:100%!important;
}
.start-required{
  font-family: 'Courier New', Courier, monospace!important;
  color:red
}
.preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.preview-area .image-box, .old-box .image-box{
  position: relative;
  width: 240px;
  height: 200px;
  object-fit:cover;
}
.preview-area img, .old-box img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #ddd;
  cursor: pointer;
}
.image-box.active img {
  border-color: #0073aa;
}
.image-box span.main-label {
  position: absolute;
  bottom: 3px;
  left: 3px;
  background: #0073aa;
  color: #fff;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.main-image{
    width:100px;
    height:100px;
    border:2px solid #ccc;
    border-radius:15px;
}
.navbar-brand{
  color:#fff;
}
.navbar {
  direction: rtl;
  font-size: 0.95rem;
}
.nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 16px;;
}
.dropdown-menu{
  font-size: 16px !important;
  font-weight: 600!important;
}
.nav-link:hover,
.dropdown-item:hover {
  background: #eef107 !important;
  color:#000 !important;
  border-radius: 5px;
  transition:0.2s;
}

.dropdown-menu {
  text-align: right;
  font-size: 0.9rem;
}

.gallery {
    position: relative;
    display: grid;
    grid-template-columns: 50% 25% 25%;
    grid-template-rows: auto auto;
    gap: 8px;
}

.gallery img.gallery-item {
    width: 100%;
    height: 190px!important;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

.gallery img.main-image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 400px!important;
    border-radius: 15px;
    object-fit:cover;
}

.open-gallery-btn {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,.7);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}


#galleryModal {
    display: none;
    position: fixed;
    z-index: 999999;                /* مشکل تو حل می‌کند */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#galleryModal img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    margin-bottom: 20px;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
    z-index: 1000000;  /* جلوتر از عکس */
}

.nav-btn {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    z-index: 1000000;
    user-select: none;
}

#prevBtn , #nextBtn{
    position: absolute;
    top: 35%;
    background: #ccc;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}
#prevBtn{ right: 20px; }
#nextBtn { left: 20px; }

#thumbs {
    display: flex;
    gap: 10px;
}

#thumbs img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: .3s;
}

#thumbs img.active {
    border-color: #fff;
}
.about-box{
    padding:20px;
}
.about-box p{
    text-align:justify;
    font-size:16px;
    font-weight:600;
}
.about-box p img, .about-box img{
    width:80%!important;
    border-radius:15px!important;
    box-shadow: 2px 2px 5px #f2f2f2!important;
    margin:10px auto;
    display:block;
}
.title-meta{
    width:80%;
}
.box-calander{
    width:20%;
}
.room_image{
    height:150px!important;
    object-fit:cover;
    width:100%;
}
.box-image-room{
    border-left:1px solid #ccc;
    padding-left:10px;
}
.link-item{
    text-decoration: none; 
}
.link-item:hover .card{
    background:#f2f2f2;
    box-shadow:2px 2px 5px #ccc;
    transition:0.5s;
}
.text-hover{
    font-size: 14px;;
}
.text-hover:hover {
    font-weight: 900;
    color: #d50bcd;
    transition: 0.5s;
}
.image-box{
    padding: 10px;
    border-radius: 50%;
}
.image-box svg{
    width:35px;
    height:35px;
}
.badge-icon {
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    border-radius:50%;
}
.reserv-svg svg{
    height:30px;
    width:30px;
}
.select-date{
    background:#ccc;
}
.date-special{
    cursor: pointer;
}
/**  front paage */
.title-room{
    font-size:18px;
}
.box-icon span{
    border-left: 1px solid #aaaaaa85;
    padding-left:5px;
}
.box-icon span svg{
    opacity:0.5;
}
.button-calander{
    background:transparent;
    border:0;
    
}
.text-muted {
   
    color: #aaa !important;
}
.hotelsara-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.hotel-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: .3s;
	width:250px
}

.hotel-card:hover {
    cursor:pointer;
}
.hotel-image{
    width:250px;
}
.hotel-image img {
    width: 100%;
    height: 170px!important;
    object-fit: cover!important;
    border-radius:10px!important;
}
.hotel-city-terms-grid{
    display:grid;
    gap:15px;
}
.image-term-city{
    height:300px;
    border-radius: 20px;
    object-fit: cover;
}
.img-src-hotel-term {
    height: 300px !important;
    border-radius: 20px !important;
    object-fit: cover;
    width: 95% !important;
    margin: auto;
}
.link-term-item{
    text-decoration:none;
    display:block;
    font-size:20px;
    font-weight:bold
}
.hotel-city-term-item{
    text-align:center;
}
.hotel-city-term-title{
        font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    display: block;
}
.hotel-info {
    padding: 5px 2px;
}
.hotel-info svg{
    width:13px; 
}

.hotel-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hotel-price {
    color: #3f7cff;
    font-size: 15px;
    margin-bottom: 15px;
}

.hotel-btn {
    display: inline-block;
    padding: 8px 14px;
    background: #3f7cff;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
}
.hotel-btn:hover {
    background: #2b5ed7;
}
.address-box{
    text-align:center;
}
.title-text, .hotel-address{
    font-size:20px;
    font-weight:600;
    text-align:center;
}
.hotel-stars-wrap{
    display: flex;
    flex-direction:row;
    justify-content:start;
    padding:10px;
    gap:15px;
}
.phone-box{
    text-align:center;
}
.text-phone{
    font-size: 18px;
    font-family: Vazir;
}
.phone-number {
        font-size: 30px;
    font-weight: 600;
    font-family: 'VazirMatnFN';
}


.calendar-box {
    width: 100%;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.btn-nav {
    cursor: pointer;
    background: #f2f2f2;
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 20px;
}

.months-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.calendar-month {
    width: 48%;
}
/* --- Calander ---*/
 .entering-date .datepicker-container-inline .datepicker-plot-area{
    border:0!important;
    box-shadow:none!important;
}
.pwt-btn-switch{
    font-size:25px!important;
    font-weight:700!important;
}
.pwt-btn-next, .pwt-btn-prev{
    transform: rotate(180deg)!important;
}

.datepicker-plot-area .datepicker-navigator .pwt-btn-prev{
   background: no-repeat url(../img/right.svg);
    display: block;
    width: 15%;
    float: left;
    background-position: center;
    color: #fff; 
      transform: rotate(0deg)!important;

}
.datepicker-plot-area .datepicker-navigator .pwt-btn-next{
   background: no-repeat url(../img/right.svg);
    display: block;
    width: 15%;
    float: left;
    background-position: center;
    color: #fff; 
  transform: rotate(180deg)!important;
}
.title-modal-date{
    font-size:25px;
    font-weight:700;
}
#calanderpopup .modal-dialog .modal-content .modal-header{
    display:flex!important;
    justify-content:space-between;
    align-items:center;
    flex-direction: row;
}
.entering-date-select,.ending-date{
    border:1px solid #ccc;
    padding:10px;
    border-radius:15px;
    text-align:center;
}
.custom-style-radio {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    background: #b1aaa833;
    border: 3px solid #FFF;
    box-shadow: 0 0 0 1px #d1d0d0;
    padding: 5px !important;
    margin-left: 5px;
}
.custom-style-radio:checked{
    background-color: #f15555;
}
.prev-month svg, .next-month svg{
    height:45px;
    width:45px;
}
.content-calender {
    height: 300px;
    overflow-y: scroll;
    scrollbar-color: var(--main-color) #f2f2f2;
    scrollbar-width: thin;
    border-radius: 5px;
}

/* ---- Archive -----*/

.hotels-archive-wrapper {
    display: grid;
    gap: 20px;
}

/* LIST */
.hotel-list {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    gap: 20px;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 10px;
}

/* GRID */
.hotels-archive-wrapper.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.hotel-grid {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

/* COMPACT */
.hotel-compact {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

/* COMMON */
.hotel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-price {
    color: #e63946;
    font-weight: bold;
}

.hotel-btn {
    display: inline-block;
    background: #0077ff;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
}
.star_box svg{
    width:18px;
    height:18px;
}
.thumbnail_list_view{
   width:165px!important;
   height:190px!important;
   object-fit:cover;
   border-radius:10px!important;
}
.var{
    align-self: stretch;
    background-color: currentColor;
    color: #ddd;
    display: inline-block;
    min-height: 1em;
    width: 1px;
}
.price-hotel-archive{
    font-size:20px;
    font-weight:700;
}
.border-right{
    border-right:1px solid #ccc;
}
.border-left{
    border-left: 1px solid #ccc;
}
.archive-facility .facility-item{
    padding: 3px 15px;
    font-size: 13px;
    color: #000;
    font-weight: 700;
}
.offbox{
   background: #d3f5e3;
    padding: 7px 15px !important;
    color: #039910;
    font-size: 14px;
}
.btn-reserv-archive{
    padding: 9px;
    font-weight: 700;
    font-size: 19px;
    border-radius: 15px;
}
textarea:focus, input:focus{
    outline: none!important;
}
.hotel-list.loading {
    opacity: 0.4;
    pointer-events: none;
}

.loading{
    opacity: 0.4;
    pointer-events: none;
}
.no-result {
    padding: 20px;
    text-align: center;
    color: #888;
}
.hotel-star-icon svg{
    height:20px;
    width:20px;
}

.filter-star, .filter-hotel-item{
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
}

.filter-star:checked::after, .filter-hotel-item:checked::after {
    content: "✓";
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-size: 15px;
    color: #dd0b0b;
    font-weight:bold;
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

/* calander single */
.calendar-grid ,.calendar-weekdays{
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align:center;
    font-weight:600;
}

.calendar-cell {
    border-radius: 10px;
    padding: 8px;
    min-height: 60px;
    background: #fff;
    position: relative;
    padding-bottom: 25px;;
}


.calendar-cell.disabled {
    background: #f5f5f5;
    color: #aaa;
    pointer-events: none;
}

.calendar-cell .day {
    font-weight: bold;
}

.calendar-cell .price {
    font-size: 13px;
    margin-top: 6px;
    font-weight:600;
}

.calendar-cell.selected {
    border: 2px solid #d32f2f;
}
.calendar-cell.no-status::after {
    content: '';
    position: absolute;
    bottom: 6px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    right: 6px;
    background: linear-gradient(145deg, #ff4d4f, #c40000);
    box-shadow: 0 0 4px rgba(255,77,79,0.6);
}
.no-status-label::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 6px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff4d4f, #c40000);
    box-shadow: 0 0 4px rgba(255,77,79,0.6);
}
 .counter .minus_counter,
 .counter .plus_counter,
 .counter .plus_counter_addi,
 .counter .minus_counter_addi ,
 .plus_counter_passenger,
 .minus_counter_passenger
 {
     background-color: #b5b5b5;
     color: #000000;
     padding: 5px 15px;
     border-radius: 5px 0 0 5px;
     border: 0px;
     font-size: 22px;
     width: 40px;
     height: 40px;
     font-weight: 700;
 }
 .counter .plus_counter, 
 .counter .plus_counter_addi,
 .plus_counter_passenger{
    border-radius: 0px 5px 5px 0px;
 }
.counter .custom_quantity,.count_pass {
            text-align: center;
            font-size: 18px;
            border: 1px solid #ccc;
            border-radius: 0;
            width: 60px;
        }
.boxing-room{
    height:50vh;
    overflow-y: scroll;
}
.input-coupon{
    border-radius: 0px 10px 10px 0px;
    border: 1px solid #ccc;
    width: 70%;
    font-size: 15px;
    padding: 15px 0;
    text-align: center;
}
ins{
    text-decoration: none!important;
}

.coupon-boxing button{
    width: 30%!important;
    border-radius: 10px 0px 0px 10px!important;
}
.friday {
    color: #d32f2f;
}

/* -----  */

 .price-box-cart {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,.05);
    overflow-y: auto;
    height:70vh;
}
.night-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px 5px;
    text-align: center;
    font-size: 14px;
}
.discount {
    color: #2e7d32;
    font-size: 13px;
}
.hotel-content-wrapper {
    position: relative;
}

.hotel-content {
    overflow: hidden;
    transition: max-height 0.4s ease;
    line-height: 35px;
    text-align: justify;
}
.hotel-content p{
    font-size:15px;
}
.hotel-content img{
   width: 60%;
    height: 377px !important;
    margin: auto;
    border-radius: 15px !important;
    object-fit: cover;
    display: block;
}

.hotel-content.short {
    max-height: 180px; /* حدود 4–5 خط */
}

.hotel-content.short::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

.show-more-btn {
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    z-index: 1000;
    width:100%;
    text-align:center;
}

.modal-backdrop,
.overlay,
.loading {
    pointer-events: none !important;
}
body { overflow: auto!important;  }


/* ===== Gallery Modal  ===== */

.hotel-gallery {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 12px;
    height: 360px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

.gallery-main,
.thumb {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-main{
    height:350px;
}
.thumb{
    height:170px;
}
.gallery-main img,
.thumb img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    border-radius:15px!important;
}

.more-images {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 13px;
    z-index:1000;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}


/*----- End Gallert Single ---*/

.night-scroll-wrapper {
    overflow: hidden;
    cursor: grab;
}

.night-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    user-select: none;
}

.night-scroll::-webkit-scrollbar {
    display: none;
}

.night-scroll:active {
    cursor: grabbing;
}

.night-scroll .col-4 {
    flex: 0 0 auto;
    width: 165px; /* عرض هر کارت */
}
.remove-row-passanger{
    width: 45px;
    text-decoration: none;
    padding: 9px;
    margin-top:45px;
}
.remove-item-duration{
    top: -10px;
    right: -15px;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 10px;
}
.select2-container--open .select2-dropdown{
    top:20px;
}
.link-duration:hover{
    z-index: 1;
    color: #fb373e;
    text-decoration: none;
    background-color: #fff3f3;
}
.text-justify{
    text-align:justify;
}

.hotel-duration-box {
    max-height: 300px; /* ارتفاع قابل اسکرول */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
     overflow-x: hidden; 
}

/* اسکرول‌بار برای Chrome / Edge / Safari */
.hotel-duration-box::-webkit-scrollbar {
    width: 4px;
}

.hotel-duration-box::-webkit-scrollbar-track {
    background: transparent;
}

.hotel-duration-box::-webkit-scrollbar-thumb {
   background-color: #d0d0d0;
    border-radius: 10px;
}

.hotel-duration-box::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* فایرفاکس */
.hotel-duration-box{
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
    
}

.box-holder-searchbox{
    width:500px;
    background:#ffff;
    border-radius:25px;
}
#list-hotel-content{
       background: #fff;
    list-style: none;
    line-height: 20px;
    position: absolute;
    width: 95%;
    height: 200px;
    top: 51px;
}
.select2-container--default .select2-selection--single,.select2-container--default .select2-search--dropdown .select2-search__field{
    border:0px!important;
}
.box-holder-searchbox .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow
{
    display:none;
}
.box-holder-searchbox svg{
    height: 24px;
    width: 24px;
    fill: #4c4848;
}
.sidebaradmin{
    background: #212529;
    position: fixed;
    left: 0;
    top: 120px;
    height: 100vh;
    padding-top:40px;
}
.item-sidebar{
    position: relative;
}
.item-sidebar .list-menu-item{
    position: absolute;
    top: 0;
    left: 102px;
    width: 180px;
    border-radius: 0;
}
.item-sidebar .list-menu-item .list-group-item a{
 text-decoration:none;   
}
.edit-row .form-group .form-control{
    padding:5px;
    font-size:13px;
}
.box-widget{
    height:200px;
    overflow-y: scroll;
}
.box-widget a{
     text-decoration:none;
     color:#000;
}
.box-widget a:hover{
    color:#f00;
    font-weight:bold;
}
.bg-success-light{
    background: #9effd24f;
    color: #0a5431;
    font-weight: bold;
}
.bg-info-light{
    background: #c9f6ff94;
    color: #084652;
    font-weight: bold;
}
.bg-warning-light{
    background: #ffc10730;
    color: #816000;
    font-weight: bold;
}

.no-online{
    
}
.custom-logo{
    width: 200px;
    height: auto;
}
.site-title{
    font-size: 16px;
    margin-top:15px;
    font-weight: bold;
}
.taxonomy-header{
    width: 100%;
    padding: 15px;
    margin:20px 0;
    min-height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2f2f2;
}

/*------ MEUN STYLE -----*/
/* ===== استایل اصلی ===== */
.menu-list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-list ul{
    display:flex;
    flex-direction: row;
    gap:10px;
    list-style:none;
    
}

.menu-list li {
    position: relative;
}

.menu-list a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
}
.menu-list a:hover{
    background-color: #048f8f;
    color:#fff;
    border-radius: 5px;;
 }

/* ===== زیرمجموعه (Dropdown) ===== */
.sub-menu {
    display: none;             /* مخفی بودن پیش‌فرض */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 999;
}

/* نمایش زیرمجموعه با هاور */
.menu-list li:hover > .sub-menu {
    display: block;
}

/* زیرمجموعه‌های تو در تو */
.sub-menu .sub-menu {
    top: 0;
    left: 100%;
}
.filter-canvas{
display: none;
}
/*---- End MENU ----*/
/*---- OFF CANVAS ---*/
/* نمایش فقط در موبایل، مخفی در دسکتاپ */
@media (min-width: 992px) {
    /* اگه خواستی در دسکتاپ کاملاً مخفی باشه */
    .mobile-filter-btn {
        display: none !important;
    }
}

/* تنظیمات عرض پنل */
@media (max-width: 575px) {
    .offcanvas {
        width: 90% !important;
    }
}

.offcanvas {
    direction: rtl;              /* راست‌به‌چپ */
    text-align: right;
}

/* فیلترهای ثابت در بالا با اسکرول */
.offcanvas-body {
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 100px;       /* فضای دکمه‌ها */
}

/* هدر ثابت */
.offcanvas-header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    border-bottom: 1px solid #eee;
}

/* دکمه‌های پایین ثابت */
.offcanvas-body .d-grid {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}
.filter-box {
    height:280px;
    overflow-y: scroll;
}
.btn-menu{
    border: 0;
    background-color: transparent;
}

/*---- END OFF CANVAS ----*/
@media (max-width: 768px) {
    .hotel-duration-box{
        max-height: 200px;
    }
    .filter-canvas{
        display: block;
    }
    .hide-mobile{
        display: none;
    }
    .taxonomy-header{
        min-height: 150px;
    }
    .menu-list{
        flex-direction: column;
        justify-content: start;
    }
    .mobile_view_thumb{
        height:85px!important;
        width: 100px !important;
    }
    .mobile_view_header{
        font-size:16px;
    }
    .archive-facility .facility-item{
        font-size:11px;
        padding:3px 7px; 
    }
    .addr{
        font-size:13px;
    }
    .offbox{
        background: #d3f5e3;
        padding: 7px 4px !important;
        color: #039910;
        font-size: 11px;
        position: absolute;
        top: 5px;
    }
    .box-left-archive p{
        font-weight: 700;
        font-size: 14px;
    }
    .price-hotel-archive{
        font-size:14px;
    }
    .btn-reserv-archive{
        font-size:15px;
        margin-right:10px;
        padding:5px;
        border-radius: 10px;;
    }
    .offcanvas-header .btn-close{
        margin-right:auto!important;
        margin-left: 0!important;
    }
}
/*---- Search Box ----*/
 .wp-hotel-search-wrapper {
        position: relative; 
        width: 100%;
        margin: 20px auto;
        display: flex;
        align-items: center;
        gap:20px;
        border:1px solid #ccc;
        padding:10px 5px;
        border-radius: 5px;;
    }

    /* کادر جستجو */
    #hotel-search-input {
        width: 100%;
        border: 0;
        border-radius: 5px;
        font-size: 14px;
        box-sizing: border-box;
        outline: none;
        background-color: #fff;
        z-index: 10; /* مطمئن می‌شویم اینپوت روی لیست باشد */
        
    }

    #hotel-search-input:focus {
        border-color: #0073aa;
    }

    /* لیست نتایج */
    #hotel-search-results {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%; /* عرض کامل کانتینر */
        max-height: 300px;
        overflow-y: auto;
        background: #fff;
        border: 1px solid #eee;
        border-top: none; /* اتصال به اینپوت */
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        
        /* نکته کلیدی برای حل مشکل جابه‌جایی: */
        position: absolute; 
        top: 100%; /* دقیقاً زیر کادر جستجو */
        left: 0;
        right: 0;
        z-index: 9999; /* روی همه چیز باشد */
        
        display: none; /* در ابتدا مخفی */
    }

    #hotel-search-results.active {
        display: block; /* وقتی فعال شد نمایش داده شود */
    }

    /* آیتم‌های لیست */
    .search-result-item {
        padding: 10px 15px;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background 0.2s;
    }

    .search-result-item:last-child {
        border-bottom: none;
    }

    .search-result-item:hover {
        background-color: #f9f9f9;
    }

    .search-result-item a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
        flex-grow: 1;
    }

    .search-result-item a:hover {
        color: #0073aa;
    }

    .hotel-count-badge {
        background-color: #e0e0e0;
        color: #555;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 12px;
        margin-right: 10px;
    }

    .matched-hotel-name {
        font-size: 11px;
        color: #777;
        margin-right: 10px;
        display: block;
    }
    
    .no-results {
        padding: 15px;
        text-align: center;
        color: #888;
        font-size: 13px;
    }

    /* استایل کلی آیتم‌ها */
    .search-result-item {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.2s;
        text-align: right;
    }

    .search-result-item:hover {
        background-color: #f9f9f9;
    }

    /* استایل نام شهر */
    .city-main-title {
        font-weight: bold;
        font-size: 16px;
        color: #333;
    }

    /* استایل تعداد هتل */
    .hotel-count-badge {
        background-color: #e0e0e0;
        color: #555;
        padding: 2px 8px;
        border-radius: 10px;
        font-size: 12px;
        margin-right: 10px;
    }

    /* استایل خط جداکننده */
    .search-separator {
        padding: 5px 15px;
        background-color: #f5f5f5;
        color: #888;
        font-size: 12px;
        border-bottom: 1px solid #eee;
        border-top: 1px solid #eee;
        font-weight: bold;
    }

    /* استایل کارت هتل */
    .hotel-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .hotel-main-title {
        font-weight: bold;
        font-size: 15px;
        color: #0073aa; /* رنگ آبی وردپرس */
        margin-bottom: 4px;
    }

    .city-subtitle {
        font-size: 12px;
        color: #777;
    }

    /* برای حالت دسکتاپ، نام شهر و تعداد را کنار هم نگه دار */
    @media (min-width: 768px) {
        .search-result-item:not(.search-separator) {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .city-main-title {
            margin-left: 10px;
        }
    }
    /*------------------------*/
@media print {

  body * {
    visibility: hidden;   /* همه چی مخفی */
  }

  #print-area, 
  #print-area * {
    visibility: visible;  /* فقط این سکشن دیده بشه */
  }

  #print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
  .custom-print{
    cursor: pointer;
  }
  .hide-print {
    display: none !important; /* دکمه پرینت و آیتم‌های اضافی حذف */
  }

}

