:root {
    --fonts: 'Inter', sans-serif;
}

body {
    background-color: #f8f8f8;
}


.container,
.site-w {
    width: 100%;
    max-width: 1250px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

#coupon-page {
    margin: 0;
    padding: 15px 0;
    font-family: var(--fonts);
}

.search-box {
    min-width: 350px;
}

.segment-order-text {
    width: 120px;
    line-height: 17px;
}

.coupon-slider {
    margin: 0 0 15px;
    position: relative;
    background-color: #fff;
}

.banner-item {
    display: block;
}

.banner-item img {
    width: 100%;
    object-fit: cover;
}

.banner-item a {
    position: relative;
    display: block;
    border: none;
    border-radius: 0;
}

.banner-item a::after {
    content: "";
    padding-top: 25.5%;
    display: block;
}

.banner-item a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.coupon-slider .slick-disabled {
    opacity: 0.5;
}

.coupon-slider .slick-dots {
    z-index: 9;
    bottom: 0;
}

.coupon-slider .slick-dots li {
    height: auto;
    padding: 0
}

.coupon-slider .slick-dots li button {
    height: 5px;
    border-radius: 3px;
    background-color: #fff;
    padding: 0
}

.coupon-slider .slick-dots .slick-active button {
    background-color: #43c0e4
}

#coupon-page .slick-arrow {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    top: calc(50% - 24px);
    /* margin: 0; */
    margin-top: -60px;
    color: #43bfe3;
}

.coupon-heading {
    font-size: 25px;
    display: block;
    text-transform: uppercase;
    font-weight: 500
}

.coupon-description {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin: 25px auto 0;
    padding: 15px;
    background-color: #fff;
}

.description-image {
    width: 170px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-radius: var(--borderRadius);
}

.description-image img {
    height: 75px;
    width: 145px;
}

.description-text {
    width: calc(100% - 170px);
    padding-left: 25px;
}

.list-category-saleoff {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    margin: 25px 0
}

.category-saleoff-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-width: 100px;
    width: 100px;
    background-color: #fff;
    margin: 0 10px;
    padding: 10px;
    border-radius: var(--borderRadius);
    cursor: pointer;
}

.saleoff-item-image {
    border-radius: 100%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 10px;
    border: 2px solid #f6f6f6;
    transition: all 350ms ease-in-out;
}

.saleoff-item-image img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 350ms ease-in-out;
}

.category-saleoff-item:hover .saleoff-item-image {
    border-color: #c93c28
}

.saleoff-item-txt {
    font-size: 14px;
    text-align: center;
}

.list-product-by-category-container .coupon-heading,
.list-voucher-container .coupon-heading {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 23px;
}

.list-product-by-category-container .coupon-heading::after,
.list-voucher-container .coupon-heading::after {
    content: "";
    height: 10px;
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(/images/line.png);
    background-position: bottom center;
    background-repeat: no-repeat;
}

#coupon-page .list-voucher-container .slick-prev {
    left: -48px;
    background-color: transparent;
}

#coupon-page .list-voucher-container .slick-next {
    right: -48px;
    background-color: transparent;
}

.voucher-item {
    --logoW:  135px;
    display: flex !important;
    justify-content: flex-start;
    align-items: stretch;
    border: 1px solid #e3e3e3;
    background-color: #fff;
    margin: 7px 7px 12px 0;
    border-radius: 10px;
    min-height: 150px;
    box-shadow: 0 2px 8px rgb(11 11 11 / 7%);
    height: 178px;
}

.voucher-logo {
    width: var(--logoW);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    user-select: none;
    padding: 10px 6px;
    background-color: #f8f8f8;
    text-align: center;
    font-size: 15px;
    line-height: 1.1;
    /* height: 210px; */
    border-radius: 10px 0 0 10px;
}

.info-left > div {
    margin-top: auto !important;
}

.info-left {
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.voucher-logo .title {
    text-overflow: ellipsis;
}

.voucher-box {
    color: var(--dark);;
    text-align: center;
    font-size: 17px;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    margin-bottom: 10px;
}

.voucher-box strong {
    font-size: 21px;
    margin-left: 6px;
    transform: translateY(-2px);
    color: #d10000;
}

.voucher-logo .logo-image {
    display: block;
    width: 100%;
    position: relative;
}

.logo-image::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.voucher-logo .logo-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
}

