.il-home-product-grid {
    --il-home-product-ink: #020817;
    --il-home-product-muted: #486070;
    --il-home-product-line: #dfe7ef;
    --il-home-product-green: #2f8f5b;
    --il-home-product-green-soft: #f7fcf8;
    --il-home-product-brand: #e8752d;
    --il-home-product-brand-dark: #c95f1f;
    --il-home-product-navy: #080d2e;
    width: 100%;
}

.il-home-product-grid-title {
    margin: 0 0 24px;
    color: var(--il-home-product-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

.il-home-product-grid-list {
    display: grid;
    grid-template-columns: repeat(var(--il-home-product-columns, 4), minmax(0, 1fr));
    gap: 24px;
}

.il-home-product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--il-home-product-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.il-home-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1.03;
    margin: 14px 14px 0;
    overflow: hidden;
    background: #fafafa;
    text-decoration: none;
}

.il-home-product-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: none !important;
    box-shadow: none !important;
    transform: none;
}

.il-home-product-badge {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--il-home-product-navy);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.il-home-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.il-home-product-name {
    margin: 0 0 7px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.il-home-product-name a {
    color: var(--il-home-product-ink);
    text-decoration: none;
}

.il-home-product-name a:hover,
.il-home-product-name a:focus-visible {
    color: var(--il-home-product-brand);
}

.il-home-product-stock {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.il-home-product-stock.is-in-stock {
    color: var(--il-home-product-green);
}

.il-home-product-stock.is-out-of-stock {
    color: #b42318;
}

.il-home-product-price {
    margin-bottom: 8px;
    color: var(--il-home-product-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
}

.il-home-product-price del,
.il-home-product-price ins {
    text-decoration-thickness: 1px;
}

.il-home-product-purity {
    margin: 0 0 18px;
    color: var(--il-home-product-ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.il-home-product-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-top: auto;
}

.il-home-product-lab,
.il-home-product-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.05;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.il-home-product-lab {
    border: 1px solid #bfe5cc;
    background: var(--il-home-product-green-soft);
    color: var(--il-home-product-green);
}

.il-home-product-lab:not(.is-disabled):hover,
.il-home-product-lab:not(.is-disabled):focus-visible {
    border-color: #8fcf9f;
    color: var(--il-home-product-green);
}

.il-home-product-lab.is-disabled {
    opacity: .7;
    cursor: default;
}

.il-home-product-cart {
    border: 1px solid var(--il-home-product-brand);
    background: var(--il-home-product-brand);
    color: #fff;
}

.il-home-product-cart:hover,
.il-home-product-cart:focus-visible {
    border-color: var(--il-home-product-brand-dark);
    background: var(--il-home-product-brand-dark);
    color: #fff;
}

@media (max-width: 767px) {
    .il-home-product-grid-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .il-home-product-grid-title {
        font-size: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .il-home-product-grid-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
