/* === ListingOptions — selectable room/option cards with photo hero and booking state. Variables from app.css only. Zero inline styles. === */

.lopt-section {
    padding: 1em 0;
}

.lopt-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--antologa-dark);
}

/* ── Card ── */

.lopt-card {
    border: 1px solid var(--antologa-light-gray);
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--antologa-white);
    cursor: pointer;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    display: flex;
    flex-direction: column;
}

.lopt-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.lopt-card--selected {
    border: 2px solid var(--antologa-primary);
}

/* ── Image ── */

.lopt-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--antologa-light-gray);
}

.lopt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lopt-card-img--placeholder {
    background: var(--antologa-light-gray);
}

.lopt-photo-link {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    padding: 0.25em 0.65em;
    border-radius: 0.4rem;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.15s ease;
    white-space: nowrap;
}

.lopt-img-wrap:hover .lopt-photo-link {
    opacity: 1;
}

/* ── Body ── */

.lopt-card-body {
    padding: 0.9em 1em 0.5em;
    flex: 1;
}

.lopt-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5em;
    margin-bottom: 0.3em;
}

.lopt-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--antologa-dark);
}

.lopt-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--antologa-secondary);
    white-space: nowrap;
}

.lopt-price-unit {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--antologa-gray);
}

.lopt-card-meta {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--antologa-gray);
    margin: 0 0 0.4em;
}

.lopt-card-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 1.25rem;
    color: var(--antologa-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ── Footer ── */

.lopt-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5em 1em 0.9em;
    gap: 0.5em;
}

.lopt-urgency {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--antologa-terciary);
}

.lopt-select-btn {
    background-color: var(--antologa-primary) !important;
    color: #fff !important;
    border-radius: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    text-transform: none !important;
    min-width: 6.5em;
}

.lopt-select-btn--selected {
    background-color: transparent !important;
    color: var(--antologa-primary) !important;
    border: 1px solid var(--antologa-primary) !important;
}
