.swatch-element label {
            padding: 15px;
            font-size: 14px;
            border-radius: 6px;
            height: 30px!important;
            min-width: auto!important;
            white-space: nowrap;
            display: flex !important;
            align-items: center;
            justify-content: center;
            border: 1px solid #ccc;
            margin-left: 10px;
            border-radius: 10px
        }
        .swatch-element input {
            width: 100%;
            height: 100%;
            opacity: 0;
            position: absolute;
            z-index: 3;
            top: 0;
            left: 0;
            cursor: pointer
        }

        .swatch .swatch-element input:checked+label {
          background: var(--subColor);
          border-color: #ddd;
          color: #fff;
      }

      .swatch .swatch-element input:checked+label:after {
        content: none;
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QAAKqNIzIAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQfkCw8RJSHXzNuNAAAAfElEQVQoz7WRsQ2CYBQGLwRCaLRkDwqdwcLCSZjCmj2AgtoJXMbEUquzEAz+8Je89r675sGG59ka0ig+0ZFbJDGbgRwoAXemi/hb1QZw793ebB739cPgTdV2qvzZAFY+VL+VwB4nB59j5RLYhBVXcTBZw7NJDAN49LrFyz67GnkMHStx0wAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xNVQxNzozNzozMyswMDowMGfDTJEAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTVUMTc6Mzc6MzMrMDA6MDAWnvQtAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAABJRU5ErkJggg==);
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        top: 0;
        right: 0;
        width: 6px;
        height: 6px
    }

    .swatch .swatch-element input:checked+label:before {
        content: none;
        padding: 4px;
        font-size: 10px;
        line-height: 1;
        position: absolute;
        top: -15px;
        right: -13px;
        background: var(--primary-color);
        width: 26px;
        height: 24px;
        transform: rotate(45deg)
    }

    .swatch .color label {
        width: 28px;
        min-width: unset!important;
        height: 28px!important;
        line-height: 28px!important;
        border-radius: 6px!important
    }

    .swatch .color label:before {
        content: none
    }

    .swatch {
        display: flex;
        align-items: center;
        flex-wrap: wrap
    }

    .swatch .header {
        flex: 0 0 100%;
        margin-right: 10px;
        color: #727272
    }

    .swatch .color label {
        position: relative;
        z-index: 2;
        border-radius: 100%!important
    }

    .swatch .color span {
        content: "";
        position: absolute;
        width: 38px;
        height: 38px;
        border-radius: 100%;
        background: #fff;
        top: 50%;
        left: 50%;
        z-index: 0;
        transform: translate(-50%,-50%)
    }

    .swatch .color input:checked+label {
        border-color: #eee!important
    }

    .swatch .color input:checked~span {
        opacity: 1;
        border: 2px solid var(--primary-color)
    }
    .layout-product .swatch {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .input_number_product, .custom-btn-number {
        border: none;
        display: flex
        ;
        height: 36px;
        margin-bottom: 20px;
        align-items: center;
    }
    .input_number_product, .custom-btn-number {
        border: none;
        display: flex
        ;
        height: 36px;
        margin-bottom: 20px;
        margin-top: 20px;
        align-items: center;
    }
    .modal-content {
        position: relative;
        display: -ms-flexbox;
        display: flex
        ;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        pointer-events: auto;
        background-color: #ffff !important;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, .2);
        border-radius: .3rem;
        outline: 0;
    }
    .position-relative {
        position: relative !important;
    }
    .atic-form{
        display: flex !important;
    }

    .form-control {
        display: block;
        width: 100%;
        height: calc(1.5em + .75rem + 2px);
        padding: .375rem .75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #495057;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    }
    .number-quiz-qty {
        border: none;
        display: flex;
        height: 36px;
        width: 100%;
        margin-bottom: 20px;
        margin-top: 10px;
        align-items: center;
    }
    .popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Màu tối với độ mờ */
        z-index: 999; /* Đặt trên tất cả */
        display: none; /* Ẩn mặc định */
    }
    .btn-dhn-close{
        border-radius: 15px;
        border: none;
        background-color: #ffff;
        float: right;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: .5;

    }
    .btn-dhn-close span {
      display: inline-block;
      transition: transform 0.5s ease-in-out;
  }

  .btn-dhn-close:hover span {
      transform: rotate(360deg);
  }


  .icon_dangky {
    width: 100%;
    display: flex;
    margin: 20px 0px;
    line-height: 20px;
}
.icon_dangky a {
    display: block;
    padding: 15px 0px;
    color: #FFF;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 54px;
    width: 280px;
    float: left;
    margin: auto;
    background: linear-gradient(to right, rgba(108, 117, 255, 0.9), rgba(255, 98, 216, 0.9));

    font-weight: bold;

}
.icon_dangky a:hover {
    background: linear-gradient(to right, var(--mainColor), var(--mainColor));

}
.icon_dangky a span {
    text-transform: none;
    font-size: 14px;
    font-weight: normal;
}

.popup-content {
    background: #fff;
    padding: 20px;
    width: 300px;
    margin: 10% auto;
    position: relative;
    border-radius: 8px;
    text-align: center;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.price{
    font-weight: bold;
    color: var(--mainColor);
}
.bt{
    margin: 3px;
}
.custom-qt{
    display: flex;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom:10px;
}
.input_number_product-quiz{
    display: flex;
}
.btn_num.num_1 {
    border-radius: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.input_number_product-quiz input {
    display: block;
    color: var(--textColor);
    text-align: center;
    box-shadow: none;
    background: #fff;
    margin: 0;
    height: 40px;
    line-height: 40px;
    box-shadow: none;
    border-radius: 0px;
    font-size: 16px;
    width: 60px;
    padding: 0;
    border: none;
    border-bottom: solid 1px #ddd;
    border-top: solid 1px #ddd;
}
.input_number_product-quiz .btn_num.num_2 {
    border-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.input_number_product-quiz .btn_num:hover {
    background-color: var(--mainColor);
    color: #fff;
    border: solid 1px var(--mainColor);
}
.input_number_product-quiz .btn_num {
    font-size: 20px;
    line-height: 0px;
    border: solid 1px #e4e4e4;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #fff;
    float: left;
    color: #333;
    text-align: center;
    padding: 0px;
    font-size: 16px;
    display: flex
    ;
    justify-content: center;
    align-items: center;
}
.sl-qtt{
    margin-right: 10px;
}
.group-country{
    display: flex;
}
.group-country fieldset {
    width: calc(100% / 3);
    -webkit-width: calc(100% / 3);
    -moz-width: calc(100% / 3);
    -o-width: calc(100% / 3);
    -os-width: calc(100% / 3);
}
.form-group.select-field select {

    text-indent: 0.01px;
    z-index: 10;
    position: relative;
    outline: none;
    font-size: 14px;
}

.form-group{
    margin-top: 10px;
}

.modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.ip-other{
    margin-bottom: 5px!important;
}
.lb-quiz{
    font-weight: bold;
}
.QH-m{
    margin-right: 5px;
    margin-left: 5px;
}

@media (max-width: 1199px) {
    .popup-cart-hv .top-cart-content {
        display:none !important
    }
}

.header-action_cart {
    position: relative
}

.popup-cart-hv:before {
    content: '';
    position: absolute;
    height: 46px;
    width: 40px
}

.popup-cart-hv:hover .top-cart-content {
    display: block;
}

 .top-cart-content {
    display: none;
    position: absolute;
    top: 46px;
    right: 0px;
    background: #fff;
    padding: 0;
    text-align: left;
    box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    -o-box-shadow: 0px 3px 25px 0px rgba(31,38,67,0.1);
    -moz-box-shadow: 0px 3px 25px 0px rgba(31,38,67,0.1);
    -webkit-box-shadow: 0px 3px 25px 0px rgba(31, 38, 67, 0.1);
    z-index: 9999;
    border-radius: 5px;
}

/* Mặc định hiện coupon */
.section_coupon .coupon-list-wrapper {
  transition: max-height 0.3s ease;
}


/* Mặc định: ẩn icon */
@media (min-width: 768px) {
  .icon-sl {
    display: none;
  }
}

/* Khi mobile → hiện icon */
@media (max-width: 767.98px) {
  .icon-sl {
    display: inline-block;
     transition: transform 0.3s ease;
  }
}

/* Ẩn khi mobile */
@media (max-width: 767.98px) {
  .section_coupon .coupon-list-wrapper {
    max-height: 0;
    overflow: hidden;
  }
  .section_coupon.active .coupon-list-wrapper {
    max-height: 1000px; /* Giả định đủ để hiện toàn bộ nội dung */
  }
}


/* Khi .section_coupon có class active → quay mũi tên lên */
.section_coupon.active .btn-toggle-coupon .icon-sl {
  transform: rotate(180deg);
}

/* css popup */
.quick-view-product {
    position: absolute;
    max-width: 100%;
    width: 500px;
    top: 5%;
    height: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #2C5C6A;
    z-index: 8011;
    border-radius: 15px;
    max-height: 90vh;
}
.quick-view-product-1 {
    
    max-width: 100%;
    width: 500px;
    top: 5%;
    height: auto;
    margin: 0 auto;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #2C5C6A;
    z-index: 8011;
    border-radius: 15px;
}
.var_qb {
    background: #fff;
    padding: 2px 5px;
    border-radius: 6px;
    margin-right: 11px;
    border: 1px solid #fff;
    margin-bottom: 8px;
    display: inline-block;
}
.group_q_buy input, .group_q_buy select {
    height: 30px;
    padding: 0 10px;
    min-height: unset;
    border-radius: 5px;
    margin-bottom: 0px;
}
.top_form .title {
    text-transform: uppercase;
    margin-bottom: 7px;
    text-align: center;
    color: #ffff;
}

.group_q_buy label {
    color: #fff;
    margin-bottom: 0;
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
}
.group_q_buy .btn-lienhe{
    width: 100%;
    padding: 7px;
    margin: 10px;
    border-radius: 10px;
    font-weight: bold;
    border: none;
    color: #fba3cd;
    background-color: #497D89;
}
.group_q_buy .btn-lienhe:hover{
    background-color:#fba3cd
        color: #fff;
}
.group_q_buy .layout-product{
  background-color: #ffff;
  margin-top: 10px;
    margin-right: 10px;
    margin-left:13px;
    padding: 5px;
    align-items: center;
    border-radius: 10px;
    display: flex;
}
.group_q_buy .row{
    padding: 10px;
}
.group_q_buy .flex-qt-price .input_number_product{
    background-color: #ffff;
}
.group_q_buy .active{
    background-color: #ffff;
    color: #225771;
}
.group_q_buy #box_ship_quick{
    color: #fff;
}
.group_q_buy #quiz_p2{
    color:#fff;
    font-weight:200;
}
.group_q_buy #quiz_p1{
    color:#fba3cd;
    font-weight:bold;
}
.group_q_buy #btn_quick_checkout:hover{
    background-color:#fba3cd;
        color: #fff;
}
.group_q_buy .svg-inline--fa{
    fill:#fff;
}
