.mini-cart {
    position: relative;
    text-align: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-count {
    border-radius: var(--ati-s-rad);
    text-align: center;
    letter-spacing: 0;
    position: absolute;
    top: 20px;
    right: -2px;
    background-color: #ef4050;
    width: 1rem;
    height: 1rem !important;
    color: #ffffff;
    font-size: .6rem;
    font-weight: bold;
    box-shadow: #ffffff 0px 0px 0px 1px;
    padding-top: 1px;
}
.ati-mini-cart-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.ati-mini-cart-content {
    flex: 1;
    height: inherit;
}
.ati-mini-cart-header {
    position: relative;
    display: flex;
    height: var(--ati-s-h);
    align-items: center;
    justify-content: space-evenly;
    border-bottom: var(--ati-s-border);
    font-weight: bold;
}
.ati-mini-cart-item {
    margin-bottom: 15px;
    position: relative;
    padding-bottom: var(--ati-m-padd);
    border-bottom: var(--ati-border-color) 1px solid;
}
.ati-mini-cart-item-img {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    width: 60px;
    border-radius: var(--ati-s-rad);
    overflow: hidden;
}
.ati-mini-cart-item-img img{
    height: auto;
    max-width: 100%;
    display: block;
}
.ati-mini-cart-item-details {
    display: inline-block;
    font-size: calc(11rem / 16);
    letter-spacing: .5px;
    margin-right: 4%;
    vertical-align: middle;
    width: 55%;
}
.ati-mini-cart-item-details > *{
    line-height: normal
}
.ati-mini-cart-item-details .product-subtotal{
    display: flex;
    width: fit-content;
    gap: var(--ati-s-gap);
}

.ati-mini-cart-item-actions {
    display: inline-block;
    font-size: calc(13rem / 16);
    width: 5%;
}
.ati-mini-cart-delete {
    display: block;
    width: 1.618em;
    height: 1.618em;
    line-height: 1.618;
    font-weight: 400;
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
    position: absolute;
    top: 1em;
    left: 0;
    opacity: 1;
}
.ati-mini-cart-delete:before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    vertical-align: baseline;
    content: "✖";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #737781;
    line-height: 1.618;
    text-indent: 0;
    text-align: center;
}
.ati-mini-cart-total {
    display: block;
    position: sticky;
    text-align: center;
    padding: 10px 0;
    bottom: -10px;
    font-weight: 600;
    background: var(--ati-sbg);
    box-shadow: var(--ati-sbg) 0px 20px 0px;
    border: none;
}

.ati-mini-cart-content .woocommerce-Price-amount bdi {
    flex-direction: unset;
    justify-content: center;
}
.mini-cart-actions {
    position: sticky;
    bottom: 0;
    font-size: .9rem;
    background: var(--ati-sbg);
}
.mini-cart-actions > *{
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-bottom: var(--ati-s-marg);
    padding: var(--ati-s-padd);
    background-color: var(--ati-bg);
}

/* cart */
.main-cart .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ati-l-gap);
}
.main-cart .woocommerce .woocommerce-notices-wrapper {
    width: 100%;
}
.woocommerce-NoticeGroup-checkout {
    width: 100%;
}
.wc-empty-cart-message {
    width: 100%;
}
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    background-color: var(--ati-sbg);
    color: var(--ati-color);
}
.woocommerce-cart-form {
    flex: 1;
    background: var(--ati-sbg);
    padding: var(--ati-s-padd);
    width: 60%;
}

#billing_country_field  label,
#shipping_country_field label{
    display: none;
}
.cart_totals > h2 {
    display: none;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
#place_order, #place_order:hover {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: center;
    margin-top: 8px;
    padding: 15px 28px;
    border: 0;
    border-radius: 12px;
    background: #C40040;
    color: var(--ati-btn-color);
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none !important;
    height: 48px;
    width: 100%;
}
#add_payment_method .cart-collaterals .cart_totals table td,
#add_payment_method .cart-collaterals .cart_totals table th,
.woocommerce-cart .cart-collaterals .cart_totals table td,
.woocommerce-cart .cart-collaterals .cart_totals table th,
.woocommerce-checkout .cart-collaterals .cart_totals table td,
.woocommerce-checkout .cart-collaterals .cart_totals table th {
    vertical-align: middle;
}
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals {
    width: 400px;
    background: var(--ati-sbg);
    padding: var(--ati-s-padd);
}
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collatera .cart_totals {
    width: 100%;
}
.woocommerce ul#shipping_method li label {
    display: inline-flex;
}
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

/* checkout */
.woocommerce-checkout {
    display: flex !important;
    flex-wrap: wrap;
}
.main-checkout .woocommerce .woocommerce-checkout {
    gap: var(--ati-m-gap);
}
.main-checkout .woocommerce .woocommerce-checkout > *{
    border: var(--ati-s-border);
    border-radius: var(--ati-m-rad);
}
.woocommerce .col2-set, .woocommerce-page .col2-set {
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
    width: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    background: var(--ati-sbg);
    padding: var(--ati-l-padd);
}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row .select2-selection {
    outline: none;
    background: var(--ati-bg);
    padding: var(--ati-l-padd);
    border-radius: var(--ati-m-rad);
    text-align: right;
}
.woocommerce-checkout-review-order {
    width: 400px;
    background: var(--ati-sbg);
    padding: var(--ati-l-padd);
    font-size: .9rem;
}
.woocommerce-checkout-review-order *{
    text-align: start;
    font-weight: normal !important;
}
#order_review_heading {
    display: none;
}
.additional-shipping {
    opacity:.7;
}
.woocommerce-cart table.cart img, .woocommerce-checkout table.cart img{
    width: 80px;
}

.woocommerce table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
    display: flex;
    justify-content: center;
}
.woocommerce table.shop_table {
    text-align: start;
}
.woocommerce-billing-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.woocommerce-billing-fields__field-wrapper *{
    width: 100%;
}
:where(.woocommerce) .select2-container .select2-selection--single {
    min-height: 56px;
    height: 56px;
}
.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
    display: flex;
}
td.product-thumbnail::before,
td.product-remove::before
{
    content: attr(data-title) "" !important;
    width: unset !important;
}
.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
    display: flex;
    text-align: right !important;
    flex-wrap: wrap;
    justify-content: center;
}
.woocommerce form .form-row-first, .woocommerce form .form-row-last, .woocommerce-page form .form-row-first, .woocommerce-page form .form-row-last,
#billing_state_field,
#billing_city_field

{
    width: 50%;
    align-content: flex-end;
}
#billing_state_field, 
#billing_city_field
{
    align-content: unset;
}
@media screen and (max-width: 1230px) {
    .woocommerce-checkout-review-order {
        width: 100%;
    }
    .wc-proceed-to-checkout, #place_order {
        position: fixed;
        width: 100%;
        right: 0;
        left: 0;
        z-index: 99;
        bottom: var(--ati-mobile-footer-menu-height);
    }
    .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        margin: 0;
    }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td{
        display: flex;
        flex-wrap: wrap;
        text-align: start !important;
        gap: var(--ati-xxl-gap);
    }
    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        display: block;
    }
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        display: block;
        text-align: right !important;
        width: 100%;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        content: attr(data-title) ": ";
        font-weight: 700;
        float: right;
        width: 100px;
        text-align: right;
    }
    td.product-thumbnail::before,
    td.product-remove::before
    {
        content: attr(data-title) "" !important;
        width: unset !important;
    }
    .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead {
        display: none;
    }
}