﻿
.shining-product-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fefaf0 100%);
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.shining-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.3), 0 0 80px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.3);
}

.background-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient( circle at center, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 30%, transparent 70% );
    opacity: 0;
    transition: opacity 0.6s ease;
    animation: rotateGlow 8s linear infinite;
}

.shining-product-card:hover .background-glow {
    opacity: 1;
}

.sparkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 2%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, transparent 2%), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 2%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.shining-product-card:hover .sparkle-overlay {
    opacity: 0.6;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #fefaf0 0%, #fff9e6 100%);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.shining-product-card:hover .product-image {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1);
}

.image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.6), transparent );
    transition: left 0.8s ease;
    z-index: 3;
}

.shining-product-card:hover .image-shine {
    left: 100%;
}

.product-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 4;
}

.discount-tag, .new-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.discount-tag {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

.new-tag {
    background: linear-gradient(135deg, #D4AF37, #F4E4A6);
    color: #000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    animation: goldPulse 2s ease-in-out infinite;
}

.tag-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.discount-tag:hover .tag-glow,
.new-tag:hover .tag-glow {
    left: 100%;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.9) 0%, rgba(212, 175, 55, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 4;
}

.shining-product-card:hover .image-overlay {
    opacity: 1;
}

.action-buttons-Cart {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    transform: translateY(30px);
    transition: transform 0.6s ease 0.2s;
}

.shining-product-card:hover .action-buttons {
    transform: translateY(0);
}

.view-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 0.3s;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.view-btn:hover .btn-shine {
    left: 100%;
}

.shining-product-card:hover .view-btn {
    opacity: 1;
    transform: scale(1);
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.05);
}

.wishlist-btn {
    position: relative;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease 0.4s;
}

.heart-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: heartBeat 2s ease-in-out infinite;
}

.shining-product-card:hover .wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.product-category {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
    width: fit-content;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.category-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.6s ease;
}

.product-category:hover .category-glow {
    left: 100%;
}

.product-title {
    margin: 0;
    position: relative;
}

    .product-title a {
        color: #333;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1.4;
        transition: all 0.3s ease;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        position: relative;
    }

.title-text {
    position: relative;
    z-index: 2;
}

.title-glow {
    position: absolute;
    top: 0;
    left: 0;
    color: transparent;
    background: linear-gradient(135deg, #D4AF37, #F4E4A6);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-title a:hover .title-glow {
    opacity: 0.3;
}

.product-title a:hover {
    color: #D4AF37;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars-container {
    position: relative;
}

.stars {
    display: flex;
    gap: 3px;
}

    .stars i {
        font-size: 0.9rem;
        color: #ddd;
        position: relative;
        z-index: 2;
    }

        .stars i.filled {
            color: #FFD700;
        }

.star-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: currentColor;
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stars i:hover .star-glow {
    opacity: 0.5;
}

.rating-sparkle {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    background: #FFD700;
    border-radius: 50%;
    filter: blur(2px);
    animation: sparkleTwinkle 3s ease-in-out infinite;
}

.rating-text {
    color: #666;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-price {
    margin-top: auto;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.original-price {
    color: #999;
    font-size: 0.85rem;
    text-decoration: line-through;
}

.final-price {
    position: relative;
    color: #D4AF37;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
}

    .final-price.single {
        font-size: 1.3rem;
    }

.price-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #D4AF37, #F4E4A6);
    filter: blur(8px);
    opacity: 0.3;
    z-index: -1;
    animation: priceGlow 2s ease-in-out infinite;
}

.quick-actions {
    margin-top: 15px;
}

.quick-cart-btn {
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cart-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F4E4A6, #D4AF37);
    opacity: 0;
    animation: cartPulse 2s ease-in-out infinite;
}

.quick-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

    .quick-cart-btn:hover .cart-pulse {
        opacity: 0.3;
    }

.shining-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.glowing-corner {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.top-left {
    top: -20px;
    left: -20px;
}

.top-right {
    top: -20px;
    right: -20px;
}

.bottom-left {
    bottom: -20px;
    left: -20px;
}

.bottom-right {
    bottom: -20px;
    right: -20px;
}

.shining-product-card:hover .glowing-corner {
    opacity: 0.6;
}

.floating-sparkle {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0;
    animation: floatAround 6s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.sparkle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shining-product-card:hover .floating-sparkle {
    opacity: 0.7;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
    }
}

@keyframes goldPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
}

@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
@keyframes priceGlow {
    0%, 100% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes cartPulse {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 0.3;
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0;
    }

    25% {
        transform: translateY(-10px) rotate(90deg) scale(1.2);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px) rotate(180deg) scale(1);
        opacity: 1;
    }

    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.2);
        opacity: 0.7;
    }
}

@media (max-width: 1200px) {
    .product-image {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .shining-product-card {
        margin-bottom: 25px;
    }

    .product-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .shining-product-card {
        border-radius: 20px;
    }

    .product-image {
        height: 160px;
    }

    .floating-sparkle {
        font-size: 1rem;
    }
}

