/* app-creative.min.css */
.modal-header {
    padding: 6px 12px !important;
}
/* 桌面端：购买页隐藏顶部页标题，标题移入卡片居中展示 */
@media (min-width: 768px) {
  .buy-page .page-title-box { display: none; }
}
/* 购买页卡片标题居中 */
.buy-product .card-title { text-align: center; }
/* 暗色主题下，购买页卡片标题更亮 */
html[data-bs-theme="dark"] .card.card-body.buy-product h4.card-title { color: #e8e8e8 !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: #432a2a;
    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";
    display: none;
}

body {
    background-color: #f0f2f5;
    height: 100%;
    overflow-x: hidden; 
}
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;
}
/* 用户中心顶部间距收敛：紧贴导航 */
.site-header + .container { margin-top: 12px !important; }
.content .container { margin-top: 0 !important; padding-top: 0 !important; }
.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%;
    background-color: #f8f9fa;
    padding: 32px 0 24px 0;
    line-height: 16px;
    border-top: 1px solid #eaeaea;
    color: #98a6ad;
}

.hyper-footer a {
    color: #919ca7;
}

/* Dark mode footer follows header/theme */
.body-dark .hyper-footer {
    background-color: #383838;
    border-top: 1px solid #444;
    color: #bfc8d0;
}
.body-dark .hyper-footer a {
    color: #8ab4f8;
}
/* Dark mode via Bootstrap theme attribute */
html[data-bs-theme="dark"] .hyper-footer {
    background-color: #1d1d1d;
    border-top: 1px solid #444;
    color: #bfc8d0;
}
html[data-bs-theme="dark"] .hyper-footer a {
    color: #8ab4f8;
}
/* Dark theme text brightness tweaks (backgrounds unchanged) */
html[data-bs-theme="dark"] .tab-link {
    color: #597a97 !important; /* adjusted for dark chips */
    border-color: #8fa4bd; /* lighten ring/border */
    box-shadow: 0 0 0 0.4px rgba(138, 180, 248, 0.45), 0 0 10px rgba(138, 180, 248, 0.28); /* brighten edge glow on dark bg */
}
html[data-bs-theme="dark"] .tab-link:hover {
    color: #597a97 !important;
    box-shadow: 0 0 0 0.4px rgba(138, 180, 248, 0.6), 0 0 12px rgba(138, 180, 248, 0.40); /* stronger glow on hover */
}
html[data-bs-theme="dark"] .tab-link span,
html[data-bs-theme="dark"] .tab-link b {
    color: #597a97 !important;
}
/* Dark theme: active chip text to #e8e8e8 */
html[data-bs-theme="dark"] .tab-link.active,
html[data-bs-theme="dark"] .tab-link.active span,
html[data-bs-theme="dark"] .tab-link.active b {
    color: #e8e8e8d8 !important;
}
/* Specific text elements: ensure white on dark theme */
html[data-bs-theme="dark"] .name {
    color: #b6b6b6 !important;
}
html[data-bs-theme="dark"] .page-title-box .page-title,
html[data-bs-theme="dark"] h4.page-title {
    color: #e8e8e8 !important;
}
html[data-bs-theme="dark"] .buy-title {
    color: #e8e8e8 !important;
}
/* Dark theme: Order section (buy-shop) text color */
html[data-bs-theme="dark"] .buy-shop .form-group label,
html[data-bs-theme="dark"] .buy-shop .form-control,
html[data-bs-theme="dark"] .buy-shop .form-control::placeholder,
html[data-bs-theme="dark"] .buy-shop .input-group-text,
html[data-bs-theme="dark"] .buy-shop input[data-toggle="touchspin"],
html[data-bs-theme="dark"] .buy-shop .input-group .btn:not(.pay-type) {
    color: #e8e8e8bf !important;
}
/* Dark theme: buy-shop titles should be bright */
html[data-bs-theme="dark"] .buy-shop .buy-title {
    color: #e8e8e8 !important;
}
/* Dark theme: product name heading slightly dimmer for better balance */
html[data-bs-theme="dark"] .form-group h3 {
    color: #e8e8e8 !important;
}
html[data-bs-theme="dark"] h5.card-title {
    color: #e8e8e8 !important;
}
/* Ensure buy page card title is dimmed even if container forces white */
html[data-bs-theme="dark"] .card.card-body.buy-product h5.card-title {
    color: #e8e8e8 !important;
}
/* Dark theme: brighten small text on confirm order card */
html[data-bs-theme="dark"] .card.card-body .mb-1 label,
html[data-bs-theme="dark"] .card.card-body .mb-1 span {
    color: #b1b1b1 !important;
}
html[data-bs-theme="dark"] .badge,
html[data-bs-theme="dark"] .badge.badge-outline-primary,
html[data-bs-theme="dark"] .badge.badge-outline-success,
html[data-bs-theme="dark"] .badge.badge-outline-danger,
html[data-bs-theme="dark"] .badge.badge-outline-secondary,
html[data-bs-theme="dark"] .badge.badge-outline-info,
html[data-bs-theme="dark"] .badge.badge-outline-warning {
    color: #ffffff !important;
}
/* Dark theme: soften text color for buy-page badges */
html[data-bs-theme="dark"] .badge.badge-outline-danger,
html[data-bs-theme="dark"] .badge.badge-outline-primary,
html[data-bs-theme="dark"] .badge.badge-outline-success {
    color: #cccccc !important;
}
/* 暗色主题：全局段落文字稍微降低亮度，避免过白眩光 */
html[data-bs-theme="dark"] p {
    color: #cfcfcf !important;
}
/* 收敛暗色文本覆盖到标签相关，避免影响非标签文本 */
@media screen and (max-width: 576px) {
    .container {
       padding: 0 14px; 
    }
}
@media screen and (min-width: 576px) {
    .container {
       padding: 0; 
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans", sans-serif;
}
@media screen and (min-width: 769px) {
    .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: 1330px) {
    .modal-dialog {
        max-width: 900px !important;
    }
}
@media screen and (max-width: 1330px) {
    .modal-dialog {
        max-width: 700px !important;
    }
}


/* Select Button */

.nav-list {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.nav-list::-webkit-scrollbar {
    display: none; 
}
@media screen and (min-width: 769px) {
    .tab-link {
        min-width: 90px;
    }
}
@media screen and (max-width: 769px) {
    .tab-link {
        min-width: 60px;
    }
}
.tab-link {
        font-size: 15px;
    padding: 6px 10px 4px;
    border-radius: .4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #676767;
    border: 1px solid #8d8d8d;
    background-image: linear-gradient( #ffffff, #f5f7fa );
}
.tab-link.active {
    color: #fff;
    background: linear-gradient(-45deg, #3369ff, #3798f7);
    border: 1px solid #3264df
}
.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 {
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 12%);
    transition: box-shadow .5s, transform .2s;
}
.home-card:hover {
    box-shadow: 0px 0px 5px 0 #F44336;
}
@media screen and (max-width: 780px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: inline;
        /*grid-gap: 12px;
        gap: 20px;*/
    }
    .home-card {
        padding: 8px;
        margin-bottom: 18px;
        font-size: 14px;
        display: flex;
        position: relative;
        align-items: flex-start;
    	border-radius: 5px;
    	cursor: pointer;
        /* background-color: #fff; */
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
        border: 1.5px solid #1d93af00; /* 先设置边框为透明 */
        border-image: linear-gradient(to right, #c57d48cc, #8abaeccc) 1; /* 使用渐变色 */
        /* background-image: linear-gradient( #f3f5f9, #ffffff ); */
    }
    	
    
    .home-img {
        max-width: 130px;
        margin-right: 12px;
        border-radius: 0.85rem;
        border: 1px solid #c9c9c9;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

    .home-img:hover {
    transform: scale(1.15); /* 悬停时放大 1.15 倍 */
}

    .home-img:hover {
    transform: scale(1.1); /* 悬停时放大 1.1 倍 */
}
    
    span.mshu1 {
    font-size: 12px;
    color: #838383;
    position: relative;
    top: -10px;
   
    line-height: 1.5;           /* Controls the spacing between lines, increase or decrease to adjust line-break spacing */
    margin-bottom: 10px;        /* Adjusts the spacing below the title */
    margin-left: 0px;         /* Keeps the left margin based on your layout */
    display: inline-block;      /* Allows the text to wrap to the next line */
    word-wrap: break-word;      /* Allows long words to break, preventing overflow */
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .biaoti {
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}
    .flex {
        display: flex;
        flex-direction: column;
    }
    .name {
        font-size: 14px;
		display: -webkit-box;
        -webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-align: left;
		font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    color: #555756;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
    }
    .price {
    color: #ea5455;
    vertical-align: text-top;
    font-weight: 400; /* 设置字体变细 */
    opacity: 0.9; /* 减弱颜色饱和度 */
    transform: scaleX(0.9); /* 水平方向缩放 */
    display: inline-block; /* 确保 transform 生效 */
}
    .price b {
        font-size: 13px;
        font-weight: 550; /* 设置字体变细 */
        opacity: 0.9; /* 减弱颜色饱和度 */
        transform: scaleX(0.9); /* 水平方向缩放 */
        display: inline-block; /* 确保 transform 生效 */
    }
    
    
   .zdong {
    border: 1px solid #18bc9c;
    font-size: 12px;
    text-align: center;
    padding: 1px 8px;
    border-radius: 3px;
    color: #18bc9c;
    margin-top: 20px;
}

.sdong {
    border: 1px solid #3688fc;
    font-size: 12px;
    text-align: center;
    padding: 1px 3px;
    border-radius: 3px;
    color: #3688fcc4;
    margin-top: 20px;
}


.kucun {
    border: 1px solid #3d4d55;
    font-size: 12px;
    text-align: center;
    padding: 1px 3px;
    margin: 0px 4px 0px 0px;
    border-radius: 3px;
    color: #7b9aa9;
    margin-right: 3px;
}

  
.dibu {
/* position: absolute;
  left: 105px;
  bottom: 12px; */
}
    
    
}




@media screen and (min-width: 781px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        grid-gap: 20px;
    }
    .home-card {
        padding: 08px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 8px;
    	cursor: pointer;
    	position: relative;
        /* background-color: #fff; */
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
        border: 1.5px solid #1d93af00; /* 先设置边框为透明 */
        border-image: linear-gradient(to right, #c57d48, #8abaec) 1; /* 使用渐变色 */
        /* background-image: linear-gradient( #f3f5f9, #ffffff ); */

    }
    .home-img {
        width: 100px;
        height: 100px;
        border-radius: 11px;
        border: 1px solid #c9c9c9;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

    .home-img:hover {
        transform: scale(1.38); /* 悬停时放大 1.38 倍 */
}
    
    .biaoti {
    margin-left: -5px;
    }
    
    span.mshu1 {
    margin-left: 120px;
    font-size: 12px;
    color: #838383;
    /* position: relative; */
    /* top: -8px; */
    top: -5px;
    /* white-space: nowrap; */         /* Prevents text from wrapping to the next line */
    /* overflow: hidden; */            /* Hides the overflowed content */
    /* text-overflow: ellipsis; */     /* Adds ellipsis when the text overflows */
    display: block;              /* Ensures block-level rendering */
    max-width: 100%;             /* Set the maximum width so it doesn’t exceed the container */
    margin-left: 125px;          /* Adjust this if needed, based on your layout */
   
    line-height: 1.1;           /* Controls the spacing between lines, increase or decrease to adjust line-break spacing */
    margin-bottom: 10px;        /* Adjusts the spacing below the title */
    margin-left: 125px;         /* Keeps the left margin based on your layout */
    display: inline-block;      /* Allows the text to wrap to the next line */
    word-wrap: break-word;      /* Allows long words to break, preventing overflow */
    
    display: -webkit-box;        /* Use for multiline truncation */
    -webkit-line-clamp: 2;       /* Limit the text to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;            /* Hide the overflowing content */
    text-overflow: ellipsis;     /* Add ellipsis when text overflows */
    word-wrap: break-word;       /* Allows words to break if needed */
    }
    
    .zdong {
    border: 1px solid #18bc9c;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    color: #18bc9c;

    }

    .sdong {
    border: 1px solid #3688fc;
    font-size: 11px;
    text-align: center;
    display: inline-block;
    padding: 1px 4px;
    border-radius: 3px;
    color: #3688fcc4;
    }
    
  .kucun {
    border: 1px solid #3d4d55;
    font-size: 11px;
    text-align: center;
    padding: 2px 4px;
    border-radius: 3px;
    color: #7b9aa9;
    margin: 0 5x 0 3px;

    }

   
 .dibu {
  position: absolute;
  left: 130px;
  /* bottom: 11px; */
    }   
    
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
.name {
       font-size: 15px;
       min-height: 42px;
       margin: -100px 0px 0px 125px;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       -webkit-box-orient: vertical;
       overflow: hidden;
       font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    color: #555756;
           
       line-height: 1.3;           /* Controls the spacing between lines, increase or decrease to adjust line-break spacing */
       word-wrap: break-word;      /* Allows long words to break, preventing overflow */
    }
.price {
    color: #ea5455;
    vertical-align: text-top;
    font-weight: 400; /* 设置字体变细 */
    opacity: 0.9; /* 减弱颜色饱和度 */
    transform: scaleX(0.9); /* 水平方向缩放 */
    display: inline-block; /* 确保 transform 生效 */
}
    .price b {
        font-size: 13px;
        font-weight: 550; /* 设置字体变细 */
        opacity: 0.9; /* 减弱颜色饱和度 */
        transform: scaleX(0.9); /* 水平方向缩放 */
        display: inline-block; /* 确保 transform 生效 */
    }
}

@media screen and (min-width: 1200px) {
    .hyper-wrapper {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        grid-gap: 20px;
    }
    .home-card {
        padding: 12px;
        font-size: 14px;
        display: flex;
        flex-direction: column;
    	border-radius: 8px;
    	cursor: pointer;
    	position: relative;
        /* background-color: #fff; */
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.15);
        border: 1.5px solid #1d93af00; /* 先设置边框为透明 */
        border-image: linear-gradient(to right, #c57d48, #8abaec) 1; /* 使用渐变色 */
        /* background-image: linear-gradient( #f3f5f9, #ffffff ); */

    }
    .home-img {
        width: 100px;
        border-radius: 18px;
        height: 100px;
        border: 1px solid #c9c9c9;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

    .home-img:hover {
        transform: scale(1.38); /* 悬停时放大 1.38 倍 */
}
    
    .biaoti {
    margin-left: -5px;
    }
    
    span.mshu1 {
    margin-left: 125px;
    font-size: 12px;
    color: #838383;
    /* position: relative; */
    /* top: -8px; */
    }
    
    .zdong {
    border: 1px solid #18bc9c;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    color: #18bc9c;

    }

    .sdong {
    border: 1px solid #3688fc;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    color: #3688fcc4;
    }
    
  .kucun {
    border: 1px solid #3d4d55;
    font-size: 12px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 3px;
    color: #7b9aa9;
    margin: 0 5x 0 3px;

    }

   
 .dibu {
  position: absolute;
  left: 132px;
  bottom: 2px;
    }   
    
    .flex {
        display: flex;
        flex-direction: column;
        margin-top: 12px;
    }
.name {
       font-size: 15px;
       min-height: 42px;
       margin: -100px 0px 0px 125px;
       display: -webkit-box;
       -webkit-line-clamp: 2;
       -webkit-box-orient: vertical;
       overflow: hidden;
       font-family: usaxhj,pingfang SC, helvetica neue, arial, hiragino sans gb, microsoft yahei ui, microsoft yahei, simsun, sans-serif;
    color: #555756;
    }
.price {
    color: #ea5455;
    vertical-align: text-top;
    font-weight: 400; /* 设置字体变细 */
    opacity: 0.9; /* 减弱颜色饱和度 */
    transform: scaleX(0.9); /* 水平方向缩放 */
    display: inline-block; /* 确保 transform 生效 */
}
    .price b {
        font-size: 14px;
        font-weight: 550; /* 设置字体变细 */
        opacity: 0.9; /* 减弱颜色饱和度 */
        transform: scaleX(0.9); /* 水平方向缩放 */
        display: inline-block; /* 确保 transform 生效 */
    }
}

/* Buy Page*/
.form-group h3 {
    font-weight: 400;

}
.geetest_holder.geetest_wind {
    width: 100% !important;
    min-width: 100% !important;
}


.buy-product img {
    max-width:100%;
    height: auto;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease; /* 添加平滑过渡效果 */
}

.buy-product img:hover {
    transform: scale(1.25); /* 悬停时放大 1.1 倍 */
    cursor: zoom-in; /* 鼠标变为放大镜指针 */
}


@media screen and (min-width: 769px) {
    .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: 1330px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        column-gap: 9px;  /* 只调整横向间距 */
        /* margin-top: -5px; /* 调整为需要的负间距 */
        row-gap: 0px;    /* 如果需要，调整纵向间距 */

    }
}
@media screen and (min-width: 991px) and (max-width: 1330px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,300px));
        grid-gap: 6px;
    }
}

@media screen and (max-width: 576px) {
    .pay-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,200px));
        column-gap: 9px;  /* 只调整横向间距 */
        row-gap: 1px;    /* 如果需要，调整纵向间距 */
        transform: scale(0.93); /* 放大到 110%，缩小到 90% 可用 scale(0.9) */
        margin-top: -10px; /* 向上移动 10px，可根据需要调整 */
    }
}
@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 {
    background-color: transparent;
    color: #000000a8;
    border: 2px solid #3688fc;
    border-radius: 8px; /* 圆角让按钮更有质感 */
    padding: 10px 20px;
    font-size: 1rem;
    transition: box-shadow .15s ease, color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
    position: relative;
    cursor: pointer; /* 鼠标样式变成手形 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

.pay-type.active {
    background: linear-gradient(135deg, #fff, #b8eff57d); /* 添加柔和的渐变背景 */
    color: #3b5add;
    border: 2px solid #3c5ce4;
    box-shadow: 0 6px 12px rgb(54 177 252 / 35%); /* 高亮阴影 */
    transform: translateY(-2px); /* 按钮轻微上移，提升感 */
}

