/*
Template Css: Style Khuyến mại 2025
 */

@font-face {
    src: url("../fonts/Pattaya-Regular.ttf");
    font-family: "Pattaya";
}

@font-face {
    src: url("../fonts/Inter/Inter-Bold.ttf");
    font-family: "Inter";
    font-weight: 700;
}

@font-face {
    src: url("../fonts/Inter/Inter-Regular.ttf");
    font-family: "Inter";
    font-weight: 300;
}

@font-face {
    src: url("../fonts/UTM AvoBold.ttf");
    font-family: "UTM Avo";
}

body {
    font-family: "Inter" !important;
    font-weight: 300;
}


/*css home*/

.row_6_home_m  .large-3 {

}

.row_6_home_m_col .col-inner {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #098cffba;
    transition: 0.3s
    ease-in-out;
}

.row_6_home_m_col .col-inner .overlay_uu_dai {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 6px;
    background: #03a9f47d;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s
    ease, visibility 0.3s
    ease;
    align-items: center;
    justify-content: center;
}

.row_6_home_m_col .col-inner .item-domain--top h3 {
    font-size: 12px;
}

.item-domain--top h4 {
    margin: 0px;
    font-weight: 300;
}
.item-domain--mid {
    margin: 0px;
    font-family: "Inter";
    font-weight: 600;
    color: #ff1100;
    font-size: 20px;
}

.item-domain--item-bkns img {
    width: 50px;
}

.item-domain--item-bkns {
    position: fixed;
    top: 20px;
    right: 35px;
}

.row_6_home_m_col_s .voucher-wrapper ul {
    height: 180px;
}

.row_6_home_m_col .col-inner:hover .overlay_uu_dai{
    opacity: 1;
    visibility: visible;
}

.row_6_home_m_col .col-inner .overlay_uu_dai a {
    background: red;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all .3s
    ease-in-out;
    border: 0;
    font-size: 1rem;
    height: 38px;
    line-height: 1;
}

.row_6_home_m_col_s .col-inner {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #098cffba;
    transition: 0.3s
    ease-in-out;
}
.voucher-top-left h3 {
    display: block;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 35px;
}

