.modal-header {
    padding: 6px 12px !important;
}
.btn-danger:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.btn-outline-primary:focus,
.btn-primary:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
body, .wrapper, .content-page {
    overflow: visible;
}

/* header */
.header-navbar {
    height: 70px;
    background-color: #fff;
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
    display: none;
}
.header-flex {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-title {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    color: #000;
    margin-left: 10px;
    vertical-align: middle;
    font-family: "SimHei";
}

body {
    background-color: #f2fffa;
    height: 100%;
}
body[data-leftbar-compact-mode=condensed] {
    min-height: 0;
}
body[data-layout=topnav] .content-page {
    padding: 0!important;
    min-height: 0;
}
.content {
    margin-bottom: 69px;
}
.page-title-right {
    display: block !important;
    float: right !important;
    margin-top: 17px !important;
}
.page-title-box{
    display: flex;
}
a.btn.back-home{
    color: #fff;
    font-size: 12px;
    background: #78ae57;
    height: 33px;
    width: 94px;
    margin-top: 18px;
    margin-left: 11px;
    border-radius: 0.4rem;
}
a.btn.back-home:hover{
    background: #4d4d4d;
}
@media screen and (max-width: 380px) {
    .app-search {
        width: 160px;
    }
}
.hyper-wrapper a {
    color: #000;
}
.hyper-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 14px 0;
    line-height: 16px;
    border-top: 1px solid rgba(152,166,173,.2);
    color: #dce9d6;
    background: #78ae57;
    font-size: 12px;
    box-shadow:0 -5px 14px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.05),0 1px 5px 1px rgba(0,0,0,.05)!important;
}
.sticky-footer {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}
@media screen and (max-width: 768px) {
    .hyper-footer {
        text-align: center;
    }
    .footer-links-cp {
        display: none;
    }
}
.hyper-footer a {
    color: #dce9d6;
}
@media screen and (max-width: 576px) {
    .container {
       padding: 0 12px; 
    }
}
@media screen and (min-width: 576px) {
    .container {
       padding: 0; 
    }
}
@media screen and (min-width: 992px) {
    .hyper-sm-last {
        -webkit-box-ordinal-group: 14;
        -ms-flex-order: 13;
        order: 13;
    }
}

/* Home Page */
.price{
    display: flex;
}
.home-badge{
    margin-top: -3px;
}
span.home-stock{
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #78ae57;
    color: #78ae57;
    border-radius: 0.35rem;
    margin-left: 5px;
}
.btn.buy.fr:hover {
        background-color: #222222;
        color: #fff;
        font-weight: bold;
}
/* modal-dialog */
.modal-body img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 1367px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}
@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 500px !important;
    }
}

/* Select Button */

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.nav-list::-webkit-scrollbar {
    display: none; 
}
@media screen and (min-width: 767px) {
    .tab-link {
        min-width: 100px;
    }
}
@media screen and (max-width: 767px) {
    .tab-link {
        min-width: 60px;
    }
}
.tab-link {
    font-size: 1rem;
    padding: 6px 12px;
    border-radius: .5rem;
    border: 1px solid #3688fc;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tab-link.active {
    color: #fff;
    background: linear-gradient(-45deg, #3369ff, #3798f7);
}
.img-checkmark img {
    width: 36px;
}
.tab-link.active .img-checkmark {
    display: block;
}
.img-checkmark {
    position: absolute;
    opacity: 0.8;
    right: -6px;
    bottom: -12px;
    display: none;
}

/* Home Card */

.home-card {
    box-shadow: 0 11px 19px 0 rgb(0 0 0 / 18%);
    transition: all .04s;
    border: 1px solid #fff;
    color: #616162 !important;
}
.home-card:hover {
    box-shadow: 0 4px 12px 0 rgb(0 0 0 / 18%);
    background: #fff !important;
    border: 2px solid #76ab56;
    transform: translateY(-0.15rem);
    color: #222 !important;
}
@media screen and (max-width: 767px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 2px 10px 14px 10px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 30px;
    	cursor: pointer;
        background-color: #f3f4f6;
    }
    .home-img {
        max-width: 100%;
        margin: 8px auto auto auto;
        background: #aaeec4;
        border-radius: .9rem;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 15px;
        min-height: 42px;
        padding: 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #222;
        text-align: left;
        font-size: 20px;
        margin-left: 9px;
    }
    .price b {
        font-size: 20px;
        font-weight: 600;
        margin-left: 2px;
    }
    .btn.buy.fr{
        background-color: #4d4d4d;
        border-radius: 3rem;
        font-size: 13px;
        margin-top: 10px;
        text-align: center;
    }
    .btn.buy.fr.out-of-stock{
        color: #4d4d4d;
        font-weight: 700;
        background-color: #d9d9d9;
        pointer-events: none;
    }
    .notice-1{
        margin-top:-0.8rem;
    }
    .home-note{
        max-height: 265px;
        margin: 40px 0px 40px 0;
        padding: 32px;
        background: #aaeec4;
        border-radius: 2rem;
    }
    img.custom-image-1{
        display: none;
    }
    h3.note-text-big{
        font-size: 1.4rem;
    }
    p.note-text-small{
        font-size: 20px;
    }
    .stk-column1{
        width: 100% !important;
    }
}
@media screen and (min-width: 768px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 2px 10px 14px 10px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 30px;
    	cursor: pointer;
        background-color: #f3f4f6;
    }
    .home-img {
        max-width: 100%;
        margin: 8px auto auto auto;
        background: #aaeec4;
        border-radius: .9rem;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 15px;
        min-height: 42px;
        padding: 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #222;
        text-align: left;
        font-size: 20px;
        margin-left: 9px;
    }
    .price b {
        font-size: 20px;
        font-weight: 600;
        margin-left: 2px;
    }
    .btn.buy.fr{
        background-color: #4d4d4d;
        border-radius: 3rem;
        font-size: 13px;
        margin-top: 10px;
        text-align: center;
    }
    .btn.buy.fr.out-of-stock{
        color: #4d4d4d;
        font-weight: 700;
        background-color: #d9d9d9;
        pointer-events: none;
    }
    .notice-1{
        margin-top:-1.8rem;
    }
    .home-note{
        max-height: 265px;
        margin: 40px 0px 40px 0;
        padding: 32px;
        background: #aaeec4;
        border-radius: 2rem;
    }
    img.custom-image-1{
        width: 331px;
        height: 245px;
    }
    h3.note-text-big{
        font-size: 1.4rem;
    }
    p.note-text-small{
        font-size: 20px;
    }
}

