.w-sort-coupon {
    width: 100%;
    max-width: 324px;
}
.w-sort-coupon .select2-selection__rendered {
    font-weight: 400;
}
.container-filter-box {
    margin-bottom: 25px;
    margin-top: 25px;
}
.box-count-coupon {
    color: #959595;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: -0.27px;
    text-wrap: nowrap;
    margin-left: 8px;
}
.box-count-coupon span {
    color: #2541b2;
    font-size: 27px;
    letter-spacing: -0.405px;
}
.row.customCoupon {
    margin-left: -10px;
    margin-right: -10px;
}
.customCoupon .p-custom {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}
.boxCardCoupon {
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    display: flex;
    height: 100%;
    overflow: hidden;
}
.boxCardCoupon .box-L {
    border-right: 1px dashed rgba(3, 37, 108, 0.1);
    background: #e6eaf3;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.boxCardCoupon .box-L img {
    width: 40px;
    height: 40px;
}
.boxCardCoupon .box-R {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 16px;
    width: 100%;
}

.boxCardCoupon .box-R .box-detail {
    text-align: left;
}
.boxCardCoupon .box-R .box-detail .tag {
    display: inline-block;
    margin-right: 4px;
    border-radius: 20px;
    background: #fff16f;
    padding: 4px 12px;
    color: #373737;
    font-size: 10px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}
.boxCardCoupon .box-R .box-detail .title {
    color: #03256c;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-top: 8px;
}
.boxCardCoupon .box-R .box-detail .dete {
    color: #383938;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    margin-top: 4px;
}
.boxCardCoupon .box-R .box-detail .dete span {
    color: #7e7e7e;
}
.boxCardCoupon .box-R .box-button {
    margin-left: 6px;
}
.boxCardCoupon .box-R .box-button a.btn-detail-coupon {
    border-radius: 6px;
    background: #03256c;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    color: #ffffff;
    border: none;
    text-decoration: none;
}

.boxCardCoupon .box-R .box-button a.btn-detail-coupon:hover {
    opacity: 0.7;
}

.boxDetailCoupon {
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #ffffff;
    display: flex;
    overflow: hidden;
    margin: 30px 0;
}
.boxDetailCoupon .box-L {
    border-right: 1px dashed #03256c;
    background: #e6eaf3;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.boxDetailCoupon .box-L img {
    width: 100px;
    height: 100px;
}
.boxDetailCoupon .box-R {
    padding: 40px;
    width: 100%;
    text-align: left;
}
.boxDetailCoupon .box-R .tag {
    display: inline-block;
    border-radius: 20px;
    background: #fff16f;
    padding: 8px 16px;
    color: #373737;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}
.boxDetailCoupon .box-R .title {
    color: #03256c;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin-top: 15px;
}
.boxDetailCoupon .box-R .dete {
    color: #383938;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    margin-top: 8px;
}
.boxDetailCoupon .box-R .dete span {
    color: #7e7e7e;
}
.boxDetailCoupon .box-R hr {
    margin-top: 30px;
    margin-bottom: 30px;
    border: 0;
    border-top: 1px solid #e5e5e5;
}
.boxDetailCoupon .box-R .detail {
    margin-bottom: 30px;
}
.boxDetailCoupon .box-R .detail .head,
.boxDetailCoupon .box-R .condition .head {
    color: #03256c;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 12px;
}
.boxDetailCoupon .box-R .detail .sub {
    font-family: "Sarabun";
    color: #7e7e7e;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}
.boxDetailCoupon .box-R .condition .sub ul {
    font-family: "Sarabun";
    color: #7e7e7e;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    padding-inline-start: 15px;
}
.boxDetailCoupon .box-R .condition .sub ul li::marker {
    font-size: 13px;
}
.boxBtnCoupon {
    display: flex;
    justify-content: center;
}
.boxBtnCoupon .btn-coupon {
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
    border: 1px solid;
    padding: 12px 15px;
    width: 100%;
    max-width: 200px;
    text-align: center;
    border-radius: 8px;
}
.boxBtnCoupon .btn-coupon.more-coupon {
    color: #03256c;
    border-color: #03256c;
    margin-right: 15px;
}
.boxBtnCoupon .btn-coupon.more-coupon:hover {
    color: #03256c;
    text-decoration: none;
}
.boxBtnCoupon .btn-coupon.use-coupon {
    background-color: #03256c;
    border-color: #03256c;
    color: #ffffff;
    margin-left: 15px;
}

@media only screen and (max-width: 767px) {
    .boxDetailCoupon {
        margin: 20px 0;
        flex-direction: column;
    }
    .boxDetailCoupon .box-L {
        border-right: 0;
        border-bottom: 1px dashed #03256c;
        padding: 12px 16px;
        flex-direction: row;
    }
    .boxDetailCoupon .box-L img {
        width: 65px;
        height: 65px;
    }
    .boxDetailCoupon .box-R {
        padding: 20px;
    }
}

@media only screen and (max-width: 575px) {
    .w-sort-coupon {
        max-width: 100%;
    }
    .box-count-coupon {
        text-align: right;
        margin-left: 0;
        margin-top: 4px;
    }
    .boxCardCoupon {
        margin-bottom: 15px;
    }
    .boxCardCoupon .box-L {
        padding: 8px 12px;
    }
    .boxCardCoupon .box-R .box-detail .tag {
        font-size: 9px;
    }

    .boxDetailCoupon .box-R .tag {
        font-size: 14px;
    }
    .boxDetailCoupon .box-R .title {
        margin-top: 10px;
    }
    .boxDetailCoupon .box-R .dete {
        margin-top: 4px;
    }
    .boxDetailCoupon .box-R hr {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .boxDetailCoupon .box-R .detail {
        margin-bottom: 20px;
    }
    .boxDetailCoupon .box-R .detail .head,
    .boxDetailCoupon .box-R .condition .head {
        margin-bottom: 10px;
    }
    .boxDetailCoupon .box-R .detail .sub {
        font-size: 14px;
    }
    .boxDetailCoupon .box-R .condition .sub ul {
        font-size: 14px;
        margin-bottom: 0;
    }
    .boxBtnCoupon .btn-coupon {
        font-size: 14px;
    }
    .boxBtnCoupon .btn-coupon.more-coupon {
        margin-right: 7.5px;
    }
    .boxBtnCoupon .btn-coupon.use-coupon {
        margin-left: 7.5px;
    }
}
