:root {
    --base-color: rgba(236, 34, 31, 1);
    --primary: #29433E;
    --secondary: #344b4e;
    --third: #FFB81C;
    --third-1: #FFE9B9;
    --light: #BBBCBF;
    --light-1: #A8A9AC;
    --light-2: #ECEFEF;
    --light-3: #EAEAEB;
    --dark: #344B4E;
    --black: #000000;
    --white: #ffffff;
    --gray: #999999;
    --gray-1: #969699;
    --green: #198107;
    --red: #C41B24;
    --text-black: #000000;
    --bg-brouwn: #CCBE99;
    --bg-accodion: #337BBE;
    --bg-light: #F8F1E1;
    --bg-light-1: #ffffff;
    --bg-light-2: #F5F5F5;
    --bg-light-3: #FFFCF5;
    --heightHD: 13rem;
}
.checkout-page .title-detail {
    padding: 40px 0;
}

.payment-method-infomation {
    font-size: 12px;
    line-height: 15px;
    color: var(--dark);
}
.payment-method-infomation p:not(:last-child) {
    margin-bottom: 12px;
}
.payment-method-infomation h5 {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}

.checkout-page-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
/* */

.icon-box.active .thumb-icon {
    border-color: var(--primary);
    background: var(--primary);
}

.checkout-page-top .icon-box .thumb-icon img {
    width: 16px;
}

.content-icon {
    padding-left: 8px;
}

.content-icon h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: var(--light);
    margin-bottom: 0;
}

.content-icon p {
    font-size: 14px;
    line-height: 20px;
    color: var(--light);
}

.icon-box.active .content-icon h3 {
    color: var(--dark);
}

/*.checkout-page .icon-box:first-child .content-icon p {
    color: var(--light);
}*/


.table-cart {
	height: 100%;
    width: 100%;
}

.woocommerce table, .woocommerce th, .woocommerce td {
    margin: 0;
    padding: 15px;
    vertical-align: middle;
    border-collapse: collapse;
    text-align: center;
}

.woocommerce table.shop_table th {
    min-height: 64px;
    color: var(--black);
    background: #fff1f1;
    white-space: nowrap;
}

.woocommerce-cart-form__cart-item:not(:last-child) {
    border-bottom: 1px solid var(--light-3);
}

.woocommerce .product-price * ,
.woocommerce .product-subtotal .price {
    letter-spacing: 1px;
}

.product-name,
.wishlist-remove {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-name p {
    text-transform: uppercase;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: .6px;
}

.option-select__all {
/*    height: 24px;*/
}

.option-select__all .checkmark {
    padding: 3px;
    border-radius: 4px;
    border-color: var(--light);
}

.woocommerce-checkout .option-select__all input + .checkmark img:last-child,
.woocommerce-checkout .option-select__all input:checked + .checkmark img:first-child {
	display: none;
}

.woocommerce-checkout .option-select__all input:checked + .checkmark img:last-child {
	display: block;
}

.cart_item {
    border-bottom: 1px solid #EAEAEB;
}
.cart_item.disabled {
/*    background: #F5F5F5;*/
}

.cart_item td:first-child {
    padding-left: 12px;
}

.cart_item td:first-child,
.product-cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product-cart {
    align-items: flex-start;
}

.cart_item:hover {
    background: #F5F5F5;
}

/*.cart_item td .option-select__all input:checked~.checkmark,*/
/*.option-select__inner input:checked~.checkmark {
    background: var(--secondary);
}*/

/*.cart_item .option-select__item {
    max-width: 8%;
    flex: 0 0 8%;
    text-align: left;
    top: -20px;
}*/

.product-cart__info {
    /*max-width: 92%;
    flex: 0 0 92%;*/
    flex: 1;
}

.product-cart .thumb {
    /*max-width: 25%;
    flex: 0 0 25%;*/
    overflow: hidden;
    border-radius: 5px;
}

.product-cart .thumb a {
  display: block;
  text-align: left;
}

.product-cart__rating .thumb {
    border-radius: 5px;
    overflow: hidden;
}

.product-cart .thumb img,
.product-cart__rating .thumb img {
    width: 100px;
    height: 100px;
}

.product-cart .content {
    max-width: 75%;
    flex: 0 0 75%;
    padding-left: 12px;
    text-align: left;
}

.product-cart__rating {
    display: flex;
    gap: 12px;
}

.product-cart h3,
.product-cart__rating h3 {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: .32px;
    font-weight: 600;
    margin-bottom: 0;
}

.product-cart h3 a,
.product-cart__rating h3 a {
    color: var(--black);
    display: block;
}

.product-cart p {
    font-weight: 600;
    color: var(--red);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .32px;
    padding: 8px 0;
}

.classify .name {
    background: #EAEAEB;
    font-size: 13px;
    line-height: 15px;
    border: none;
    color: #8C8D8F;
    width: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 6px 12px;
    display: inline-flex;
    cursor: pointer;
    font-weight: normal;
}

.name-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.name-close .close {
    cursor: pointer;
}

.product-attr-content .close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    cursor: pointer;
}

