
.category-btn {
    background-color: #7a8cf39e;
    align-items: center;
    padding: 8px 12px;
    margin: 0 12px 8px 0;
    border-radius: 15px;
    /*  0 0 10px 5px rgba(199, 199, 199, .1);*/
    -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;
}

.shop-main-nav {
    justify-content: flex-start;
}

.shop-main-nav > .nav-main-item:first-child > .nav-main-link {
    padding-left: 0;
}

.shop-home-layout {
    position: relative;
}

.shop-home-main {
    min-width: 0;
}

.shop-category-sidebar {
    z-index: 3;
}

.shop-category-card {
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 16px;
    background: rgba(17, 24, 39, .74);
    box-shadow: 0 18px 55px rgba(15, 23, 42, .18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shop-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 4px 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.shop-category-list,
.shop-category-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shop-category-item + .shop-category-item {
    margin-top: 8px;
}

.shop-category-link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .10);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.shop-category-link:hover {
    color: #fff;
    background: rgba(22, 185, 154, .22);
    border-color: rgba(22, 185, 154, .34);
    transform: translateX(3px);
}

.shop-category-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    object-fit: cover;
}

.shop-category-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-category-count {
    min-width: 24px;
    padding: 1px 7px;
    border-radius: 999px;
    color: #c7f8e9;
    background: rgba(22, 185, 154, .18);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.shop-category-sublist {
    margin: 8px 0 0 22px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, .16);
}

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

.category-icon {
    height: 16px;
    width: 16px;
    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; /* 使用Flexbox来居中图片 */
    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; /* 使用fadeIn动画，持续时间1秒，缓动函数ease-out */
}

.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 12px 0 28px;
}

.shop-pagination-btn,
.shop-pagination-current {
    min-width: 42px;
    height: 38px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .44);
    background: rgba(17, 24, 39, .62);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.shop-pagination-btn {
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.shop-pagination-btn:hover {
    color: #fff;
    background: rgba(22, 185, 154, .78);
    border-color: rgba(22, 185, 154, .92);
    transform: translateY(-2px);
}

.shop-pagination-current {
    background: rgba(22, 185, 154, .92);
}


.item-block {
    background: linear-gradient(to right, #e8e8ffa6, #defdffe6) !important;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
    border-radius: 25px !important;
    cursor: pointer;
    user-select: none;
    transition: transform 0.4s ease;
    position: relative;
}

.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; /* 使用 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 (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;
    }
}

@media (min-width: 1800px) {
    .shop-category-sidebar {
        position: absolute;
        top: 18px;
        left: -320px;
        width: 300px;
    }
}

@media (max-width: 1799.98px) {
    .shop-home-layout {
        display: grid;
        gap: 14px;
    }

    .shop-category-sidebar {
        position: static;
    }

    .shop-category-card {
        margin-top: 16px;
    }

    .shop-category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .shop-category-item,
    .shop-category-item + .shop-category-item {
        margin-top: 0;
    }

    .shop-category-link {
        min-width: 170px;
    }

    .shop-category-sublist {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .shop-category-card {
        padding: 12px;
        border-radius: 14px;
    }

    .shop-category-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-category-link {
        width: 100%;
        min-width: 0;
    }
}


/**
商品页面
 */

.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;
    /*   background: #ebeef2;*/
    /*background: linear-gradient(to right, rgb(106 151 181 / 7%), rgb(233 213 252 / 27%));*/
    border-radius: 10px;
    padding: 15px;
}

.sku-wrapper {
    display: flex; /* 启用Flexbox */
    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; /* 使用fadeIn动画，持续时间1秒，缓动函数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; /* 确保图片在.sku-icon内垂直居中 */
    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 {
        height: auto !important;
    }

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

    .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 {
    max-width: 100%;
}

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

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

.shop-checkout-btn {
    display: flex; /* 按钮并排显示 */
}

.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)); /* 右按钮背景渐变 */
}

