/* ── Agoda Singapore General Hotels v1.0 ─────────────────────────────── */
.asg-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 48px;
    color: #1a1a1a;
}

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

.asg-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
.asg-sort-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #999;
}
.asg-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: 260px;
}
.asg-sort-select:focus { outline: 2px solid #c8102e; }

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

/* ── Area legend pills ── */
.asg-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.asg-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: .02em;
}
.asg-pill-central  { background: #fce4ec; color: #b71c1c; }
.asg-pill-sentosa  { background: #e8f5e9; color: #1b5e20; }
.asg-pill-sg       { background: #e3f2fd; color: #01579b; }

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

/* ── Card ── */
.asg-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;
}
.asg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.13);
}

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

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

/* Area tag on image */
.asg-area-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 5px;
    letter-spacing: .03em;
    backdrop-filter: blur(4px);
}
.asg-zone-central  { background: rgba(183,28,28,0.85);  color: #fff; }
.asg-zone-sentosa  { background: rgba(27,94,32,0.85);   color: #fff; }
.asg-zone-sg       { background: rgba(1,87,155,0.85);   color: #fff; }

/* ── Info ── */
.asg-info {
    padding: 13px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}
.asg-stars { font-size: 0.78rem; color: #f0a30a; letter-spacing: 1px; white-space: nowrap; }
.asg-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 */
.asg-rating-row { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.asg-sc {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    padding: 2px 7px;
    border-radius: 5px;
}
.asg-ex { background: #1b5e20; }
.asg-vg { background: #1a7f37; }
.asg-gd { background: #2e7d32; }
.asg-ok { background: #558b2f; }
.asg-sl { font-size: 0.78rem; font-weight: 600; color: #333; }
.asg-revs { font-size: 0.73rem; color: #999; }

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

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

/* Footer — button only */
.asg-footer {
    text-align: center;
    margin-top: 36px;
}
.asg-view-all {
    display: inline-block;
    background: #c8102e;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 10px;
    letter-spacing: .02em;
    transition: background .15s, transform .15s;
    box-shadow: 0 4px 14px rgba(200,16,46,.3);
}
.asg-view-all:hover {
    background: #a50d27;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(200,16,46,.4);
}

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