/* Frontend Styles */
.msw-products-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.msw-columns-1 { grid-template-columns: repeat(1, 1fr); }
.msw-columns-2 { grid-template-columns: repeat(2, 1fr); }
.msw-columns-3 { grid-template-columns: repeat(3, 1fr); }
.msw-columns-4 { grid-template-columns: repeat(4, 1fr); }
.msw-columns-5 { grid-template-columns: repeat(5, 1fr); }
.msw-columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 768px) {
    .msw-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .msw-products-grid {
        grid-template-columns: 1fr !important;
    }
}

.msw-product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #fff;
}

.msw-product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.msw-product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.msw-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease;
}

.msw-product-card:hover .msw-product-image img {
    transform: scale(1.05);
}

.msw-product-content {
    padding: 15px;
}

.msw-product-title {
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.4;
}

.msw-product-title a {
    color: #333;
    text-decoration: none;
}

.msw-product-title a:hover {
    color: #0073aa;
}

.msw-product-store {
    margin-bottom: 10px;
    color: #666;
    font-size: 12px;
}

.msw-product-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.msw-product-price del {
    color: #999;
    font-size: 14px;
    margin-right: 8px;
}

.msw-product-price ins {
    text-decoration: none;
    color: #e74c3c;
}

.msw-product-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    text-align: center;
    width: 100%;
}

.msw-product-button:hover {
    background: #005177;
    color: #fff;
}

/* Pagination */
.msw-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
}

.msw-pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.msw-pagination a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.msw-pagination-current {
    background: #0073aa !important;
    color: #fff !important;
    border-color: #0073aa !important;
}