div#site_logo {
    text-align: center;
    margin: auto;
    float: none;
}

header#header {
    text-align: center;
}

div#contato_header {
    float: left;
    text-align: left;
    padding: 8px 0;
    word-spacing: 0.1em;
}

div#contato_header a {
    display: block !important;
}

div#comprasegura {
    word-spacing: 0.1em;
    fill: currentColor;
    line-height: 1;
    text-align: left;
    float: right;
    padding: 11px 0;
}

div#comprasegura span {
    line-height: 1;
    display: block;
    padding-left: 6px;
}

.woocommerce table.shop_table {
    border: none;
}

.woocommerce-cart table.cart .product-thumbnail {
    padding: 0;
    width: 90px;
}

.woocommerce-page table.cart img {
    width: 100%;
}

.woocommerce table.shop_table td.product-price {
    width: 120px;
}

.woocommerce .quantity .qty {
    line-height: 1;
    padding: 0;
    width: 40px;
    border-radius: 0;
    border: none;
    background: transparent;
    -webkit-appearance: none;
    line-height: 25px;
    vertical-align: middle;
    font-weight: bold;
}

.wac-qty-button a {
    width: 26px;
    height: 26px;
    padding: 0;
    display: block;
    text-align: center;
    border-radius: 50%;
    background: #000000;
    color: #FFF;
    vertical-align: middle;
    line-height: 24px;
    font-size: 0;
}

.wac-qty-button {
    background: none;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

td.product-quantity {
    width: 123px;
}

td.product-quantity .wac-qty-button:last-child:after {
    content: '';
    position: absolute;
    background: #FFF;
    width: 10px;
    height: 2px;
    top: 12px;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(90deg)
}

td.product-quantity .wac-qty-button:before {
    content: '';
    position: absolute;
    background: #FFF;
    width: 10px;
    height: 2px;
    top: 12px;
    left: 0;
    right: 0;
    margin: auto;
}

.woocommerce td.product-quantity {
    width: 125px;
}

.wac-qty-button a:hover {
}

.wac-qty-button a:hover {
    background: var(--theme-color);
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
    width: 100%;
    background: #F5F5F5;
    padding: 30px;
    border-radius: 10px;
}

.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
    padding-left: 30px;
}

.cart_totals h2 {
    display: none;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr, .woocommerce-cart .cart-collaterals .cart_totals table td,.woocommerce-cart .cart-collaterals .cart_totals table th {
    display: block;
    border: none;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
    padding: 0 !important;
    color: #777777;
    font-weight: 300 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table td {
    font-size: 23px !important;
    padding: 0 !important;
    color: var(--theme-color);
    font-weight: 100;
}

th {
}

.woocommerce-cart .cart-collaterals .cart_totals table td *:not(.value) {
    color: inherit !important;
    font-size: inherit;
}

.woocommerce-cart .cart-collaterals .cart_totals table tr {
    margin-bottom: 10px;
}

.woocommerce .wc-proceed-to-checkout a {
    line-height: 1 !important;
    padding: 16px 0 !important;
    border-radius: 5px !important;
    border: none !important;
    background: var(--theme-color);
    font-size: 15px !important;
    margin: 10px 0 0 0 !important;
    display: block;
    text-align: center;
    color: #FFF;
    text-transform: uppercase;
    height: 47px;
}

.wc-proceed-to-checkout a:last-of-type {
    background: var(--font-color) !important;
}

a.procced {
    background: var(--wc-green) !important;
}

.woocommerce .wc-proceed-to-checkout a:hover {
    background: var(--theme-color-dark) !important;
}

.wc-proceed-to-checkout {
    padding: 0 !important;
    margin: 0 -6px;
}

tr.order-total {
    border-top: solid 1px #DFDFDF !important;
    margin-top: 20px !important;
    padding-top: 20px;
}

.woocommerce-cart .cart-collaterals .cart_totals table .order-total td {
    font-size: 30px !important;
    margin: 0 -6px;
}

.woocommerce a.remove {
    line-height: 0.9em;
    text-align: center;
}

.actions h4 {
    font-family: var(--main-font);
    color: #707070;
    font-weight: 800;
    font-size: 16px;
    text-align: left;
}

.actions input[type="text"], .actions input[type="number"] {
    border: solid #DFDFDF 1px;
    border-radius: 0;
    height: 34px;
    line-height: 34px;
    padding: 0 10px !important;
    width: 100% !important;
}

td.actions.rowfix .g6 {
    padding: 0 10px;
}

label {
}

.coupon label {
    display: block !important;
}

.actions label {
    display: block;
    float: left;
    width: calc(100% - 110px);
}

a.actions_button, .woocommerce .cart .button[name="apply_coupon"] {
    border-radius: 0 !important;
    height: 34px !important;
    border: none !important;
    font-size: 13px !important;
    width: 100px !important;
    display: block !important;
    float: right !important;
    padding: 0 !important;
    margin: 0 0 0 10px;
    text-align: center;
    line-height: 34px;
    color: #FFF;
    background: var(--theme-color);
    text-transform: uppercase;
}

a.actions_button:hover, .woocommerce .cart .button[name="apply_coupon"]:hover {
    background: var(--theme-color-dark) !important;
}

.entrega_box {
}

.entrega_box label a {
    color: var(--theme-color);
}

.entrega_box label a:hover {
    text-decoration: underline;
}

.cupom_div {
    background: #e3e3e3;
    padding: 7px 33px 7px 7px;
    border-left: solid 3px #a1001d;
    line-height: 1 !important;
    border-radius: 3px;
    position: relative;
}

.cupom_div span.code {
    display: block;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1 !important;
}

.cupom_div span.value {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1 !important;
}

.cupom_div span.value * {
    color: #555 !important;
}

a.woocommerce-remove-coupon {
    float: right;
    margin: 0;
    line-height: 1;
    display: block;
    position: absolute;
    right: 5px;
    top: 5px;
    width: 24px;
    height: 24px;
    background: #a1001d;
    border-radius: 50%;
    font-size: 0 !important;
}

a.woocommerce-remove-coupon:before, a.woocommerce-remove-coupon:after {
    content: '';
    position: absolute;
    top: 11px;
    height: 2px;
    width: 12px;
    background: #FFF;
    right: 0;
    left: 0;
    transform-origin: center;
    font-size: 0 !important;
    margin: auto;
    transform: rotate(45deg);
}

a.woocommerce-remove-coupon:after {
    transform: rotate(-45deg);
}

a.woocommerce-remove-coupon:hover {
    background: #460209;
}

.woocommerce ul#shipping_method li input {
    width: 10px;
    height: 10px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.woocommerce ul#shipping_method li {
    position: relative;
    padding: 1px 0;
    border-bottom: solid 1px #eee;
}

.woocommerce ul#shipping_method li label {
    display: block;
    padding-left: 20px;
    font-size: 17px;
}

