.home-top-picks-section {
    background: #ffffff;
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

.home-top-picks-section .container {
    width: 90%;
    max-width: 90%;
}

.home-top-picks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.home-top-picks-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.home-top-picks-view-all {
    color: var(--brand-primary, #0379c3);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-top-picks-view-all:hover {
    color: #111827;
}

.home-top-picks-tabs {
    display: flex;
    border: 1px solid #e8edf2;
    margin-bottom: 0;
}

.home-top-picks-tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.95rem 0.75rem;
    border: 0;
    border-right: 1px solid #e8edf2;
    background: #ffffff;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-top-picks-tab:last-child {
    border-right: 0;
}

.home-top-picks-tab.is-active {
    background: var(--brand-primary, #0379c3);
    color: #ffffff;
}

.home-top-picks-tab:hover:not(.is-active) {
    background: #fff7f0;
}

.home-top-picks-panels {
    border: 1px solid #e8edf2;
    border-top: 0;
    background: #ffffff;
}

.home-top-picks-panel {
    display: none;
}

.home-top-picks-panel.is-active {
    display: block;
}

.home-top-picks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-top-picks-item {
    border-right: 1px solid #e8edf2;
    border-bottom: 1px solid #e8edf2;
    min-width: 0;
}

.home-top-picks-item:nth-child(4n) {
    border-right: 0;
}

.home-top-picks-item:nth-last-child(-n + 4) {
    border-bottom: 0;
}

.home-top-picks-card {
    display: flex;
    align-items: stretch;
    gap: 0.85rem;
    min-height: 100%;
    padding: 0.9rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.home-top-picks-card:hover {
    background: #fafbfd;
}

.home-top-picks-card-media {
    flex: 0 0 5.5rem;
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #edf1f5;
    background: #ffffff;
    overflow: hidden;
}

.home-top-picks-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.35rem;
}

.home-top-picks-card-placeholder {
    color: #cbd5e1;
    font-size: 1.5rem;
}

.home-top-picks-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.home-top-picks-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    color: #111827;
}

.home-top-picks-card-sku {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-primary, #0379c3);
}

.home-top-picks-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.home-top-picks-card-stars {
    display: inline-flex;
    gap: 0.06rem;
    color: #fbbf24;
    font-size: 0.62rem;
}

@media (max-width: 1199.98px) {
    .home-top-picks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-top-picks-item:nth-child(4n) {
        border-right: 1px solid #e8edf2;
    }

    .home-top-picks-item:nth-child(2n) {
        border-right: 0;
    }

    .home-top-picks-item:nth-last-child(-n + 4) {
        border-bottom: 1px solid #e8edf2;
    }

    .home-top-picks-item:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    .home-top-picks-tabs {
        flex-direction: column;
    }

    .home-top-picks-tab,
    .home-top-picks-tab:nth-child(2n),
    .home-top-picks-tab:last-child:nth-child(odd) {
        flex: 1 1 auto;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e8edf2;
        text-align: left;
        min-height: 44px;
    }

    .home-top-picks-tab:last-child {
        border-bottom: 0;
    }

    .home-top-picks-grid {
        grid-template-columns: 1fr;
    }

    .home-top-picks-item {
        border-right: 0;
    }

    .home-top-picks-item:not(:last-child) {
        border-bottom: 1px solid #e8edf2;
    }

    .home-top-picks-item:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .home-top-picks-tabs {
        flex-direction: column;
    }

    .home-top-picks-tab,
    .home-top-picks-tab:nth-child(2n),
    .home-top-picks-tab:last-child:nth-child(odd) {
        flex: 1 1 auto;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid #e8edf2;
        text-align: left;
    }

    .home-top-picks-tab:last-child {
        border-bottom: 0;
    }

    .home-top-picks-card-media {
        flex-basis: 4.75rem;
        width: 4.75rem;
        height: 4.75rem;
    }
}