.pay-type:hover {
    background-color: #e6f2ff; /* 悬停时背景色变化 */
    box-shadow: 0 6px 12px rgb(116 164 233 / 30%); /* 悬停时阴影增强 */
    transform: translateY(-1px); /* 悬停时轻微上移，增强交互感 */
}

.pay-type:active {
    transform: translateY(3px); /* 点击时按钮稍微向下按 */
    box-shadow: 0 3px 6px rgb(12 200 234 / 60%); /* 点击时阴影变小 */
}

.pay-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(141 187 251 / 30%), transparent); /* 背景渐变 */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.pay-type:hover::before {
    opacity: 1; /* 悬停时背景渐变层显示 */
}



.buy-price {
    color: #ea5455;
    font-size: 22px;
    font-weight: 400; /* 设置字体变细 */
    opacity: 0.9; /* 减弱颜色饱和度 */
    transform: scaleX(0.9); /* 水平方向缩放 */
    display: inline-block; /* 确保 transform 生效 */
}

/* Orderinfo Page */

.orderinfo-grid {
    display: grid;
    grid-template-columns: auto;
}
@media screen and (min-width: 769px) {
    .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: 769px) {
    .orderinfo-info {
        display: grid;
        justify-content: center;
    }
}
.textarea-kami {
    min-height: calc(100% - 48px - 38px);
    color: #e3812a;
}
.kami-btn {
    margin-top: 6px;
    float: right;
}