.woocommerce ul#shipping_method li input:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #a1001d;
    border-radius: 50%;
    margin: 1px;
    transform: scale(0);
    transition: 0.5 all;
}

.woocommerce ul#shipping_method li input:checked:before {
    transform: none;
}

.woocommerce ul#shipping_method li input:before {
}

p.woocommerce-shipping-destination {
    display: none;
}

form.woocommerce-shipping-calculator {
    display: none;
}

.woocommerce ul#shipping_method li:last-child {
    border: none;
    margin-bottom: 0;
}

td.actions.rowfix {
    padding: 20px 0 20px !important;
}

.coupon {
    width: 100%;
}

.woocommerce-cart span.woocommerce-Price-amount.amount *, .woocommerce-cart span.woocommerce-Price-amount.amount {
    display: inline !important;
    font-family: var(--main-font);
    font-size: 1em;
}

a.actions_button.loading {
    color: transparent;
    position: relative;
}

a.actions_button.loading:before {
    content: '';
    position: absolute;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: solid 3px rgba(0, 0, 0, 0.15);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border-left-color: #FFF;
    animation: spin 0.5s infinite linear;
}

.woocommerce .blockUI.blockOverlay::before {
    content: '';
    width: 30px;
    height: 30px !important;
    border: 10px solid rgba(0, 0, 0, 0.16);
    border-radius: 50%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 9;
    display: block;
    border-left-color: var(--theme-color);
    animation: spin 0.5s linear infinite;
    background: none;
}

.woocommerce-page table.cart img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    margin: 0;
}

.return-to-shop {
    margin: auto;
    text-align: center;
}

.return-to-shop h2 {
    font-size: 38px;
    font-family: var(--main-font);
    color: #8E182C;
    font-weight: 700;
    margin: 20px auto 30px;
    max-width: 700px;
}

.return-to-shop .botoes {
    margin: 30px 0;
}

.botoes a.button.wc-update {
    background: #460209 !important;
}

.botoes a.button.wc-update:hover {
    background: #ab253d !important;
}

.botoes a.button.wc-backward {
    background: #a1001d !important;
}

.botoes a.button.wc-backward:hover {
    background: #ab253d !important;
}

.botoes a.button {
    border: none !important;
    margin: 0 10px;
}

@media (max-width: 1190px) {
    a.nav-mobile {
        display: none !important;
    }

    #header #site_logo {
        width: auto;
    }

    div#comprasegura {
        padding: 0;
        transform-origin: right center;
        transform: scale(0.7);
        margin-top: -2px;
    }

    div#contato_header {
        padding: 0;
    }

    div#contato_header a {
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .box, div#order_review {
        width: 100%;
        max-width: 600px;
        margin: 0 auto 30px;
        float: none;
        display: block;
    }
}

@media (max-width: 1100px) {
    .woocommerce .rowfix .g8, .woocommerce .rowfix .g4 {
        width: 100%;
        padding: 0;
    }

    .woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
        padding: 0;
        max-width: 420px;
        margin: auto;
    }
}