.voucher-top-left h3 span {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.voucher-top-left h3 strong {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.voucher-top {
    display: flex;
    justify-content: space-between;
}

.voucher-mid {
    margin-bottom: 0px;
}

span.voucher-hot-label {
    background: #B81D0D;
    color: #fff;
    font-size: 16px;
    padding: 8px 17px;
    border-radius: 20px;
}
.voucher-bottom {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.voucher-bottom a {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 35px;
    border-radius: 7px;
    transition: all .3s ease-in-out;
}

a.voucher-button:hover {
    background: #B81D0D;
}

.voucher-top {
    padding-bottom: 5px;
    border-bottom: 2px dashed var(--primary-color);
    margin-bottom: 20px;
}

.row_6_home_m_col .icon-box-img img {
    height: 60px;
}

.list-voucher-mini {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #e4f3f3;
    border-radius: 10px;
}
.list-voucher-mini--header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 25%;
}

.list-voucher-mini--content {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

/*.voucher:hover {*/
/*    background: #e4e4e4;*/
/*}*/

.list-voucher-mini--content .voucher {
    width: 280px;
    position: relative;
    /*background: #fff;*/
    border-radius: 10px;
    margin: 0;
    text-align: center;
    padding: 30px;
    z-index: 0;
    cursor: pointer;
    transition: all .3s
    ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.voucher.horizontal {
    padding: 24px;
    background-image: url(/wp-content/uploads/2025/10/sale-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Pseudo elements (nửa hình tròn) */

.voucher.horizontal::before,
.voucher.horizontal::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background: #e4f3f3;
    border-radius: 50%;
    z-index: 1;
}
.voucher.horizontal::before {
    left: -15px;
}
.voucher.horizontal::after {
    right: -15px;
}

.voucher-content {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    margin-bottom: 10px;
}

.voucher h3 {
    margin: 0;
    font-size: 18px;
    color: #000000;
    font-weight: bold;
}
.voucher p {
    margin: 10px 0;

}
.voucher span {
    font-size: 13px;
    color: #098cff;
    display: block;
    font-weight: bold;
}
.col-voucher{

    margin-bottom: 20px;
}
.list-voucher-mini{

}
.mini--icon img {

}

.col-12.col-md-12.col-voucher {
    width: 100%;
}

.mini--icon {
    background: #098cffc2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    padding: 15px;
}

.list-voucher-mini {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: #e4f3f3;
    border-radius: 10px;
}

.list-voucher-mini--header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 25%;
}

.voucher .highlight {
    position: absolute;
    right: 5px;
    top: 8px;
    padding: 3px 12px;
    background: #B81D0D;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.modal-voucher h3 {
    font-size: 1.1rem;
    background: #ededed;
    padding: 10px;
    border-radius: 3px;
    margin: 15px 0;
}


.voucher-wrap button.close {
    position: relative;
    font-size: 33px;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 20px;
    opacity: 1;
    color: red;
}














.modal-voucher {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-voucher .modal-dialog {
    margin: auto;
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    animation: fadeInUp 0.3s ease;
}



.modal-voucher .modal-header {
    height: 20px;
    border-bottom: none;
    text-align: right;
    padding: 0px 15px;
}

.modal-voucher .modal-body {
    padding: 20px;
}

.modal-voucher .modal-footer {
    border-top: none;
    padding: 15px;
    text-align: right;
}

.modal-voucher {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-voucher.show {
    display: flex !important;
}

.modal-voucher .modal-dialog {
    background: #fff;
    border-radius: 12px;
    max-width: 700px;
    width: 90%;
    animation: fadeInUp 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* phần nội dung cuộn */
.modal-body {
    max-height: 450px;
    overflow-y: auto;
    padding: 20px;
}
.modal-voucher .modal-body ul {
    line-height: 30px;
}
.modal-voucher .modal-dialog button.close {
    margin: 0px;
    font-size: 22px;
    color: red;
}
.mini--text h3 {
    font-size: 30px;
    font-weight: bold;
    color: var(--primary-color);
}
.mini--text h3 span {
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: #000000;
}
.modal-body ul li {
    line-height: 35px;
    font-size: 16px;
    margin-bottom: 0px;
    margin-left: 20px;
}

/* header, footer */

.modal-voucher .modal-header {
    border-bottom: none;
    text-align: right;
    padding: 10px 15px;
}

.modal-voucher .modal-footer {
    gap: 25px;
    display: flex;
    border-top: none;
    padding: 15px;
    text-align: right;
    align-items: center;
    justify-content: center;
}

.modal-voucher .modal-footer a.btn.btn-primary.btn-voucher-register {
    border-radius: 10px;
    padding: 10px 20px;
    color: #fcfcfc;
    background: #2196F3;
}

.modal-voucher .modal-footer button.btn.btn-default {
    font-weight: 100;
    border-radius: 10px;
    padding: 2px 29px;
    color: #fcfcfc;
    background: #F44336;
    margin: 0px;
}

/* hiệu ứng mượt */
@keyframes fadeInUp {
    from {transform: translateY(40px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}



h1.uu_dai_tex_home {
    font-family: "UTM Avo";
    font-size: 45px;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px #00000054;
    color: #2196F3;
}
h2.uu_dai_tex_home {
    font-family: "UTM Avo";
    font-size: 45px;
    line-height: 50px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px #00000054;
    color: #2196F3;
}



/* mobile style*/
@media only screen and (max-width: 767px) {

    h1.uu_dai_tex_home {
        font-family: "UTM Avo";
        font-size: 33px;
        line-height: 39px;
        text-transform: uppercase;
        font-weight: bold;
        display: inline-block;
        margin-bottom: 0px;
        text-shadow: 1px 1px 3px #00000054;
        color: #2196F3;
    }
    h2.uu_dai_tex_home {
        font-size: 33px;
    }

    .row_6_home_m_col .icon-box-img img {
        height: 40px;
        width: 80px;
    }

    .row_6_home_m_col_s .voucher-wrapper ul {
        height: auto;
    }
    .item-domain--item-bkns {
        position: fixed;
        top: 11px;
        right: 28px;
    }
    .list-voucher-mini {
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        padding: 30px 60px;
        background: #e4f3f3;
        border-radius: 10px;
        flex-direction: column;
    }
    .item-domain--mid {
        margin: 0px;
        font-family: "Inter";
        font-weight: 600;
        color: #ff1100;
        font-size: 16px;
    }
    .list-voucher-mini--header {
        margin-bottom: 28px;
    }
}