/* Footer */
.footerlink {
  color: #000;
  position: absolute;
  width: 100%;
  text-align: center;
}

.ftr {
  display:inline-block;
  width:60px;
  height: 60px;
  background: #f1f1f1;
  margin: 15px;
  border-radius: 30%;
  box-shadow:-5px 5px 15px -5px #f1f1f1; 
  overflow: hidden;
  position: relative;
  transition: 0.3s linear;
}

.ftr i {
  line-height: 60px;
  font-size: 26px;
  transition: 0.3s linear;
}

.ftr:nth-child(1) i {
  color:#3b5998;
}

.ftr:nth-child(2) i {
  color:#1da1f2;
}

.ftr:nth-child(3) i {
  color:#c32aa3;
}

.ftr:nth-child(4) i {
  color:#db4437;
}

.ftr:hover {
  transform: scale(1.1);
}

.ftr:hover i {
  transform: scale(1.2);
  color: #fff;
}

.ftr:before {
  content:"";
  position:absolute;
  width:120%;
  height:120%;
  transform: rotate(45deg);
  left: -110%;
  top:90%;
}

.ftr:nth-child(1)::before {
  background: #3b5998;
}

.ftr:nth-child(2)::before {
  background: #1da1f2;
}

.ftr:nth-child(3)::before {
  background: #c32aa3;
}

