/* Product Grid */
.mps-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--columns, 3), 1fr);
    gap: 30px;
    margin: 40px 0;
}

/* Product Card */
.mps-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mps-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Product Image */
.mps-product-image {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    cursor: pointer;
}

.mps-product-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mps-product-card:hover .mps-product-image img {
    transform: scale(1.08);
}

/* Sale Badge */
.mps-sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

/* Product Info */
.mps-product-info {
    padding: 20px;
}

.mps-product-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.mps-product-title a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s;
}

.mps-product-title a:hover {
    color: #e67e22;
}

/* Product Price */
.mps-product-price {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: bold;
}

.mps-old-price {
    text-decoration: line-through;
    color: #b2bec3;
    font-size: 16px;
    font-weight: normal;
    margin-right: 8px;
}

.mps-current-price {
    color: #e67e22;
    font-size: 22px;
}

.mps-product-excerpt {
    color: #636e72;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* View Button */
.mps-view-button {
    display: inline-block;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    width: 100%;
}

.mps-view-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
    color: white;
}

/* Section Title */
.mps-section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #2d3436;
    position: relative;
}

.mps-section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Single Product Layout */
.mps-single-product {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mps-product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mps-gallery-section {
    position: sticky;
    top: 100px;
}

.mps-main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.mps-main-image img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.mps-thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.mps-thumbnail {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.mps-thumbnail.active {
    border-color: #e67e22;
}

.mps-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.mps-info-section {
    padding: 20px 0;
}

.mps-product-tagline {
    color: #e67e22;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.mps-product-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2d3436;
}

/* Responsive */
@media (max-width: 1024px) {
    .mps-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mps-products-grid {
        grid-template-columns: 1fr;
    }
    .mps-product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mps-gallery-section {
        position: static;
    }
    .mps-product-title {
        font-size: 28px;
    }
}