.voucher-note {
    color: var(--dark);;
    text-align: center;
    font-size: 17px;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    margin-bottom: 10px;
}

.voucher-note strong {
    font-size: 21px;
    margin-left: 6px;
    transform: translateY(-2px);
    color: #d10000;
}

.voucher-description > span {
    font-weight: bold;
    color: #000000;
}

.voucher-description > span > a {
    color: #000000;
}

.voucher-description label {
    font-weight: normal;
    cursor: pointer;
    color: #43bfe3;
    user-select: none;
}

.voucher-description label:hover {
    color: var(--dark);
}
.logo-text {
    font-size: 15px;
    line-height: 17px;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.slick-item {
    margin: 16px 8px;
}
.logo-price {
    font-size: 31px;
    line-height: 29px;
    font-weight: bold;
    color: #b91010
}

.voucher-info {
    width: calc(100% - var(--logoW));
    padding: 12px 16px;;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-left: 1px solid #eee;
}

.voucher-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    width: 190px;
    text-align: center;
    font-weight: 400;
}

.voucher-content {
    width: calc(100% - 140px);
    padding-right: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
}

.voucher-content > * {
    width: 100%;
}

.voucher-policy-short > .voucher-policy-content {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-box-pack: end;
}

.voucher-policy-short > .voucher-policy-content p {
    display: inline;
}

.voucher-policy-short > .voucher-policy-content p::after {
    content: " \A";
    white-space: pre-line;
}

.voucher-policy-short > .voucher-policy-content p:nth-child(3) ~ .show-detail {
    display: none;
}
.show-detail {
    color: #43bfe3;
    cursor: pointer;
}

.voucher-policy-content {
    display: none;
    z-index: 11;
    
}

.voucher-policy-content > p {
    margin: unset;
}

.voucher-policy-detail-ipt {
    position: absolute;
    opacity: 0;
}

.voucher-policy-detail-ipt:checked ~ .voucher-policy-content {
    display: block;
    background-color: #ffffff;
    padding: 10px;
    border-radius: var(--borderRadius);
    /* visibility: visible; */
    position: fixed;
    /* top: 20px; */
    box-shadow: 0 4px 16px rgba(11 11 11 / 11%);
}
.list-voucher-group > .slick-list {
    padding-bottom: 120px;
    margin-bottom: -85px;
    z-index: 10;
}

.voucher-policy {
    text-align: left;
    position: relative;

}
.code-info {
    width: 100%;
    display: flex;
}

.code-info > .voucher-code {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #d1d1d1;
    border-radius: 5px 0 0 5px;
    user-select: none;
    width: 100%;
    padding: 0 5px;
    border-right: unset;
}

.voucher-logo.for-all {
    display: unset !important
}
.logo-image.for-all {
    height: 100%;
}
.logo-image.for-all img {
    background-color: #f8f8f8;
}

.code-info > .copy-code {
    border-radius: 0 5px 5px 0 !important;
}

.platform-voucher > svg {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    position: relative;
    cursor: pointer;
}

.voucher-policy p {
    margin: 0;
}

.voucher-code {
    padding: 10px 0;
    display: none;
}

.voucher-code-content {
    width: 100%;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: calc(100% - 250px - 16px) 250px;
    grid-gap: 16px;
}

.voucher-code-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 6px;
}

.voucher-code-action {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
}

.voucher-code-action > * {
    padding: 10px 16px;
    user-select: none;
}

.voucher-code-text {
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed #d1d1d1;
    border-right: none;
    border-radius: 5px 0 0 5px;
    user-select: none;
    width: 100%;
}

.voucher-code-action:hover .voucher-code-text {
    border-color: #38b5df;
}

.voucher-code-button {
    border: 1px solid #38b5df;
    border-left: none;
    background-color: #38b5df;
    cursor: pointer;
    white-space: nowrap;
    color: #fff;
    border-radius: 0 5px 5px 0;
    min-width: 96px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
}

.voucher-code-action:hover .voucher-code-button {
    background-color: #008a9c;
}

.voucher-code-title {
    font-size: calc(17px + (23 - 17) * ((100vw - 300px) / (1920 - 300)));
}

.vocher-text {
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    width: 70%;
    justify-content: center;
    align-items: center;
    border: 1px dashed #d1d1d1;
    border-radius: 3px;
    user-select: none;
    margin: 0
}

.vocher-combo {
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    user-select: none;
    margin: 10px 0;
    text-transform: uppercase;
}

