/* product_detail.css - Modern redesign matching base theme */

.product-image {
    height: 480px;
    background: white;
    transition: var(--transition);
}

.product-image:hover {
    transform: translateY(-8px);
}

.stepper-btn {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stepper .form-control {
    font-size: 1.1rem;
}

/* Badge enhancements */
.badge {
    font-size: 0.9rem;
}

.badge.bg-success {
    font-size: 0.85rem !important;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Discount Price Styling */
.text-decoration-line-through {
    color: #6c757d !important;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

/* Table styling */
.table-details td {
    padding: 0.75rem 0;
    vertical-align: middle;
}

.table-details td:first-child {
    width: 40%;
    color: var(--dark);
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-image {
        height: 380px;
    }
    .card-body {
        padding: 2.5rem !important;
    }
}

@media (max-width: 767px) {
    .product-image {
        height: 320px;
    }
    .card-body {
        padding: 1.5rem !important;
    }

    /* Adjust stepper for tablets */
    .stepper {
        max-width: 200px !important;
    }

    .stepper-btn {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 300px;
    }
    .price-main {
        font-size: 2.5rem !important;
    }
    .d-flex.gap-4 {
        flex-direction: column;
    }
    .stepper {
        width: 100% !important;
        max-width: none !important;
    }

    .stepper-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stepper .form-control {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    /* Mobile add to cart button */
    .btn-primary.w-100 {
        padding: 0.75rem 1rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
    }

    .badge.bg-success {
        font-size: 0.75rem !important;
        padding: 0.3rem 0.6rem;
    }
    .text-decoration-line-through {
        font-size: 1rem;
    }
}