.ftr:nth-child(4)::before {
  background: #db4437;
}

.ftr:hover::before {
  animation: aaa 0.7s 1;
  top: -10%;
  left: -10%;
}


.pay-type {
    display: inline-block;
    text-align: center;
    background: #f7f7f7;
    border: 2px solid #e7e7e7;
    border-radius: 5px;
    position: relative;
    padding: 3px 5px;
    margin-top: 1px;
    margin-right: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 13px; /* 自定义字体大小 */
}


.pay-select {
    border: 2px solid #3369ff;
    background: #f8faff;
    color: #3369ff;
}
.tab-link {
    background-color: #fafbfe;
}

/* Selected payment option: font blue like provided sample */
.pay-type.active,
.pay-select {
    color: #1765ff !important; /* 明亮蓝，接近示例图 */
}
.pay-type.active *,
.pay-select * {
    color: #1765ff !important;
}
/* Dark theme selected state keeps same blue */
html[data-bs-theme="dark"] .pay-type.active,
html[data-bs-theme="dark"] .pay-select {
    color: #1765ff !important;
}
html[data-bs-theme="dark"] .pay-type.active *,
html[data-bs-theme="dark"] .pay-select * {
    color: #1765ff !important;
}
/* Dark theme: deepen payment option backgrounds */
html[data-bs-theme="dark"] .pay-type {
    background-color: #232a36 !important;
    color: #e8eef3 !important;
    border-color: #445064 !important;
}
html[data-bs-theme="dark"] .pay-type:hover {
    background-color: #2a3140 !important;
}
html[data-bs-theme="dark"] .pay-select {
    background-color: #283040 !important;
    color: #8ab4f8 !important;
    border-color: #4c82ff !important;
}
/* Dark theme: 选中支付方式使用统一蓝色描边 */
html[data-bs-theme="dark"] .pay-type.active,
html[data-bs-theme="dark"] .pay-select {
    border-color: #4c82ff !important;
    box-shadow: none !important;
}
.stats-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 28px 26px 28px 30px;
    margin-top: 12px;
    margin-bottom: 24px;
}
.stats-icon {
    display: block;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(77,85,232,.09);
    /*background: var(--primary-light);*/
    color: #4d55e8;
    color: var(--primary);
    border-radius: 50%;
}
.stats-card i {
    font-size: 24px;
}
.stats-detail {
    margin-right: auto;
    margin-left: 24px;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
}
.stats-icon-user {
    background: rgba(7,187,7,.13);
    /*background: var(--success--light);*/
    color: #07bb07;
    color: var(--success);
}
.edu-badge, .malus-invite-tips {
    cursor: pointer;
}
.malus-invite-tips {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    background: #f8f9fa;
    background: var(--light);
    color: #868e96;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    padding: 3px 8px 3px 16px;
    text-align: center;
    border-radius: 20px 0 0 0;
}
.stats-member h6 {
    margin-top: 3px!important;
    font-size: 16px;
}
.stats-icon-time {
    background: rgba(253,151,68,.19);
    /*background: var(--orange-light);*/
    color: #fd9644;
    color: var(--orange);
}
.vip-center .card-header .card-title {
    font-size: 16px;
    font-weight: 700;
}
.btn-pill {
    border-radius: 10rem;
    padding-left: 1.5em;
    padding-right: 1.5em;
}
@media (min-width: 576px){
    .modal-sm {
        max-width: 600px !important;
    }
}
@media (max-width: 576px){
    .search-order {
        display: none;
    }
}
.order-table .table td {
    padding: 1.2rem 0 0 0 !important;
    vertical-align: center !important;
    border-top: 1px solid #f3f3f3;
}
.btn-outline-orange {
    background: rgba(7,187,7,.13);
    border: 1px solid var(--success);
    color: #07bb07;
    color: var(--success);
    background: none;
}
.overview {
    -webkit-box-align: center!important;
    -ms-flex-align: center!important;
    align-items: center!important;
}
.overview .card-title {
    font-size: 16px;
    font-weight: 600;
}
.affiliate-overview {
    align-items: center;
    display: flex;
    padding: 24px 24px 24px 48px;
}
.affiliate-overview .card {
    margin-right: 8px;
    height: 88px;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    width: 260px;
    box-shadow: none;
}