.copy-code {
    padding: 16px 0;
    background-color: #38b5df;
    color: #fff;
    outline: 0;
    border: none;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    transition: all 350ms ease;
    cursor: pointer;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 15px;
}

.voucher-group-item {
    --logoW:  150px;
    display: flex !important;
    justify-content: flex-start;
    align-items: stretch;
    background-color: #fff;
    margin: 7px 7px 12px 0;
    border-radius: 0 10px 10px 0;
    border: 1px solid #008a9c;
    width: 75%;
    min-height: 150px;
    box-shadow: 0 1px 3px -1px rgb(0 0 0 / 6%), 0 3px 6px 0 rgb(0 0 0 / 4%), 0 1px 6px 0 rgb(0 0 0 / 2%);
}

.mb-35 {
    margin-bottom: 35px;
}

.copy-code:hover {
    color: #fff;
    background-color: #008a9c
}

.voucher-name {
    color: var(--dark);;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.voucher-name svg {
    margin-right: 4px;
    color: #43c0e4
}

.new-customer .voucher-name {
    font-size: 15px;
}

.list-product-by-sub-category {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 25px;
}

.sub-category-item {
    background-color: #fff;
    white-space: nowrap;
    padding: 7px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 32px;
    margin-right: 10px;
}

.sub-category-item.active {
    background-color: #337ab7;
    color: #fff;
}

.list-product-by-category {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    grid-gap: 15px;
}

.product-by-category-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 3px;
    display: block;
    cursor: default;
    position: relative;
}

.product-by-category-item:hover .copy-code {
    background-color: #008a9c
}
.product-by-category-image {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

.product-by-category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 250ms ease-in-out;
}

.product-by-category-title {
    color: var(--dark);;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    color: var(--dark);;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 10px 0;
}

.product-by-category-title:hover {
    color: #337ab7;
}

.product-by-category-price {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 44px;
}

.product-by-category-old-price {
    color: #888;
    font-size: 13px;
    text-decoration: line-through;
}

.product-by-category-new-price {
    color: #e81e1e;
    font-size: 16px;
    width: 100%;
    display: block;
}

.viewed-box a {
    background-color: #fff;
    border-radius: 3px;
}

.discount {
    background: #dc283d;
    color: #fff;
    border-radius: 3px;
    padding: 5px 7px;
    font-size: 12px;
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 9;
    border: none;
}

.readmore-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    text-align: center;
}

.readmore-button {
    border: none;
    background-color: #337ab7;
    color: #fff;
    cursor: pointer;
    user-select: none;
    outline: none;
    padding: 10px 24px;
    border-radius: 32px;
}

.image-loading img {
    opacity: 0
}

.price-loading span,
.title-loading {
    color: rgba(255 255 255 / 0)
}

.price-loading span,
.title-loading,
.image-loading {
    border-radius: 4px;
    background: linear-gradient(45deg, rgba(209,209,209,0.35), rgba(11,11,11,0.1), rgba(209,209,209,0.1), rgba(209,209,209,0.15));
    background-size: 400% 400%;
    animation: gradient 3000ms ease infinite;
    user-select: none;
    pointer-events: none;
}

.title-loading {
    height: 42px;
    position: relative;
}
.title-loading::before {
    content: "";
    height: 3px;
    display: block;
    width: 100%;
    position: absolute;
    top: 48%;
    left: 0;
    background-color: #fff;
}

.price-loading .product-by-category-new-price {
    height: 21px;
}
.price-loading span {
    height: 16px;
}
.voucher-policy-short.not-hidden .voucher-policy-content {
    display: block !important;
}

.list-voucher-group.two-item .slick-track {
    width: unset !important;
}

.list-voucher-group.two-item .slick-slide {
    display: flex !important;
    width: unset !important;
}
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@media (min-width: 992px) {
    #header {
        min-height: 55px;
        background-color: #fff;
    }

    .top-nav {
        display: none;
    }

    .list-category-saleoff {
        justify-content: center;
    }

    .category-saleoff-item {
        min-width: 130px;
        width: 130px;;
    }

    .product-by-category-action {
        margin-left: auto;
    }

    .product-by-category-action .copy-code {
        padding: 10px;
        /*width: 120px;*/
    }
}


