body[page="carrinho_pedido"] {
    padding: 0 !important;
}

[page="carrinho_pedido"] .header {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #809cab;
}

[page="carrinho_pedido"] .header .brand-image {
    width: 50%;
    height: 85%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

[page="carrinho_pedido"] #mobile-footer .icons {
    justify-content: space-between !important;
}

[page="carrinho_pedido"] #mobile-footer .order-totals {
    flex-grow: 1;
    color: #fff;
    padding: 0 5px;
    font-size: 1.5em;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

[page="carrinho_pedido"] #mobile-footer .order-value {
    line-height: 1;
    text-align: center;
    align-self: center;
}

[page="carrinho_pedido"] #mobile-footer .order-value span {
    font-weight: bold;
    font-size: 1.1em;
}

[page="carrinho_pedido"] #mobile-footer.show-all-totals .order-totals {
    grid-template-columns: 1fr 1fr;
    font-size: .9em;
}

[page="carrinho_pedido"] #mobile-footer:not(.show-all-totals) .order-value.gross,
[page="carrinho_pedido"] #mobile-footer:not(.show-all-totals) .order-value.ipi,
[page="carrinho_pedido"] #mobile-footer:not(.show-all-totals) .order-value.st {
    display: none;
}

[page="carrinho_pedido"] #mobile-footer.show-all-totals .icons > button {
    font-size: 1.2em;
}

[page="carrinho_pedido"] #mobile-footer.show-all-totals .text-button {
    font-size: 0.8em;
}

[page="carrinho_pedido"] .info-pedidos {
    height: calc(100% - 112px);
    display: flex;
    flex-direction: column;
    padding: 5px;
    overflow: auto;
}

.info-pedidos .client-info {
    flex-shrink: 0;
}

.client-info h1.fields-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #819cab;
    margin: 0;
    text-align: center;
    padding: 5px 0;
    line-height: 1;
}

.client-info .fields-row {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #d9d9d9;
}

.client-info h1.fields-title + .fields-row {
    border-top: 1px solid #d9d9d9;
}

.client-info .field-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;
    line-height: 1;
    margin-right: 5px;
}

.client-info .fields-row .field-container:last-child {
    margin: 0;
}

.client-info .field-container[data-value="cpf_cnpj"] {
    width: 64%;
}

.client-info .field-container[data-value="cep"] {
    width: 36%;
}

.client-info .field-container[data-value="address"] {
    width: 100%;
}

.client-info .field-container[data-value="district"] {
    width: 70%;
}

.client-info .field-container[data-value="number"] {
    width: 30%;
}

.client-info .field-container[data-value="phone"] {
    width: 60%;
}

.client-info .field-container[data-value="complement"] {
    width: 48%;
}

.client-info .field-container[data-value="city"] {
    width: 52%;
}

.client-info .field-container[data-value="state"] {
    width: 40%;
}

.client-info .field-label {
    font-size: 0.9em;
    color: #819ca9;
    white-space: nowrap;
    margin-right: 5px;
}

.client-info .field-value {
    color: #494949;
    font-size: 1.2em;
    padding: 0 5px;
    width: 100%;
}

.client-info input.field-value {
    background-color: #eeeeee;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    padding: 2px 5px;
}

.client-info select.field-value {
    height: 100%;
    background-color: #eeeeee;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
}

.client-info .field-value.warn,
.client-info .field-value.warn {
    background-color: #fff5f5;
    border-color: #f13636;
}

.client-info.register-form .field-container[data-value="email"] {
    width: 40%;
}

.client-info.register-form .field-container[data-value="password"] {
    width: 20%;
}

.client-info.register-form .field-container[data-value="name"] {
    width: 100%;
}

.client-info .button-container {
    padding: 5px 0;
    width: 20%;
    margin-right: 5px;
}

.client-info .button-container:last-child {
    margin-right: 0;
}

.client-info .login-btn {
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    padding: 2px 0;
    border: 2px solid #1ebb90;
    border-radius: 3px;
    background-color: #e8faf5;
}

.client-info .login-btn.logged {
    border-color: #f44336;
    background-color: #fff1f0;
}

.client-info .recover-password-btn {
    width: 100%;
    height: 100%;
    padding: 2px 0;
    border: none;
    border-radius: 3px;
    background-color: #000;
    color: #fff;
}

.payment-delivery-container {
    flex-shrink: 0;
}

.payment-delivery-container .botao-modal-container {
    text-align: center;
}

.payment-delivery-container .botao-modal-container button {
    background-color: #809cab;
    color: #fff;
    border: none;
    padding: 4px 15px;
    margin-top: 5px;
    border-radius: 3px;
    box-shadow: 0px 0px 3px 0px #00000080;
    min-width: 40%;
    line-height: 1.1 !important;
    font-size: 1.06em;
}

