/* ── Agoda Lalitha Mahal Palace Card v1.0 ─────────────────────────────── */
.alm-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
    color: #1a1a1a;
}

/* ── Card ── */
.alm-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.alm-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.13);
    text-decoration: none;
}

/* ── Top bar: price + CTA above image ── */
.alm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.alm-price-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex-shrink: 0;
}
.alm-price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #e8342a;
    line-height: 1;
}
.alm-night { font-size: 0.72rem; color: #aaa; }

/* CTA — red with arrow icon */
.alm-btn {
    background: #e8342a;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 9px 12px;
    border-radius: 8px;
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.alm-card:hover .alm-btn { background: #c0392b; }
.alm-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ── Image ── */
.alm-img-box {
    position: relative;
    width: 100%;
    padding-top: 62%;
    background: #f0f0f0;
    overflow: hidden;
}
.alm-img-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s;
    display: block;
}
.alm-card:hover .alm-img-box img { transform: scale(1.07); }

.alm-img-ph {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ccc;
    background: #f8f8f8;
}

.alm-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e8342a;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* ── Info ── */
.alm-info {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.alm-stars {
    font-size: 0.75rem;
    color: #f0a30a;
    letter-spacing: 1.5px;
    white-space: nowrap;
}
.alm-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.35;
}

/* Location */
.alm-loc {
    font-size: 0.76rem;
    color: #888;
    margin-top: 1px;
}

/* Rating */
.alm-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}
.alm-sc {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
    background: #1b5e20;
}
.alm-sl { font-size: 0.78rem; font-weight: 600; color: #333; }
.alm-revs { font-size: 0.73rem; color: #999; }

/* ── Mobile fixes ── */
@media (max-width: 380px) {
    .alm-wrap { max-width: 100%; }
    .alm-top {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .alm-price-row { justify-content: center; }
    .alm-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px 12px;
    }
}
