/* 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 {
    height: 70px;
    background-color: #fff;
    box-shadow: 0 0 35px 0 rgb(154 161 171 / 15%);
}
.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: #f8fafc;
    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 {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 10px 0 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.notice-content {
    color: #1a202c;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

.notice-content h1,
.notice-content h2,
.notice-content h3,
.notice-content h4,
.notice-content h5,
.notice-content h6 {
    color: #3688fc;
    margin-bottom: 10px;
    font-weight: 600;
}

.notice-content p {
    margin-bottom: 8px;
}

.notice-content a {
    color: #3688fc;
    text-decoration: none;
    font-weight: 500;
}

.notice-content a:hover {
    text-decoration: underline;
}

.notice-content ul,
.notice-content ol {
    margin: 10px 0;
    padding-left: 20px;
}

.notice-content li {
    margin-bottom: 5px;
}

.notice-content strong,
.notice-content b {
    color: #e53e3e;
    font-weight: 600;
}

.notice-content em,
.notice-content i {
    color: #3688fc;
    font-style: italic;
}

@media screen and (max-width: 767px) {
    .notice-content {
        font-size: 14px;
        text-align: left;
    }
    
    .page-title-box {
        padding: 16px;
        margin: 8px 0 8px 0;
    }
}

.app-search {
    position: relative;
}

.app-search .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 16px 10px 40px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.app-search .form-control:focus {
    border-color: #3688fc;
    box-shadow: 0 4px 16px rgba(54, 136, 252, 0.15);
    outline: none;
}

.app-search .uil-search {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
}

.btn-outline-primary {
    border: 2px solid #3688fc;
    color: #3688fc;
    background: transparent;
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-outline-primary:hover {
    background: #3688fc;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(54, 136, 252, 0.3);
}

@media screen and (max-width: 380px) {
    .app-search {
        width: 160px;
    }
}
.hyper-wrapper a {
    color: #000;
}
.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-dialog */
.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;
    }
}

/* Category Section */
.category-section {
    margin-bottom: 8px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid #b3d4fc;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #b3d4fc, #d0e6fa);
    }

@media screen and (max-width: 767px) {
    .category-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .category-section {
        padding: 16px;
        margin-bottom: 6px;
        border-radius: 12px;
    }
}

/* Home Card */

.home-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3688fc, #3798f7);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(54, 136, 252, 0.2);
}

.home-card:hover::before {
    transform: scaleX(1);
}

@media screen and (max-width: 767px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
        gap: 10px;
    }
    .home-card {
        padding: 12px;
        margin-bottom: 0;
        font-size: 14px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        cursor: pointer;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    .home-img {
        max-width: 55px;
        width: 55px;
        height: 55px;
        object-fit: cover;
        margin-right: 12px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    .flex {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .name {
        font-size: 14px;
        font-weight: 400;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left;
        margin-bottom: 6px;
        color: #1a202c;
        line-height: 1.3;
    }
    .price {
        color: #e53e3e;
        font-weight: 700;
        font-size: 15px;
    }
    .price b {
        font-size: 17px;
    }
}

@media screen and (min-width: 768px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 6px;
    }
    .home-card {
        padding: 8px;
        font-size: 13px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        cursor: pointer;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    .home-img {
        max-width: 40px;
        width: 40px;
        height: 40px;
        object-fit: cover;
        margin-right: 8px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    .flex {
        display: flex;
        flex-direction: row;
        flex: 1;
        align-items: center;
        justify-content: space-between;
    }
    .name {
        font-size: 13px;
        font-weight: 400;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
        color: #1a202c;
        flex: 1;
        margin-right: 6px;
        line-height: 1.2;
    }
    .price {
        color: #e53e3e;
        font-weight: 700;
        white-space: nowrap;
        font-size: 13px;
        background: rgba(229, 62, 62, 0.1);
        padding: 2px 6px;
        border-radius: 10px;
    }
    .price b {
        font-size: 14px;
    }
}

@media screen and (min-width: 992px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 8px;
    }
    .home-card {
        padding: 10px;
        font-size: 14px;
        display: flex;
        align-items: center;
        border-radius: 10px;
        cursor: pointer;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    .home-img {
        max-width: 50px;
        width: 50px;
        height: 50px;
        object-fit: cover;
        margin-right: 10px;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    .flex {
        display: flex;
        flex-direction: row;
        flex: 1;
        align-items: center;
        justify-content: space-between;
    }
    .name {
        font-size: 14px;
        font-weight: 400;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
        color: #1a202c;
        flex: 1;
        margin-right: 8px;
        line-height: 1.2;
    }
    .price {
        color: #e53e3e;
        font-weight: 700;
        white-space: nowrap;
        font-size: 14px;
        background: rgba(229, 62, 62, 0.1);
        padding: 3px 8px;
        border-radius: 12px;
    }
    .price b {
        font-size: 15px;
    }
}

@media screen and (min-width: 1320px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .home-card {
        padding: 12px;
        font-size: 15px;
        display: flex;
        align-items: center;
        border-radius: 12px;
        cursor: pointer;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    .home-img {
        max-width: 60px;
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-right: 12px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    .flex {
        display: flex;
        flex-direction: row;
        flex: 1;
        align-items: center;
        justify-content: space-between;
    }
    .name {
        font-size: 15px;
        font-weight: 400;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0;
        color: #1a202c;
        flex: 1;
        margin-right: 10px;
        line-height: 1.2;
    }
    .price {
        color: #e53e3e;
        font-weight: 700;
        white-space: nowrap;
        font-size: 15px;
        background: rgba(229, 62, 62, 0.1);
        padding: 4px 10px;
        border-radius: 14px;
    }
    .price b {
        font-size: 16px;
    }
}

/* 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;
}