.payment-delivery-container .botao-modal-container button.filled {
    width: 100%;
}

.payment-delivery-container .delivery-container {
    text-align: center;
    padding-top: 5px;
}

.payment-delivery-container .input-transporte-radios {
    overflow: auto hidden;
    display: flex;
}

.payment-delivery-container .opcao-transporte {
    flex-grow: 1;
    line-height: 1.1;
}

.payment-delivery-container .opcao-transporte div {
    padding: 0 5px;
    white-space: nowrap;
}

.payment-delivery-container input.transporte-input {
    appearance: none;
    position: relative !important;
    border: 1px solid #000;
    border-radius: 100%;
    width: 15px;
    height: 15px;
}

input.transporte-input::before {
    content: "";
    background: #809cab;
    position: absolute;
    border-radius: 100%;
    width: 13px;
    height: 13px;
    opacity: 0;
}

input.transporte-input:checked:before {
    opacity: 1;
}

.info-pedidos .items-list {
    width: 100%;
    flex-grow: 1;
    margin-top: 5px;
}

.items-list .product-item {
    display: flex;
    padding: 1.2em 6px;
    border-top: 2px solid #d9d9d9;
}

.items-list .product-item .product-image {
    width: 25%;
    box-shadow: 3px 3px 4px 0 #949494;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.items-list .product-item .product-info {
    width: 75%;
    padding-left: 1em;
    display: flex;
    flex-direction: column;
    position: relative;
}

.items-list .product-item .remove-product-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    font-size: 1.8em;
    background-color: transparent;
    border: none;
    color: #809cab;
}

.items-list .product-item .product-name {
    width: calc(100% - 1.6em);
    height: 2.6em;
    font-size: 1.2em;
    line-height: 1.2;
    word-break: break-word;
    overflow: hidden;
    color: #494949;
    text-transform: uppercase;
}

.items-list .product-item .product-attributes {
    margin-bottom: 5px;
}

.items-list .product-item .product-attribute {
    line-height: 1.2;
    font-size: 1.05em;
    color: #797979;
    white-space: nowrap;
    overflow: hidden;
}

.items-list .product-item .product-attribute span {
    vertical-align: middle;
    margin-right: .4em;
}

.items-list .product-item .product-attribute span:last-child {
    margin: 0;
}

.items-list .product-item .color {
    padding: 0px 1.2em;
    border: 2px solid #d9d9d9;
    font-size: 0.7em;
}

.items-list .product-item .product-purchase {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.items-list .product-item .purchase-controls {
    display: flex;
    align-items: center;
}

.items-list .product-item .decrease-btn,
.items-list .product-item .increase-btn {
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 3px 1px #949494;
    padding: 0;
    font-size: 1.4em;
    height: 30px;
    width: 30px;
    background-color: transparent;
    color: #494949;
}

.items-list .product-item .purchased-qty {
    font-size: 1.4em;
    margin: 0 5px;
    min-width: 1.4em;
    text-align: center;
    color: #494949;
    border-radius: 3px;
}

.items-list .product-item .product-values {
    display: flex;
    flex-direction: column;
    text-align: right;
    line-height: 1.2;
}

.items-list .product-item .original-value {
    font-size: 1.2em;
    text-decoration: line-through;
    color: #797979;
}

.items-list .product-item .original-value.hidden {
    display: none;
}

.items-list .product-item .final-value {
    font-size: 1.4em;
    color: #494949;
}

.items-list .product-item.no-stock-warn .stock {
    color: red;
}

.items-list .product-item.no-stock-warn .purchased-qty {
    color: #fff;
    background-color: red;
}

.items-list .product-item.no-stock-warn .decrease-btn,
.items-list .product-item.no-stock-warn .increase-btn {
    color: red;
    box-shadow: 0 0 3px 1px #ff2f2f;
}

#no-stock-modal .footer {
    justify-content: flex-end;
}

#payment-warn-modal p {
    font-size: 1.5rem;
}

#payment-warn-modal button {
    width: 45%;
}

#payment-conditions-modal h1 {
    font-size: 1.8rem;
    word-break: break-word;
    position: sticky;
    top: 0;
}

#payment-conditions-modal .modal-content {
    overflow: auto;
    height: 68vh;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
}

#payment-conditions-modal .list-item {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    line-height: 1;
}

#payment-conditions-modal .list-item input {
    width: 1em;
    height: 1em;
    position: static;
    opacity: 1;
}

#payment-conditions-modal .list-item .name {
    margin-left: 0.5rem;
}

#payment-conditions-modal .list-item small {
    display: block;
    line-height: 1.5;
    font-size: .8em;
}

#payment-conditions-modal .footer {
    justify-content: flex-end;
}