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

/* 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 3px 6px 0 rgb(0 0 0 / 12%);
    transition: all .5s;
}
.home-card:hover {
    box-shadow: 1px 3px 2px 0 rgb(0 0 0 / 5%);
}
@media screen and (max-width: 767px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-gap: 12px;
        gap: 12px;
    }
    .home-card {
        padding: 12px;
        margin-bottom: 0;
        font-size: 14px;
        display: flex;
        align-items: flex-start;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    	
    }
    .home-img {
        max-width: 80px;
        margin-right: 12px;
    }
    .flex {
        display: flex;
        flex-direction: column;
    }
    .name {
        font-size: 14px;
        min-height: 42px;
    	display: -webkit-box;
        -webkit-line-clamp: 2;
    	-webkit-box-orient: vertical;
    	overflow: hidden;
    	text-align: left;
    }
    .price {
        color: #d0021b;
    }
    .price b {
        font-size: 14px;
    }
}
@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: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

@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;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}
@media screen and (min-width: 1320px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        grid-gap: 12px;
    }
    .home-card {
        padding: 32px 20px 14px 20px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 5px;
    	cursor: pointer;
        background-color: #fff;
    }
    .home-img {
        max-width: 88%;
        margin: 0 auto auto auto;
    }
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
    .name {
        font-size: 16px;
        min-height: 42px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .price {
        color: #d0021b;
        text-align: center;
    }
    .price b {
        font-size: 24px;
    }
}

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

/* Home catalog refresh: scoped to category navigation and product results. */
.catalog-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.catalog-nav .tab-link {
    min-width: 0;
    min-height: 58px;
    padding: 7px 10px;
    border: 2px solid #090c12;
    border-radius: 0;
    color: #090c12;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}
.catalog-nav .tab-link.active {
    color: #fff;
    background: #05080d;
}
.catalog-nav .catalog-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    color: #fff;
    background: #000;
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
}
.catalog-nav .catalog-nav-icon i {
    font-size: 27px;
    line-height: 1;
}
.catalog-nav .img-checkmark {
    display: none !important;
}
.catalog-content {
    padding: 12px;
    background: #e8ebf0;
}
.catalog-content .hyper-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
}
.catalog-content .home-card {
    position: relative;
    min-width: 0;
    min-height: 176px;
    padding: 16px 44px 16px 16px;
    border: 3px solid #fff;
    border-radius: 11px;
    background: #f9fafc;
    box-shadow: 0 10px 24px rgb(27 35 48 / 14%);
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}
.catalog-content .home-card:hover {
    box-shadow: 0 7px 18px rgb(27 35 48 / 18%);
    transform: translateY(-1px);
}
.catalog-content .featured-badge {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    padding: 5px 12px;
    border-radius: 8px 0 8px 0;
    color: #fff;
    background: #05080d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.catalog-content .product-media {
    min-width: 0;
    text-align: center;
}
.catalog-content .home-img {
    width: 96px;
    height: 96px;
    max-width: none;
    margin: 0;
    border-radius: 24px;
    object-fit: cover;
    display: block;
}
.catalog-content .product-details {
    min-width: 0;
    align-self: stretch;
    margin: 0;
    padding: 14px 0 8px;
    justify-content: space-between;
}
.catalog-content .name {
    min-height: 0;
    margin: 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}
.catalog-content .price {
    width: max-content;
    max-width: 100%;
    margin: 9px auto 0;
    padding: 3px 9px;
    border-radius: 999px;
    color: #05080d;
    background: #f0f2f5;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.catalog-content .price b {
    font-size: inherit;
}
.catalog-content .delivery-label {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid #98a2b3;
    border-radius: 5px;
    color: #7c8798;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.catalog-content .product-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    color: #05080d;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
    .catalog-nav {
        gap: 10px;
    }
    .catalog-nav .tab-link {
        min-height: 58px;
        padding: 7px 6px;
        gap: 8px;
        font-size: 17px;
    }
    .catalog-content {
        margin-right: -12px;
        margin-left: -12px;
    }
    .catalog-content .hyper-wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .catalog-content .home-card {
        min-height: 145px;
        padding: 14px 36px 14px 14px;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        align-items: center;
    }
    .catalog-content .home-img {
        width: 76px;
        height: 76px;
        border-radius: 20px;
    }
    .catalog-content .product-details {
        padding: 12px 0 6px;
    }
    .catalog-content .name {
        font-size: 17px;
    }
    .catalog-content .price {
        margin-top: 8px;
        padding: 3px 8px;
        font-size: 17px;
    }
    .catalog-content .delivery-label {
        font-size: 13px;
    }
    .catalog-content .product-arrow {
        right: 9px;
        font-size: 28px;
    }
}

@media screen and (max-width: 380px) {
    .catalog-nav .tab-link {
        font-size: 15px;
    }
    .catalog-nav .catalog-nav-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
    .catalog-nav .catalog-nav-icon i {
        font-size: 24px;
    }
}