.affiliate-show-withdrowal-btn {
    margin: 0 12px 0 auto;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 56px;
    position: relative;
}
.bg-success {
    background-color: rgba(7,187,7,.13)!important;
    background-color: var(--success--light)!important;
}
.stamp {
    color: #fff;
    background: #868e96;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 48px;
    height: 48px;
    border-radius: 6px;
    margin-right: 24px!important;
}
@media (max-width: 768px){
    .affiliate-overview {
        align-items: flex-start;
        padding: 24px;
    }
    .affiliate-overview .card {
        margin-right: 0;
    }
    .affiliate-link, .affiliate-overview {
        flex-direction: column;
    }
    .affiliate-show-withdrowal-btn {
        margin-top: 24px;
        width: 100%;
    }
}
.stamp-md {
    line-height: 2.5rem;
}
.affiliate-overview .h4 {
    font-size: 26px;
}
.bg-success {
    background-color: rgba(7,187,7,.13)!important;
    /*background-color: var(--success--light)!important;*/
}
.bg-success i {
    color: #07bb07;
    color: var(--success);
}
.stamp i {
    font-size: 24px;
}
.contact {
    min-height: 136px;
}
.bg-red {
    background: rgba(235,87,87,.17)!important;
}
.bg-red i {
    color: #eb5757;
}
.invite-card .card-title {
    font-size: 16px;
    font-weight: 700;
}
.malus-share .list {
    padding-left: 18px;
    font-size: 14px;
}
.invite-table .table th {
    vertical-align: middle;
    line-height: 1;
}
.invite-table .table th {
    vertical-align: center !important;
    border-top: 1px solid #f3f3f3;
}
.withdrowal-setting .account-info {
    margin-bottom: 24px;
}
.withdrowal-setting .account-info .payment-type {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}
.withdrowal-setting .account-info .payment-type div.active {
    border: 1px solid #4d55e8;
}
.withdrowal-setting .account-info .payment-type div {
    cursor: pointer;
    width: 162px;
    height: 42px;
    background: #fff;
    border: 1px solid #e8e7f8;
    box-sizing: border-box;
    border-radius: 4px;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}
