.ps-grid-a1d15a9e {
    display: grid;
    grid-template-columns: repeat(var(--ps-cols, 4), 1fr);
    gap: 20px; /* Default gap, can be overridden by Elementor setting */
}

@media (max-width: 1024px) {
    .ps-grid-a1d15a9e {
        grid-template-columns: repeat(min(var(--ps-cols, 4), 3), 1fr);
    }
}

@media (max-width: 768px) {
    .ps-grid-a1d15a9e {
        grid-template-columns: repeat(min(var(--ps-cols, 4), 2), 1fr);
    }
}

@media (max-width: 480px) {
    .ps-grid-a1d15a9e {
        grid-template-columns: 1fr;
    }
}

.ps-card-a1d15a9e {
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.ps-card-a1d15a9e:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ps-image-link-a1d15a9e img {
    width: 100%;
    height: auto;
    display: block;
}

.ps-content-a1d15a9e {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ps-title-a1d15a9e {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 600;
}

.ps-title-a1d15a9e a {
    color: #333;
    text-decoration: none;
}

.ps-price-a1d15a9e {
    margin-bottom: 15px;
    color: #666;
    font-weight: bold;
}

.ps-add-to-cart-a1d15a9e {
    margin-top: auto;
}

.ps-add-to-cart-a1d15a9e .button {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.ps-add-to-cart-a1d15a9e .button:hover {
    background: #555;
}
