/* app-creative.min.css */
.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 {
    min-height: 70px;
    background-color: #fff;
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
}
.header-flex {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}
.topnav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2d3a4b;
    white-space: nowrap;
}
.topnav-logo:hover {
    color: #2d3a4b;
}
.logo-title {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    color: #4d73ff;
    vertical-align: middle;
    font-family: "SimHei";
}
.hyper-topnav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    flex-wrap: wrap;
}
.hyper-topnav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border: 1px solid #4d73ff;
    border-radius: 4px;
    color: #4d73ff;
    background: #fff;
    transition: all .2s ease;
}
.hyper-topnav-link:hover,
.hyper-topnav-link.active {
    color: #fff;
    background: #4d73ff;
}
.hyper-order-btn {
    white-space: nowrap;
}

body {
    background-color: #fafafa;
    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;
}
.hyper-home-search {
    width: 220px;
}
.hyper-home-search .form-control {
    min-height: 46px;
    border: 1px solid #e4ebf5;
    background: #fff;
    box-shadow: 0 10px 25px rgba(73, 99, 141, .08);
}
.hyper-home-search .uil-search {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #8ca0c3;
    font-size: 18px;
}
.hyper-home-search .form-control {
    padding-left: 40px;
}
@media screen and (max-width: 380px) {
    .app-search {
        width: 160px;
    }
}
.hyper-footer {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding: 20px 0;
    line-height: 16px;
    border-top: 1px solid rgba(152,166,173,.2);
    color: #98a6ad;
}
@media screen and (max-width: 768px) {
    .hyper-footer {
        text-align: center;
    }
}
.hyper-footer a {
    color: #919ca7;
}
@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 */
.modal-body img {
    max-width: 100%;
    height: auto;
}
@media screen and (min-width: 1367px) {
    .modal-dialog {
        max-width: 900px !important;
    }
}
@media screen and (max-width: 1367px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}
@media screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 500px !important;
    }
}

.hyper-home-notice {
    margin-bottom: 18px;
    border: 1px solid #edf2f9;
    box-shadow: 0 10px 35px rgba(64, 89, 128, .08);
}
.hyper-home-notice-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.hyper-section-title,
.hyper-table-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4d73ff;
    font-size: 18px;
    font-weight: 700;
}
.hyper-home-notice-content {
    line-height: 1.9;
    color: #243145;
    word-break: break-word;
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    flex: 1;
}
.nav-list::-webkit-scrollbar {
    display: none;
}
.hyper-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.tab-link {
    font-size: 1rem;
    padding: 9px 16px;
    border-radius: .5rem;
    border: 1px solid #4d73ff;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #fff;
    color: #4d73ff;
}
.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;
}

.hyper-goods-table {
    margin-bottom: 18px;
    border: 1px solid #edf2f9;
    box-shadow: 0 12px 35px rgba(73, 99, 141, .08);
}
.hyper-table-title {
    margin-bottom: 14px;
}
.hyper-table-wrap {
    overflow-x: auto;
}
.hyper-product-table {
    margin-bottom: 0;
    min-width: 900px;
}
.hyper-product-table thead th {
    background: #f5f8ff;
    color: #7a8ba7;
    font-size: 13px;
    font-weight: 700;
    border-top: 0;
    border-bottom: 1px solid #e8eef7;
}
.hyper-product-table tbody td {
    padding: 14px 12px;
    vertical-align: middle;
    border-color: #edf2f9;
}
.hyper-product-table tbody tr:hover {
    background: #fbfdff;
}
.hyper-product-table .col-image {
    width: 96px;
}
.hyper-product-table .col-type,
.hyper-product-table .col-price,
.hyper-product-table .col-stock,
.hyper-product-table .col-sales,
.hyper-product-table .col-action {
    white-space: nowrap;
    text-align: center;
}
.hyper-product-thumb {
    width: 72px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    background: #f2f5fa;
}
.hyper-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hyper-product-thumb.is-sold-out img {
    filter: grayscale(20%);
    opacity: .82;
}
.hyper-stock-ribbon {
    position: absolute;
    top: 8px;
    left: -24px;
    width: 86px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    color: #fff;
    background: #ff6b6b;
    font-size: 12px;
    font-weight: 700;
    transform: rotate(-45deg);
    box-shadow: 0 6px 16px rgba(255, 107, 107, .28);
}
.hyper-product-name {
    display: inline-block;
    color: #2f6df6;
    line-height: 1.6;
}
.hyper-product-name:hover {
    color: #215ae0;
}
.hyper-type-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid #35c277;
    color: #22a861;
    background: #effdf5;
    font-size: 12px;
}
.hyper-price-text,
.hyper-price-tag {
    color: #ff4d4f;
    font-weight: 700;
}
.hyper-stock-text,
.hyper-stock-tag {
    color: #5c6d89;
    font-weight: 600;
}
.hyper-stock-text.is-empty,
.hyper-stock-tag.is-empty {
    color: #ff6b6b;
}
.hyper-sales-text,
.hyper-sales-tag {
    color: #f59e0b;
    font-weight: 600;
}
.hyper-buy-btn {
    min-width: 88px;
}
.hyper-buy-btn.is-disabled {
    opacity: 1;
    border-color: #ced8ea;
    color: #8a99b2;
}
.hyper-mobile-meta {
    display: none;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media screen and (max-width: 991px) {
    .header-flex {
        align-items: flex-start;
        flex-direction: column;
    }
    .hyper-topnav-links {
        justify-content: flex-start;
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .page-title-right {
        float: none !important;
        margin-top: 0 !important;
        margin-bottom: 12px;
    }
    .hyper-filter-bar {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 12px;
    }
    .hyper-home-search,
    .hyper-home-search.app-search {
        width: 100%;
    }
    .hyper-home-notice-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .hyper-product-table {
        min-width: 100%;
    }
    .hyper-product-table thead {
        display: none;
    }
    .hyper-product-table tbody tr {
        display: block;
        padding: 12px;
        border: 1px solid #edf2f9;
        border-radius: 10px;
        margin-bottom: 12px;
        box-shadow: 0 8px 24px rgba(73, 99, 141, .06);
    }
    .hyper-product-table tbody td {
        display: block;
        padding: 0;
        border: 0;
        text-align: left !important;
    }
    .hyper-product-table .col-image,
    .hyper-product-table .col-type,
    .hyper-product-table .col-price,
    .hyper-product-table .col-stock,
    .hyper-product-table .col-sales,
    .hyper-product-table .col-action {
        width: auto;
    }
    .hyper-product-table td.col-image {
        float: left;
        margin-right: 12px;
    }
    .hyper-product-table td.col-name {
        overflow: hidden;
    }
    .hyper-product-table td.col-type,
    .hyper-product-table td.col-price,
    .hyper-product-table td.col-stock,
    .hyper-product-table td.col-sales {
        display: none;
    }
    .hyper-product-table td.col-action {
        clear: both;
        margin-top: 12px;
    }
    .hyper-mobile-meta {
        display: flex;
    }
    .hyper-buy-btn {
        width: 100%;
    }
}

/* 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;
    }
}
/* 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 {
    background-color: #fff;
    color: #000;
    border: 2px solid #bdcfe1;
}
.pay-type:hover {
    background-color: #fff;
    color: #000;
}
.pay-type.active {
    background-color: #fff;
    color: #3688fc;
    border: 2px solid #3688fc;
}
.buy-price {
    color: #ea5455;
}

/* 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: 6px;
    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: 100%;
    width: 44px;
    height: 44px;
}
