/* Add to cart button */
.wb-post-price-container {
    padding-bottom: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.wb-post-price-container a.wb-add-to-cart {
    padding: 14px 48px;
    font-size: 16px;
}
.wb-post-price-container a.wb-add-to-cart span {
    line-height: 29px;
    font-size: 20px;
    font-weight: 900;
}
.wb-post-price-container a.wb-add-to-cart span.wb-add-to-cart-with-label {
    line-height: 18px;
    font-size: 16px;
    font-weight: 900;
}
.wb-post-price-container a.wb-add-to-wishlist {
    margin-top: 8px;
    font-size: 14px;
    line-height: 19px;
}
a.added_to_cart.wc-forward {
    display:none
}

/* Table border */
.woocommerce table.shop_table {
    border-width: 1px 0 0 0;
    border-radius: 0;
    /*border-color: #B4B4B4;*/
}

/* CART */
/* Table */
.woocommerce table.shop_table.cart thead tr th.product-name {
    text-align: center;
}

.woocommerce table.shop_table.cart thead tr th:last-child,
.woocommerce table.shop_table.cart tbody tr td:last-child {
    text-align: right;
}

.woocommerce table.shop_table.cart tbody tr td:first-child {
    padding-left: 0;
}
.woocommerce table.shop_table.cart tbody tr .product-remove {
    width: 50px;
}
.woocommerce table.shop_table.cart tbody tr .product-remove a.remove {
    background-color: #AC0000;
    color: white !important;
    border-radius: 0 !important;
}
.woocommerce table.shop_table.cart tbody tr .product-remove a.remove:hover {
    background-color: #AC0000;
}

.woocommerce table.shop_table.cart tbody tr .product-thumbnail {
    width: 200px;
}
.woocommerce table.shop_table.cart tbody tr .product-thumbnail img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    float: none;
}
.woocommerce table.shop_table.cart tbody tr:last-child td {
    padding-left: 0;
    padding-right: 0;
}

/* Coupon */
.woocommerce table.shop_table.cart tbody tr td.actions>button.button {
    margin-right: 25px;
}
.woocommerce table.shop_table.cart tbody tr td.actions .coupon {
    float: right;
}
.woocommerce table.shop_table.cart tbody tr td.actions .coupon .input-text {
    width: 240px;
    line-height: 21px;
}

/* Cart total */
.woocommerce .cart-collaterals .cart_totals table.shop_table th {
    padding-left: 0;
}
.woocommerce .cart-collaterals .cart_totals table.shop_table td {
    padding-right: 0;
}

.woocommerce .cart-collaterals .cart_totals {
    float: none;
    width: auto;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    text-align: right;
    font-weight: 300;
    font-size: 28px;
}
.woocommerce-cart .cart-collaterals .cart_totals table tr td {
    text-align: right;
}

/* Cart Button */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button:disabled[disabled],
.woocommerce a.checkout-button.button {
    border: 1px solid;
    font-size: 14px;
    font-weight: 400;
    padding: 6px 10px;
    line-height: 21px;
    display: inline;
}

.woocommerce .wc-proceed-to-checkout {
    text-align: right;
}

/* MINI CART */
.woocommerce-mini-cart.cart_list a.remove {
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: red!important;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

.mini-cart-menu {
    display: inline;
}

.mini-cart-menu .mini-cart-menu-label {
    text-decoration: underline;
}

.mini-cart-menu .dropdown-menu {
    box-shadow:  2px 3px 9px 2px rgba(0, 0, 0, 0.24);
    border-radius: 0;
    padding: 0;
    left: 20px !important;
    top: 4px !important;
}

.mini-cart-menu .dropdown-menu::before {
    position: absolute;
    top: -6px;
    right: 18px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FFFFFF;
    border-left: 6px solid transparent;
    content: '';
}

.mini-cart-menu .mini-cart-total,
.mini-cart-menu .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
    align-items: center;
    display: flex;
    border-bottom: 1px solid #B4B4B4;
    padding: 16px 24px;
    width: 600px;
}

.mini-cart-menu .widget_shopping_cart_content .woocommerce-mini-cart__empty-message {
    justify-content: center;
    margin: 0;
}

.mini-cart-menu .mini-cart-total a i {
    color: inherit !important;
    font-weight: 600;
}
.mini-cart-menu .mini-cart-total .item-count {
    margin-left: auto;
    margin-right: 32px;
}
.mini-cart-menu .mini-cart-total .total {
    /*float: right;*/
}

.mini-cart-menu ul.woocommerce-mini-cart.cart_list {
    margin: 0;
    padding: 0;
}
/* Display 4 items only */
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item:nth-child(1n+5) {
    display: none;
}
/* Display view all item */
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item:last-child {
    display: flex;
    justify-content: space-between;
}

.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item {
    border-top: 1px solid #B4B4B4;
    padding: 16px 24px;
    width: 600px;
    display: flex;
}

.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item a.remove {
    display: none;
}

.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    float: none;
}

