.ac-container-0adfc93c {
    font-family: inherit;
}

.ac-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: space-between;
    background: #222222;
    padding: 15px;
    border-radius: 8px;
    color: #ffffff;
}

.ac-filters-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ac-waterfront-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ac-waterfront-select {
    padding: 5px 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #333;
    color: #fff;
}

.ac-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.ac-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 14px;
}

.ac-sorting {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ac-sort-select {
    padding: 5px 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #333;
    color: #fff;
}

/* Global header row for tabular layout */
.ac-card-headers-row {
    display: none; /* hidden on mobile */
    padding: 0 24px 10px;
    color: #ffffff; /* Changed to white */
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.ac-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ac-card {
    background-color: #222222;
    color: #ffffff;
    border-radius: 10px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ac-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Photo Column */
.ac-col-photo {
    margin-bottom: 16px;
    text-align: center;
}
.ac-col-photo img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobile defaults */
.ac-col-info {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.ac-col-info h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1.3;
}

.ac-card-price {
    margin-bottom: 10px;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.price-label {
    font-size: 0.8rem;
    opacity: 0.7;
}

.ac-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ac-col-feature {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
}

.ac-feature-mobile-label {
    width: 140px;
    opacity: 1; /* Increased opacity for better visibility */
    font-size: 0.9rem;
    color: #ffffff; /* Changed to white */
    font-weight: 600; /* Added weight for better visibility */
}

.ac-yes {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.1rem;
}

.ac-no {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1rem;
}

.ac-note {
    display: block;
    margin-top: 4px;
    opacity: 0.7;
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.2;
}

.ac-col-action {
    margin-top: 20px;
}

.ac-book-btn {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: opacity 0.2s;
}

.ac-book-btn:hover {
    opacity: 0.9;
    color: #fff;
}

/* Desktop layout (tabular card) */
@media (min-width: 992px) {
    .ac-card-headers-row {
        display: flex;
        align-items: flex-end;
    }
    
    .ac-card {
        flex-direction: row;
        align-items: stretch;
        padding: 20px 24px;
    }

    .ac-col-photo {
        flex: 0 0 150px;
        margin-bottom: 0;
        margin-right: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .ac-card-headers-row .ac-col-photo {
        flex: 0 0 150px;
        margin-right: 20px;
    }

    .ac-col-info {
        flex: 0 0 220px;
        border-bottom: none;
        border-right: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 0;
        margin-bottom: 0;
        padding-right: 20px;
    }

    .ac-card-headers-row .ac-col-info {
        flex: 0 0 220px;
        border: none;
        padding-right: 20px;
    }

    .ac-col-feature {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 10px;
        border-bottom: none;
        border-right: 1px dashed rgba(255,255,255,0.05);
        text-align: center;
    }
    
    .ac-card-headers-row .ac-col-feature {
        text-align: center;
        border: none;
        color: #ffffff; /* Explicitly set header color */
    }

    .ac-col-feature:last-of-type {
        border-right: none;
    }

    .ac-feature-mobile-label {
        display: none; /* Hide labels on desktop since we have headers */
    }

    .ac-yes, .ac-no {
        font-size: 1.4rem;
        margin-top: 5px; /* Alignment bump */
    }

    .ac-note {
        margin-top: 8px;
    }

    .ac-col-action {
        flex: 0 0 130px;
        margin-top: 0;
        padding-left: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ac-card-headers-row .ac-col-action {
        flex: 0 0 130px;
        padding-left: 20px;
    }
}