@media (max-width: 768px) {
    td.actions.rowfix .g6 {
        width: 100%;
        padding: 0;
        max-width: 420px;
        float: none;
        display: block;
        margin: 10px auto;
        clear: both;
    }

    td.actions.rowfix {
        background: none !important;
    }

    table.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
        max-width: 420px;
        margin: auto;
    }

    tr.woocommerce-cart-form__cart-item.cart_item {
        background: #fafafa;
        border-radius: 10px;
        padding: 10px 10px 10px 110px;
    }

    td.product-thumbnail {
        position: absolute;
        display: block !important;
        background: #FFF;
        left: 10px;
        top: 10px;
        bottom: 10px;
        border-radius: 5px;
    }

    td.product-thumbnail:before {
        display: none;
    }

    td.product-thumbnail img {
        width: 100% !important;
        height: 100% !important;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        z-index: 1;
        object-fit: contain;
        object-position: center;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    td.product-name:before {
        display: none !important;
    }

    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        text-align: ri !important;
        padding: 7px 0 !important;
        z-index: 99;
        width: 100%;
    }

    td.product-remove {
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 50%;
    }

    .woocommerce a.remove {
        background: var(--theme-color);
        color: #FFF !important;
    }

    .woocommerce a.remove:hover {
        background: var(--theme-color-dark) !important;
    }

    td.product-price {
        width: 100% !important;
    }

    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        color: #6b6b6b;
        font-weight: 100;
        /* display: block; */
        /* float: none; */
        margin-top: 2px;
        font-size: 13px;
    }

    .quantity.wac-quantity {
        margin-top: 3px;
    }

    td.product-price {
        display: none !important;
    }

    td.product-subtotal:before {
        content: 'Valor: '!important;
    }

    td.product-quantity {
        border-bottom: solid 1px #eee;
    }

    td.product-subtotal * {
        font-size: 18px !important;
        font-weight: 600 !important;
        color: #a1001d;
    }

    .woocommerce table.shop_table_responsive tr td.product-name, .woocommerce-page table.shop_table_responsive tr td.product-name {
        text-align: left !important;
    }

    tr.woocommerce-cart-form__cart-item.cart_item {
        border: none !important;
        position: relative;
        margin-bottom: 8px;
    }

    tr {
        border: none !important;
    }

    td.actions.rowfix {
        border: none !important;
    }

    table.shop_table.shop_table_responsive {
        display: table !important;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table tr {
        display: table-row;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table td {
        display: table-cell;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table th {
        display: table-cell;
    }

    .woocommerce-cart .cart-collaterals .cart_totals table tr td::before, .woocommerce-cart .cart-collaterals .cart_totals table tr td::before {
        display: none
    }

    .woocommerce ul#shipping_method li input {
        left: 5px;
    }

    .woocommerce ul#shipping_method li {
        text-align: left;
        padding: 10px 0;
        margin: 0;
    }

    .woocommerce ul#shipping_method li label {
        padding-left: 27px;
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background: none;
        border-top: none;
    }

    .woocommerce ul#shipping_method {
        display: inline-block;
        background: #f9f9f9;
        padding: 0 10px;
        border-radius: 5px;
        margin-right: -10px;
    }

    .return-to-shop h2 {
        font-size: 23px;
    }

    .return-to-shop .botoes {
        margin: 30px auto;
        max-width: 300px;
    }

    .return-to-shop .botoes a {
        margin: 5px;
        width: 100%;
    }
}

@media (max-width: 600px) {
    div#comprasegura span {
        display: none !important;
    }

    #contato_header {
        float: right !important;
        margin-right: 40px;
    }

    header#header {
        text-align: left;
    }

    div#comprasegura {
        position: absolute;
        right: 5%;
    }

    div#comprasegura:before {
        content: 'Compra Segura';
        display: block;
        position: absolute;
        top: 36px;
        font-size: 10px;
        text-transform: uppercase;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
        font-weight: 900;
    }

    #comprasegura svg {
        width: 24px;
        height: 31px;
    }
}

td.actions.rowfix .g6:after {
    content: '';
    display: block;
    clear: both;
}

footer#footer {
    margin-top: 100px;
}

.wc-proceed-to-checkout a.loading {
    font-size: 0 !important;
    position: relative;
    pointer-events: none;
}

.wc-proceed-to-checkout a {
    transition: 0.5s background;
}

.wc-proceed-to-checkout a.loading:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: solid 3px rgba(0, 0, 0, 0.39);
    border-left-color: #FFF;
    border-radius: 50%;
    animation: spin 0.5s infinite linear;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.sh_text {
    font-size: 16px !important;
    line-height: 1.2;
}

@media (max-width:768px) {
    td {
        border-top: none !important;
    }

    td.product-thumbnail {
        background: #FFF !important;
        border: 1px solid #f6f6f6 !important;
    }

    tr.woocommerce-cart-form__cart-item.cart_item {
    }

    html body.woocommerce-page table.shop_table_responsive tr td.product-remove {
        padding: 0 !important;
        width: 24px;
    }

    html body.woocommerce-page table.cart .product-thumbnail {
        border: solid 1px #eee;
        background: #FFF !important;
    }

    html body.woocommerce-page table.shop_table_responsive tr td {
        border-top: none;
    }
}
