/* ===========================================
   INTEGRAL CHECKOUT CSS - DO NOT EDIT
   These rules are required for checkout to function properly
   =========================================== */

/* Prevent iOS zoom on input focus */
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    font-size: 16px !important;
}

/* Hide required field asterisks */
.woocommerce-checkout .required {
    display: none !important;
}

/* Base 12-column grid setup */
.flgb-checkout-billing {
    width: 100%;
    max-width: 100%;
}
.flgb-checkout-billing .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 15px;
}
.flgb-checkout-billing .woocommerce-billing-fields__field-wrapper .form-row {
    grid-column: span 12;
    margin: 0;
    box-sizing: border-box;
}

/* Standard field layout - First name and Last name side by side (50% each = 6 columns) */
#billing_first_name_field,
#billing_last_name_field {
    grid-column: span 6;
    width: 100% !important;
}

/* Standard field layout - City and Postcode side by side (50% each = 6 columns) */
#billing_city_field,
#billing_postcode_field {
    grid-column: span 6;
    width: 100% !important;
}

/* Mobile: Stack standard fields */
@media (max-width: 575px) {
    #billing_first_name_field,
    #billing_last_name_field,
    #billing_city_field,
    #billing_postcode_field {
        grid-column: span 12;
    }
}

/* InPost/Packeta button full width */
.woocommerce-shipping-methods .packeta-inpost-select-btn,
.woocommerce-shipping-methods .button.packeta-inpost-select-btn {
    width: 100% !important;
    display: block !important;
}

/* ===========================================
   ORDER TABLE - Show shipping methods only
   Hides: headings, products, subtotal, total
   =========================================== */

/* Table base */
.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border: none !important;
}

/* Hide everything except shipping row */
#order_review_heading,
.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total,
.woocommerce-checkout-review-order-table .cart-discount,
.woocommerce-checkout-review-order-table .fee,
.woocommerce-checkout-review-order-table .tax-rate,
.woocommerce-checkout-review-order-table .tax-total,
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals th {
    display: none !important;
}

/* Shipping row - full width, no borders */
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
    border: none !important;
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td {
    border: none !important;
    display: block !important;
    width: 100% !important;
}

/* Remove padding/margin from shipping methods container */
.woocommerce-shipping-totals td {
    padding: 0 !important;
    margin: 0 !important;
}

/* Shipping methods list reset */
ul#shipping_method.woocommerce-shipping-methods {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
