/* ============================================================
   PRODUCT CARD - COMPLETE
   ============================================================ */

/* ===== BASE ===== */
.product-card {
    background: #1a1a1a;
    border-radius: 16px;
    border: 1px solid #2d2d2d;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin-bottom: 30px;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
}

.product-card.error {
    padding: 20px;
    text-align: center;
    color: #ff6b6b;
}

/* ===== IMAGE ===== */
.product-image-link {
    display: block;
    text-decoration: none;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background: #0a0a0a;
}

.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

/* ===== BADGES ===== */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-featured {
    background: linear-gradient(135deg, #ffd700, #f0a500);
    color: #0a0a0a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseGold 2s infinite;
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulseSale 2s infinite;
}

.badge-soldout {
    background: rgba(45, 45, 45, 0.9);
    color: #ff6b6b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* ===== ACTIONS ===== */
.product-actions {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #2d2d2d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 14px;
    border: none;
}

.action-btn:hover {
    background: #ffd700;
    color: #0a0a0a;
    border-color: #ffd700;
    transform: scale(1.1);
}

.action-btn.wishlist-btn:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}

/* ===== INFO ===== */
.product-info {
    padding: 18px 20px 20px;
}

/* ===== RATING ===== */
.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.product-rating .fa-star {
    font-size: 13px;
    color: #2d2d2d;
}

.product-rating .fa-star.filled {
    color: #ffd700;
}

.rating-count {
    color: #666;
    font-size: 12px;
    margin-left: 6px;
}

/* ===== NAME ===== */
.product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.product-name a:hover {
    color: #ffd700;
}

/* ===== NOTES ===== */
.product-notes {
    margin-bottom: 10px;
}

.notes-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #a0a0a0;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.note-item:nth-child(1) { animation-delay: 0.1s; }
.note-item:nth-child(2) { animation-delay: 0.2s; }
.note-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.note-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.note-dot.top {
    background: #ff6b6b;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.note-dot.heart {
    background: #ffd93d;
    animation: pulseDot 1.5s ease-in-out 0.3s infinite;
}

.note-dot.base {
    background: #6bcb77;
    animation: pulseDot 1.5s ease-in-out 0.6s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.note-text {
    font-size: 12px;
    color: #a0a0a0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== META ===== */
.product-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.product-type {
    color: #666;
    font-size: 11px;
    background: #0a0a0a;
    padding: 2px 10px;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
}

.gender-badge {
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gender-male {
    background: rgba(77, 150, 255, 0.2);
    color: #4d96ff;
    border: 1px solid rgba(77, 150, 255, 0.3);
}

.gender-female {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.gender-unisex {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* ===== PRICE ===== */
.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
}

.old-price {
    font-size: 14px;
    color: #666;
    text-decoration: line-through;
}

/* ===== BUTTONS ===== */
.product-buttons {
    display: flex;
    gap: 10px;
}

.btn-add-cart {
    flex: 1;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ffd700, #f0a500);
    border: none;
    border-radius: 8px;
    color: #0a0a0a;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-buy-now {
    padding: 10px 16px;
    background: transparent;
    border: 2px solid #ffd700;
    border-radius: 8px;
    color: #ffd700;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-buy-now:hover {
    background: #ffd700;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
}

@keyframes pulseSale {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .product-buttons {
        flex-direction: column;
    }
    
    .btn-add-cart,
    .btn-buy-now {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .product-card {
        max-width: 100%;
    }
}