.openweb-product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 28px;
    row-gap: 36px;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
}

.openweb-product-grid::before,
.openweb-product-grid::after {
    display: none !important;
    content: none !important;
}

.openweb-product-card {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0;
    list-style: none !important;
    box-sizing: border-box;
}

.openweb-product-image {
    display: block;
    width: 100%;
    margin: 0 0 14px;
    text-decoration: none !important;
}

.openweb-product-image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 300px;
    margin: 0 !important;
    object-fit: contain;
}

.openweb-product-title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.25;
}

.openweb-product-title a {
    text-decoration: none !important;
}

.openweb-product-price {
    display: block;
    margin: 0 0 14px;
}

.openweb-product-price del {
    opacity: .65;
}

.openweb-product-price ins {
    text-decoration: none;
}

.openweb-buy-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    margin: 0 !important;
    padding: 14px 24px;
    border: 0;
    text-decoration: none !important;
    line-height: 1.2;
    cursor: pointer;
}

.openweb-button-full-yes .openweb-buy-button {
    display: flex !important;
    width: 100% !important;
}

.openweb-product-card .added_to_cart {
    display: block;
    margin-top: 8px;
}

.openweb-products-empty {
    width: 100%;
}

/* Keep two columns by default even on mobile; Elementor responsive controls can override this. */
@media (max-width: 767px) {
    .openweb-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        column-gap: 12px;
        row-gap: 24px;
    }

    .openweb-product-image img {
        height: 190px;
    }
}
