/*
 * Copyright ETS Software Technology Co., Ltd
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 website only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses.
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future.
 *
 * @author ETS Software Technology Co., Ltd
 * @copyright  ETS Software Technology Co., Ltd
 * @license    Valid for 1 website (or project) for each purchase of license
 */

.layout.layout_3 .block-additional-info .form-group .col-md-3.form-control-label,
.layout.layout_3 .block-additional-info .form-group .col-md-8.ets-opc-field-right {
    width: 100%!important;
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;
}
.layout.layout_3 .block-additional-info .form-group .col-md-8.ets-opc-field-right {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.layout.layout_4 #customer-login .captcha_field {
    margin-left: -15px;
    margin-right: -15px;
    text-align: left;
}
.layout.layout_4 #customer-login .captcha_field div {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}
@media (min-width: 1200px) {
    form#ets-opc-checkout-form.layout.layout_3 .product-line-grid-right.product-line-actions {
        width: 100%;
    }
    form#ets-opc-checkout-form.layout.layout_3 .product-line-grid-body {
        width: calc(100% - 100px);
    }
    form#ets-opc-checkout-form.layout.layout_4 .product-line-grid-right.product-line-actions {
        width: 100%;
    }
    form#ets-opc-checkout-form.layout.layout_4 .product-line-grid-body {
        width: calc(100% - 100px);
    }
}
/* --- ĐỒNG BỘ CSS VÀ FIX LAYOUT CHO INVOICE ADDRESS --- */
/* Ép kiểu nhãn nằm trên ô nhập liệu cho cả Shipping và Invoice trên Layout 1 */
.layout.layout_1 .js-address-form.shipping_address .form-group.row,
.layout.layout_1 .js-address-form.invoice_address .form-group.row {
    /* display: flex !important; */
    flex-direction: column !important;
    margin-bottom: 15px !important;
}
.layout.layout_1 .js-address-form.shipping_address .form-control-label,
.layout.layout_1 .js-address-form.invoice_address .form-control-label {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
}
.layout.layout_1 .js-address-form.shipping_address .ets-opc-field-right,
.layout.layout_1 .js-address-form.invoice_address .ets-opc-field-right {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
.layout_2 .ets-opc-checkout label.form-control-label {
    padding-right: 25px;
}
form#ets-opc-checkout-form.layout_1 .ets-opc-checkout label.form-control-label,
form#ets-opc-checkout-form.layout_1 .ets-opc-checkout label.form-control-label + .ets-opc-field-right {
    width: 100%;
    text-align: left;
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}
form#ets-opc-checkout-form.layout_1 .block-customer .form-group.row > div {
    padding-left: 0;
    padding-right: 0;
}
form#ets-opc-checkout-form.layout_1 .block-customer .form-group.row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}
form#ets-opc-checkout-form.layout_1 .ets-opc-checkout.block-additional-info .ets-opc-field-right {
    padding-left: 15px;
    padding-right: 15px;
}
.layout_3 .ets-opc-checkout .product-line-grid-left span.product-image {
    display: block;
    margin-bottom: 15px;
}
.layout_4 .ets-opc-checkout .product-line-grid-left span.product-image {
    display: block;
    margin-bottom: 15px;
}
.layout_4 .ets-opc-checkout .col-md-4.form-control-label,.layout_4 .ets-opc-checkout .col-md-3.form-control-label {
    text-align: left;
}
form#ets-opc-checkout-form.layout_2 #customer-login .type-checkout-option.login.ets-opc-forgot-submit .col-md-8 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 10px;
}
form#ets-opc-checkout-form.layout_2 #customer-login .type-checkout-option.login.ets-opc-forgot-submit button.btn-primary {
    width: auto;
    margin: 0 auto;
}
form#ets-opc-checkout-form.layout_2 #customer-login .type-checkout-option.login.ets-opc-forgot-submit .forgot-password {
    margin-bottom: 0;
}
.layout_2 .type-checkout-option.captcha_field,.layout_2 .type-checkout-option.captcha_field div {
    text-align: left;
}
.layout_2 .type-checkout-option.captcha_field {
    margin-left: -15px;
    margin-right: -15px;
}
.layout_2 .type-checkout-option.captcha_field .col-md-8 div {
    margin-left: 0;
}
form#ets-opc-checkout-form.layout_2 .col-md-4.form-control-label {
    width: 100%;
    max-width: 100%;
    text-align: left;
    min-height: 0;
}
form#ets-opc-checkout-form.layout_2 .col-md-8.ets-opc-field-right,
form#ets-opc-checkout-form.layout_3 .col-md-8.ets-opc-field-right{
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}
form#ets-opc-checkout-form.layout_4 .col-md-8.ets-opc-field-right {
    width: 100%;
}
form#ets-opc-checkout-form.layout_2  label.col-md-3.form-control-label {
    width: 100%;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}
form#ets-opc-checkout-form.layout_1 .aff_sponsor_box .col-md-6,
form#ets-opc-checkout-form.layout_2 .aff_sponsor_box .col-md-6 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
form#ets-opc-checkout-form.layout_2 .type-checkout-option .col-md-8 {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
