/* ========== DSM BUILDING COLLECTION START ========== */
.dsm-building-collection {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box
}

.dsm-building-collection * {
    box-sizing: border-box
}

.dsm-collection-title {
    margin: 0 0 30px;
    text-align: center;
    color: #171111
}

.dsm-building-grid {
    display: grid;
    grid-template-columns: repeat(var(--dsm-columns),minmax(0,1fr));
    gap: 28px
}

.dsm-building-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: transform .35s ease,box-shadow .35s ease,border-color .35s ease
}

.dsm-building-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(23,17,17,.09);
    border-color: #dedede
}

.dsm-building-image {
    position: relative;
    aspect-ratio: 1.55/1;
    overflow: hidden;
    background: #f2f2f2
}

.dsm-building-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease
}

.dsm-building-card:hover .dsm-building-image img {
    transform: scale(1.055)
}

.dsm-building-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #171111;
    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 9px 14px;
    border-radius: 30px
}

.dsm-building-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 24px 22px
}

.dsm-building-body h3 {
    color: #171111;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 12px
}

.dsm-building-description {
    color: #777;
    font-size: 14px;
    line-height: 1.8;
    flex: 1;
    min-height: 72px
}

.dsm-building-description p {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0 0 12px
}

.dsm-building-bottom {
    border-top: 1px solid #e8e8e8;
    padding-top: 18px;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.dsm-building-price {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.dsm-building-price span {
    font-size: 11px;
    color: #777;
    letter-spacing: .3px
}

.dsm-building-price strong {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    color: #171111
}

/* Reuse existing theme #cta-btn.bg-orange styles; only adjust card sizing */
.dsm-building-collection #cta-btn.dsm-building-button {
    font-size: 13px!important;
    line-height: 1.3!important;
    padding: 12px 20px!important;
    white-space: nowrap;
    margin: 0!important;
    flex-shrink: 0
}

@media(max-width: 1024px) {
    .dsm-building-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap: 22px
    }
}

@media(max-width: 640px) {
    .dsm-building-grid {
        grid-template-columns:1fr;
        gap: 22px
    }

    .dsm-building-body {
        padding: 20px
    }

    .dsm-building-body h3 {
        font-size: 20px
    }
}

@media(prefers-reduced-motion:reduce) {
    .dsm-building-card,.dsm-building-image img {
        transition: none
    }

    .dsm-building-card:hover,.dsm-building-card:hover .dsm-building-image img {
        transform: none
    }
}

/* ========== DSM BUILDING COLLECTION END ========== */
