/* Shop Grid - Minimalist Design */

/* Shop grid container */
.shop-minimal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}

/* Product card */
.shop-minimal-card {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #333333;
}

.shop-minimal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Product link wrapper */
.shop-minimal-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Image container */
.shop-minimal-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.shop-minimal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-minimal-card:hover .shop-minimal-image img {
    transform: scale(1.05);
}

/* Caption overlay */
.shop-minimal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    z-index: 2;
}

.shop-minimal-title {
    font-size: 15pt !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif !important;
    color: #FFFFFF;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.shop-minimal-category {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #CCCCCC;
    margin: 0 0 8px 0;
}

.shop-minimal-price {
    font-size: 16px;
    font-weight: 600;
    color: #d5a6f4;
    margin: 0;
}

/* Pagination */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    padding: 20px 0;
}

.shop-pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #999999;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 24px;
}

.shop-pagination-number.active {
    color: #FFFFFF;
    font-weight: 700;
    pointer-events: none;
}

.shop-pagination-number:hover {
    color: #FFFFFF;
}

/* No products message */
.no-products {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
    grid-column: 1 / -1;
}

.no-products h3 {
    color: white;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shop-minimal-grid {
        gap: 15px;
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .shop-minimal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .shop-minimal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .shop-minimal-caption {
        padding: 20px 25px;
    }

    .shop-minimal-title {
        font-size: 16px;
    }

    .shop-minimal-price {
        font-size: 14px;
    }
}

/* Animation on load */
.shop-minimal-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.shop-minimal-card:nth-child(1) { animation-delay: 0.1s; }
.shop-minimal-card:nth-child(2) { animation-delay: 0.2s; }
.shop-minimal-card:nth-child(3) { animation-delay: 0.3s; }
.shop-minimal-card:nth-child(4) { animation-delay: 0.4s; }
.shop-minimal-card:nth-child(5) { animation-delay: 0.5s; }
.shop-minimal-card:nth-child(6) { animation-delay: 0.6s; }
.shop-minimal-card:nth-child(7) { animation-delay: 0.7s; }
.shop-minimal-card:nth-child(8) { animation-delay: 0.8s; }
.shop-minimal-card:nth-child(9) { animation-delay: 0.9s; }
