/* ===================================
   PRODUCT IMAGE
=================================== */

.product-main-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* ===================================
   PRODUCT TEXT
=================================== */

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.product-description {
    font-size: 15px;
    color: #555;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #28a745;
}

.product-stock {
    font-size: 16px;
    color: #333;
}

/* Quantity Box */
.qty-box {
    width: 70px;
    margin-right: 10px;
    font-size: 16px;
    padding: 4px;
    border-radius: 6px;
}

/* ===================================
   RELATED PRODUCTS
=================================== */

.related-grid {
    gap: 12px;
}

.related-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    transition: 0.25s ease;
    border: 1px solid #e1e1e1;
}

.related-item:hover {
    background: #e9f6ff;
    transform: scale(1.05);
}

.related-link {
    text-decoration: none;
    font-weight: 600;
    color: #333;
}

.related-link:hover {
    color: #0d6efd;
}

/* ===================================
   ADD-TO-CART ANIMATION SUPPORT
=================================== */

.fly-img {
    position: absolute;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    z-index: 9999;
    transition: transform 0.7s cubic-bezier(.45,1.58,.46,.84);
}

.cart-pulse {
    animation: pulseCart 0.5s ease;
}

@keyframes pulseCart {
    50% { transform: scale(1.25); color: #28a745; }
}

.btn-bounce {
    animation: bounce 0.4s ease;
}

@keyframes bounce {
    40% { transform: scale(0.9); }
    70% { transform: scale(1.05); }
}
