.hje-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.hje-product-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.hje-product-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

.hje-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hje-product-body {
    padding: 14px;
}

.hje-product-body h3 {
    margin: 8px 0;
    font-size: 18px;
}

.hje-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hje-price-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
    margin: 12px 0;
}

.hje-button,
.hje-agent-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: #2f3ce8;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.hje-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}

.hje-benefits section,
.hje-stat-grid section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.hje-benefits .is-active {
    border-color: #2f3ce8;
    box-shadow: 0 0 0 2px rgba(47, 60, 232, .14);
}

.hje-access-denied {
    max-width: 720px;
    margin: 80px auto;
    padding: 0 24px;
}

.hje-agent-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    font-family: inherit;
}

.hje-agent-toggle {
    width: 64px;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.hje-agent-form {
    display: none;
    width: min(360px, calc(100vw - 36px));
    margin-top: 8px;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(17, 24, 39, .2);
}

.hje-agent-panel.is-open .hje-agent-form {
    display: grid;
    gap: 10px;
}

.hje-agent-form input,
.hje-agent-form textarea {
    width: 100%;
    box-sizing: border-box;
}

.hje-agent-result {
    min-height: 20px;
    margin: 0;
    color: #374151;
}

.hje-admin-grid,
.hje-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}

.hje-stat-grid {
    max-width: 840px;
    margin: 18px 0;
}

.hje-stat-grid strong {
    display: block;
    font-size: 30px;
}