@media screen and (min-width: 992px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        grid-gap: 12px;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    img.custom-image-1{
        width: 458px;
        height: 340px;
    }
    .notice-1{
        margin-top: -4.8rem;
    }
}
@media screen and (min-width: 1320px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(4,minmax(0,1fr));
        grid-gap: 20px;
    }
    .home-card {
        height: 338px;
    }
    a.layui-layer-btn0{
        padding: 20px 37px;
    }
    img.custom-image-1{
        width: 458px;
        height: 340px;
    }
    .notice-1{
        margin-top:-5.2rem;
    }
    .home-img {
        max-width: 100%;
        margin: 8px auto auto auto;
        background: #aaeec4;
        border-radius: .9rem;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 15px;
        min-height: 42px;
        padding: 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #222;
        text-align: left;
        font-size: 20px;
        margin-left: 9px;
    }
    .price b {
        font-size: 20px;
        font-weight: 600;
        margin-left: 2px;
    }
    .home-note{
    max-width: 100%;
    max-height: 265px;
    margin: 48px 0px 64px 0;
    background: #aaeec4;
    border-radius: 2rem;
    padding: 50px;
    }
    .stk-column1{
        margin-top: -20px;
    }
    h3.note-text-big{
        font-size: 30px;
    }
    p.note-text-small{
        font-size: 22px;
    }
}
@media screen and (min-width: 1367px) {
    .modal-dialog {
        max-width: 900px !important;
    }
    .btn.buy.fr{
        background-color: #4d4d4d;
        border-radius: 3rem;
        font-size: 13px;
        margin-top: 10px;
    }
    .btn.buy.fr.out-of-stock{
        color: #4d4d4d;
        font-weight: 700;
        background-color: #d9d9d9;
        pointer-events:none;
    }
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        grid-gap: 20px;
    }
    .home-card {
        padding: 2px 10px 14px 10px !important;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 30px;
    	height: 358px;
    	cursor: pointer;
        background-color: #f3f4f6;
    }
    img.custom-image-1{
        width: 608px;
        height: 450px;
    }
    .notice-1{
        margin-top: -9.5rem;
        margin-bottom:4rem;
    }
    .home-note{
    max-width: 100%;
    max-height: 265px;
    margin: 90px 0px 90px 0;
    background: #aaeec4;
    border-radius: 2rem;
    padding: 50px;
    margin-top: 6.5rem;
    }
    .stk-column1{
        margin-top: 1px;
    }
}

/* Buy Page*/
.form-group h3 {
    font-weight: 400;
    color: #212529;
}
.geetest_holder.geetest_wind {
    width: 100% !important;
    min-width: 100% !important;
}
.buy-product img {
    max-width:100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
}
@media screen and (min-width: 992px) {
    .buy-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px;
    }
    .sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 6px;
    }
    .buy-shop {
        grid-column: span 2 / span 2;
    }
    .buy-product {
        grid-column: span 4 / span 4;
        background: #fff;
        border: 1px solid #d3e4c8;
    }
}
/* pay-type */
@media screen and (min-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 991px) and (max-width: 1367px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(4,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (min-width: 576px) and (max-width: 768px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 576px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        grid-gap: 12px;
    }
}
@media screen and (max-width: 380px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}
.pay-type {
    color: #859978;
    border: 1px solid #acc99a;
    padding: 2.35px 0 2.35px 14px;
}
.pay-type:hover {
    background-color: #fff;
    color: #000;
}
.pay-type.active {
    background-color: #dafae8;
    color: #0d0c22;
    border: 1px solid #f5f3f0;
}
.buy-price {
    color: #222;
}

/* Orderinfo Page */

.orderinfo-grid {
    display: grid;
    grid-template-columns: auto;
}
@media screen and (min-width: 767px) {
    .orderinfo-card-grid {
        display: grid;
        grid-template-columns: repeat(6,minmax(0,1fr));
        grid-gap: 12px;
    }
    .orderinfo-info {
        grid-column: span 2 / span 2;
    }
    .orderinfo-kami {
        grid-column: span 4 / span 4;
    }
}
@media screen and (max-width: 767px) {
    .orderinfo-info {
        display: grid;
        justify-content: center;
    }
}
.textarea-kami {
    min-height: calc(100% - 48px - 38px)
}
.kami-btn {
    margin-top: 13px;
    float: right;
}

/* Footer */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 99;
}
#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18%;
    width: 54px;
    height: 54px;
}
a.btn.footer-menu{
    color: #060606;
    font-weight: 600;
    background-color: #efefef;
    border-radius: 0.4rem;
    padding: 10px 22px;
}
a.btn.footer-menu:hover{
    background-color: #538f1a;
    color: #fff;
}
.footer-links-cp {
    text-align: right;
}