.category-btn {
    background-color: #7a8cf39e;
    align-items: center;
    padding: 8px 12px;
    margin: 0 12px 8px 0;
    border-radius: 15px;
    -moz-box-shadow: 0 0 10px 5px rgba(199, 199, 199, .1);
    box-shadow: 0 0 10px 5px rgba(199, 199, 199, .1);
    border: 3px solid transparent;
    font-weight: bolder;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    font-size: 16px;
    color: white;
    transition: transform 0.4s ease;
}

.nav-main-link .nav-main-link-name {
    font-weight: bold;
    font-size: 15px;
}

.category-btn-icon {
    height: 35px;
    border-radius: 6px;
}

.category-icon {
    height: 32px;
    width: 32px;
    border-radius: 6px;
    margin-right: 3px;
}

.item-card-icon {
    height: 60px;
    width: 60px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 20px;
}

.item-card-icon img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.category-btn-text {
    padding-left: 5px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.item-box {
    transition: transform 0.5s ease-in-out;
    animation: fadeIn 0.5s ease-out;
}

/* ===== 首页整体风格重做：沉稳灰蓝 ===== */
.home-category-panel {
    background: #ffffff !important;
    box-shadow: rgba(15, 23, 42, 0.06) 0px 8px 24px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.home-list-card {
    box-shadow: rgba(15, 23, 42, 0.06) 0px 8px 24px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-width: 1px !important;
    border-style: solid !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    border-image: initial !important;
    border-radius: 18px !important;
}

.home-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    font-weight: 800;
    color: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(to bottom, #5b6672, #697684);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    font-size: 16px;
}

.home-card-header {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.92);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.home-card-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 800;
}

.home-notice-header .home-card-title {
    color: #d14b42;
    font-size: 20px;
}

.home-notice-extra {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: #fff;
    padding: 5px 16px;
    font-size: 14px;
    border-radius: 999px;
    font-weight: 800;
    margin-left: 14px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .18);
    display: inline-flex;
    align-items: center;
    animation: homeNoticeBreath 1.8s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes homeNoticeBreath {
    0% { transform: scale(1); box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
    50% { transform: scale(1.06); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
    100% { transform: scale(1); box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
}

@media (max-width: 576px) {
    .home-notice-header .home-card-title {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .home-notice-extra {
        margin: 8px auto 0;
    }
}

.home-panel-body {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.home-category-header {
    background: linear-gradient(to bottom, #5b6672, #697684);
    color: #ffffff;
}

.home-search-card {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    border-radius: 18px !important;
}

.home-search-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
}

.home-search-label {
    background: transparent !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 10px !important;
    color: #5f6b78 !important;
    font-weight: 800;
    line-height: 40px;
}

.home-search-group {
    width: 100%;
    align-items: center;
    gap: 10px;
}

.home-search-group .input-group-text {
    border-radius: 999px;
}

.home-search-input {
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(255, 255, 255, 0.96);
    flex: 1 1 320px;
    text-align: center;
}

.home-search-input::placeholder {
    text-align: center;
}

.search-order-keyword {
    text-align: center;
}

.search-order-keyword::placeholder {
    text-align: center;
}

.home-search-btn {
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
}

#page-container.main-content-boxed>#main-container .content,
#page-container.main-content-boxed>#page-footer .content,
#page-container.main-content-boxed>#page-header .content,
#page-container.main-content-boxed>#page-header .content-header {
    max-width: 85%;
}

@media (max-width: 768px) {
    #page-container.main-content-boxed>#main-container .content,
    #page-container.main-content-boxed>#page-footer .content,
    #page-container.main-content-boxed>#page-header .content,
    #page-container.main-content-boxed>#page-header .content-header {
        max-width: 100%;
    }
}

.home-category-hint {
    color: #ff4d4f;
    font-weight: 800;
    margin-left: 8px;
    font-size: 13px;
}

.home-table-wrap {
    width: 100%;
}

.home-table {
    background: transparent;
    margin: 0;
}

.home-table thead th {
    font-weight: 800;
    font-size: 13px;
    color: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 10px 12px;
    white-space: nowrap;
}

.home-table tbody td {
    padding: 10px 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    vertical-align: middle;
}

.home-item-row:hover {
    background: rgba(255, 255, 255, 0.55);
}

.home-item-name-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.home-item-table-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
}

.home-item-table-name {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.home-col-stock {
    width: 90px;
}

.home-col-price {
    width: 110px;
}

.home-col-op {
    width: 120px;
}

.home-btn-buy,
.home-btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
}

.home-btn-buy {
    background: linear-gradient(90deg, #FF6A00, #FF3B01);
    color: #fff !important;
}

.home-btn-buy:hover {
    filter: brightness(1.05);
}

.home-btn-disabled {
    background: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    user-select: none;
}

@media (max-width: 768px) {
    .home-table thead {
        display: table-header-group;
    }

    .home-table tbody td {
        padding: 10px 8px;
    }

    .home-table thead th {
        padding: 8px 8px;
        font-size: 12px;
    }

    .home-item-table-name {
        font-size: 13px;
    }

    .home-btn-buy,
    .home-btn-disabled {
        min-width: 66px;
        height: 32px;
        font-size: 14px;
        padding: 0 14px;
    }

    .home-item-table-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
}

.block-notice {
    border-radius: 18px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.block-notice .content-notice {
    text-shadow: none;
}

.block-notice .content-notice .notice-title {
    border-top-left-radius: 14px !important;
}

.home-category-title {
    font-weight: bolder;
    color: #5f6b78;
    font-size: 16px;
    margin-bottom: 10px;
}

.home-item-strip {
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    border-radius: 18px !important;
}

.home-category-tree .nav-main-submenu {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: static !important;
    background: transparent !important;
    background-image: none !important;
}

.home-category-tree > .nav-main-submenu,
.home-category-tree > ul.nav-main-submenu {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}

.home-category-tree .nav-main-link-submenu + .nav-main-submenu {
    display: none;
}

.home-category-tree .nav-main-item.open > .nav-main-submenu,
.home-category-tree .nav-main-link-submenu[aria-expanded="true"] + .nav-main-submenu {
    display: block;
}

.home-category-tree .nav-main-submenu .nav-main-item {
    opacity: 1 !important;
    transform: none !important;
}

.home-category-tree .nav-main-item {
    margin-bottom: 6px;
}

.home-category-tree .nav-main-link {
    display: flex;
    align-items: center;
    padding: 8px 25px 7px 10px;
    border-radius: 10px;
    background-color: #f6f8fa;
    box-shadow: none;
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #334155;
}

.home-category-tree .category-count-badge {
    margin-left: auto;
    background: #6b7785;
    color: #fff;
    min-width: 28px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 20px;
    font-weight: 800;
    text-align: center;
    box-shadow: none;
}

.home-category-tree .nav-main-link-name {
    color: #334155;
    font-size: 15px;
}

.home-category-tree .nav-main-link:hover {
    background-color: #eef2f6;
}

.home-category-tree .nav-main-submenu .nav-main-submenu {
    padding-left: 12px;
    margin-top: 6px;
    background: transparent !important;
    background-image: none !important;
}

.home-item-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.home-list-table-header {
    display: grid;
    grid-template-columns: 1fr 90px 110px 120px;
    align-items: center;
    gap: 17px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: rgba(15, 23, 42, 0.75);
    font-weight: 900;
    font-size: 13px;
}

.home-list-th-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.home-list-th-title {
    color: #6b7280;
}

.home-list-th-sub {
    color: #ff4d4f;
    font-weight: 800;
}

.home-list-th-stock,
.home-list-th-price,
.home-list-th-op {
    text-align: center;
    font-size: 14px;
}

.home-row-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.home-list-row {
    display: grid;
    grid-template-columns: 1fr 90px 110px 120px;
    align-items: center;
    gap: 12px;
    padding: 15px 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.home-row-link:hover .home-list-row {
    background: rgba(255, 255, 255, 0.55);
}

.home-list-header {
    display: block;
}

.home-list-table-header-in-title {
    width: 100%;
    padding: 0;
    border-bottom: 0;
}

.home-list-main-title {
    color: #334155;
    font-weight: 900;
    font-size: 16px;
}

.home-list-td-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    position: relative;
}

.home-list-row-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 auto;
}

.home-list-row-title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    color: rgba(15, 23, 42, 0.9);
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
}

.home-list-td-stock {
    text-align: center;
    color: #6b7280;
    font-weight: 900;
}

.home-list-td-price {
    text-align: center;
    color: #15803d;
    font-weight: 900;
}

.home-list-td-op {
    text-align: center;
}

@media (max-width: 768px) {
    .home-list-table-header,
    .home-list-row {
        grid-template-columns: 1fr 96px;
        grid-template-rows: auto auto;
        gap: 8px;
    }

    .home-list-th-name {
        flex-wrap: wrap;
        gap: 6px;
    }

    .home-list-th-sub {
        font-size: 12px;
    }

    .home-list-row-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .home-list-th-stock,
    .home-list-th-price,
    .home-list-th-op {
        display: none;
    }

    .home-list-td-name {
        align-items: anchor-center;
        flex-wrap: wrap;
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .home-list-td-stock {
        grid-column: 1;
        grid-row: 2;
        text-align: left;
        color: rgba(15, 23, 42, 0.72);
        font-weight: 700;
    }

    .home-list-td-price {
        display: none;
    }

    .home-list-td-op {
        grid-column: 2;
        grid-row: 2;
        text-align: right;
        align-self: center;
        justify-self: end;
    }

    .home-list-row-title {
        width: calc(100% - 44px);
        margin-left: 0;
    }

    .home-list-stock-only {
        display: none !important;
    }

    .home-list-mobile-meta-inline {
        display: inline-flex !important;
        align-items: center;
        gap: 10px;
        font-size: 12px;
    }

    .home-list-mobile-meta-inline .home-meta-k,
    .home-list-mobile-meta-inline .home-meta-v {
        display: inline !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .home-meta-k {
        color: rgba(15, 23, 42, 0.6);
        font-weight: 800;
    }

    .home-meta-stock {
        color: #6b7280;
        font-weight: 900;
    }

    .home-meta-price {
        color: #15803d;
        font-weight: 900;
    }
}

.home-list-mobile-meta-inline {
    display: none;
}

.home-list-stock-only {
    display: inline;
}

.home-item-link {
    text-decoration: none;
    display: block;
}

.home-item-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(to right, #e8e8ffa6, #defdffe6) !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
    border-radius: 18px !important;
    position: relative;
}

.home-item-strip:hover {
    transform: translateY(-2px);
}

.home-item-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 20px 45px -18px, rgba(0, 0, 0, 0.25) 0px 12px 24px -18px;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.home-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-item-title {
    font-weight: bolder;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
    word-break: break-word;
}

.home-item-price-label {
    font-weight: 900;
    margin-right: 6px;
}

.home-item-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 75px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 900;
    background: linear-gradient(90deg, #FF6A00, #FF3B01);
    color: #fff;
    flex: 0 0 auto;
}

.home-item-buy-disabled {
    background: #E5E7EB;
    color: #9CA3AF;
}

.home-item-price {
    color: #fff;
    background-color: #18b346ab;
    padding: 6px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    flex: 0 0 auto;
}

.home-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    font-weight: bolder;
    font-size: 12px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.home-item-bottom .item-number {
    color: #60eeb7 !important;
}

.item-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 25px !important;
    filter: blur(4px);
}

.item-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 25px;
}

.ribbon-item-price {
    color: #fff;
    background-color: #18b346ab;
    position: absolute;
    top: 1.75rem;
    right: 0;
    padding: 0 .75rem;
    height: 2.25rem;
    line-height: 2.25rem;
    z-index: 5;
    font-weight: 700;
    border-top-left-radius: .375rem;
    border-bottom-left-radius: .375rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.support-wholesale {
    position: absolute;
    top: 10px;
    left: 10px;
}

.ribbon-item-box::before {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    content: "";
}

.ribbon-item-stock {
    background-color: #00b8ff52;
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    padding: 0 .75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    z-index: 5;
    font-weight: bolder;
    font-size: 12px;
    text-align: center;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    display: flex;
    justify-content: space-between;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ribbon-item-stock .item-stock {
    color: white;
    margin-left: 10px;
}

.ribbon-item-stock .item-sold {
    color: white;
    margin-right: 10px;
}

.item-block .item-text {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.ribbon-item-stock .item-stock .item-number {
    color: #60eeb7 !important;
}

.ribbon-item-stock .item-sold .item-number {
    color: #b4ee60 !important;
}

.block-notice {
    position: relative;
    border-radius: 25px !important;
}

.block-notice .content-notice {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
    position: relative;
}

.block-notice .content-notice p {
    margin: 0;
}

.notice-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 25px !important;
    filter: blur(4px);
}

.notice-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 25px;
}

.block-notice .content-notice .notice-title {
    border-top-left-radius: 25px !important;
}

.item-image-main {
    background: linear-gradient(to right, rgb(156 119 255 / 33%), rgb(244 255 249));
    padding: 2px !important;
    height: 236px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
}

.item-image-main .img-link {
    display: revert !important;
}

.item-image-show {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.item-image-list {
    margin-top: 5px;
    text-align: center;
    background: linear-gradient(to right, rgb(106 151 181 / 7%), rgb(233 213 252 / 27%));
    border-radius: 10px;
    padding: 5px 0px;
    display: flex;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
}

.item-image-list .item-image-sku-mini.image-active {
    border: 1px solid #ff87c4;
}

.item-image-list .item-image-sku-mini:hover {
    transform: scale(1.1);
}

.item-image-list .item-image-sku-mini:first-child {
    margin-left: 2px;
}

.item-image-list .item-image-sku-mini {
    cursor: pointer;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    display: inline-block;
    transition: transform 0.1s ease;
    transform: scale(1);
    flex: 0 0 auto;
    margin-right: 5px;
}

.item-image-list img {
    height: 64px;
    width: 64px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .item-image-main,
    .item-image-list {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .category-btn:not(article) {
        border: none;
        transition: all 0.4s;
    }

    .category-btn:not(article):hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 8px rgba(73, 90, 47, .6);
    }

    .category-submenu {
        width: 100vh !important;
    }

    .item-block:not(article) {
        transition: all 0.4s;
    }

    .item-block:not(article):hover {
        transform: translateY(-4px);
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }
}

@media (max-width: 767.98px) {
    .category-btn:active {
        transform: scale(1.01);
    }

    .item-block:active {
        transform: scale(1.01);
    }

    .nav-main-horizontal.nav-main-hover .nav-main-item:hover > .nav-main-submenu {
        padding-left: 2rem !important;
    }
}

/**
商品页面
 */
.item-title-content {
    background: #ebeef2;
    background: linear-gradient(to right, rgb(106 151 181 / 7%), rgb(233 213 252 / 27%));
    border-radius: 10px;
    padding: 15px;
}

.item-controls {
    margin-top: 5px;
    border-radius: 10px;
    padding: 15px;
}

.sku-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.sku-item {
    flex: 0 1 auto;
    display: inline-block;
    margin-right: 5px;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #ffffffa6;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background: linear-gradient(to right, rgb(211, 204, 227), rgb(233, 228, 240));
    align-items: center;
    display: flex;
    margin-top: 4px;
    margin-bottom: 4px;
    transition: transform 0.5s ease-in-out;
    animation: fadeIn 0.5s ease-out;
}

.sku-current {
    border: 1px solid #87cbd485;
    background: linear-gradient(to right, rgb(185 241 215), rgb(243 255 246)) !important;
}

.sku-wrapper .sku-item .sku-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}

.sku-wrapper .sku-item .sku-icon img {
    height: 24px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 4px;
}

.sku-cate-td {
    vertical-align: middle;
    padding: 0 0 0 10px !important;
}

.sku-cate-td .cate-name {
    font-size: 16px;
    color: #7f7f7f;
    font-weight: revert;
}

.table .sku-attr-value {
    word-break: break-word;
    overflow-wrap: break-word;
}

.item-controls .form-check {
    min-height: inherit !important;
    margin-bottom: inherit !important;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .sku-item:active {
        transform: scale(1.01);
    }

    .introduce-content img,
    .introduce-content video,
    .introduce-content iframe {
        height: auto !important;
    }
}

@media (min-width: 992px) {
    .sku-item:not(article) {
        transition: all 0.4s;
    }

    .sku-item:not(article):hover {
        transform: translateY(-4px);
        box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    }
}

.introduce-content img,
.introduce-content video,
.introduce-content iframe {
    max-width: 100%;
}

.shop-checkout-btn {
    display: flex;
}

.d-hide {
    display: none !important;
}

.checkout-btn {
    flex: 0 1 auto;
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    outline: none;
    box-shadow: rgba(255, 203, 0, 0.2) 0px 9px 13px 0px;
    width: 160px;
}

.btn-buy-now {
    background: linear-gradient(90deg, rgb(255, 119, 0), rgb(255, 73, 0));
    border-right: none;
}

.btn-add-cart {
    background: linear-gradient(90deg, rgb(255, 203, 0), rgb(255, 148, 2));
}

.btn-no-stock {
    background: linear-gradient(90deg, #d9dfe8, #999);
    border-radius: 34px;
}

.shop-checkout-btn .btn-buy-now {
    border-top-left-radius: 34px;
    border-bottom-left-radius: 34px;
}

.shop-checkout-btn .btn-add-cart,
.shop-checkout-btn .btn-add-stock {
    border-top-right-radius: 34px;
    border-bottom-right-radius: 34px;
}

.bg-gradient-blue {
    background: linear-gradient(to right, rgb(106 151 181 / 7%), rgb(233 213 252 / 27%));
}

.bg-lime-green {
    background: #44ca6d;
}

.bg-light-gray {
    background: #d2d2d2;
}

/**
checkout 页面
 */
.shop-checkout-pay-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-pay-now,
.btn-cancel-order {
    padding: 10px 20px;
    border: 1px solid transparent;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

.btn-cancel-order {
    background-color: #ff0000;
}

.render-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2), 0 0 20px 5px rgb(253, 224, 244);
}

.render-pay .pay-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 30px auto;
    font-weight: bold;
    font-size: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), -2px -2px 4px rgba(255, 255, 255, 0.5);
}

.render-pay .pay-icon svg {
    vertical-align: middle;
    width: 1.1em;
    height: 1.1em;
}

.pay-icon-alipay {
    color: #1578ff;
}

.pay-icon-wxpay {
    color: #26b240;
}

.pay-icon-qqpay {
    color: #0099fe;
}

.pay-title span {
    margin-left: 1px;
    margin-right: 1px;
}

.hour { color: #c8a531; }
.minute { color: #28a745; }
.second { color: #dc3545; }
.time-title { color: #5d75a0; }

@media (max-width: 767.98px) {
    .pay-item:active {
        transform: scale(1.01);
    }
}

@media (min-width: 992px) {
    .pay-item:not(article) {
        transition: all 0.4s;
    }

    .pay-item:not(article):hover {
        transform: translateY(-4px);
    }
}

/**
订单查询
 */
.flex-container {
    display: flex;
    align-items: center;
}

.item-info .item-logo {
    margin-right: 10px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    width: 50px;
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.item-info .item-logo img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.item-info .item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.item-info .item-content .item-name {
    font-weight: bold;
    font-size: 18px;
    color: #5077c0;
    margin-bottom: 4px;
}

.item-info .item-content .item-sku-name {
    color: #2ab875;
}

.order-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.order-header {
    background-color: #6c96f9;
    color: #ffffff;
    padding: 12px;
}

.order-header h2 {
    margin: 0;
}

.order-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-info span {
    display: block;
    margin-bottom: 5px;
}

.order-pay-type pay {
    color: #0dc8ff;
}

.order-pay-type img {
    width: 16px;
    height: 16px;
    position: relative;
    top: -0.095rem;
}

.order-pay-type .pay-name {
    font-weight: bold;
    color: #5f8bf3;
}

@media (max-width: 768px) {
    .order-body {
        flex-direction: column;
    }
}

.search-order-btn {
    cursor: pointer;
}

/**
购物车
 */
.table-cart tbody tr:not(:last-child) {
    border-bottom: 20px solid transparent;
}

.quantity-change {
    display: flex;
    align-items: stretch;
    border: 1px solid #e9ddf7;
    width: 88px;
    border-radius: 10px;
}

.quantity-change button,
.quantity-change input[type="text"] {
    display: block;
    flex: 0 0 auto;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
}

.quantity-change .change-left {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.quantity-change .change-right {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.quantity-change button {
    background-color: #fff5fd63;
    border: none;
    cursor: pointer;
    color: #333;
    width: 24px;
}

.quantity-change input[type="text"] {
    border: none;
    outline: none;
    margin: 0;
    width: 38px;
    color: #31a2d6;
}

.quantity-change button:first-child,
.quantity-change input[type="text"] {
    border-right: 1px solid #e9ddf7;
}

.quantity-change button:last-child {
    border-left: 1px solid #e9ddf7;
}

.quantity-change button:hover {
    background-color: #e0e0e0;
}

.cart-widgets {
    padding: 10px;
    position: relative;
    border: 2px solid transparent;
}

.cart-widget-edit {
    position: absolute;
    top: -12px;
    right: -12px;
    padding: 2px 5px;
    background-color: #f40;
    border: none;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    font-size: 12px;
    color: white;
    visibility: hidden;
    margin: 10px;
    cursor: pointer;
}

.cart-widgets:hover {
    border: 2px dashed #ccc;
}

.cart-widgets:hover .cart-widget-edit {
    visibility: visible;
}

.cart-widget:not(:last-child) {
    margin-bottom: 8px;
}

.block-cart-btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.btn-cart-bill,
.btn-cart-clear {
    border: 1px solid transparent;
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    width: auto;
    border-radius: 5px;
}

.btn-cart-bill {
    background-color: #007bff;
    margin-left: auto;
}

.btn-cart-clear {
    background-color: #dc3545;
    margin-right: auto;
}

.btn-cart-bill:hover,
.btn-cart-clear:hover {
    opacity: 0.8;
}

.sku-quantity-wrapper {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.sku-quantity-wrapper .quantity-input {
    width: 100px;
    border-radius: 4px 0 0 4px;
    display: block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #334155;
    background-color: #fff;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #dfe3ea;
    border-right: none;
}

@media (max-width: 767.98px) {
    .sku-quantity-wrapper .quantity-input {
        width: 50px;
    }
}

.sku-stock {
    padding: .53rem .75rem;
    border: 1px solid #ccc;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: white;
    border-left: none;
}

.sku-wholesale {
    padding: .53rem .75rem;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    font-weight: 400;
    color: white;
    border-left: none;
    border-right: none;
    background: #ee6969;
    cursor: pointer;
}

/**
支付功能
 */
.pay-container .layout-box {
    margin-bottom: 16px;
    margin-top: 10px;
}

.pay-container .layout-box .title {
    margin-bottom: 8px;
    color: #9e9c9c;
}

.pay-container .pay-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 0 -10px;
}

.pay-container .pay-list .pay-item {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 8px 12px;
    margin: 6px 10px 6px 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.pay-container .pay-list .pay-item img {
    width: 26px;
    height: 26px;
    margin-right: 6px;
}

.pay-container .pay-list .pay-item:hover,
.pay-container .pay-list .pay-item:focus {
    border-color: #aca8ff;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.2);
    background-color: #eef4fe;
}

.pay-container .pay-list .pay-current {
    background-color: #e8f0fe;
    border-color: #aca8ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.pay-container button {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    margin-bottom: 8px;
}

.pay-container button:hover {
    background-color: #0056b3;
}

.btn-pay-now[disabled="disabled"] {
    background-color: #007bf5;
    cursor: not-allowed;
}

.shop-name {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-name .shop-logo {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 6px;
}

.shop-name .shop-title {
    font-size: 20px;
    font-weight: bolder;
    white-space: nowrap;
}

.block-notice img,
.block-notice video,
.block-notice iframe {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .block-notice img,
    .block-notice video,
    .block-notice iframe {
        height: auto !important;
    }
}

.language-select-theme {
    width: auto !important;
}

.language-select-theme .select2-dropdown .select2-results__options:not(.select2-results__options--nested) {
    max-height: initial !important;
    overflow: hidden;
}

.language-select-theme.select2-container--open {
    width: 150px !important;
}

.language-select-theme.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: transparent !important;
    box-shadow: none !important;
}

.language-select-theme .select2-selection {
    background-color: #283547 !important;
    border: none !important;
    color: #fff !important;
}

.language-select-theme .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

.language-select-theme .select2-selection__rendered .table-item-name {
    color: #ffffff !important;
}