.resellers-page {
    min-height: calc(100vh - 170px);
    display: block;
}

.resellers-shell {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

.resellers-hero {
    text-align: center;
    padding: 52px 16px 26px;
    background: transparent;
    border: 0;
}

.resellers-eyebrow {
    display: inline-flex;
    color: #f3a4c7;
    border: 1px solid rgba(236, 72, 153, 0.35);
    background: rgba(236, 72, 153, 0.08);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.resellers-hero h1 {
    margin-bottom: 14px;
}

.selected-product-notice,
.reseller-info-box {
    margin: 24px auto 0;
    max-width: 760px;
    padding: 16px 18px;
}

.selected-product-notice {
    border: 1px solid rgba(236, 72, 153, 0.35);
    background: rgba(236, 72, 153, 0.08);
    border-radius: 14px;
    color: var(--text);
}

.reseller-info-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--muted);
    background: rgba(9, 12, 18, 0.78);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.reseller-info-box strong {
    color: var(--text);
}

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

.reseller-card,
.empty-state {
    background: rgba(9, 12, 18, 0.86);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}

.reseller-card {
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.reseller-card:hover {
    transform: translateY(-4px);
    border-color: rgba(236, 72, 153, 0.35);
}

.reseller-card.featured {
    border-color: rgba(236, 72, 153, 0.45);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.08);
}

.reseller-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.reseller-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border);
    flex: 0 0 auto;
}

.reseller-logo-fallback {
    display: grid;
    place-items: center;
    font-weight: 900;
    color: #f3a4c7;
    background: radial-gradient(circle at top, rgba(236, 72, 153, 0.28), rgba(12, 16, 26, 1));
}

.reseller-title-row,
.reseller-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.reseller-title-row h2 {
    font-size: 1.15rem;
    margin: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: 0.72rem;
    font-weight: 900;
}

.pill.pink {
    color: #f3a4c7;
    background: rgba(236, 72, 153, 0.14);
}

.reseller-description {
    min-height: 48px;
}

.reseller-meta {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(19, 24, 38, 0.55);
}

.reseller-meta span {
    color: var(--muted);
    font-size: 0.78rem;
}

.button-small {
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.empty-state {
    text-align: center;
    margin-top: 24px;
}

.empty-state h2 {
    margin-bottom: 8px;
}

.empty-state .button {
    margin-top: 18px;
}

@media (max-width: 640px) {
    .reseller-top {
        align-items: stretch;
        flex-direction: column;
    }

    .button-small {
        width: 100%;
    }
}
