
/* ==========================================================================
   DRA Style Custom Property Cards
   ========================================================================== */
.dra-properties-container {
    width: 100%;
    margin-top: 20px;
}
.dra-properties-scroll-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding: 10px 5px 30px 5px; /* Space for box shadow and scrollbar */
    /* hide scrollbar for cleaner look */
    scrollbar-width: thin; 
    scrollbar-color: #f4b41a #eee;
}
.dra-properties-scroll-track::-webkit-scrollbar {
    height: 6px;
}
.dra-properties-scroll-track::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}
.dra-properties-scroll-track::-webkit-scrollbar-thumb {
    background: #f4b41a; 
    border-radius: 10px;
}

.dra-card {
    flex: 0 0 100%; /* Mobile default */
    scroll-snap-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
    max-width: 450px;
}
.dra-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

@media (min-width: 768px) {
    .dra-card {
        flex: 0 0 calc(50% - 15px); /* 2 cards visible on tablet */
    }
}
@media (min-width: 1024px) {
    .dra-properties-scroll-track {
        justify-content: center; /* Center them on desktop */
    }
    .dra-card {
        flex: 0 0 calc(33.333% - 20px); /* 3 cards visible on desktop */
        max-width: 400px;
    }
}

.dra-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.dra-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.dra-card:hover .dra-card-image img {
    transform: scale(1.05);
}

.dra-share-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1.5px solid #555;
    transition: all 0.3s;
}
.dra-share-icon:hover {
    background: #fff;
    border-color: #111;
}
.dra-share-icon i {
    color: #222;
    font-size: 14px;
}

.dra-card-body {
    padding: 25px 25px 20px 25px;
    flex-grow: 1;
}
.dra-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.dra-title-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}
.dra-title-box p {
    font-size: 14px;
    color: #444;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.dra-arrow {
    margin-top: 5px;
}
.dra-arrow i {
    font-size: 20px;
    color: #888;
    font-weight: 300;
}

.dra-card-details {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
}
.dra-detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.dra-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dra-detail-text {
    display: flex;
    flex-direction: column;
}
.dra-detail-label {
    font-size: 9px;
    color: #777;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.dra-detail-value {
    font-size: 14px;
    font-weight: 800;
    color: #111;
}

.dra-card-footer {
    display: flex;
    width: 100%;
}
.dra-btn {
    flex: 1;
    text-align: center;
    padding: 16px 10px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
    border-top: 1px solid transparent;
}
.dra-btn-yellow {
    background: #f4b41a;
    color: #111 !important;
    border-top-color: #f4b41a;
}
.dra-btn-yellow:hover {
    background: #e0a312;
}
.dra-btn-dark {
    background: #2a2a2a;
    color: #fff !important;
    border-top-color: #2a2a2a;
}
.dra-btn-dark:hover {
    background: #111;
}