/* 为了更好的视觉效果，可能需要调整按钮的圆角 */
.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 页面
 */
/*
.pay-wrapper {
    display: flex; !* 启用Flexbox *!
    flex-wrap: wrap; !* 允许子元素换行 *!
}

.pay-item {
    flex: 0 1 auto;
    margin-right: 10px;
    padding: 8px 16px;
    border-radius: 15px;
    background-color: #ffffffa6;
    border: none;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    background: linear-gradient(to right, rgb(177 255 219), rgb(246 246 255));
    align-items: center;
    display: flex;
    margin-top: 4px;
    margin-bottom: 4px;
    transition: transform 0.5s ease-in-out; !* 应用于位置变化 *!
    animation: fadeIn 0.5s ease-out; !* 使用fadeIn动画，持续时间1秒，缓动函数ease-out *!
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #61af61;
}

.pay-current {
    border: none;
    background: linear-gradient(to right, rgb(0 113 192), rgb(255 120 227)) !important;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.pay-wrapper .pay-item .pay-icon {
    display: flex;
    align-items: center; !* 确保图片在.sku-icon内垂直居中 *!
    justify-content: center; !* 如果你还想要图片水平居中 *!
    margin-right: 5px;
}

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

.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: #cbcdcf; /* 设置取消按钮的背景颜色，可以根据需要调整 */
}


.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; /* 启用Flexbox布局 */
    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;;
}

/* 2026 storefront visual refresh */
:root {
    --shop-ink: #18212f;
    --shop-muted: #667085;
    --shop-panel: rgba(255, 255, 255, .78);
    --shop-line: rgba(24, 33, 47, .08);
    --shop-teal: #16b99a;
    --shop-amber: #f3a31b;
    --shop-coral: #ff6b57;
}

body {
    background-color: #f5f7fb !important;
    max-width: 100%;
    overflow-x: hidden;
}

#page-container {
    overflow-x: hidden;
}

#page-header {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(15, 23, 42, .78) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 60px rgba(15, 23, 42, .18);
}

.bg-nav-primary-darker {
    background: rgba(16, 24, 39, .82) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.shop-logo,
#page-header .rounded-circle {
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.block-notice {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .34);
    box-shadow: 0 22px 70px rgba(24, 33, 47, .13) !important;
}

.block-notice .content-notice,
.item-text {
    overflow-wrap: anywhere;
}

.item-block {
    min-height: 210px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .45);
    transform-style: preserve-3d;
}

.item-block::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .28) 36%, transparent 62%);
    transform: translateX(-120%);
    transition: transform .7s ease;
    pointer-events: none;
}

.item-block:hover::after {
    transform: translateX(120%);
}

.item-background {
    transform: scale(1.06);
    transition: transform .75s ease, filter .75s ease;
}

.item-block:hover .item-background {
    transform: scale(1.12);
    filter: blur(2px) saturate(1.15);
}

.item-card-icon {
    height: 72px;
    width: 72px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .55);
    transform: translateZ(18px);
}

.item-card-icon img {
    transition: transform .45s ease;
}

.item-block:hover .item-card-icon img {
    transform: scale(1.08);
}

.ribbon-item-price {
    top: 18px;
    right: 12px;
    border-radius: 999px;
    background: rgba(22, 185, 154, .88);
    box-shadow: 0 10px 24px rgba(22, 185, 154, .28);
}

.ribbon-item-stock {
    height: 34px;
    line-height: 34px;
    background: rgba(15, 23, 42, .42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#masonry-grid {
    align-items: stretch;
}

.product-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.product-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.item-box {
    perspective: 1100px;
}

.item-block.product-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --lift: 0px;
    --shine-x: 50%;
    --shine-y: 28%;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 336px;
    margin-bottom: 0;
    padding: 0;
    border-radius: 22px !important;
    border: 1px solid rgba(255, 255, 255, .72);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .88), rgba(236, 248, 255, .68)) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .72) !important;
    transform: perspective(1100px) translateY(var(--lift)) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    isolation: isolate;
}

