body { font-family: "IRANYekanXFaNum", sans-serif; }
.bfont { font-family: "IRANYekanXFaNum", sans-serif !important; }

/* ===== LOADING OVERLAY ===== */
#houseLoadingOverlay {
    position: fixed; inset: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 20px;
    transition: opacity .35s ease;
}
#houseLoadingOverlay.hidden { opacity: 0; pointer-events: none; }
.house-spinner {
    width: 60px; height: 60px; border-radius: 50%;
    border: 4px solid #00ab6c; border-top-color: transparent;
    animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.house-loading-text { color: #3E3E64; font-weight: 700; font-size: 16px; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { padding: 12px 0; font-size: 13px; }
.breadcrumb-bar a { color: #6b7280; text-decoration: none; }
.breadcrumb-bar a:hover { color: #3E3E64; }
.breadcrumb-bar .sep { color: #d1d5db; margin: 0 6px; }

/* ===== CARD ===== */
.dt-card {
    background: #fff; border-radius: 14px;
    border: 1px solid #eef0f4;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    padding: 20px;
}
.dt-title {
    font-size: 20px; font-weight: 800; color: #111827; line-height: 1.5;
}
.dt-address {
    display: flex; align-items: center; gap: 6px;
    color: #6b7280; font-size: 13px; margin-top: 6px;
}
.dt-address svg { width: 16px; height: 16px; color: #00ab6c; }

/* ===== GALLERY ===== */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 160px 160px;
    gap: 8px;
    border-radius: 12px; overflow: hidden;
    margin-top: 16px;
}
.gallery a, .gallery .g-item {
    position: relative; overflow: hidden; background: #f3f4f6;
    display: block;
}
.gallery img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.gallery a:hover img, .gallery .g-item:hover img { transform: scale(1.06); }
.gallery .g-main {
    grid-column: 1 / 4;
    grid-row: 1 / 3;
}
.gallery .g-side { grid-row: span 1; }
.gallery .g-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.45); color: #fff;
    font-weight: 700; font-size: 14px; gap: 6px;
    flex-direction: column;
}
.gallery .g-overlay svg { width: 22px; height: 22px; }
@media (max-width: 767px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 100px; }
    .gallery .g-main { grid-column: 1 / 3; grid-row: 1; }
}

/* ===== RATING BADGE ===== */
.rating-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, #00ab6c, #e0a93a);
    color: #fff; padding: 6px 12px; border-radius: 999px;
    font-weight: 800; font-size: 14px;
    box-shadow: 0 4px 12px rgba(247,192,77,.35);
}
.rating-pill svg { width: 16px; height: 16px; fill: #fff; }

/* ===== AMENITY CHIPS ===== */
.amenity-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding: 14px 0; border-top: 1px solid #f3f4f6; margin-top: 14px;
}
.amenity-chips .chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #f9fafb; border: 1px solid #e5e7eb;
    border-radius: 10px; padding: 6px 12px;
    font-size: 12px; color: #374151;
}
.amenity-chips .chip svg { width: 14px; height: 14px; color: #00ab6c; }

/* ===== INFO GRID ===== */
.info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-top: 14px;
}
@media (min-width: 768px) {
    .info-grid { grid-template-columns: repeat(4, 1fr); }
}
.info-item { display: flex; align-items: flex-start; gap: 10px; }
.info-item .ico {
    width: 38px; height: 38px; border-radius: 10px;
    background: #f3f4f6; display: flex; align-items: center; justify-content: center;
    color: #3E3E64; flex-shrink: 0;
}
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .ttl { font-size: 13px; font-weight: 700; color: #111827; }
.info-item .sub { font-size: 11px; color: #6b7280; margin-top: 2px; }

/* ===== TABS ===== */
.dt-tabs {
    display: flex; gap: 4px; background: #fff; border-radius: 12px;
    border: 1px solid #eef0f4; padding: 4px; margin-bottom: 20px;
    overflow-x: auto; scrollbar-width: none;
}
.dt-tabs::-webkit-scrollbar { display: none; }
.dt-tab {
    flex: 1; min-width: 120px; padding: 10px 14px; border-radius: 8px;
    background: transparent; border: none; cursor: pointer;
    font-size: 13px; font-weight: 600; color: #6b7280;
    transition: all .25s;
}
.dt-tab:hover { background: #f9fafb; color: #374151; }
.dt-tab.active {
    background: #3E3E64; color: #fff;
    box-shadow: 0 4px 12px rgba(62,62,100,.25);
}
.dt-tab-panel { display: none; }
.dt-tab-panel.active { display: block; }

/* ===== SECTION ===== */
.dt-section-title {
    font-size: 16px; font-weight: 700; color: #111827;
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.dt-section-title svg { width: 20px; height: 20px; color: #00ab6c; }

/* ===== AMENITY GRID ===== */
.fac-cat-title {
    font-size: 14px; font-weight: 700; color: #374151;
    margin: 16px 0 10px; padding-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
}
.fac-list {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px;
}
@media (min-width: 768px) {
    .fac-list { grid-template-columns: repeat(3, 1fr); }
}
.fac-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px; border-radius: 8px;
    background: #fafbfc; font-size: 13px; color: #374151;
}
.fac-item svg { width: 16px; height: 16px; color: #10b981; flex-shrink: 0; }

/* ===== CALENDAR ===== */
.cal-wrap {
    display: grid; grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 900px) {
    .cal-wrap { grid-template-columns: 1fr 1fr; }
}
.cal-month {
    background: #fff; border-radius: 12px;
    border: 1px solid #eef0f4; padding: 14px;
}
.cal-month h4 {
    text-align: center; font-size: 15px; font-weight: 700;
    color: #111827; margin-bottom: 10px;
}
.cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-head {
    text-align: center; font-size: 12px; color: #9ca3af;
    padding: 4px 0; font-weight: 700;
}
.cal-head.weekend { color: #ef4444; }
.cal-day {
    aspect-ratio: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    border-radius: 8px; font-size: 12px;
    border: 1px solid transparent;
    cursor: pointer; transition: all .15s;
    padding: 2px;
    min-height: 42px;
}
.cal-day.available { background: #fff; color: #111827; }
.cal-day.available:hover { background: #fff7e6; border-color: #00ab6c; }
.cal-day.unavailable {
    background: #f3f4f6; color: #9ca3af; cursor: not-allowed;
    text-decoration: line-through;
}
.cal-day.selected {
    background: #3E3E64; color: #fff;
}
.cal-day.selected .cal-price { color: #00ab6c; }
.cal-day.in-range { background: #e0e7ff; color: #3E3E64; }
.cal-day .cal-num { font-weight: 700; }
.cal-day .cal-price {
    font-size: 9px; color: #6b7280; margin-top: 2px;
    font-family: inherit;
}
.cal-day.holiday { color: #ef4444; }
.cal-day.holiday.selected { color: #fff; }

/* ===== ROOM AREAS ===== */
.room-area {
    border: 1px solid #eef0f4; border-radius: 10px;
    padding: 12px 14px; margin-bottom: 10px;
}
.room-area h5 {
    font-size: 13px; font-weight: 700; color: #374151;
    margin-bottom: 8px;
}
.room-area .room-items {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.room-area .room-item {
    background: #f9fafb; border-radius: 8px;
    padding: 6px 10px; font-size: 12px; color: #4b5563;
}
.room-area .room-item b { color: #111827; }

/* ===== COMMENTS ===== */
.cmt {
    background: #fff; border-radius: 12px; padding: 16px;
    border: 1px solid #eef0f4; margin-bottom: 12px;
}
.cmt-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.cmt-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #00ab6c, #e0a93a);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 15px;
}
.cmt-info .nm { font-weight: 700; color: #111827; font-size: 14px; }
.cmt-info .dt { font-size: 11px; color: #9ca3af; margin-top: 2px; }
.cmt-score {
    margin-right: auto;
    background: #10b981; color: #fff;
    padding: 4px 10px; border-radius: 999px;
    font-weight: 800; font-size: 13px;
}
.cmt-body { color: #374151; font-size: 13px; line-height: 1.9; }
.cmt-recommend {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 10px; font-size: 12px; color: #10b981; font-weight: 600;
}
.cmt-items {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 8px; margin-top: 12px; padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}
@media (min-width: 768px) {
    .cmt-items { grid-template-columns: repeat(3, 1fr); }
}
.cmt-item {
    display: flex; align-items: center; gap: 6px; font-size: 11px;
}
.cmt-item .lbl { color: #6b7280; flex: 1; }
.cmt-item .sc {
    background: #e0f7ef; color: #047857;
    padding: 2px 8px; border-radius: 6px; font-weight: 700;
}

/* ===== RULES ===== */
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li {
    padding: 8px 0 8px 26px; position: relative;
    font-size: 13px; color: #374151; line-height: 1.7;
    border-bottom: 1px dashed #f3f4f6;
}
.rule-list li:last-child { border-bottom: none; }
.rule-list li:before {
    content: ""; position: absolute;
    right: 6px; top: 14px; width: 6px; height: 6px;
    border-radius: 50%; background: #00ab6c;
}
.rule-list b { color: #111827; }

/* ===== CANCEL RULES ===== */
.cancel-block {
    background: #fafbfc; border-radius: 10px;
    padding: 12px 14px; margin-bottom: 10px;
}
.cancel-block h5 {
    font-size: 13px; font-weight: 700; color: #374151;
    margin-bottom: 8px;
}
.cancel-block ul { list-style: none; padding: 0; margin: 0; }
.cancel-block li {
    font-size: 12px; color: #4b5563; padding: 4px 0;
    display: flex; align-items: flex-start; gap: 6px;
}
.cancel-block li:before {
    content: "•"; color: #ef4444; font-weight: 800;
}

/* ===== SIDEBAR BOOKING ===== */
.sidebar-booking {
    top: 80px;
}
.booking-card {
    background: #fff; border-radius: 14px;
    border: 1px solid #eef0f4; padding: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.booking-price {
    text-align: center; padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}
.booking-price .lbl { font-size: 12px; color: #6b7280; }
.booking-price .val {
    font-size: 26px; font-weight: 800;
    background: linear-gradient(to right, #3E3E64, #00ab6c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.booking-price .unit { font-size: 12px; color: #6b7280; }

.bk-input {
    width: 100%; padding: 12px 14px; border-radius: 10px;
    border: 1.5px solid #e5e7eb; font-size: 13px;
    background: #fafbfc; text-align: right;
    font-family: inherit; outline: none; transition: all .2s;
    box-sizing: border-box;
}
.bk-input:focus { border-color: #00ab6c; background: #fff; }
.bk-input.error { border-color: #ef4444; background: #fef2f2; }
.bk-input.valid { border-color: #10b981; background: #f0fdf4; }

.bk-label { font-size: 12px; color: #6b7280; display: block; margin: 10px 0 4px; }
.bk-label .req { color: #ef4444; margin-right: 2px; }

.bk-err {
    font-size: 11px; color: #ef4444;
    margin-top: 4px; min-height: 14px;
    display: none;
}
.bk-err.show { display: block; }

.bk-guests {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 14px; border-radius: 10px;
    border: 1.5px solid #e5e7eb; background: #fafbfc;
}
.bk-guests button {
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e5e7eb;
    background: #fff; cursor: pointer; font-weight: 800; color: #3E3E64;
    display: flex; align-items: center; justify-content: center;
}
.bk-guests button:hover:not(:disabled) { background: #f9fafb; }
.bk-guests button:disabled { opacity: .4; cursor: not-allowed; }
.bk-guests .val { font-weight: 700; color: #111827; font-size: 14px; }

/* ===== EXTRA PERSON INFO ===== */
.bk-extra-info {
    margin-top: 14px;
    padding: 10px 14px;
    background: #fafbfc;
    border: 1px solid #eef0f4;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.7;
}
.bk-extra-info p { margin: 0; }
.bk-extra-info p.line-1 { color: #374151; font-weight: 600; }
.bk-extra-info p.line-2 { color: #9ca3af; font-size: 11px; }

.bk-summary {
    margin-top: 14px; padding: 12px 0;
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
}
.bk-summary .row {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 13px; padding: 6px 0; color: #4b5563;
}
.bk-summary .row.extra-row {
    color: #b45309;
}
.bk-summary .row.total {
    font-weight: 800; color: #111827; font-size: 15px;
    border-top: 1px dashed #e5e7eb;
    margin-top: 6px;
    padding-top: 10px;
}

.bk-cta {
    width: 100%; padding: 14px;
    background: linear-gradient(135deg, #3E3E64, #00ab6c);
    color: #fff; border: none; border-radius: 10px;
    font-weight: 800; font-size: 15px; cursor: pointer;
    margin-top: 14px;
    box-shadow: 0 6px 16px rgba(62,62,100,.28);
    transition: all .25s;
    font-family: inherit;
}
.bk-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(62,62,100,.35); }

.bk-cashback {
    margin-top: 12px; padding: 10px 14px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px; display: flex; align-items: center; gap: 10px;
    font-size: 12px; color: #92400e;
}
.bk-cashback svg { width: 20px; height: 20px; color: #d97706; }

.bk-info {
    margin-top: 12px; display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: #6b7280;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .sidebar-booking { position: static; margin-top: 20px; }
    .dt-tabs { font-size: 12px; }
    .dt-tab { min-width: 100px; }
}

/* OTP modal */
.otp-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.otp-modal[hidden] { display: none; }
.otp-modal__box { position: relative; background: #fff; border-radius: 14px; width: 100%; max-width: 380px; padding: 24px; text-align: center; }
.otp-modal__box h3 { font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.otp-modal__box p { color: #6b7280; font-size: 13px; margin-bottom: 14px; }
.otp-modal__close { position: absolute; top: 8px; left: 12px; border: 0; background: none; font-size: 26px; line-height: 1; color: #6b7280; cursor: pointer; }
.otp-modal__resend { margin-top: 12px; border: 0; background: none; color: #3E3E64; font-size: 13px; cursor: pointer; }
.otp-modal__resend:disabled { color: #9ca3af; cursor: default; }
.bk-cta:disabled { opacity: .6; cursor: wait; transform: none; }

.bk-wallet { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #eff6ff; color: #1d4ed8; font-size: 13px; cursor: pointer; }
