/* --- Custom Product Card (Modern Minimalist) --- */
.custom-product-card {
    /* background: #3f0000; */
    padding-top: 3rem;
    border-radius: 16px;
    /* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
    overflow: hidden;
    transition: box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    min-width: 280px;
    min-height: 360px;
    gap: 1rem;
    height: auto;
    margin: 0;
}
.custom-product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}
.custom-image-container {
    position: relative;
    width: 100%;
    height: 360px;
    max-width: 100%;
    max-height: 380px;
    /* background: #10ca83; */
    overflow: hidden;

}

.custom-product-image {
    width: 100%;
    height: 100%;
    object-fit:cover;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    display: block;
    /* background: #1e0dbd; */
}
.custom-product-card:hover .custom-product-image {
    transform: scale(1.09);
}
/* --- BADGES --- */
.custom-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
    opacity: 0.92;
    letter-spacing: 0.5px;
    min-width: 56px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}
.custom-badge + .custom-badge {
    top: auto;
    margin-top: 28px;
    /* Stacks badges vertically with spacing */
}
/* Individual badge styles for easy customization */
.custom-badge-new {
    background: #28a745;
    color: #fff;
    border-radius: 14px;
    width: 64px;
    height: 26px;
}
.custom-badge-featured {
    background: #007bff;
    color: #fff;
    border-radius: 14px;
    width: 80px;
    height: 26px;
}
.custom-badge-sale {
    background: #ff3366;
    color: #fff;
    border-radius: 14px;
    width: 56px;
    height: 26px;
}
.custom-badge-bestseller {
    background: #ffc107;
    color: #222;
    border-radius: 14px;
    width: 90px;
    height: 26px;
}
/* --- END BADGES --- */
.custom-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
    color: #ff3366;
    font-size: 1.1rem;
    opacity: 0.92;
    transition: background 0.2s, color 0.2s;
}
.custom-wishlist-btn.active,
.custom-wishlist-btn:hover {
    background: #ff3366;
    color: #fff;
}
.custom-btn-view-details {
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%) translateY(40px);
    /* background: rgba(34,34,34,0.92); */
    background-color: rgba(0, 0, 0, 0.589);
    backdrop-filter: blur(4px);
    border-color: 2px solid orange;
    color: orange;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s, transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    text-decoration: none;
}
.custom-product-card:hover .custom-btn-view-details {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.custom-product-info {
    background: #ffffff00;
    padding: 5px 12px 5px 12px;
    text-align: center;
    /* border-top: 1px solid #f0f0f0; */
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.25s;
    z-index: 1;
}
.custom-product-card:hover .custom-product-info {
    transform: translateY(-20px);
    opacity: 0.92;
}
.custom-product-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.custom-price-original {
    color: #aaa;
    text-decoration: line-through;
    font-size: 0.98rem;
    font-weight: 400;
}
.custom-price-sale {
    color: #ff3366;
    font-weight: 700;
    font-size: 1.08rem;
}
.custom-price-regular {
    color: #222;
    font-weight: 600;
    font-size: 1.08rem;
}
/* Hide Add to Cart button if present (safety) */
.custom-btn-add-to-cart,
.custom-product-card .custom-btn-add-to-cart { display: none !important; }

.shop-product-row {
    display: flex;
    flex-wrap:wrap;
    gap: 3rem;
}
.shop-product-row > [class^="col-"] {
    padding: 0;
}

@media (max-width: 768px) {
    .custom-product-card {
        max-width: 100%;
        min-width: 0;
    }
    .custom-image-container {
        height: 360px;
        max-height: 400px;
    }
    .custom-product-image {
        max-height: 400px;
    }
}