.classify-info {
    background: var(--bg-light-1);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px #0000001A;
    display: none;
    position: absolute;
    left: 0;
    z-index: 10;
}

.cart-item-select {
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
}
.cart-item-select input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(236, 34, 31, 0.5);
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  outline: none;
}

.cart-item-select input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 5px;
  border: solid white;
  border-width: 0 0 3px 3px;
  transform: translate(-50%, -50%) rotate(-45deg) scale(0);
  transition: transform 0.2s ease;
}

.cart-item-select input[type="checkbox"]:checked {
  background-color: rgba(236, 34, 31, 1); /* đỏ chính */
  border-color: rgba(236, 34, 31, 1);
}

.cart-item-select input[type="checkbox"]:checked::before {
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

.cart-item-select input[type="checkbox"]:hover {
  transform: scale(1.05);
  box-shadow: 0 0 4px rgba(236, 34, 31, 0.4); /* bóng đỏ */
}

.cart-item-select input[type="checkbox"]:focus {
  box-shadow: 0 0 0 3px rgba(236, 34, 31, 0.2);
}


@media (min-width: 992px) {

    .classify-info {
        width: 367px;
    }
}

.classify.active .classify-info {
    display: block;
}

.classify-info .swatch_item {
    gap: 5px;
}

@media (max-width: 991px) {

    .classify-info {
        width: 300px;
    }

    .product-cart .thumb img,
    .product-cart__rating .thumb img {
        height: auto;
    }

    .classify .name {
        font-size: 9px;
    }

    .btn-shops {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    .btn-shops a {
        padding: 14px 20px !important;
    }

    .cart_item td:first-child {
        padding-right: 12px;
    }

    .product-cart .content {
        max-width: 63%;
        flex: 0 0 63%;
    }
}

@media (max-width: 767px) {

    .classify-info {
        left: initial;
        right: 0;
    }

    .classify.active .classify-info {
        padding: 20px !important;
    }
}

.product-cart .note {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 8px;
}

.wishlist-remove {
    gap: 8px;
}

.wishlist-remove a {
    font-size: 12px;
    line-height: 1;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 3px;
}

.remove a:hover span {
	text-decoration: underline;
}

.product-price ins {
    font-size: 16px;
    line-height: 12px;
    font-weight: 600;
    display: block;
    color: #29433E;
    letter-spacing: .6px;
}

.product-price del {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .32px;
    color: var(--light);
}

.number-product {
	line-height: 20px;
	color: var(--secondary);
	letter-spacing: .36px;
	font-weight: 600;
}

.product-quantity a {
    font-size: 16px;
    line-height: 20px;
}

.product-quantity .quantity input[type="number"] {
    font-size: 12px;
    max-width: 30px;
    line-height: 1;
}
.quantity input[type="number"] {
    border: 0;
    background-color: transparent;
    pointer-events: none;
    text-align: center;
    flex: 1;
    max-width: 40px;
    -moz-appearance: textfield;
}
.quantity input[type="number"]::-webkit-outer-spin-button,
.quantity input[type="number"]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.cart_totals {
    padding-top: 20px;
}

.cart-subtotal,
.sale-price,
.order-total .order {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.order-total {
	margin-top: 16px;
	border-top: 1px solid var(--light);
}

.order-total .order {
    padding: 24px 0;
}

/*.cart-subtotal p,*/
.sale-price p {
    font-size: 12px;
    line-height: 15px;
    max-width: 20%;
    flex: 0 0 20%;
}

.cart-subtotal span,
.sale-price span {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: .32px;
    color: var(--black);
    max-width: 10%;
    flex: 0 0 10%;
}
.cart-subtotal span span {
    font-size: 13px;
    color: #A4A4A4;
    font-weight: normal;
}

.cart-subtotal label {
    font-size: 12px;
    line-height: 20px;
    color: #A4A4A4;
    font-style: italic;
    letter-spacing: .32px;
}

.content-total {
    max-width: 20%;
    flex: 0 0 20%;
}

.price-total {
    max-width: 10%;
    flex: 0 0 10%;
}

.content-total {
    font-size: 12px;
    line-height: 15px;
}

.content-total span {
    color: var(--light);
}

.price-total {
    color: var(--red);
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
}

.wc-proceed-to-checkout {
    text-align: right;
}

.wc-proceed-to-checkout a {
    width: 100%;
    text-align: center;
}

.btn-shops a {
  padding: 14px 22px;
}

.cart-collaterals {
    background: var(--bg-light-1);
    box-shadow: 2px -4px 14px 0px #002B270A;
    border-radius: 8px;
    border: 1px solid var(--light-1);
    padding: 21px 16px 16px;
}

.cart-subtotal, 
.sale-price, 
.order-total .order {
    justify-content: space-between;
}

.cart-subtotal p, 
.sale-price p,
.cart-subtotal span, 
.sale-price span,
.content-total,
.price-total {
    max-width: 100%;
    flex: 1;
}

.cart-subtotal:not(:first-child) {
    margin-top: 8px;
}
.cart-subtotal p{
    font-size: 14px;
}

.product-cart-sum-left {
    position: relative;
}
.product-cart-sum-left b{
    display: block;
    color: #0084C9;
    padding-left: 15px;
}
.product-cart-sum-left #removeCoupon {
    position: absolute;
    left: 0;
    bottom: -3px;
}

.cart-subtotal span, 
.sale-price span,
.price-total {
    text-align: right;
}

.cart-collaterals .wc-proceed-to-checkout {
    text-align: center;
}


@media (max-width: 991px) {

    .checkout-page-top {
        gap: 12px;
        align-items: baseline;
    }

    .checkout-page-top .icon-box {
        flex-direction: column;
        width: 33%;
    }

    .checkout-page-top .line {
        width: 100%;
    }

    .content-icon {
        padding-top: 8px;
        padding-left: 0;
    }

    .content-icon h3 {
        font-size: 12px;
        line-height: 20px;
        text-transform: uppercase;
        white-space: nowrap;
    }
    
    .content-icon p {
        display: none;
    }

    .cart-subtotal span, 
    .sale-price span,
    .price-total {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-name .option-select__item {
        max-width: initial;
        flex: 1;
    }
}

@media (max-width: 767px) {

    .shop_table .product-price, 
    .shop_table .product-subtotal,
    .shop_table .product-quantity {
        display: none;
    }

    .product-name p {
        font-size: 12px;
        line-height: 16px;
    }

    .product-name .option-select__item {
        max-width: 10%;
    }

    .option-select__inner.option-select__all .checkmark {
        width: 24px;
    }

    .list-cart__products .product-cart {
        align-items: flex-start;
        border-bottom: 1px solid var(--light);
        padding-bottom: 8px;
        margin-bottom: 24px;
    }

    .product-cart .thumb {
        max-width: 30%;
        flex: 0 0 30%;
    }

    .product-cart .content {
        max-width: 70%;
        flex: 0 0 70%;
    }

    .list-cart__products .product-cart .note {
        margin-bottom: 12px;
    }

    .list-cart__products .product-price ins {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: .32px;
    }

    .product-price ins {
        font-size: 12px;
        line-height: 20px;
    }

    .product-price p {
        color: var(--primary);
        font-size: 12px;
        line-height: 20px;
    }

    .woocommerce-checkout .cart-empty th {
      white-space: pre-wrap !important;
      min-height: auto !important;
    }

    .price-quantity {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/*---------------------
  Cart
-----------------------*/
.checkout-page .title-detail {
    padding: 40px 0;
}

.payment-method-infomation {
    font-size: 12px;
    line-height: 15px;
    color: var(--dark);
}
.payment-method-infomation p:not(:last-child) {
    margin-bottom: 12px;
}
.payment-method-infomation h5 {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}

.checkout-page-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.checkout-page-top .icon-box .thumb-icon {
    /*padding: 8px;*/
    justify-content: center;
    width: 32px;
    height: 32px;
}

.icon-box.active .thumb-icon {
    border-color: rgba(236, 34, 31, 1);
    background: rgba(236, 34, 31, 1);
}

.checkout-page-top .icon-box .thumb-icon img {
    width: 55px;
}

.content-icon {
    padding-left: 8px;
}

.content-icon h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: var(--light);
    margin-bottom: 0;
}

.content-icon p {
    font-size: 14px;
    line-height: 20px;
    color: var(--light);
}

.icon-box.active .content-icon h3 {
    color: var(--dark);
}

/*.checkout-page .icon-box:first-child .content-icon p {
    color: var(--light);
}*/

.checkout-page-top .line {
    background: var(--primary);
    height: 1px;
    width: 165px;
}

.table-cart {
	height: 100%;
    width: 100%;
}

.woocommerce table, .woocommerce th, .woocommerce td {
    margin: 0;
    padding: 15px;
    vertical-align: middle;
    border-collapse: collapse;
    text-align: center;
}

.woocommerce-cart-form__cart-item:not(:last-child) {
    border-bottom: 1px solid var(--light-3);
}

.woocommerce .product-price * ,
.woocommerce .product-subtotal .price {
    letter-spacing: 1px;
}

.product-name,
.wishlist-remove {
    display: flex;
    align-items: center;
    gap: 16px;
}

.product-name p {
    text-transform: uppercase;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: .6px;
}

.option-select__all {
/*    height: 24px;*/
}

.option-select__all .checkmark {
    padding: 3px;
    border-radius: 4px;
    border-color: var(--light);
}

.woocommerce-checkout .option-select__all input + .checkmark img:last-child,
.woocommerce-checkout .option-select__all input:checked + .checkmark img:first-child {
	display: none;
}

.woocommerce-checkout .option-select__all input:checked + .checkmark img:last-child {
	display: block;
}

.cart_item {
    border-bottom: 1px solid #EAEAEB;
}
.cart_item.disabled {
/*    background: #F5F5F5;*/
}

.cart_item td:first-child {
    padding-left: 12px;
}

.cart_item td:first-child,
.product-cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.product-cart {
    align-items: flex-start;
}

.cart_item:hover {
    background: #F5F5F5;
}

/*.cart_item td .option-select__all input:checked~.checkmark,*/
/*.option-select__inner input:checked~.checkmark {
    background: var(--secondary);
}*/

/*.cart_item .option-select__item {
    max-width: 8%;
    flex: 0 0 8%;
    text-align: left;
    top: -20px;
}*/

.product-cart__info {
    /*max-width: 92%;
    flex: 0 0 92%;*/
    flex: 1;
}

.product-cart .thumb {
    /*max-width: 25%;
    flex: 0 0 25%;*/
    overflow: hidden;
    border-radius: 5px;
}

.product-cart .thumb a {
  display: block;
  text-align: left;
}

.product-cart__rating .thumb {
    border-radius: 5px;
    overflow: hidden;
}

.product-cart .thumb img,
.product-cart__rating .thumb img {
    width: 100px;
    height: 100px;
}

.product-cart .content {
    max-width: 75%;
    flex: 0 0 75%;
    padding-left: 12px;
    text-align: left;
}

.product-cart__rating {
    display: flex;
    gap: 12px;
}

.product-cart h3,
.product-cart__rating h3 {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: .32px;
    font-weight: 600;
    margin-bottom: 0;
}

.product-cart h3 a,
.product-cart__rating h3 a {
    color: var(--black);
    display: block;
}

.product-cart p {
    font-weight: 600;
    color: var(--red);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .32px;
    padding: 8px 0;
}

.classify .name {
    background: #EAEAEB;
    font-size: 13px;
    line-height: 15px;
    border: none;
    color: #8C8D8F;
    width: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 6px 12px;
    display: inline-flex;
    cursor: pointer;
    font-weight: normal;
}

.name-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.name-close .close {
    cursor: pointer;
}

.product-attr-content .close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    cursor: pointer;
}

.classify-info {
    background: var(--bg-light-1);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0px 0px 20px 0px #0000001A;
    display: none;
    position: absolute;
    left: 0;
    z-index: 10;
}

.cart-item-select {
    display: flex;
    flex-wrap: wrap;
    cursor: pointer;
}

/* .cart-item-select .checkmark {
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid var(--light);
    border-radius: 4px;
    background: url('../img/star-radio.png') no-repeat center center;
}
.cart-item-select input:checked~.checkmark {
    border-color: var(--primary);
    background: url('../img/star-radio-checked.png') no-repeat center center var(--secondary);
} */

@media (min-width: 992px) {

    .classify-info {
        width: 367px;
    }
}

.classify.active .classify-info {
    display: block;
}

.classify-info .swatch_item {
    gap: 5px;
}

@media (max-width: 991px) {

    .classify-info {
        width: 300px;
    }

    .product-cart .thumb img,
    .product-cart__rating .thumb img {
        height: auto;
    }

    .classify .name {
        font-size: 9px;
    }

    .btn-shops {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 4px;
    }

    .btn-shops a {
        padding: 14px 20px !important;
    }

    .cart_item td:first-child {
        padding-right: 12px;
    }

    .product-cart .content {
        max-width: 63%;
        flex: 0 0 63%;
    }
}

@media (max-width: 767px) {

    .classify-info {
        left: initial;
        right: 0;
    }

    .classify.active .classify-info {
        padding: 20px !important;
    }
}

.product-cart .note {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 8px;
}

.wishlist-remove {
    gap: 8px;
}

.wishlist-remove a {
    font-size: 12px;
    line-height: 1;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 3px;
}

.remove a:hover span {
	text-decoration: underline;
}

.product-price ins {
    font-size: 16px;
    line-height: 12px;
    font-weight: 600;
    display: block;
    color: #29433E;
    letter-spacing: .6px;
}

.product-price del {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: .32px;
    color: var(--light);
}

.number-product {
	line-height: 20px;
	color: var(--secondary);
	letter-spacing: .36px;
	font-weight: 600;
}

.product-quantity .quantity {
    width: 77px;
    height: 26px;
    border: 1px solid var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.product-quantity a {
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
}

.cart_totals {
    padding-top: 20px;
}

.cart-subtotal,
.sale-price,
.order-total .order {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.order-total {
	margin-top: 16px;
	border-top: 1px solid var(--light);
}

.order-total .order {
    padding: 24px 0;
}

/*.cart-subtotal p,*/
.sale-price p {
    font-size: 12px;
    line-height: 15px;
    max-width: 20%;
    flex: 0 0 20%;
}

.cart-subtotal span,
.sale-price span {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: .32px;
    color: var(--black);
    max-width: 10%;
    flex: 0 0 10%;
}
.cart-subtotal span span {
    font-size: 13px;
    color: #A4A4A4;
    font-weight: normal;
}

.cart-subtotal label {
    font-size: 12px;
    line-height: 20px;
    color: #A4A4A4;
    font-style: italic;
    letter-spacing: .32px;
}

.content-total {
    max-width: 20%;
    flex: 0 0 20%;
}

.price-total {
    max-width: 10%;
    flex: 0 0 10%;
}

.content-total {
    font-size: 12px;
    line-height: 15px;
}

.content-total span {
    color: var(--light);
}

.price-total {
    color: var(--red);
    font-weight: 600;
    font-size: 16px;
    line-height: 25px;
}

.wc-proceed-to-checkout {
    text-align: right;
}

.wc-proceed-to-checkout a {
    width: 100%;
    text-align: center;
}

.wc-proceed-to-checkout a,
.btn-comment a,
.btn-shops a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: .6px;
    padding: 12px 87.5px;
    border-radius: 50px;
    white-space: nowrap; 
}

.btn-shops a {
  padding: 14px 22px;
}

.cart-collaterals {
    /* background: var(--bg-light-1); */
    background: linear-gradient(to bottom, #fb5858, #D92B4B);
    box-shadow: 2px -4px 14px 0px #002B270A;
    border-radius: 8px;
    border: 1px solid var(--light-1);
    padding: 21px 16px 16px;
}

.cart-subtotal, 
.sale-price, 
.order-total .order {
    justify-content: space-between;
}

.cart-subtotal p, 
.sale-price p,
.cart-subtotal span, 
.sale-price span,
.content-total,
.price-total {
    max-width: 100%;
    flex: 1;
}

.cart-subtotal:not(:first-child) {
    margin-top: 8px;
}
.cart-subtotal p{
    font-size: 14px;
}

.product-cart-sum-left {
    position: relative;
}
.product-cart-sum-left b{
    display: block;
    color: #0084C9;
    padding-left: 15px;
}
.product-cart-sum-left #removeCoupon {
    position: absolute;
    left: 0;
    bottom: -3px;
}

.cart-subtotal span, 
.sale-price span,
.price-total {
    text-align: right;
}

.cart-collaterals .wc-proceed-to-checkout {
    text-align: center;
}

.cart-collaterals .wc-proceed-to-checkout a {
    padding-left: 60px;
    padding-right: 60px;
}

@media (max-width: 991px) {

    .checkout-page-top {
        gap: 12px;
        align-items: baseline;
    }

    .checkout-page-top .icon-box {
        flex-direction: column;
        width: 33%;
    }

    .checkout-page-top .line {
        width: 100%;
    }

    .content-icon {
        padding-top: 8px;
        padding-left: 0;
    }

    .content-icon h3 {
        font-size: 12px;
        line-height: 20px;
        text-transform: uppercase;
        white-space: nowrap;
    }
    
    .content-icon p {
        display: none;
    }

    .cart-subtotal span, 
    .sale-price span,
    .price-total {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-name .option-select__item {
        max-width: initial;
        flex: 1;
    }
}

@media (max-width: 767px) {

    .shop_table .product-price, 
    .shop_table .product-subtotal,
    .shop_table .product-quantity {
        display: none;
    }

    .product-name p {
        font-size: 12px;
        line-height: 16px;
    }

    .product-name .option-select__item {
        max-width: 10%;
    }

    .option-select__inner.option-select__all .checkmark {
        width: 24px;
    }

    .list-cart__products .product-cart {
        align-items: flex-start;
        border-bottom: 1px solid var(--light);
        padding-bottom: 8px;
        margin-bottom: 24px;
    }

    .product-cart .thumb {
        max-width: 30%;
        flex: 0 0 30%;
    }

    .product-cart .content {
        max-width: 70%;
        flex: 0 0 70%;
    }

    .list-cart__products .product-cart .note {
        margin-bottom: 12px;
    }

    .list-cart__products .product-price ins {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: .32px;
    }

    .product-price ins {
        font-size: 12px;
        line-height: 20px;
    }

    .product-price p {
        color: var(--primary);
        font-size: 12px;
        line-height: 20px;
    }

    .woocommerce-checkout .cart-empty th {
      white-space: pre-wrap !important;
      min-height: auto !important;
    }

    .price-quantity {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}


.list-purchase .cart_item td:first-child {
    height: 100%;
    justify-content: center;
}

.table-cart td {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    /* white-space: nowrap; */
}
.table-cart td a {
    color: var(--primary);
}
.table-cart .alert {
    padding: 10px;
}

.purchase-content a {
    color: var(--primary);
    padding: 0;
    border: none;
    border-radius: 0;
}

.table-cart a.comment {
    color: #C4CDCE;
}

.list-purchase .box-content-order,
.list-purchase .box-content-order.status {
    display: block;
    border-radius: 4px;
}

.box-content-order.purchase-status {
    background: var(--third-1);
    white-space: nowrap;
}

/* checkout  */
/*---------------------
  Pay
-----------------------*/

.info-pay {
    border: 1px solid #EAEAEB;
    border-radius: 8px;
    background: #FBF8F0;
    padding: 24px;
}

.info-order__result {
	background: var(--bg-light-1);
} 

.info-pay:not(:last-child) {
    margin-bottom: 28px;
}


.title-pay a {
    text-decoration: underline;
    color: var(--primary);
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
}

.pay-option .option-select__inner .checkmark {
    border-radius: 20px;
}

.pay-option .option-select__inner .checkmark img:first-child,
.pay-option .option-select__item.active .checkmark img:last-child {
    display: none;
}

.pay-option .option-select__item.active .checkmark img:first-child {
    display: block;
    width: 16px;
    height: 16px;
}

.pay-option .cart-item-select {
    position: relative;
}
.option-method div.error {
    position: absolute;
    top: 10px;
    right: 10px;
}

.pay-option .cart-item-select,
.pay-option .option-select__item {
    color: #000;
    cursor: pointer;
    border: 1px solid var(--light);
    border-radius: 8px;
    padding: 12px 8px;
    max-width: 100%;
}

.cart-item-select.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pay-option .cart-item-select .checkmark {
/*    border-radius: 50%;*/
}

.option-method {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.content-method {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.content-method .content {
    display: none;
    flex: 1;
}

.note-method {
    color: #8C8D8F;
}

.note-method p {
    margin-bottom: 0;
}

.option-method .note-method {
    font-size: 14px;
    line-height: 20px;
}

.price-method {
    display: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #996E11;
    padding: 5px 13px;
    background: var(--third-1);
/*    width: 200px;*/
    white-space: nowrap;
    text-align: center;
}

label.is-checked ,
.pay-option .option-select__item.active {
    border-color: var(--primary);
    background: var(--bg-light);
}

label.is-checked .content-method .content ,
label.is-checked .content-method .price-method {
    display: block;
}

.pay-option .option-select__item.active .option-select__inner .checkmark {
    background: var(--primary);
}

.pay-option .option-select__item.active .content-method .content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.pay-option .option-select__item:not(:last-child) {
    margin-bottom: 12px;
}

.pay-option .option-select__item p {
    font-size: 14px;
    line-height: 20px;
}

.info-payment {
    margin-top: 10px;
    display: none;
}

.info-payment .content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.qr-code {
    max-width: 17%;
    flex: 0 0 17%;
    background: var(--white);
    overflow: hidden;
    border-radius: 12px;
}

.content-payment {
    max-width: 83%;
    flex: 0 0 83%;
    padding-left: 8px;
}

.is-checked .info-payment ,
.pay-option .option-select__item.active .info-payment {
    display: block;
    flex: 0 0 100%;
}

.info-pay .form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.info-pay .form-group input {
    font-size: 12px;
    line-height: 15px;
    color: var(--light-1);
    border-color: var(--primary);
    border-radius: 20px;
    padding: 12px 20px;
    max-width: 70%;
    flex: 0 0 70%;
}

.info-pay .form-group input:focus {
    box-shadow: none;
}

.info-pay .form-group button {
    max-width: 15%;
    flex: 0 0 15%;
    background: var(--primary);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: .6px;
    padding: 10px 22px;
    border-radius: 20px;
}

.payment-table .product-cart .thumb {
    overflow: hidden;
    border-radius: 5px;
}

.payment-table .product-cart .content {
    max-width: 70%;
    flex: 0 0 70%;
}

.payment-table .product-cart h3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.payment-table .product-cart p {
    padding-top: 4px;
}

.payment-table .product-cart select {
    margin-bottom: 4px;
}

.payment-cart {
    box-shadow: none;
    border-color: transparent;
    border-radius: 5px;
    padding: 20px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.info-order__pay p {
    font-size: 12px;
    line-height: 15px;
    color: var(--light-1);
}

.box-title-pay a {
    font-size: 12px;
    line-height: 15px;
    color: #8C8D8F;
}

.order-notes textarea {
    font-size: 14px;
    line-height: 20px;
    color: #A8A9AC;
}

.option-select {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-select__address input {
    display: none;
}

.option-select__address .checkmark {
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid #996E11;
    color: #996E11;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: .32px;
    font-weight: 600;
}

.option-select__address input:checked~.checkmark {
    background: #996E11;
    color: var(--white);
}

.btn-toggle {
    position: relative;
    border: 1px solid var(--light);
    border-radius: 35px;
    width: 28px;
    height: 16px;
}

.btn-toggle.active {
    background: #996E11;
    border-color: #996E11;
}

.btn-toggle > .handle {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    transform: translateY(-50%);
    left: 2px;
    border-radius: 30px;
    background: var(--gray-1);
    transition: left 0.25s;
}

.btn-toggle.active > .handle {
    left: 12px;
    transition: left 0.25s;
}

.address-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-default {
    font-size: 12px;
    line-height: 15px;
}

.button-modal {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-adress {
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.add-adress a {
    letter-spacing: .32px;
    color: var(--primary);
}

@media (max-width: 991px) {

    .pay-option .option-select__item p {
        font-size: 12px;
    }

    .info-pay .form-group button {
        max-width: 20%;
        flex: 0 0 20%;
    }

    .note-payment input[type="text"] {
        width: 100%;
        background: transparent;
        padding: 12px 16px;
        font-size: 14px;
        line-height: 20px;
        border: 1px solid var(--light);
        border-radius: 4px;
    }

    .note-payment input[type="text"]:focus {
        outline: none;
    }
}

@media (max-width: 767px) {
    .info-pay .form-group {
        flex-direction: column;
        gap: 10px;
    }

    .info-pay .form-group input,
    .info-pay .form-group button {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .info-pay .form-group button {
        width: 100%;
    }

    .title-pay h3 {
        font-size: 12px;
    }

    .frm-pay .woocommerce td {
        padding: 0;
    }

    .frm-pay .woocommerce .woocommerce-cart-form__cart-item,
    .info-transfer .woocommerce-cart-form__cart-item {
        border-bottom: 1px solid var(--light);
        padding-bottom: 8px;
        margin-bottom: 24px;
        display: block;
    }

    .frm-pay .woocommerce .woocommerce-cart-form__cart-item:last-child,
    .info-transfer .woocommerce-cart-form__cart-item:last-child {
        margin-bottom: 0;
    }

    .frm-pay .product-cart {
        max-width: 100%;
    }

    .info-payment .content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .qr-code,
    .content-payment {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .qr-code {
    	margin: 0 auto;
    }

    .content-payment {
        padding-left: 0;
    }

    .info-transfer {
    	background: var(--bg-light-1);
    	padding: 24px;
    	border: 1px solid var(--light);
    	border-radius: 12px;
    	margin-bottom: 24px;
    }

    .info-transfer .woocommerce-cart-form__cart-item td {
    	padding: 0;
    }
}

/*---------------------
  Pay Login
-----------------------*/

.address-content span:first-child {
    background: #996E11;
    color: var(--white);
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: .32px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 4px 8px;
}

.address-content span:nth-child(2) {
    font-size: 14px;
    line-height: 15px;
    font-weight: 600;
}

.address-content p,
.content-package p {
    color: var(--light-1);
}

.delivery-content,
.content-package {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.delivery-content span {
    display: none;
    background: #FFE9B9;
    color: #996E11;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
}

.content-package span {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: .6px;
    color: #996E11;
}

.content-package .price {
    color: #996E11;
}

.pay-option .option-select__item.active .delivery-content span {
    display: block;
}

.woocommerce .pay-option .option-select__item.active {
    background: #FFF4DD;
    border-color: #996E11;
}

.payment-cart .voucher {
    flex-wrap: initial;
}

.cart-collaterals .voucher p span {
    color: #0d6efd;
    font-size: 14px;
    line-height: 15px;
    font-style: italic;
    font-weight: 400;
    text-align: initial;
}

@media (max-width: 991px) {

    .delivery-content span {
        font-size: 12px;
        line-height: 20px;
    }

    .price-method {
        font-size: 12px;
    }
}

@media (max-width: 767px) {

    .address-content span:nth-child(2) {
        font-size: 12px;
    }

    .delivery-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .pay-option .option-select__item.active .content-method .content {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*---------------------
  Order Result COD/VNPAY
-----------------------*/

.order-result h4 {
    color: var(--primary);
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 20px;
}

.order-code {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: .32px;
    text-transform: uppercase;
    padding: 8px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.order-result p {
    font-size: 12px;
    line-height: 15px;
}

.order-result p span.email,
.order-result p span.hotline {
    font-weight: 600;
    color: var(--dark);
}

.detail-order h4 {
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.box-content-order {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.box-content-order.flex-column {
    align-items: flex-start;
}

.box-content-order:not(:last-child) {
    margin-bottom: 8px;
}

.box-content-order p {
/*    max-width: 30%;*/
    flex: 0 0 100px;
    font-size: 14px;
    line-height: 20px;
    color: var(--light-1);
}

.box-content-order span {
    font-size: 14px;
    line-height: 20px;
    display: inline-block;
}

.box-content-order.status label {
    background: var(--third);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--dark);
    letter-spacing: .32px;
    padding: 8px;
    border-radius: 8px;
}

.box-content-order.transfer-status label{
    background: #0084C9;
    color: var(--white);
}

.box-content-order.failed label {
    background: var(--light);
}

.box-content-order.delivery label {
    background: #FFE9B9;
}

.payment-cart .btn-order-group a,
.btn-comment a {
    padding-left: 35px;
    padding-right: 35px;
}

.payment-cart .btn-order-group a.back-home,
.btn-comment a:first-child {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all .3s ease;
}

.payment-cart .btn-order-group a.back-home:hover,
.btn-comment a:first-child:hover {
    background: var(--primary);
    color: var(--white);
}

.order-result-price {
    border: none;
    border-radius: 0;
    background: var(--bg-light-1);
}

.content-transfer h5 {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
}

.content-transfer p {
    font-size: 12px;
    line-height: 15px;
    color: var(--dark);
}

.content-transfer p:not(:last-child) {
    margin-bottom: 12px;
}

@media (min-width: 768px) {
	.bg-transfer {
		background: transparent;
	}
}

@media (max-width: 991px) {
	.title-order__result h3 {
		font-size: 20px;
		line-height: 25px;
	}
}

@media (max-width: 767px) {

	.order-result h4 {
		font-size: 18px;
		line-height: 20px;
	}

	.title-order__detail h3 {
		font-size: 18px;
		line-height: 20px;
	}

	.payment-cart .btn-order-group a,
	.btn-comment a {
		text-align: center;
		padding-left: 16px;
		padding-right: 16px;
	}

	.payment-cart {
		padding: 0;
	}

	.rw-transfer__payment {
		flex-direction: column-reverse;
	}

	.order-payment:first-child {
		order: 2;
		text-align: center;
	}

	.order-payment:nth-child(2) {
		order: 1;
	}

	.order-payment:last-child {
		order: 3;
	}

	.box-content-order p {
		max-width: 35%;
		flex: 0 0 35%;
	}

	.box-content-order span {
		max-width: 65%;
		flex: 0 0 65%;
	}
}

.btn-main {
    padding: 0 20px;
    height: 44px;
    /* line-height: 40px; */
}
.btn-main, .addcart-view a {
    border: 2px solid var(--primary);
    color: var(--primary);
    white-space: nowrap;
    font-weight: 600;
    font-size: 11px;
    line-height: 16px;
    text-transform: uppercase;
    padding: 13px 13.5px;
    border-radius: 50px;
    box-shadow: 0px 2px 0px 0px #00000004;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* .submit-checkout {
    padding: 10px 20px;
    border-radius: 14px;
    background: var(--base-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.submit-checkout:hover {
    color: var(--base-color);
    background: darken(var(--base-color), 5%); 
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}


  */

  /* Form label đẹp, thanh lịch */
.form-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
    font-size: 15px;
    display: block;
}

/* Input & Select style hiện đại */
.form-control, .form-select {
    border-radius: 12px;
    padding: 12px 16px;
    /* border: 1px solid #ddd; */
    border: 2px solid transparent;
    outline: none;
    overflow: hidden;
    transition: all 0.5s;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease-in-out;
    font-size: 15px;
}

.form-control:focus, .form-select:focus {
    /* border-color: var(--base-color); */
    /* box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15); */
    outline: none;
    border: 2px solid #F22727;
    box-shadow: 0 0 0 7px rgba(250, 165, 165, 0.4);
    background-color: white;
}

/* Textarea padding */
textarea.form-control {
    padding: 14px;
    resize: vertical;
    min-height: 120px;
}

/* Title trong từng phần */
.title-pay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--base-color);
}

/* Checkbox đẹp, hiện đại */
.form-check-input {
    border-radius: 4px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border: 1px solid #bbb;
    cursor: pointer;
    transition: 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--base-color);
    border-color: var(--base-color);
}

.form-check-label {
    font-size: 14px;
    margin-left: 8px;
    color: #333;
    cursor: pointer;
}

/* Cart Summary khung */
.info-order__result {
    background: #fefefe;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

/* Submit Button Hover cải tiến */
.submit-checkout {
    padding: 14px 28px;
    border-radius: 16px;
    background: var(--base-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.submit-checkout:hover {
    background: #165fc5;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.98;
}

.submit-checkout:active {
    transform: scale(0.97);
}
.quote-message {
    text-align: center;
    color: #333;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
}



@media (max-width: 768px) {
    .form-label {
        font-size: 14px;
    }

    .form-control, .form-select {
        font-size: 14px;
        padding: 10px 14px;
    }

    .submit-checkout {
        width: 100%;
        font-size: 15px;
        padding: 13px;
    }

    .title-pay h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }
}

.pro-name-cart-mini {
    font-size: 14px !important;
    font-weight: 600; 
    color: #333;
    line-height: 1.4; 
}
.checkout-title{
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    cursor: pointer;
}
.bg-underline {
  background-image: linear-gradient(transparent 65%, rgb(255, 194, 203) 0%);
  background-repeat: no-repeat;
  background-size: 100% 250%;
  background-position: 0% 65%;
  transition: background-position 0.5s ease 0s;
}
.bg-underline:hover {
  background-position: 0% 100%;
}
