/* Style for Mobile Optimized Products Widget */
.pmg-dff536a0-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
}

/* On Desktop / Tablet, keep it beautifully structured but still robust */
@media (min-width: 768px) {
    .pmg-dff536a0-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.pmg-dff536a0-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.pmg-dff536a0-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pmg-dff536a0-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.pmg-dff536a0-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pmg-dff536a0-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.pmg-dff536a0-title {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.pmg-dff536a0-title a {
    color: inherit;
    text-decoration: none;
}

.pmg-dff536a0-price {
    font-size: 14px;
    color: #111;
    font-weight: 700;
    margin-bottom: 8px;
}

.pmg-dff536a0-price del {
    font-size: 12px;
    color: #777;
    margin-right: 4px;
}

.pmg-dff536a0-add-to-cart {
    margin-top: auto;
}

.pmg-dff536a0-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #111 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.pmg-dff536a0-btn:hover {
    background-color: #333 !important;
}
