/*
 * Quantity Pricing Table for WooCommerce - Frontend Styles
 * Version: 2.2.0
 * This file is loaded with high priority to override theme styles.
 * Responsive layout is now horizontal scroll instead of stacking.
 */

/* Main container with horizontal scroll for small devices */
.qpt-pricing-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    margin: 2em 0 !important;
    overflow-x: auto; /* Choto device e table scroll korar jonno */
}

/* Uporer main price display */
.price.qpt-default-price {
    font-size: 2em !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1em !important;
}

/* Pricing table er style */
.qpt-pricing-table {
    width: 100% !important;
    border: 1px solid #000000 !important;
    border-collapse: collapse !important;
    margin: 0 !important;
    font-size: 16px !important;
}

/* Table er cell (td) */
.qpt-pricing-table td {
    border: 1px solid #000000 !important;
    padding: 5px 5px !important; /* Apnar request onujayi padding */
    vertical-align: middle !important;
    color: #000000 !important;
    white-space: nowrap; /* Line break bondho kore layout thik rakhar jonno */
}

/* Prothom column (Label) */
.qpt-pricing-table .qpt-label {
    text-align: left !important;
    font-weight: 500 !important;
}

/* Ditiyo column (Price) */
.qpt-pricing-table .qpt-price {
    text-align: center !important;
    font-weight: 700 !important;
}

/* Tritiyo column (Button) */
.qpt-pricing-table .qpt-add-to-cart {
    text-align: center !important;
}

/* 'Add to cart' button */
.qpt-pricing-table .qpt-add-to-cart .button {
    background-color: #ed5454 !important;
    color: #ffffff !important;
    border: 1px solid #ed5454 !important;
    border-radius: 4px !important;
    padding: 8px 15px !important; /* Apnar request onujayi button padding */
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease !important;
    line-height: 1.5 !important;
    display: inline-block !important;
    width: auto !important;
}

.qpt-pricing-table .qpt-add-to-cart .button:hover {
    background-color: #d63c3c !important;
    border-color: #d63c3c !important;
}

/* Tablet er jonno font size adjust kora */
@media (max-width: 768px) {
    .qpt-pricing-table {
        font-size: 15px !important;
    }
}