/* Header actions, home tools, and footer share the catalog's black-and-white style. */
.header-navbar {
    height: 76px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgb(17 24 39 / 7%);
}
.header-flex {
    height: 76px;
}
.header-actions {
    display: grid;
    gap: 4px;
}
.header-action-link {
    min-width: 92px;
    height: 31px;
    padding: 4px 10px;
    border: 2px solid #05080d;
    border-radius: 7px;
    color: #fff;
    background: #05080d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: background-color .2s ease, color .2s ease;
}
.header-action-link:hover {
    color: #05080d;
    background: #fff;
}
.header-action-link i {
    font-size: 17px;
    line-height: 1;
}
.header-tutorial-link {
    color: #05080d;
    background: #fff;
}
.header-tutorial-link:hover {
    color: #fff;
    background: #05080d;
}
.home-tools-row {
    margin-right: 0;
    margin-left: 0;
}
.home-tools-row > .col-12 {
    padding-right: 0;
    padding-left: 0;
}
.home-tools {
    min-height: 50px;
    margin: 10px 0;
    padding: 6px;
    border: 1px solid #dfe3e9;
    border-radius: 12px;
    background: #eef1f5;
    display: flex;
    align-items: center;
    gap: 7px;
}
.home-tools .page-title-right {
    float: none !important;
    flex: 1 1 auto;
    margin: 0 !important;
    order: 2;
}
.home-tools .app-search {
    width: 100%;
    max-width: none;
}
.home-tools .app-search .form-control {
    height: 36px;
    padding-left: 36px;
    border: 2px solid #05080d;
    border-radius: 8px;
    color: #111827;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
}
.home-tools .app-search .form-control::placeholder {
    color: #98a2b3;
}
.home-tools .app-search span {
    left: 12px;
    color: #05080d;
    font-size: 18px;
    line-height: 36px;
}
.home-notice-wrap {
    margin: 0;
    padding: 0;
    order: 1;
}
.home-notice-button {
    height: 36px;
    padding: 0 12px;
    border: 2px solid #05080d;
    border-radius: 8px;
    color: #fff;
    background: #05080d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.home-notice-button:hover {
    color: #05080d;
    background: #fff;
}
.home-notice-button i {
    font-size: 18px;
}
.hyper-footer {
    padding: 18px 0;
    border-top: 0;
    color: #cbd1da;
    background: #05080d;
}
.hyper-footer .footer-brand {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .04em;
}
.hyper-footer .footer-brand a,
.hyper-footer .footer-brand a:hover {
    color: #fff;
}

@media screen and (max-width: 576px) {
    .logo-title {
        margin-left: 7px;
        font-size: 20px;
    }
    .header-action-link {
        min-width: 84px;
        height: 29px;
        padding: 3px 8px;
        font-size: 12px;
    }
    .home-tools {
        margin: 8px 0;
        padding: 5px;
        gap: 6px;
    }
    .home-notice-button {
        padding: 0 10px;
    }
}

/* TG tutorial pages */
.articles-page,
.article-page {
    padding: 30px 0 48px;
}
.articles-heading,
.article-shell {
    max-width: 900px;
    margin: 0 auto;
}
.articles-heading {
    margin-bottom: 24px;
}
.articles-kicker,
.article-kicker {
    margin-bottom: 8px;
    color: #697386;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.articles-heading h1,
.article-header h1 {
    margin: 0;
    color: #05080d;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
}
.articles-heading p,
.article-lead {
    margin: 10px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.75;
}
.articles-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.article-card {
    overflow: hidden;
    border: 2px solid #05080d;
    border-radius: 14px;
    color: #111827;
    background: #fff;
    box-shadow: 0 10px 24px rgb(17 24 39 / 10%);
}
.article-card:hover {
    color: #111827;
    transform: translateY(-2px);
}
.article-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}
.article-card-body {
    padding: 18px;
}
.article-card h2 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.4;
}
.article-card p {
    min-height: 48px;
    margin: 0 0 16px;
    color: #667085;
    line-height: 1.65;
}
.article-card-more {
    color: #05080d;
    font-weight: 800;
}
.article-shell {
    overflow: hidden;
    border: 1px solid #e2e5ea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 30px rgb(17 24 39 / 8%);
}
.article-header,
.article-content {
    padding: 28px 34px;
}
.article-header {
    border-bottom: 1px solid #e7e9ed;
    background: #f5f6f8;
}
.article-back {
    margin-bottom: 18px;
    color: #05080d;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 800;
}
.article-content {
    color: #344054;
    font-size: 16px;
    line-height: 1.8;
}
.article-content h2 {
    margin: 28px 0 10px;
    color: #101828;
    font-size: 22px;
    font-weight: 800;
}
.article-content h2:first-child {
    margin-top: 0;
}
.article-content p {
    margin: 0 0 14px;
}
.article-content ol {
    margin: 0;
    padding-left: 24px;
}
.article-content li {
    margin-bottom: 12px;
    padding-left: 4px;
}
.article-image {
    width: 100%;
    margin: 16px 0 22px;
    border: 1px solid #dfe3e8;
    border-radius: 12px;
    display: block;
}
.article-tip {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-left: 4px solid #05080d;
    border-radius: 0 8px 8px 0;
    background: #f2f4f7;
}
.article-action {
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    color: #fff;
    background: #05080d;
    display: inline-block;
    font-weight: 800;
}
.article-action:hover {
    color: #fff;
    background: #27303f;
}

@media screen and (max-width: 767px) {
    .articles-page,
    .article-page {
        padding: 20px 0 36px;
    }
    .articles-heading h1,
    .article-header h1 {
        font-size: 27px;
    }
    .articles-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .article-card img {
        height: 170px;
    }
    .article-header,
    .article-content {
        padding: 22px 18px;
    }
    .article-content {
        font-size: 15px;
    }
}
