/* ── Alerts Desktop Page ── */
.hqd-alerts-shell { display: none; }

@media (min-width: 1024px) {
.hqd-alerts-shell {
    display: block !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    position: relative;
    background: #f8fafc;
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* ── Wrap ── */
.hqd-al-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 28px 48px;
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    gap: 24px;
    align-items: start;
}

/* ── Left Sidebar ── */
.hqd-al-sidebar {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: sticky;
    top: 12px;
}
.hqd-al-sidebar-top {
    background: #1a237e;
    padding: 20px 18px 18px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.hqd-al-sidebar-icon {
    width: 34px; height: 34px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.15);
    border-radius: 8px;
    margin-top: 2px;
}
.hqd-al-sidebar-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.hqd-al-sidebar-sub { font-size: 12px; opacity: .72; line-height: 1.45; }
.hqd-al-type-list { padding: 8px 0; }
.hqd-al-type-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background .1s;
    text-decoration: none;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid transparent;
}
.hqd-al-type-item:hover { background: #f0f4ff; color: #1a237e; }
.hqd-al-type-item.is-active {
    background: #eef0fb;
    color: #1a237e;
    font-weight: 700;
    border-left-color: #1a237e;
}
.hqd-al-type-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    opacity: .55;
    display: flex; align-items: center; justify-content: center;
}
.hqd-al-type-item.is-active .hqd-al-type-icon { opacity: 1; }
.hqd-al-type-label { flex: 1; }
.hqd-al-type-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 99px;
    min-width: 22px;
    text-align: center;
}
.hqd-al-type-item.is-active .hqd-al-type-count { background: #1a237e; color: #fff; }
.hqd-al-sidebar-notif {
    margin: 10px 14px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}
.hqd-al-notif-bell {
    width: 36px; height: 36px;
    margin: 0 auto 10px;
    background: #eef0fb;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #1a237e;
}
.hqd-al-notif-title { font-size: 13px; font-weight: 700; color: #1e293b; margin-bottom: 3px; }
.hqd-al-notif-sub { font-size: 11.5px; color: #64748b; margin-bottom: 12px; line-height: 1.4; }
.hqd-al-notif-btn {
    display: block;
    width: 100%;
    background: #1a237e;
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
}
.hqd-al-notif-btn:hover { background: #283593; }

/* ── Main content ── */
.hqd-al-main { min-width: 0; }
.hqd-al-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.hqd-al-page-title-row { margin-bottom: 4px; }
.hqd-al-page-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a237e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hqd-al-dot { width: 10px; height: 10px; background: #f59e0b; border-radius: 50%; display: inline-block; }
.hqd-al-page-sub { font-size: 13px; color: #64748b; margin-top: 2px; }
.hqd-al-main-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hqd-al-sort-select {
    padding: 7px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    cursor: pointer;
}
.hqd-al-view-btn {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: #94a3b8;
    transition: .12s;
}
.hqd-al-view-btn.is-active { background: #1a237e; color: #fff; border-color: #1a237e; }

/* ── Section heading ── */
.hqd-al-section-label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 14px;
}

/* ── Featured cards (Today) ── */
.hqd-al-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.hqd-al-featured-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8ecf4;
    display: flex;
    gap: 0;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .15s, transform .15s;
    text-decoration: none;
}
.hqd-al-featured-card:hover { box-shadow: 0 8px 24px rgba(26,35,153,.1); transform: translateY(-2px); }
.hqd-al-card-img {
    width: 130px;
    min-width: 130px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.hqd-al-card-img img { width: 100%; height: 100%; object-fit: cover; }
.hqd-al-card-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf4 100%);
}
.hqd-al-card-body { padding: 16px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hqd-al-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.hqd-al-badge {
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
}
.hqd-al-time { font-size: 11.5px; color: #94a3b8; }
.hqd-al-card-title { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 6px; line-height: 1.35; }
.hqd-al-card-desc { font-size: 12.5px; color: #64748b; line-height: 1.5; flex: 1; margin-bottom: 12px; }
.hqd-al-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    color: #1a237e;
    text-decoration: none;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.hqd-al-card-cta:hover { color: #3949ab; }
.hqd-al-card-cta svg { transition: transform .12s; }
.hqd-al-card-cta:hover svg { transform: translateX(3px); }

/* ── Compact cards (More for you) ── */
.hqd-al-compact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}
.hqd-al-compact-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    cursor: pointer;
    transition: box-shadow .12s;
    text-decoration: none;
}
.hqd-al-compact-card:hover { box-shadow: 0 4px 14px rgba(26,35,153,.08); border-color: #c7d2fe; }
.hqd-al-compact-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.hqd-al-compact-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hqd-al-compact-body { flex: 1; min-width: 0; }
.hqd-al-compact-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 4px;
}
.hqd-al-compact-title { font-size: 13px; font-weight: 600; color: #1e293b; line-height: 1.3; margin-bottom: 3px; }
.hqd-al-compact-sub { font-size: 11.5px; color: #94a3b8; }
.hqd-al-compact-arrow { color: #cbd5e1; font-size: 18px; flex-shrink: 0; }
.hqd-al-compact-card:hover .hqd-al-compact-arrow { color: #1a237e; }

/* Show more */
.hqd-al-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    margin-top: 8px;
    transition: .12s;
}
.hqd-al-show-more:hover { border-color: #6366f1; color: #4338ca; background: #f0f4ff; }

/* List mode */
.hqd-al-featured-grid.list-mode,
.hqd-al-compact-grid.list-mode {
    grid-template-columns: 1fr;
}

/* ── Right sidebar ── */
.hqd-al-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 12px;
}
.hqd-al-right-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 18px;
}
.hqd-al-right-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 3px;
}
.hqd-al-right-sub { font-size: 12px; color: #94a3b8; margin-bottom: 14px; }

/* Trending list */
.hqd-al-trend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}
.hqd-al-trend-item:last-child { border-bottom: none; }
.hqd-al-trend-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hqd-al-trend-info { flex: 1; min-width: 0; }
.hqd-al-trend-name { font-size: 12.5px; font-weight: 600; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hqd-al-trend-orders { font-size: 11px; color: #16a34a; font-weight: 600; }
.hqd-al-trend-thumb {
    width: 38px; height: 38px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    object-fit: contain;
    flex-shrink: 0;
}
.hqd-al-view-all {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #1a237e;
    text-decoration: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.hqd-al-view-all:hover { color: #3949ab; text-decoration: underline; }

/* Sale banner — flat, no gradient */
.hqd-al-sale-card {
    background: #1a237e;
    border-radius: 12px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hqd-al-sale-badge-icon { display: none; }
.hqd-al-sale-title { font-size: 16px; font-weight: 800; margin-bottom: 5px; }
.hqd-al-sale-sub { font-size: 12px; opacity: .78; margin-bottom: 16px; line-height: 1.4; }
.hqd-al-sale-btn {
    display: inline-block;
    background: #ffbb54;
    color: #1a237e;
    border: none;
    padding: 8px 18px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.hqd-al-sale-btn:hover { background: #f0a83a; color: #1a237e; }

/* Price increase list */
.hqd-al-price-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
}
.hqd-al-price-item:last-child { border-bottom: none; }
.hqd-al-price-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #64748b;
}
.hqd-al-price-name { flex: 1; font-size: 12px; font-weight: 600; color: #1e293b; }
.hqd-al-price-date { font-size: 11px; color: #f59e0b; font-weight: 600; white-space: nowrap; }

/* Empty state */
.hqd-al-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.hqd-al-empty-icon { margin-bottom: 14px; }
.hqd-al-empty-icon svg { opacity: .3; }
.hqd-al-empty h3 { font-size: 17px; color: #475569; margin-bottom: 6px; }
.hqd-al-empty p { font-size: 13px; }

} /* end @media */