.item-block.product-card:hover {
    --lift: -8px;
    border-color: rgba(22, 185, 154, .46);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .22), 0 0 0 1px rgba(22, 185, 154, .18) !important;
}

.item-block.product-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 1;
    border-radius: 21px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .52), transparent 35%),
        linear-gradient(315deg, rgba(22, 185, 154, .13), transparent 40%);
    pointer-events: none;
}

.item-block.product-card::after {
    z-index: 4;
    background:
        radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 34%),
        linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .2) 42%, transparent 66%);
    opacity: 0;
    transform: none;
    transition: opacity .25s ease;
}

.item-block.product-card:hover::after {
    opacity: 1;
    transform: none;
}

.product-card .item-background {
    z-index: 0;
    opacity: .38;
    border-radius: 22px !important;
    filter: blur(22px) saturate(1.18);
    transform: scale(1.18);
}

.item-block.product-card:hover .item-background {
    transform: scale(1.24);
    filter: blur(18px) saturate(1.28);
}

.product-card-media {
    position: relative;
    z-index: 2;
    height: 178px;
    margin: 12px 12px 0;
    overflow: hidden;
    border-radius: 18px;
    background: #172033;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform .55s ease, filter .55s ease;
}

.item-block.product-card:hover .product-card-media img {
    transform: scale(1.09);
    filter: saturate(1.08) contrast(1.04);
}

.product-card-sheen {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .08), rgba(15, 23, 42, .42)),
        radial-gradient(circle at 24% 14%, rgba(255, 255, 255, .42), transparent 34%);
    pointer-events: none;
}

.product-card-wholesale {
    z-index: 3;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    background: rgba(15, 23, 42, .48);
    border: 1px solid rgba(255, 255, 255, .34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-card-wholesale .mcy-icon {
    width: 18px;
    height: 18px;
}

.product-card-price {
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    height: auto;
    min-height: 36px;
    line-height: 1;
    padding: 9px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #16b99a, #f59f26);
    box-shadow: 0 12px 28px rgba(22, 185, 154, .28);
    text-shadow: none;
}

.product-card-price span {
    font-size: 12px;
    font-weight: 900;
}

.product-card-price strong {
    font-size: 18px;
    line-height: 1;
}

.product-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px 16px !important;
}

.product-card-kicker {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
}

.product-card-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #137b6c;
    background: rgba(22, 185, 154, .12);
    border: 1px solid rgba(22, 185, 154, .18);
    font-size: 12px;
    font-weight: 900;
}

.product-card-title.item-text {
    display: -webkit-box;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: #142033;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
    letter-spacing: 0;
    text-align: left;
    text-shadow: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.ribbon-item-stock.product-card-stats {
    position: relative;
    bottom: auto;
    left: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 30px;
    gap: 8px;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 48px;
    margin-top: auto;
    padding: 9px 10px;
    border-radius: 15px;
    background: rgba(15, 23, 42, .07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
    line-height: 1.2;
    text-align: left;
    text-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.product-card-stats .item-stock,
.product-card-stats .item-sold {
    display: grid;
    gap: 3px;
    margin: 0;
    color: #627086;
    font-size: 12px;
    font-weight: 800;
}

.product-card-stats .item-number {
    color: #121a29 !important;
    font-size: 15px;
    font-weight: 950;
}

.product-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #16a385;
    background: rgba(22, 185, 154, .14);
    font-size: 22px;
    font-weight: 700;
    transition: transform .25s ease, color .25s ease, background .25s ease;
}

.item-block.product-card:hover .product-card-arrow {
    color: #fff;
    background: #16b99a;
    transform: translateX(3px);
}

.item-title-content,
.item-controls,
.block.block-rounded > .block-content {
    border-color: var(--shop-line);
}

.item-title-content {
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--shop-line);
    box-shadow: 0 16px 45px rgba(24, 33, 47, .08);
}

.product-info-area .item-amount span {
    font-weight: 900;
}

.item-image-main {
    height: clamp(260px, 34vw, 420px);
    padding: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .70);
    background: #fff;
    box-shadow: 0 22px 60px rgba(24, 33, 47, .16);
}