@media (min-width: 760px) {
    .coupon-slider:not(.slick-slider) .banner-item:nth-child(n + 2) {
        display: none;
    }

    .list-product-by-sub-category {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: sticky;
        margin-bottom: 25px;
        top: 78px;
        left: 0;
        width: 100%;
        z-index: 10;
        background-color: #f8f8f8;
        padding: 10px 0;
    }
    .price-loading .product-by-category-new-price {
        height: 24px;
    }
    .price-loading span {
        height: 15px;
    }
}

@media (max-width: 992px) {
    .list-category-saleoff {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        margin: 15px auto;
        justify-content: center;
    }

    .voucher-info {
        flex-wrap: wrap;
        font-size: 12px;
        position: relative;
    }

    .voucher-content,
    .voucher-button {
        width: 100%;
        padding: 0
    }

    .list-voucher-group.two-item {
        display: flex;
    }

    .voucher-button {
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        margin-top: auto;
    }
    .voucher-policy-detail-ipt:checked ~ .voucher-policy-content {
        position: absolute !important;
        min-width: 215px;
    }
    .voucher-count {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 14px;
    }
    
    .voucher-note {
        font-size: 16px;
    }

    .description-image,
    .description-text {
        width: 100%;
        padding: 0;
        font-size: 13px;
    }

    .description-image {
        height: 100px;
        border: none
    }

    .list-product-by-category,
    .list-voucher-group {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 8px;
        padding: 0 12px 0;
        margin-bottom: 16px;
    }

    .voucher-item {
        --logoW: 105px;
        width: 90vw;
        min-width: 90vw;
        margin: 0;
        padding: 0;
        height: 215px;
        border: none;
        display: block;
    }

    .platform-voucher > svg {
        margin-left: 5px;
        width: 18px;
        height: 18px;
    }

    .voucher-item:only-child {
        width: 100%;
        min-width: 100%;
    }

    .voucher-logo {
        background-color: #fff;
        /* border-right: 1px solid #eee; */
        border-radius: 5px 0 0 5px;
    }

    .logo-image.for-all img {
        background-color: #ffffff;
    }

    .voucher-logo .voucher-logo-text {
        font-size: 13px;
        font-weight: bold;
    }

    .voucher-logo-image {
        display: block;
        width: 100%;
        position: relative;
    }

    .voucher-logo-image:before {
        content: "";
        padding-top: 100%;
        display: block;
    }

    .voucher-code-button {
        font-weight: 500;
        font-size: 13px;
        padding: 10px 0;
        min-width: 75px;
        margin: 0;
    }

    .voucher-logo-image img {
        width: 90%;
        height: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
        object-position: center;
        background-color: #fff;
    }

    .voucher-expires {
        margin-top: 4px;
        margin-bottom: 5px;
    }


    .vocher-text {
        width: 100%;
    }


    .coupon-popover {
        width: 100%;
        height: 100%;
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: rgba(11, 11, 11, 0.2);
        opacity: 0;
    }
    .voucher-policy {
        -webkit-line-clamp: 7;
     }

    .open-policy .coupon-popover {
        display: block;
        opacity: 1;
    }
    .show-policy.voucher-policy {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .save-coupon,
    .close-coupon {
        margin: 15px 25px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
        border: 1px solid transparent;
        border-radius: 3px;
        text-transform: uppercase;
        font-weight: 600;
    }

    .save-coupon {
        background-color: #21aabd;
        color: #fff
    }

    .close-coupon {
        border-color: #c93c28;
        color: #c93c28;
        margin-bottom: 20px;
    }

    .code-content {
        font-size: 21px;
        letter-spacing: 1px;
        font-weight: 600;
        text-align: center;
        padding: 15px
    }

    .voucher-row {
        padding: 5px 25px;
    }

    .voucher-row span {
        width: 80px;
        min-width: 80px;
        margin-right: 5px;
    }

    .copy-code {
        padding: 10px 0;
        background-color: #38b5df;
        color: #fff;
        outline: 0;
        border: none;
        border-radius: 3px;
        margin: auto 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        transition: all 350ms ease;
        cursor: pointer;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 14px;
    }

    .product-by-category-action .copy-code:focus,
    .product-by-category-action .copy-code:hover {
        background-color: #fff;
        color: #019adc;
    }

    .list-product-by-sub-category {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        grid-gap: 0;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .product-by-category-image {
        height: auto;
        position: relative;
    }

    .product-by-category-image::after {
        content: "";
        padding-top: 100%;
        display: block;
    }

    .product-by-category-image img {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
        object-position: center;
    }

    .product-by-category-item {
        box-shadow: 0 1px 3px -1px rgb(200 200 200 / 10%), 0 1px 4px 1px rgb(200 200 200 / 5%), 0 1px 6px 2px rgb(200 200 200 / 5%);
    }

    .list-product-by-category .copy-code {
        background-color: transparent;
        color: #38b5df;
        padding: 10px;
    }
    .list-voucher-group {
        padding: 10px;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        grid-auto-flow: column;
        overflow-x: scroll;
        grid-gap: 12px;
        padding-bottom: 120px !important;
        margin-bottom: -85px !important;
    }

    .product-by-category-action {
        margin-left: auto;

    }

    .product-viewed {
        padding: 0 15px !important;
    }

    .viewed-box .link-to-product {
        margin: 0;
        padding: 10px;
    }

    .coupon-heading {
        font-size: 19px;
    }

    .list-product-by-category-container .coupon-heading,
    .list-voucher-container .coupon-heading {
        font-size: 17px;
    }

    .voucher-name {
        position: relative;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .vocher-combo {
        font-size: 13px;
        margin: 6px 0;
    }

    .open-voucher-pop {
        position: absolute;
        top: -10px;
        right: -10px;
        width: 36px;
        height: 36px;
        color: #21aabd;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .list-voucher-group2 {
        padding: 0 16px;
    }

    .list-voucher-group2 .list-product-by-category {
        padding: 0;
    }

    .product-by-category-item:only-child {
        /* grid-column-start: span 2;
        display: flex; */
    }

    .product-by-category-item:only-child .discount {
        right: auto;
        left: 10px;
    }

    .product-by-category-item:only-child .product-by-category-title {
        -webkit-line-clamp: 3;
    }

    .product-by-category-item:only-child .price-listbox {
        display: flex;
        flex-direction: row-reverse;
    }

    .product-by-category-item:only-child .product-by-category-new-price {
        margin-right: 4px;
    }

    .list-voucher-group2 .voucher-code-info {
        padding: 0 0 8px 10px;
        justify-content: space-between;
        display: block;
        font-size: 12px;
    }

    .info-right {
        text-align: right;
    }

    .voucher-code-content {
        display: block;
        font-size: 14px;
    }

    .voucher-group-item {
        width: 100%;
        border: none;
        border-radius: var(--borderRadius);
    }

    .voucher-code-title {
        margin-bottom: 10px;
    }

    .list-voucher-group2 .list-product-by-category + .voucher-group-item {
        margin-top: 32px;
    }
}


@media (max-width: 760px) and (orientation: portrait), (max-width: 992px) and (orientation: landscape) {
    #coupon-page {
        padding: 0
    }
    .description-image {
        display: none
    }

    .coupon-heading {
        margin-top: 0
    }

    .list-category-saleoff {
        display: grid;
        grid-template-rows: auto ;
        grid-auto-flow: column;
        overflow-x: scroll;
        grid-template-columns: auto;
        grid-gap: 10px;
        padding-left: 12px;
        justify-content: flex-start;
        align-items: stretch;
        box-shadow: 0 1px 3px -1px rgb(200 200 200 / 10%), 0 1px 4px 1px rgb(200 200 200 / 5%), 0 1px 6px 2px rgb(200 200 200 / 5%);
    }

    .category-saleoff-item {
        min-width: 100px;
        width: 100px;
        background-color: #fff;
        border-radius: var(--borderRadius);
        padding: 7px;
        margin: 0;
    }

    .category-saleoff-item:last-child {
        margin-right: 12px;
    }

    .saleoff-item-image {
        width: 60px;
        height: 60px;
        margin-bottom: 8px
    }

    .saleoff-item-txt {
        font-size: 12px;
        line-height: 14px;
    }

    .custormer-viewed + .container {
        padding: 0
    }


    .list-product-by-category-container .coupon-heading::after,
    .list-voucher-container .coupon-heading::after {
        display: none;
    }

    .list-product-by-category-container .coupon-heading, .list-voucher-container .coupon-heading {
        padding: 10px 6px 6px;
        background: #f8f8f8;
        position: sticky;
        top: 42px;
        left: 0;
        z-index: 10;
        margin: 0;
        font-size: 18px;
        letter-spacing: 1px;
        font-weight: 600;
    }

    .sub-category-item {
        font-size: 12px;
    }

    #sb-site {
        overflow: visible;
    }

    #coupon-page .site-w {
        padding: 0;
    }

    .list-voucher-container {
        position: relative;
    }

    .list-voucher-container .coupon-heading.voucher-combo {
        background-color: #f8f8f8;
        position: sticky;
        top: 43px;
        z-index: 11;
        padding: 12px 0 12px 12px;
        margin: 0;
    }

    .list-product-by-sub-category {
        background-color: #f8f8f8;
        position: sticky;
        top: 43px;
        z-index: 11;
        padding: 12px 0 12px 12px;
        margin: 0;
    }

    #voucher-flashsale {
        margin-top: 25px;
    }

    .viewed-box {
        min-width: 160px;
        width: 160px;
        margin-right: 10px;;
        padding: 0 !important;
    }

    .readmore-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 6px 10px 10px;
    }

    .readmore-button {
        padding: 8px 20px;
        display: block;
        background-color: #fff;
        color: #019adc;
        border: none;
        border-radius: 24px;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
    }
}


