/*
|--------------------------------------------------------------------------
| MSN Čajevi — Home products section
|--------------------------------------------------------------------------
| Ovaj fajl je dodatak postojećem products.css fajlu.
|--------------------------------------------------------------------------
*/

.msn-home-products-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 4% 8%,
            rgba(111, 157, 68, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 96% 92%,
            rgba(122, 84, 48, 0.055),
            transparent 28%
        ),
        linear-gradient(180deg, #fbfcf9 0%, #ffffff 42%, #fbfcf9 100%);
}

.msn-home-products-section::before,
.msn-home-products-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
}

.msn-home-products-section::before {
    top: 80px;
    left: -110px;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(95, 141, 50, 0.08);
}

.msn-home-products-section::after {
    right: -75px;
    bottom: 45px;
    width: 150px;
    height: 150px;
    background: rgba(95, 141, 50, 0.045);
}

.msn-home-products-section .container {
    position: relative;
    z-index: 1;
}

.msn-home-products-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 38px;
}

.msn-home-products-heading__content {
    max-width: 720px;
}

.msn-home-products-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 10px;
    color: #5f8d32;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.msn-home-products-heading__eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8db75f, #4f7b28);
}

.msn-home-products-heading__title {
    margin: 0;
    color: #172015;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.msn-home-products-heading__description {
    max-width: 650px;
    margin: 14px 0 0;
    color: #687065;
    font-size: 15px;
    line-height: 1.75;
}

.msn-home-products-heading__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding: 12px 0 9px;
    border-bottom: 2px solid #4f7b28;
    color: #26351f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition:
        color 0.25s ease,
        gap 0.25s ease,
        border-color 0.25s ease;
}

.msn-home-products-heading__link:hover {
    gap: 14px;
    border-color: #78a34b;
    color: #5f8d32;
}

.msn-home-products-heading__link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.msn-home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 30px 26px !important;
}

.msn-home-product-grid .msn-product-card {
    min-height: 100%;
}

.msn-home-products-mobile-action {
    display: none;
    margin-top: 26px;
}

.msn-home-products-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 330px;
    padding: 50px 24px;
    border: 1px solid rgba(58, 83, 43, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 40px rgba(24, 39, 20, 0.06);
    text-align: center;
}

.msn-home-products-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(95, 141, 50, 0.11);
    color: #5f8d32;
    font-size: 32px;
}

.msn-home-products-empty h3 {
    margin: 0;
    color: #172015;
    font-size: 24px;
}

.msn-home-products-empty p {
    max-width: 520px;
    margin: 10px auto 0;
    color: #687065;
    line-height: 1.7;
}

@media (max-width: 1199.98px) {
    .msn-home-product-grid {
        gap: 24px 18px !important;
    }
}

@media (max-width: 991.98px) {
    .msn-home-products-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .msn-home-products-heading__link {
        align-self: flex-start;
    }

    .msn-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767.98px) {
    .msn-home-products-section {
        background: linear-gradient(180deg, #fbfcf9 0%, #ffffff 100%);
    }

    .msn-home-products-heading {
        gap: 18px;
        margin-bottom: 24px;
    }

    .msn-home-products-heading__title {
        font-size: 32px;
    }

    .msn-home-products-heading__description {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.65;
    }

    .msn-home-products-heading__link {
        display: none;
    }

    .msn-home-product-grid {
        gap: 18px 10px !important;
    }

    .msn-home-products-mobile-action {
        display: block;
    }
}

@media (max-width: 420px) {
    .msn-home-product-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .msn-home-products-heading__link {
        transition: none;
    }
}