.withdrowal-setting .account-info .payment-type div svg {
    margin-right: 8px;
}
.withdrowal-setting .account-info .account {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.withdrowal-setting .account-info .account .form-wrapper.account-name {
    width: 340px;
    margin-right: 16px;
}
.withdrowal-setting .account-info .account .form-wrapper .label {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}
.withdrowal-setting .account-info .account .form-wrapper.account-name input {
    width: 100%;
}
.withdrowal-setting .account-info .account .form-wrapper input {
    background: #fff;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
    border-radius: 4px;
    font-size: 12px;
    line-height: 17px;
    display: flex;
    align-items: center;
    color: #7b7b7b;
    margin-right: 16px;
    padding: 0 12px;
    height: 46px;
    margin-bottom: 16px;
}
.withdrowal-setting .desc {
    margin-top: 18px;
    position: relative;
}
.withdrowal-setting .desc h4 {
    margin-bottom: 24px;
}
.withdrowal-setting .desc li {
    list-style: none;
    font-size: 12px;
    line-height: 17px;
    display: flex;
    align-items: center;
    color: #666;
    flex: none;
    order: 0;
    align-self: flex-start;
    margin-top: 12px;
}
.withdrowal-setting .desc button {
    margin-top: 42px;
    border-radius: 4px;
    width: 212px;
    height: 47px;
    float: right;
}
.invite-table .show-address {
    max-width: 180px;
}
.choose-tag {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0px;
}
.choose-tag .tag.active {
    border-color: #4d55e8;
    color: #4d55e8;
}
.choose-tag .tag {
    font-size: 15px;
    border-radius: 3px;
    margin-right: 8px;
    border: 1px solid #e0e0e0;
    font-weight: 400;
    background: none;
    color: #333;
    position: relative;
    padding: 4px 8px;
    min-width: 100px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}
.choose-tag .tag .discount-tag {
    color: #fff;
    background: #ff4243;
    padding: 2px 6px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
    margin-left: 4px;
    transform: scale(.9);
    margin-top: -1px;
}
.body-dark {
    background: #18191a !important;
}
.header-dark {
    background-color: #383838 !important;
}
.card-dark {
    background-color: #383838 !important;
}
.tab-link-dark {
    background-color: #383838 !important;
}
.home-card-dark {
    background-color: #383838 !important;
}
.form-control-dark {
    background-color: #383838 !important;
}
.card-header-dark {
    background-color: #383838 !important;
}
.modal-content-dark {
    background-color: #383838 !important;
}
.name-dark {
    color: #d2d2d2 !important;
}
/* Dark theme: brighten card edge shadow on hover */
html[data-bs-theme="dark"] .home-card:hover {
    box-shadow: 0 0 10px rgba(138, 180, 248, 0.45) !important; /* softer blue glow for dark bg */
}
/* Dark theme: 首页商品卡片背景更浅，提升层次 */
html[data-bs-theme="dark"] .home-card {
    background-color: #232a36 !important;
}
/* Dark theme: Luna 首页列表卡片（tab-content 内卡片）与 Hyper 保持一致 */
html[data-bs-theme="dark"] .tab-content .card {
    background-color: #232a36 !important;
}
/* Dark theme: footer description text brighter for readability */
html[data-bs-theme="dark"] .footer-desc {
    color: #e6edf396 !important;
}
/* Dark theme: unify product detail paragraph text color with card title */
/* 暗色主题：商品详情卡片中的段落说明更柔和 */
html[data-bs-theme="dark"] .buy-product p,
html[data-bs-theme="dark"] .good-card p {
  color: #d0d0d0 !important;
}
html[data-bs-theme="dark"] .footer-desc span {
    color: #e6edf396 !important;
}
/* Dark theme: reduce brightness of product images across templates */
html[data-bs-theme="dark"] .home-img,
.body-dark .home-img {
    filter: brightness(0.85) !important;
}

/* Buy page product detail images (Hyper/Luna share .buy-product) */
html[data-bs-theme="dark"] .buy-product img,
.body-dark .buy-product img {
    filter: brightness(0.85) !important;
}

/* Luna list page thumbnails use avatar-sm within product rows */
html[data-bs-theme="dark"] tr.category img.avatar-sm {
    filter: brightness(0.85) !important;
}
/* ===== 页面级解耦：查询订单页与邀请页的卡片外边距 ===== */
/* 移动端：搜索订单页取消卡片的向上偏移，避免受邀请页影响 */
@media (max-width: 767.98px) {
  .search-order-page .card {
    margin-top: 0 !important;
  }
}
/* 邀请页：所有断点固定向上偏移，便于独立调节 */
.invite-card .card {
  margin-top: -12px !important;
}
/* ===== 页面级解耦：购买页与邀请页分离 ===== */
/* 购买页：所有断点均取消卡片的向上偏移，独立于邀请页 */
.buy-page .card {
  margin-top: -10px !important;
}
/* Dark theme: 购买页卡片背景与首页卡片一致更浅 */
html[data-bs-theme="dark"] .buy-page .card,
html[data-bs-theme="dark"] .buy-page .card-body {
  background-color: #232a36 !important;
}
/* Dark theme: 下单页产品详情卡片底部与主页卡片一致 */
html[data-bs-theme="dark"] .card.card-body.buy-product {
  background-color: #232a36 !important;
}
html[data-bs-theme="dark"] .reviews-card {
  background-color: #232a36 !important;
}
/* 移动端：保持一致覆盖，防止特定断点回退到全局样式 */
@media (max-width: 767.98px) {
  .buy-page .card {
  margin-top: -12px !important;
  }
}
/* Mobile: show card title on buy page (reverted hiding) */
/* ===== 购买页标题字号调整（桌面+移动） ===== */
/* 桌面端：商品名与价格（h3）稍微缩小 */
.buy-page .form-group h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}
/* 桌面端：产品详细信息卡片标题（h4）稍微缩小 */
.buy-page .card.card-body.buy-product h4.card-title {
  font-size: 1.25rem;
}
/* 移动端：进一步缩小，提升可读性与信息密度 */
@media (max-width: 767.98px) {
  .buy-page .form-group h3 {
    font-size: 1.25rem;
  }
  .buy-page .card.card-body.buy-product h4.card-title {
    font-size: 1.15rem;
  }
}

