#product-details-card .product-details-card {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#product-details-card .discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #ff5252;
    color: #fff;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
}

#product-details-card .product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#product-details-card .product-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #111;
}

#product-details-card .rating-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#product-details-card .rating i {
    color: #ffc107;
    margin-right: 0.1rem;
}

#product-details-card .review-count {
    font-size: 0.85rem;
    color: #666;
    margin-left: 0.5rem;
}

#product-details-card .badges .badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 0.4rem;
    font-weight: 600;
}

#product-details-card .badge-top-seller {
    background: #e0f7fa;
    color: #00796b;
}

#product-details-card .badge-promo {
    background: #fff3e0;
    color: #ef6c00;
}

#product-details-card .features {
    list-style: disc;
    padding-left: 1rem;
    font-size: 0.875rem;
    color: #444;
}

#product-details-card .price-section {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

#product-details-card .old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 0.9rem;
}

#product-details-card .current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #198754;
}

#product-details-card .perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #555;
}

    #product-details-card .perks span {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        background: #f8f9fa;
        padding: 0.3rem 0.5rem;
        border-radius: 0.5rem;
    }

#product-details-card .cta-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#product-details-card .cta-top {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#product-details-card .cta-bottom {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

    #product-details-card .cta-top .btn-cart,
    #product-details-card .cta-bottom .btn-buy-now,
    #product-details-card .cta-bottom .btn-wishlist {
        flex: 1;
    }

#product-details-card .btn-cart,
#product-details-card .btn-buy-now,
#product-details-card .btn-wishlist {
    flex: 1;
    padding: 0.75rem;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

#product-details-card .btn-cart {
    background: #198754;
    color: #fff;
}

    #product-details-card .btn-cart:hover {
        background: #218838;
    }

#product-details-card .btn-buy-now {
    background: #212529;
    color: #fff;
}

    #product-details-card .btn-buy-now:hover {
        background: #333;
    }

#product-details-card .btn-wishlist {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 0.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    #product-details-card .btn-wishlist:hover {
        background: #c82333;
    }

#product-details-card .quantity-selector-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    background: #fff;
}

    #product-details-card .quantity-selector-modern .qty-btn {
        background: #f5f5f7;
        border: none;
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
        cursor: pointer;
        transition: background 0.2s ease, color 0.2s ease;
    }

        #product-details-card .quantity-selector-modern .qty-btn:hover {
            background: #28a745;
            color: #fff;
        }

    #product-details-card .quantity-selector-modern .qty-input {
        width: 6rem;
        text-align: center;
        font-size: 1rem;
        border: none;
        outline: none;
        -moz-appearance: textfield;
    }

        #product-details-card .quantity-selector-modern .qty-input::-webkit-outer-spin-button,
        #product-details-card .quantity-selector-modern .qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