.item-image-show {
    width: 100%;
    transition: transform .7s ease;
}

.item-image-main:hover .item-image-show {
    transform: scale(1.05);
}

.item-image-list {
    padding: 8px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--shop-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.item-image-list .item-image-sku-mini {
    border: 2px solid transparent;
    border-radius: 10px;
}

.item-image-list .item-image-sku-mini.image-active {
    border-color: var(--shop-teal);
    box-shadow: 0 10px 24px rgba(22, 185, 154, .24);
}

.item-image-list img {
    border-radius: 8px;
}

.sku-item {
    border-radius: 10px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(24, 33, 47, .08);
    box-shadow: 0 12px 28px rgba(24, 33, 47, .08);
}

.sku-current {
    border-color: rgba(22, 185, 154, .55);
    background: linear-gradient(135deg, rgba(22, 185, 154, .18), rgba(255, 255, 255, .94)) !important;
}

.checkout-btn {
    min-height: 46px;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    font-weight: 900;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--shop-coral), #ff8a00);
    box-shadow: 0 14px 28px rgba(255, 107, 87, .28);
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--shop-amber), #e06f16);
    box-shadow: 0 14px 28px rgba(243, 163, 27, .22);
}

.introduce-content {
    padding: 8px;
    color: #2a3444;
    line-height: 1.8;
}

.product-detail-page {
    padding-top: 26px;
    padding-bottom: 42px;
}

.product-detail-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 24px !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(235, 249, 255, .72)) !important;
    box-shadow: 0 28px 90px rgba(15, 23, 42, .18) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.product-detail-card::before {
    content: "";
    position: absolute;
    inset: -30% auto auto -12%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(22, 185, 154, .28), rgba(22, 185, 154, 0) 66%);
    pointer-events: none;
}

.product-detail-card::after {
    content: "";
    position: absolute;
    right: -16%;
    bottom: -34%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(243, 163, 27, .22), rgba(243, 163, 27, 0) 65%);
    pointer-events: none;
}

.product-detail-content {
    position: relative;
    z-index: 1;
    padding: 26px !important;
}

.product-detail-grid {
    align-items: stretch;
}

.product-gallery {
    position: sticky;
    top: 96px;
}

.product-detail-page .item-image-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .86);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .68), rgba(218, 238, 255, .54)),
        linear-gradient(135deg, rgba(22, 185, 154, .12), rgba(243, 163, 27, .10));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255, 255, 255, .88);
}

.product-detail-page .item-image-main::before {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .48);
    pointer-events: none;
}

.product-detail-page .item-image-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .28) 46%, transparent 70%);
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
}

.product-detail-page .item-image-main:hover::after {
    opacity: 1;
}

.product-detail-page .item-image-main .img-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-detail-page .item-image-show {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .14);
}

.product-detail-page .item-image-list {
    gap: 10px;
    min-height: 84px;
    margin-top: 12px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.product-detail-page .item-image-list .item-image-sku-mini {
    width: 66px;
    height: 66px;
    margin-right: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, .72);
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
}

.product-detail-page .item-image-list .item-image-sku-mini.image-active {
    border-color: #16b99a;
    box-shadow: 0 12px 28px rgba(22, 185, 154, .28);
}

.product-detail-page .item-image-list img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.detail-title-panel {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(16, 24, 39, .94), rgba(31, 50, 72, .84)),
        radial-gradient(circle at 80% 10%, rgba(22, 185, 154, .24), transparent 38%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
}

