/* Variety page — page-specific styles */
/* KB layout (kb-page, kb-grid, filter-pills-row) lives in style.css */

/* ── Compact variety card info section ─────────────────────────────── */

/* Shorter image */
.kb-grid .vc-thumb {
    height: 68px;
    margin-bottom: 2px;
}

/* Tighter column gap between all info rows */
.variety-card .vc-main {
    gap: 2px;
    padding-bottom: 4px;
}

/* Season tag — less vertical breathing room */
.variety-card .vc-tag {
    padding-top: 1px;
    padding-bottom: 1px;
    margin-bottom: 1px;
}

/* Name — slightly tighter */
.variety-card .vc-name {
    font-size: 0.82rem;
    line-height: 1.15;
}

/* Hindi name inline with less height */
.variety-card .vc-name-hi {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Altitude row tighter */
.variety-card .vc-altitude {
    font-size: 0.65rem;
}

/* Footer — reduce the gap above it */
.variety-card .vc-footer {
    margin-top: 2px;
    padding-top: 4px;
}

/* Filter pills — sticky below the app header */
.filter-scroller {
    position: sticky;
    top: var(--header-h, 60px);
    z-index: 40;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin: 0 -16px var(--space-md);
    padding: var(--space-xs) 16px var(--space-sm);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Season filter active colors */
.filter-pill[data-filter="early"].active     { background: #f97316; border-color: #f97316; }
.filter-pill[data-filter="mid"].active       { background: var(--color-primary); border-color: var(--color-primary); }
.filter-pill[data-filter="late"].active      { background: #7c3aed; border-color: #7c3aed; }
.filter-pill[data-filter="very_late"].active { background: #1d4ed8; border-color: #1d4ed8; }

/* Hidden card state */
.kb-grid .variety-card[hidden] { display: none; }

/* ── Variety card action buttons — full-width with labels ── */
.vc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 10px;
    justify-content: unset;
}

.vc-act-btn {
    width: 100%;
    height: 34px;
    border-radius: 8px;
    flex-direction: row;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-500);
}

.vc-act-btn span {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.vc-act-btn[data-action="like"]:not(.liked):hover  { background: #fef2f2; color: #ef4444; }
.vc-act-btn[data-action="save"]:not(.saved):hover  { background: #fffbeb; color: var(--color-accent); }

.vc-act-btn.liked { background: #fef2f2; color: #ef4444; }
.vc-act-btn.liked i { font-weight: 900; }

.vc-act-btn.saved { background: #fffbeb; color: var(--color-accent); }
.vc-act-btn.saved i { font-weight: 900; }

/* ── Desktop ─────────────────────────────── */
@media (min-width: 1024px) {
    .kb-grid .vc-thumb { height: 110px; }
    .kb-grid .variety-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
}
