/* ── Agoda Dubai Hotels Under $100 v4 ─────────────────────────────────── */
.adh-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 48px;
    color: #1a1a1a;
}

/* Header */
.adh-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 3px solid #e8342a;
    margin-bottom: 12px;
}
.adh-heading {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px;
    line-height: 1.2;
    color: #111;
}
.adh-tagline { font-size: 0.95rem; margin: 0; color: #444; }
.adh-tagline strong { color: #e8342a; }

.adh-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
.adh-sort-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #999;
}
.adh-sort-select {
    border: 1.5px solid #ddd;
    border-radius: 7px;
    padding: 7px 12px;
    font-size: 0.85rem;
    background: #fff;
    color: #222;
    cursor: pointer;
    min-width: 195px;
}
.adh-sort-select:focus { outline: 2px solid #e8342a; }

.adh-count { font-size: 0.82rem; color: #888; margin: 0 0 20px; }

/* Grid */
.adh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
}

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

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

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

.adh-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 */
.adh-info {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.adh-stars { font-size: 0.75rem; color: #f0a30a; letter-spacing: 1.5px; }
.adh-name {
    font-size: 0.93rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.adh-rating-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.adh-sc { font-size: 0.78rem; font-weight: 800; color: #fff; padding: 2px 7px; border-radius: 5px; }
.adh-ex { background: #1a7f37; }
.adh-vg { background: #2e7d32; }
.adh-gd { background: #558b2f; }
.adh-ok { background: #827717; }
.adh-sl { font-size: 0.78rem; font-weight: 600; color: #333; }
.adh-revs { font-size: 0.73rem; color: #999; }

/* Price */
.adh-price-row {
    display: flex; align-items: baseline; gap: 3px;
    margin-top: auto; padding-top: 9px; border-top: 1px solid #f0f0f0;
}
.adh-price { font-size: 1.55rem; font-weight: 900; color: #e8342a; line-height: 1; }
.adh-night { font-size: 0.72rem; color: #aaa; }

/* CTA */
.adh-btn {
    background: #e8342a;
    color: #fff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 8px;
    margin-top: 8px;
    transition: background .15s;
}
.adh-card:hover .adh-btn { background: #c0392b; }

/* Footer */
.adh-footer { font-size: 0.7rem; color: #bbb; text-align: center; margin-top: 30px; line-height: 1.6; }
.adh-footer a { color: #aaa; text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .adh-header { flex-direction: column; align-items: flex-start; }
    .adh-header-right { align-items: flex-start; }
    .adh-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .adh-heading { font-size: 1.2rem; }
}
@media (max-width: 440px) {
    .adh-grid { grid-template-columns: 1fr; }
    .adh-price { font-size: 1.3rem; }
}
