/* ==========================================================
   nights-pricing.css
   استایل ردیف‌های «قیمت هر شب» و «قیمت کل برای N شب»
   در Hotel.aspx و Hotel_s.aspx
   ========================================================== */

/* ---------- کارت اتاق (Hotel_s.aspx) ---------- */

.singleRoom .roomPriceRow.perNightRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}

.singleRoom .roomPriceRow .roomPriceUnitHint {
    font-size: 11px;
    color: #8a8a8a;
    font-weight: 400;
    white-space: nowrap;
}

/* ردیف قیمت نهایی (بعد از ضرب در تعداد شب) */
.singleRoom .roomPriceRow.nightsTotalRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f3f8ff;
    border: 1px solid #d9e6fb;
}

.singleRoom .roomPriceRow.nightsTotalRow .roomNightsLabel {
    font-size: 12px;
    color: #4a6fa5;
    font-weight: 500;
    white-space: nowrap;
}

.singleRoom .roomPriceRow.nightsTotalRow .roomTotalPriceValue {
    font-size: 17px;
    font-weight: 700;
    color: #1b3a63;
    direction: rtl;
}

.singleRoom .roomPriceRow.nightsTotalRow .roomTotalPriceValue small {
    font-size: 11px;
    font-weight: 400;
    margin-right: 3px;
    color: #5b7a9d;
}

/* قیمت پایه‌ی هر شب کم‌رنگ‌تر از قیمت نهایی */
.singleRoom .roomPriceRow.realPrice .roomBasePriceValue {
    font-size: 13px;
}

/* ---------- ردیف رزرو سریع (Hotel.aspx) ---------- */

.singleHotelsRes .singleHotelsResPrice {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    line-height: 1.5;
}

.singleHotelsRes .perNightPrice {
    font-size: 12px;
    color: #8a8a8a;
    font-weight: 400;
    white-space: nowrap;
}

.singleHotelsRes .perNightPrice .mainPriceHotel {
    font-weight: 600;
    color: #6b6b6b;
}

.singleHotelsRes .totalNightsPrice {
    font-size: 15px;
    font-weight: 700;
    color: #1b3a63;
    white-space: nowrap;
}

.singleHotelsRes .totalNightsPrice .nightsCountLabel {
    font-size: 11px;
    font-weight: 400;
    color: #7a7a7a;
    margin-right: 4px;
}

/* ---------- لیست فشرده نرخ‌ها (Hotel.aspx) ---------- */

.quickRateRow .quickRateTotalWrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: 2px;
}

.quickRateRow .quickRateNightsLabel {
    font-size: 10px;
    color: #8a8a8a;
}

.quickRateRow .quickRateTotalPrice {
    font-size: 13px;
    font-weight: 700;
    color: #1b3a63;
}

.quickRateRow .quickRateTotalPrice small {
    font-size: 10px;
    font-weight: 400;
    margin-right: 2px;
}

/* ---------- سبد رزرو ---------- */

.cartItemUnit {
    display: block;
    font-size: 11px;
    color: #8a8a8a;
    margin-top: 2px;
}

.cartItemPrice .cartItemNights {
    font-size: 11px;
    font-weight: 400;
    color: #7a7a7a;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .singleHotelsRes .singleHotelsResPrice {
        align-items: flex-start;
    }

    .singleRoom .roomPriceRow.nightsTotalRow {
        padding: 6px 8px;
    }

    .singleRoom .roomPriceRow.nightsTotalRow .roomTotalPriceValue {
        font-size: 15px;
    }
}