.detail-title-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #16b99a, #f3a31b, #ff6b57);
}

.detail-kicker,
.detail-meta,
.detail-service-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.detail-kicker span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    color: #c7f8e9;
    background: rgba(22, 185, 154, .16);
    border: 1px solid rgba(199, 248, 233, .22);
    font-size: 12px;
    font-weight: 900;
}

.detail-title {
    margin: 16px 0 12px;
    color: #fff;
    font-size: 30px;
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.detail-meta span {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
}

.detail-price-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: end;
    margin-top: 18px;
}

.detail-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #fff !important;
}

.detail-price .detail-currency {
    color: #ffd166 !important;
    font-size: 18px !important;
    font-weight: 900;
}

.detail-price .item-price-number,
.detail-price span[style] {
    color: #ffd166 !important;
    font-size: 44px !important;
    line-height: 1;
    font-weight: 950;
    text-shadow: 0 10px 28px rgba(255, 209, 102, .18);
}

.detail-price small {
    color: rgba(255, 255, 255, .7);
    font-weight: 800;
}

.detail-promise {
    display: grid;
    gap: 4px;
    min-width: 128px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .16);
}

.detail-promise span {
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
}

.detail-promise strong {
    color: #fff;
    font-size: 15px;
}

.product-detail-page .item-controls {
    margin-top: 14px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 18px 52px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.detail-form-title {
    margin-bottom: 12px;
    color: #162132;
    font-size: 16px;
    font-weight: 950;
}

.product-detail-page .item-controls .table {
    margin-bottom: 16px;
}

.product-detail-page .item-controls .table > :not(caption) > * > * {
    border-bottom-color: rgba(24, 33, 47, .07);
    padding-top: 12px;
    padding-bottom: 12px;
}

.product-detail-page .sku-cate-td {
    width: 92px !important;
    padding-left: 0 !important;
}

.product-detail-page .sku-cate-td .cate-name {
    color: #536174;
    font-size: 14px;
    font-weight: 900;
}

.product-detail-page .sku-wrapper {
    gap: 9px;
}

.product-detail-page .sku-item {
    min-height: 46px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 14px;
    color: #263449;
    background: rgba(255, 255, 255, .86);
    border: 1px solid rgba(24, 33, 47, .08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    font-weight: 800;
}

.product-detail-page .sku-item:hover {
    border-color: rgba(22, 185, 154, .36);
    transform: translateY(-2px);
}

.product-detail-page .sku-current {
    color: #10251f;
    border-color: rgba(22, 185, 154, .62);
    background: linear-gradient(135deg, rgba(22, 185, 154, .22), rgba(255, 255, 255, .96)) !important;
    box-shadow: 0 14px 34px rgba(22, 185, 154, .18);
}

.product-detail-page .sku-wrapper .sku-item .sku-icon img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 8px;
}

.sku-quantity-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-detail-page .quantity-input {
    width: 116px;
    min-height: 42px;
    border-radius: 13px;
    border: 1px solid rgba(24, 33, 47, .10);
    background: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
    color: #162132;
    font-weight: 900;
    text-align: center;
}

.product-detail-page .sku-stock,
.product-detail-page .sku-wholesale {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 11px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.product-detail-page .sku-wholesale {
    color: #8a5700;
    background: rgba(243, 163, 27, .18);
}

.detail-service-strip {
    margin: 4px 0 18px;
}

.detail-service-strip span {
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #137b6c;
    background: rgba(22, 185, 154, .10);
    border: 1px solid rgba(22, 185, 154, .16);
    font-size: 12px;
    font-weight: 900;
}

.product-detail-page .shop-checkout-btn {
    gap: 12px;
}

.product-detail-page .checkout-btn {
    min-height: 52px;
    width: auto;
    min-width: 178px;
    padding: 12px 24px;
    border-radius: 999px !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, .14);
}

.product-detail-page .btn-buy-now {
    flex: 1.1;
    background: linear-gradient(135deg, #ff6b57, #ff8a00);
}

.product-detail-page .btn-add-cart {
    flex: .9;
    background: linear-gradient(135deg, #f3a31b, #16b99a);
}

.product-detail-description {
    margin-top: 10px;
    overflow: hidden;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .78) !important;
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 18px 52px rgba(15, 23, 42, .10);
}

.product-detail-description .nav-tabs {
    padding: 10px 14px 0;
    border-bottom-color: rgba(24, 33, 47, .08);
}

.product-detail-description .nav-link {
    color: #4a5a70;
    font-weight: 950;
}

.product-detail-description .nav-link.active {
    color: #16a385;
}

.product-detail-description .block-content.tab-content {
    background: transparent;
}

.product-detail-description .introduce-content {
    padding: 18px 20px 24px;
    color: #263449;
    font-size: 15px;
    line-height: 1.9;
}

.checkout-page {
    max-width: 1180px;
    padding-top: 26px;
    padding-bottom: 54px;
}

.checkout-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
    margin-bottom: 18px;
    padding: 24px 26px;
    border-radius: 24px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(16, 24, 39, .94), rgba(35, 56, 78, .86)),
        radial-gradient(circle at 86% 16%, rgba(22, 185, 154, .28), transparent 34%);
    box-shadow: 0 24px 74px rgba(15, 23, 42, .22);
    position: relative;
    overflow: hidden;
}

