/* ====================================================
   MINIMALIST LUXURY CATALOGUE CARD 
   Premium Sale Badge Design
==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CARD WRAPPER --- */
.minimal-card-wrapper {
    margin-bottom: 40px;
    text-align: center;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.minimal-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* --- IMAGE CONTAINER --- */
.minimal-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f8f8f8;
}

.minimal-card-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: opacity 0.4s ease-in-out;
}

.minimal-card-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.minimal-card-wrapper:hover .minimal-card-image .hover-img {
    opacity: 1;
}

/* Optional: Slight zoom on container instead of image to avoid jitter */
.minimal-card-wrapper:hover .minimal-card-image {
    /* transform: scale(1.02); eliminated scale to keep it simple first, or keep it if desired */
}

/* ====================================================
   PREMIUM SALE BADGE - Animated & Eye-Catching
==================================================== */
.minimal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 16px;
    z-index: 10;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

/* Animated Glow Effect */
@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 255, 255, 0.1);
    }
}

/* Red/Pink Variant Badge */
.minimal-badge.badge-hot {
    background: linear-gradient(135deg, #e8547c 0%, #d63c6a 100%);
    animation: badgeHotPulse 2s ease-in-out infinite;
}

@keyframes badgeHotPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(232, 84, 124, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(232, 84, 124, 0.7);
    }
}

/* Discount Percentage Badge */
.minimal-badge-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 50px;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(229, 62, 62, 0.4);
}

/* --- TEXT STYLES --- */
.minimal-category {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
    font-weight: 500;
}

.minimal-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
    padding: 0 10px;
}

.minimal-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.minimal-title a:hover {
    color: #e8547c;
}

/* --- PRICING --- */
.minimal-price {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.minimal-price .old-price {
    color: #aaa;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
}

.minimal-price .new-price {
    color: #e53e3e;
    font-weight: 700;
    font-size: 18px;
}

.minimal-price .standard-price {
    color: #1a1a1a;
    font-weight: 600;
}

/* --- CARD CONTENT PADDING --- */
.minimal-card-content {
    padding: 0 15px 20px;
}

/* --- ADD TO CART BUTTON STYLING --- */
.minimal-card-wrapper .add-cart-form {
    margin-top: 15px;
}

.minimal-card-wrapper .btn-outline-dark {
    border: 2px solid #1a1a1a;
    background: transparent;
    color: #1a1a1a;
    font-weight: 600;
    transition: all 0.3s ease;
}

.minimal-card-wrapper .btn-outline-dark:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .minimal-badge {
        padding: 6px 12px;
        font-size: 10px;
    }

    .minimal-title {
        font-size: 16px;
    }

    .minimal-price .new-price {
        font-size: 16px;
    }
}