/* Product variant - Used in mini cart product name and price */
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation {
    display: inline-block;
    margin: 0 0 0 15px;
    height: auto;
    vertical-align: middle;
    overflow: hidden;
    flex-grow: 1;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dt,
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dd p,
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item div.line_details {
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* Line Details */
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item div.line_details {
    display: table;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item div.line_details span {
    display: table-cell;
    vertical-align: bottom;
    text-align: right;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item div.line_details span.quantity {
    width: 100px;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item div.line_details span.line_total {
    width: 95px;
}

/* Hide ":" */
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dt {
    visibility: hidden;
    display: flex;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dt > * {
    visibility: visible;
}

.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dt span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dd {
    margin: 0;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item dl.variation dd p {
    margin: 0;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item.view-all-items {
    text-align: center;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item.view-all-items a {
    display: initial;
    text-decoration: underline;
}
.mini-cart-menu ul.woocommerce-mini-cart.cart_list li.woocommerce-mini-cart-item.view-all-items a>i {
    color: inherit !important;
    font-weight: 600;
}

/* Hides mini-cart totals and buttons */
.mini-cart-menu p.woocommerce-mini-cart__total.total,
.mini-cart-menu p.woocommerce-mini-cart__buttons.buttons {
    display: none;
}

/* CHECKOUT */
/* Set width for the form */
@media (min-width: 992px) {
    .woocommerce .col2-set .col-1 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 991px) {
    .woocommerce .col2-set .col-1 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Form */
.woocommerce .woocommerce-billing-fields .form-row {
    display: initial;
}
.woocommerce .woocommerce-billing-fields .form-row label {
    font-size: 14px;
    margin: 0;
}
.woocommerce .woocommerce-billing-fields .form-row .woocommerce-input-wrapper input {
    padding: 8px;
    font-size: 14px;
}
.woocommerce .woocommerce-billing-fields .form-row .woocommerce-input-wrapper .select2 .select .selection .select2-selection .select2-selection__rendered {
    padding: 8px;
}

/* Order Information */
.woocommerce .checkout table.woocommerce-checkout-review-order-table {
    border-top: 0;
}
.woocommerce .checkout table.woocommerce-checkout-review-order-table tr th:first-child,
.woocommerce .checkout table.woocommerce-checkout-review-order-table tr td:first-child {
    padding-left: 0;
}
.woocommerce .checkout table.woocommerce-checkout-review-order-table tr th:last-child,
.woocommerce .checkout table.woocommerce-checkout-review-order-table tr td:last-child {
    padding-right: 0;
    text-align: right;
}
.woocommerce .checkout table.woocommerce-checkout-review-order-table tr th.product-name {
    text-align: center;
}

.woocommerce .checkout .woocommerce-checkout-payment {
    background-color: #FFFFFF !important;
    border: 1px solid;
}
.woocommerce .checkout .woocommerce-checkout-payment .place-order {
    border: none !important;
    background-color: #FFFFFF !important;
}
.woocommerce .checkout .woocommerce-checkout-payment .place-order button {
    float: none !important;
}
#ppcp-hosted-fields button, #place_order {
    text-transform: capitalize;
    font-weight: 600;
}

/* CHECKOUT COMPLETE */
/* Order details */
.woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details {
    padding: 0;
}
.woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li {
    margin: 0 0 15px 10px;
    width: calc(20% - 10px);
}
.woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li:nth-child(4n+1) {
    width: calc(15% - 10px);
}
.woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li:nth-child(3) {
    width: calc(30% - 10px);
}
@media screen and (min-width: 1201px) and (max-width: 1600px) {
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li {
        width: calc(33.33% - 10px) !important;
    }
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li:nth-child(3n+1) {
        border-left: 0;
    }
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li:nth-child(3) {
        border: 0;
    }
}
@media screen and (min-width: 1001px) and (max-width: 1200px) {
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li {
        width: calc(50% - 10px) !important;
    }
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li:nth-child(2n+2) {
        border: 0;
    }
}
@media (max-width: 1000px) {
    .woocommerce .woocommerce-order ul.woocommerce-order-overview.order_details li {
        width: calc(100% - 10px) !important;
        border: 0;
    }
}
/* Order details end */
.woocommerce .woocommerce-order table.woocommerce-table {
    border-top: 0;
}
.woocommerce .woocommerce-order table.woocommerce-table tr th:first-child,
.woocommerce .woocommerce-order table.woocommerce-table tr td:first-child {
    padding-left: 0;
}
.woocommerce .woocommerce-order table.woocommerce-table tr th:last-child,
.woocommerce .woocommerce-order table.woocommerce-table tr td:last-child {
    padding-right: 0;
    text-align: right;
}
.woocommerce .woocommerce-order table.woocommerce-table tr th.product-name {
    text-align: center;
}

.woocommerce .woocommerce-order h2 {
    color: #000000;
    font-size: 18px;
    font-weight: 900;
}

/* NOTIFICATION */
/* Cart */
.woocommerce .woocommerce-notices-wrapper .woocommerce-message,
.woocommerce .woocommerce-notices-wrapper .woocommerce-error,
.woocommerce .cart-empty.woocommerce-info,
/* Checkout */
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce .woocommerce-NoticeGroup .woocommerce-error
{
    border-top: 0;
    margin-bottom: 15px;
    padding: 1em;
}
/* Cart */
.woocommerce .woocommerce-notices-wrapper .woocommerce-message::before,
.woocommerce .woocommerce-notices-wrapper .woocommerce-error::before,
.woocommerce .cart-empty.woocommerce-info::before,
/* Checkout */
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info::before,
.woocommerce .woocommerce-NoticeGroup .woocommerce-error::before {
    display: none;
}

/* Cart */
.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
    background-color: #9ad598;
}
.woocommerce .woocommerce-notices-wrapper .woocommerce-error {
    background-color: #E3A8A8;
}
.woocommerce .cart-empty.woocommerce-info {
    background-color: #D1ECF1;
}
/* Checkout */
.woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
    background-color: #D1ECF1;
}
.woocommerce .woocommerce-NoticeGroup .woocommerce-error {
    background-color: #E3A8A8;
}

/* OTHERS */
/* Link */
.woocommerce a {
    text-decoration: underline;
}

/* Sub Header */
.woocommerce h3 {
    color: #000000;
    font-size: 18px;
    font-weight: 900;
}

/* MOBILE */
@media (max-width: 480px) {
    .wb-post-price-container a.wb-add-to-cart {
        width: calc(50% - 0.25rem);
        padding: 14px;
    }
}