.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: auto;
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.price {
    font-size: 24px;
    font-weight: 600;
}

.emi {
    font-size: 14px;
    color: gray;
}

.tags {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.tag {
    background: #e0f7fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #00796b;
    font-weight: 500;
}

.location {
    margin-top: 10px;
    font-weight: 500;
}

.card-body {
    gap: 5px;
    width: auto;
    padding: 10px 20px;

    display: flex;
    overflow-x: auto;
    white-space: nowrap;
}

.card-body img {
    border-radius: 6px;
    height: auto;
    cursor: pointer;
    width: 100%;
    border: 1px solid #ccc;
    object-fit: cover;
}

.info-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    align-items: center;
    font-size: 14px;
}

.info-bar div {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #555;
}

.details {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    font-size: 14px;
    gap: 1rem;
}

.detail-item {
    width: 33.33%;
    margin-bottom: 10px;
}

.detail-item strong {
    display: block;
    color: #222;
    font-weight: 600;
}

.details-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;
    gap: 10px;
    border-top: 1px solid #eee;
}

.details-footer button {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-contact {
    background: #C69401;
    color: white;
}

.btn-download {
    background: white;
    color: #C69401;
    border: 1px solid #C69401;
}

.last-contact {
    font-size: 12px;
    color: gray;
    display: flex;
    align-items: center;
    gap: 4px;
}

.more-details {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, .125);
    margin: 30px 0;
}


.more-details h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 1rem;
}

.details-grid div {
    font-size: 14px;
    color: #333;
}

.details-grid strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 16px;
}

.offer-banner {
    grid-column: span 2;
    display: flex;
    align-items: center;
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    overflow: hidden;
}

.offer-label {
    background: #f9b233;
    color: #000;
    font-weight: 600;
    padding: 6px 12px;
    font-size: 13px;
}

.offer-text {
    padding: 6px 12px;
    font-size: 14px;
    color: #C69401;
    font-weight: 500;
}

.description {
    margin-top: 20px;
    font-size: 14px;
    color: #333;
}

.description strong {
    font-weight: 700;
    font-size: 16px;
}

.description a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.btn-bottom {
    margin-top: 20px;
}

.btn-download {
    background: #C69401;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 24px;
    cursor: pointer;
}


.amenties-info ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.amenties-info ul li {
    padding: 3px 20px;
    border: 1px solid #fff3cd;
    border-radius: 100px;
    background-color: whitesmoke;
    color: #303030;
}

.brochure-input input {
    width: 100%;
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 10px;
    padding: 7px;
}

.brochure-input p {
    margin-bottom: 10px !important;
}

.brochure-input p a {
    color: #C69401;
}

.brochure-input button {
    width: 100%;
}

/* RESPONSIVE DESIGN */

@media(max-width:992px) {
    .builder-right {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }

    .more-details {
        padding: 1rem;
    }

    .amenties-info ul {
        gap: 10px;
    }

    .amenties-info ul li {
        font-size: 13px;
    }

    .offer-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-text {
        padding: 0.625rem;
    }

    .detail-item {
        width: 50%;
    }

    .details-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .buttons button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .detail-item {
        width: 100%;
    }

    .offer-label {
        width: 100%;
    }

    .price {
        font-size: 20px;
    }

    .card-body img {
        height: 120px;
    }
}