@media (min-device-width: 760px) and (max-device-width: 1024px) and (orientation: portrait), (min-device-width: 992px) and (max-device-width: 1360px) and (orientation: landscape) {
    .voucher-item {
        --logoW: 150px;
    }

    .product-by-category-item:only-child .product-by-category-image {
        width: 130px;
    }

    .product-by-category-item:only-child .product-by-category-info {
        width: calc(100% - 130px);
    }

    #sb-site {
        overflow: visible;
    }
    .list-product-by-sub-category {
        top: 76px;
    }
    .voucher-item {
        min-height: 170px;
        margin: 8px 4px
    }
    .voucher-link {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .viewed-box {
        margin-right: 10px;
    }

    .link-to-product p {
        margin-right: 0
    }

    .category-saleoff-item {
        min-width: 130px;
        width: 130px;
        margin: 0 5px;
    }

    .coupon-description {
        flex-direction: column;
        margin: -15px -15px 0;
    }
}

@media (min-device-width: 760px) and (max-device-width: 1024px) {
    .list-product-by-category, .list-voucher-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .banner-item a {
        height: auto;
    }
    .voucher-item {
        width: calc(100% - 8px)
    }

    .coupon-description {
        flex-direction: row;
    }

    .description-image {
        width: 145px;
    }

    .description-text {
        width: calc(100% - 145px);
        padding-left: 25px;
    }
}