.checkout-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #16b99a, #f3a31b, #ff6b57);
}

.checkout-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: 999px;
    color: #c7f8e9;
    background: rgba(22, 185, 154, .16);
    border: 1px solid rgba(199, 248, 233, .24);
    font-size: 12px;
    font-weight: 900;
}

.checkout-hero h1 {
    margin: 12px 0 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: 0;
}

.checkout-hero p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-weight: 700;
    line-height: 1.7;
}

.checkout-total-panel {
    display: grid;
    gap: 6px;
    min-width: 190px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.checkout-total-panel span {
    color: rgba(255, 255, 255, .70);
    font-size: 13px;
    font-weight: 800;
}

.checkout-total-panel strong {
    color: #ffd166;
    font-size: 30px;
    line-height: 1;
    font-weight: 950;
}

.checkout-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .82) !important;
    box-shadow: 0 22px 64px rgba(15, 23, 42, .13) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.checkout-card .block-header {
    min-height: 56px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .66) !important;
    border-bottom: 1px solid rgba(24, 33, 47, .07);
}

.checkout-card .block-title {
    color: #162132;
    font-size: 15px;
    font-weight: 950;
}

.checkout-card .block-content {
    padding: 20px !important;
}

.checkout-items-card .table-cart {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.checkout-items-card thead th {
    color: #536174;
    font-size: 13px;
    font-weight: 900;
    border: none;
}

.checkout-item-row {
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.checkout-item-row td {
    padding: 14px 12px !important;
    border-top: 1px solid rgba(24, 33, 47, .06);
    border-bottom: 1px solid rgba(24, 33, 47, .06);
    vertical-align: middle;
}

.checkout-item-row td:first-child {
    border-left: 1px solid rgba(24, 33, 47, .06);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.checkout-item-row td:last-child {
    border-right: 1px solid rgba(24, 33, 47, .06);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.checkout-item-img {
    width: 54px;
    height: 54px;
    border-radius: 14px !important;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .14);
}

.checkout-item-name {
    display: block;
    margin-bottom: 4px;
    color: #162132 !important;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.checkout-item-sku {
    color: #16a385 !important;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.checkout-item-qty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: #253247;
    background: rgba(15, 23, 42, .06);
    font-weight: 900;
}

.checkout-item-amount {
    color: #2563eb !important;
    font-size: 15px;
    font-weight: 950;
}

.checkout-table-total {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ff5a1f !important;
    background: rgba(255, 90, 31, .10);
    font-size: 24px;
    font-weight: 950;
}

.checkout-payment-card .pay-list {
    gap: 12px;
    margin: 0;
}

.checkout-payment-card .pay-container .pay-list .pay-item,
.pay-container .pay-list .checkout-pay-option {
    min-height: 56px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid rgba(24, 33, 47, .08);
    border-radius: 16px;
    color: #27364c;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
    font-weight: 900;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.checkout-payment-card .pay-container .pay-list .pay-item:hover,
.checkout-payment-card .pay-container .pay-list .pay-item:focus {
    transform: translateY(-2px);
    border-color: rgba(22, 185, 154, .42);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 18px 42px rgba(22, 185, 154, .16);
}

.checkout-payment-card .pay-container .pay-list .pay-current {
    color: #10251f;
    border-color: rgba(22, 185, 154, .65);
    background: linear-gradient(135deg, rgba(22, 185, 154, .20), rgba(255, 255, 255, .94));
    box-shadow: 0 18px 46px rgba(22, 185, 154, .20);
}

.checkout-payment-card .pay-container .pay-list .pay-current::after {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 8px;
    border-radius: 50%;
    color: #fff;
    background: #16b99a;
    font-size: 13px;
    font-weight: 950;
}

.checkout-payment-card .pay-container .pay-list .pay-item img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border-radius: 9px;
}

.shop-checkout-pay-btn {
    position: sticky;
    bottom: 18px;
    z-index: 20;
    width: fit-content;
    max-width: 100%;
    margin: 22px auto 38px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .74);
    box-shadow: 0 20px 55px rgba(15, 23, 42, .16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.btn-pay-now,
.btn-cancel-order {
    min-height: 46px;
    padding: 11px 22px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}

.btn-pay-now {
    min-width: 188px;
    background: linear-gradient(135deg, #ff6b57, #ff8a00);
    box-shadow: 0 14px 30px rgba(255, 107, 87, .28);
}

.btn-cancel-order {
    background: rgba(15, 23, 42, .36);
    box-shadow: none;
}

.btn-pay-now:not([disabled="disabled"]):hover,
.btn-cancel-order:hover {
    transform: translateY(-2px);
    filter: saturate(1.08);
}

.btn-pay-now[disabled="disabled"] {
    color: rgba(255, 255, 255, .9);
    background: rgba(148, 163, 184, .68);
    box-shadow: none;
    cursor: not-allowed;
}

.btn-pay-now.is-processing {
    background: linear-gradient(135deg, #16b99a, #2563eb);
}

.checkout-render-card .block-content {
    padding: 28px !important;
}

.render-pay .loading {
    color: #536174;
    font-weight: 900;
}

.render-pay .render-amount {
    margin: 14px 0 12px;
    color: #2563eb;
    font-size: 22px;
    font-weight: 950;
}

.render-qrcode {
    width: 220px;
    height: 220px;
    padding: 10px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18), 0 0 0 1px rgba(22, 185, 154, .14);
}

@media (max-width: 991.98px) {
    .product-detail-content {
        padding: 18px !important;
    }

    .product-gallery {
        position: static;
    }

    .product-detail-page .item-image-main {
        min-height: 320px;
    }

    .detail-price-row {
        grid-template-columns: 1fr;
    }

    .detail-promise {
        width: 100%;
    }

    .checkout-page {
        padding-top: 18px;
    }

    .checkout-hero {
        grid-template-columns: 1fr;
        border-radius: 18px;
        padding: 20px;
    }

    .checkout-total-panel {
        min-width: 0;
    }
}

.ui-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.ui-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 575.98px) {
    #page-header .content-header {
        padding-left: 16px;
        padding-right: 16px;
        gap: 8px;
    }

    #page-header .dropdown {
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    #page-header .btn-sm {
        padding-left: 9px;
        padding-right: 9px;
    }

    #page-header button[data-action="header_search_on"] {
        display: none !important;
    }

    #page-header .language-select,
    #page-header .language-select + .select2-container {
        display: none !important;
    }

    .item-block {
        min-height: 190px;
    }

    .item-block.product-card {
        min-height: 304px;
        border-radius: 18px !important;
    }

    .product-card-media {
        height: 150px;
        margin: 10px 10px 0;
        border-radius: 15px;
    }

    .product-card-content {
        padding: 12px 13px 14px !important;
    }

    .product-card-title.item-text {
        font-size: 14px;
    }

    .ribbon-item-stock.product-card-stats {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .product-card-arrow {
        display: none;
    }

    .shop-checkout-btn {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkout-btn,
    .shop-checkout-btn .btn-buy-now,
    .shop-checkout-btn .btn-add-cart {
        width: 100%;
        border-radius: 34px;
    }

    .product-detail-page {
        padding-top: 14px;
    }

    .product-detail-card {
        border-radius: 18px !important;
    }

    .product-detail-content {
        padding: 12px !important;
    }

    .product-detail-page .item-image-main {
        min-height: 260px;
        border-radius: 16px;
    }

    .product-detail-page .item-image-show {
        border-radius: 13px;
    }

    .detail-title-panel,
    .product-detail-page .item-controls,
    .product-detail-description {
        border-radius: 16px !important;
    }

    .detail-title {
        font-size: 23px;
    }

    .detail-price .item-price-number,
    .detail-price span[style] {
        font-size: 34px !important;
    }

    .product-detail-page .item-controls .table,
    .product-detail-page .item-controls .table tbody,
    .product-detail-page .item-controls .table tr,
    .product-detail-page .item-controls .table td {
        display: block;
        width: 100% !important;
    }

    .product-detail-page .sku-cate-td {
        padding-bottom: 8px !important;
    }

    .product-detail-page .shop-checkout-btn {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-detail-page .checkout-btn {
        min-width: 0;
    }

    .checkout-card {
        border-radius: 16px !important;
    }

    .checkout-card .block-content {
        padding: 14px !important;
    }

    .checkout-items-card .table-cart,
    .checkout-items-card .table-cart tbody,
    .checkout-items-card .table-cart tr,
    .checkout-items-card .table-cart td {
        display: block;
        width: 100% !important;
    }

    .checkout-items-card .table-cart thead {
        display: none;
    }

    .checkout-item-row {
        margin-bottom: 12px;
        padding: 12px;
        border: 1px solid rgba(24, 33, 47, .07);
        border-radius: 16px;
    }

    .checkout-item-row td {
        padding: 6px 0 !important;
        border: none !important;
        text-align: left !important;
    }

    .checkout-item-row td:first-child,
    .checkout-item-row td:last-child {
        border-radius: 0;
    }

    .checkout-table-total {
        width: 100%;
        justify-content: center;
    }

    .checkout-payment-card .pay-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-checkout-pay-btn {
        display: grid;
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        border-radius: 20px;
        bottom: 12px;
    }

    .btn-pay-now,
    .btn-cancel-order {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ui-reveal,
    .item-box,
    .item-block,
    .item-background,
    .item-card-icon img,
    .product-card-media img,
    .product-card-arrow,
    .product-detail-page .item-image-main::after,
    .checkout-card,
    .checkout-pay-option,
    .checkout-btn,
    .item-image-show {
        transition: none !important;
        animation: none !important;
    }
}

.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; /* 使用Flexbox来居中图片 */
    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; /* 根据容器的padding值调整，确保显示在虚线内 */
    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; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 两个按钮分别对齐到容器的两侧 */
    width: 100%; /* 容器宽度设置为 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: #ccc;
    cursor: not-allowed;
}


.shop-name {
    display: inline-flex; /* 使用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 {
    max-width: 100%;
}

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

.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;
}
