﻿.my-room-itemwqsa {
}

.my-room-listsa {
    display: flex;
    flex-direction: column;
    gap: 14px;
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(2,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
}

.my-room-itemwqsa {
    display: flex;
    flex-wrap: initial;
    gap: 2px;
    align-items: center;
    flex-direction: column;
    /* border-radius: 10px; */
    overflow: hidden;
}

    .my-room-itemwqsa:nth-child(odd) .descript {
        /* padding-left: 0; */
    }

    .my-room-itemwqsa .my-room-imvc {
        width: 100%;
    }

.d-img-hover {
    height: 384px;
}
.d-img-hover {
    transition: transform 0.5s ease;
}
.my-room-imvc:hover .d-img-hover {
    transform: scale(1.01);
}

.my-room-itemwqsa .my-room-content {
    width: 100%;
    padding-bottom: 19px;
    padding-left: 2%;
}

.inner-page-room{
    /* background: #43a7ae1a; */
}
.descript {
    padding-top: 0.8333333333333334rem;
    padding-right: 1%;
    padding-bottom: 0.666667rem;
    padding-left: 2%;
    font-family: MonL;
    font-size: 15px;
}


.saxca-ttes {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-family: monR;
    color: var(--default-color-1);
}

.plus-minus::before {
    content: "+";
    font-size: 20px;
    transition: transform 0.3s ease;
}

.saxca-ttes.active .plus-minus::before {
    content: "-";
}

.sasckjz p {
    margin: 9px 0;
}

.saxca-desa {
    overflow: hidden;
    height: 0;
    transition: height 0.4s ease;
    font-family: MonL;
    font-size: 14px;
    margin-top: 9px;
}

.num-pr {
    padding-top: 24px;
}

.saxca {
    padding-top: 24px;
}

.num-pr-title {
    font-size: 18px;
    font-family: monR;
    color: var(--default-color-1);
}

.num-pr-descript {
    font-family: MonL;
    font-size: 15px;
    margin-top: 9px;
}

@media (max-width: 739px) {
    .my-room-itemwqsa {
        flex-direction: column !important;
        align-items: flex-start;
    }

        .my-room-itemwqsa .my-room-imvc,
        .my-room-itemwqsa .my-room-content {
            width: 100% !important;
        }

        .my-room-itemwqsa .my-room-content {
            padding-top: 0px;
        }

    .d-img-hover {
        height: auto;
        aspect-ratio: 4 / 3; /* Giữ tỷ lệ hình ảnh đẹp */
    }

    .descript {
        padding-left: 0 !important;
        padding-right: 0;
        padding-bottom: 5px;
    }

    .price,
    .num-pr,
    .saxca {
        padding-left: 0;
        padding-right: 0;
        padding-top: 11px;
    }

    .my-room-itemwqsa {
        gap: 14px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

    .saxca-ttes {
        font-size: 16px;
    }

    .num-pr-title,
    .num-pr-descript {
        font-size: 14px;
    }

    .descript {
        font-size: 14px;
        padding: 7px 10px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        height: 45px;
    }

    .my-room-listsa {
        /* padding: 10px; */
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