@media (min-width: 640px) and (orientation: landscape) {
    .list-voucher-slider:not(.slick-slider) {
        flex-wrap: wrap;
    }
    .list-voucher-slider:not(.slick-slider) .list-voucher-group,
    .readmore-wrapper {
        width: 100%;
    }

    .product-by-category-item:last-child {
        margin: 0;
    }
}
@media (min-width: 760px) and (max-width: 1180px){
    

    .voucher-button {
        flex-direction: row;
        align-items: center;
    }
    .list-voucher-group:not(.slick-slider) .voucher-button .copy-code {
        width: 110px;
        margin: 0
    }

    .voucher-policy-short > .voucher-policy-content {
        -webkit-line-clamp: 3;
    }

    .list-voucher-group .slick-list {
        /* padding-right: 15vw; */
    }
    
    .list-voucher-group {
        display: grid;
        grid-template-rows: auto auto;
        grid-auto-flow: column;
        overflow-x: scroll;
        grid-template-columns: auto;
        grid-gap: 10px;
        padding: 0;
        margin: 0;
        align-items: stretch;
        width: 100%;
    }

    .list-voucher-group.two-item {
        /* display: flex; */
    }
    
    .list-voucher-group:not(.slick-slider) .voucher-item {
        width: 60vw;
        min-width: 60vw;
        margin: 0;
        box-shadow: 0 3px 12px rgba(11 11 11 / 7%);
    }

    .list-voucher-container + .list-voucher-container {
        margin-top: 32px;
    }
    .voucher-button {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        text-align: center;
    }

    .voucher-policy-short > .voucher-policy-content p {
        display: inline;
    }
    
    .voucher-policy-short > .voucher-policy-content p::after {
        content: " \A";
        white-space: pre-line;
    }

    .voucher-button .voucher-expires {
        display:table-header-group;
        text-align: left;
        margin-bottom: 5px;
    }

    .voucher-button {
        display:table;
    }
}