/* ===== 购买页提交按钮：小窗口尺寸优化（Hyper/Luna 共用） ===== */
/* 平板及以下：缩小按钮，避免溢出卡片 */
@media (max-width: 991.98px) {
  .buy-page #submit.btn {
    padding: 8px 20px !important;
    font-size: 14px !important;
    border-radius: 18px !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: nowrap;
  }
}
/* 手机端：提交订单按钮更宽且居中 */
@media (max-width: 767.98px) {
  .buy-page #submit.btn {
    width: 70% !important;
    display: inline-flex;
    justify-content: center;
    border-radius: 9999px !important;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .buy-page #submit.btn {
    border-radius: 9999px !important;
  }
}
@media (min-width: 992px) {
  .buy-page #submit.btn {
    border-radius: 9999px !important;
  }
}
/* 极小屏（窄视口）进一步收紧 */
@media (max-width: 360px) {
  .buy-page #submit.btn {
    padding: 6px 16px !important;
    font-size: 13px !important;
  }
}
/* 图片统一比例与裁剪（覆盖旧样式） */
@media (max-width: 767.98px){
  .home-img{ width:130px !important; height:130px !important; min-width:130px !important; flex:0 0 130px !important; display:block !important; aspect-ratio:1/1; object-fit:cover; }
}
@media (min-width: 768px){
  .home-img{ width:115px !important; height:115px !important; min-width:115px !important; flex:0 0 115px !important; display:block !important; aspect-ratio:1/1; object-fit:cover; }
}
/* 统一悬停放大动画（仅在已加载且非占位时启用） */
.home-img{ transition: none !important; }
.home-img:not([data-src]){ transition: transform 0.6s ease-out !important; will-change: transform; }
.home-img:not([data-src]):hover{ transform: scale(1.08) !important; }
/* 懒加载占位：未加载时显示背景色 */
.home-img[data-src]{
  background-color:#e5e7eb !important;
  border: 1px solid rgba(0,0,0,.08);
}
html[data-bs-theme="dark"] .home-img[data-src]{
  background-color:#2f3136 !important;
  border-color: rgba(255,255,255,.08);
}
/* 灰色占位时显示加载转圈（移除 data-src 后自动消失） */
.home-img[data-src]{ position: relative; }
.home-img[data-src]::after{
  content:"";
  position:absolute;
  top:50%; left:50%;
  width:22px; height:22px;
  border:2px solid rgba(0,0,0,.25);
  border-top-color: transparent;
  border-radius:50%;
  transform:translate(-50%,-50%);
  animation: himg-spin .8s linear infinite;
}
html[data-bs-theme="dark"] .home-img[data-src]::after{
  border-color: rgba(255,255,255,.25);
  border-top-color: transparent;
}
@keyframes himg-spin{ to { transform:translate(-50%,-50%) rotate(360deg); } }
@font-face{font-family:Nunito;src:url('/assets/hyper/fonts/Nunito-Regular.woff') format('woff'),url('/assets/hyper/fonts/Nunito-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url('/assets/hyper/fonts/Nunito-Bold.woff') format('woff'),url('/assets/hyper/fonts/Nunito-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
.home-search-box .search-title{font-weight:400;font-synthesis:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei","Noto Sans",sans-serif}
