/* 新版前端样式 - 参考V6项目 */

/* CSS变量定义 */
:root {
    --primary: #4f8cff;
    --primary1: #6ba0ff;
    --sidebar-bg: #f7fafd;
    --navbar-bg: #fff;
}

/* 全局样式 */
body {
    background: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.iq-sidebar {
    background: var(--sidebar-bg);
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.06);
    border-radius: 18px;
    padding: 18px 0;
    width: 280px;
    position: fixed;
    height: calc(100vh - 80px);
    top: 70px;
    left: 10px;
    margin: 10px 0;
    overflow-y: auto;
    transition: all 0.3s ease;
    z-index: 1020;
}

.iq-sidebar-logo {
    padding: 18px 18px 10px 18px;
    background: transparent;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iq-sidebar-logo img {
    width: auto !important;
    height: auto !important;
    max-width: 190px;
    max-height: 68px;
    object-fit: contain;
    border-radius: 10px;
}

.iq-sidebar-logo .header-logo {
    display: inline-flex;
    align-items: center;
    margin-right: 0;
    max-width: calc(100% - 40px);
}

/* 侧边栏菜单 */
.side-menu {
    padding: 0 10px;
    list-style: none;
    margin: 0;
}

.side-menu li {
    margin-bottom: 12px !important;
}

.side-menu li a {
    display: flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 16px;
    font-size: 15px;
    min-height: 40px;
    background: #fff;
    border: none;
    color: #222 !important;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: all 0.18s cubic-bezier(.4,0,.2,1);
    letter-spacing: 0.2px;
    gap: 12px;
    text-decoration: none;
}

.side-menu li a i,
.side-menu li a img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e3eafc 0%, #f7fafd 100%);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    margin-right: 10px;
    color: var(--primary) !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    object-fit: contain;
}

.side-menu li.active a,
.side-menu li:not(.active) a:hover {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px 0 rgba(79,140,255,0.15);
    border: none;
    transform: translateY(-2px) scale(1.03);
}

.side-menu li.active a i,
.side-menu li.active a img,
.side-menu li:not(.active) a:hover i,
.side-menu li:not(.active) a:hover img {
    background: rgba(255,255,255,0.18);
    color: #fff !important;
}

/* 余额卡片 */
.balance-card {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 16px 18px;
    color: #fff;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 10px 20px 10px;
}

/* 内容区域 */
.content-page {
    flex: 1;
    margin-left: 300px;
    padding: 80px 20px 20px 20px;
    min-height: 100vh;
    width: calc(100vw - 300px);
    max-width: calc(100vw - 300px);
    overflow-x: hidden;
    background: #fafbfd;
}

.content-page .container-fluid {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* 卡片样式 */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: none;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-header {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
    border-radius: 16px 16px 0 0 !important;
    padding: 15px 20px;
    border: none;
}

.card-header h4,
.card-header h5 {
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

/* 首页公告（无背景，主题色点缀） */
.home-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 4px 14px;
    margin-bottom: 1.25rem;
    background: transparent !important;
    border: none;
    box-shadow: none;
    border-left: 3px solid var(--primary);
}

.home-notice-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 2px;
    color: var(--primary);
    font-size: 1.35rem;
    line-height: 1;
}

.home-notice-text {
    flex: 1;
    min-width: 0;
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.home-notice-text p {
    margin-bottom: 0.35em;
}

.home-notice-text p:last-child {
    margin-bottom: 0;
}

.home-notice-text a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

.home-notice-text a:hover {
    color: var(--primary1);
    border-bottom-color: var(--primary1);
}

/* 产品分类按钮 */
.nav-pills {
    gap: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

.nav-pills .nav-link {
    background: #fff;
    transition: border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    border-radius: 10px;
    padding: 11px 22px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: 1px solid #e4e8ef;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-pills .nav-link:hover:not(.active) {
    background: #fff !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 18%, transparent);
    transform: translateY(-1px);
}

.nav-pills .nav-link.active {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent);
}

.nav-pills .nav-link img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* 桌面端：首页分类按钮等宽（移动端保持原样） */
@media (min-width: 768px) {
    #home-categories-container.nav-pills {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 10px;
        align-items: stretch;
    }

    #home-categories-container.nav-pills > .nav-item,
    #home-categories-container.nav-pills > .home-categories-skeleton {
        width: 100%;
        min-width: 0;
        margin: 0;
        flex: none;
    }

    #home-categories-container.nav-pills .nav-link,
    #home-categories-container.nav-pills .skeleton-category-btn {
        width: 100%;
        box-sizing: border-box;
    }

    #home-categories-container.nav-pills .nav-link {
        justify-content: center;
        text-align: center;
    }

    #home-categories-container.nav-pills .nav-link span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
        min-width: 0;
    }
}

/* 产品卡片 */
.basic-drop-shadow {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.basic-drop-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 表格样式 */
.table {
    border-radius: 10px;
    overflow: hidden;
    border-collapse: collapse;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
}

.table thead th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    border: none;
    padding: 12px 15px;
}

/* 主题色表格头部 - 仅用于特定表格 */
.table.table-theme thead th {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
    color: #fff;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(51,120,255,.075);
}

.table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(79,140,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79,140,255,0.3);
    background: linear-gradient(90deg, var(--primary1) 0%, var(--primary) 100%);
}

.btn-sm,
.btn-primary.btn-sm,
.btn-success.btn-sm,
.btn-warning.btn-sm,
.btn-info.btn-sm,
.btn-danger.btn-sm,
.btn-dark.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-success {
    background: linear-gradient(90deg, #00c851 0%, #00ff6a 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-warning {
    background: linear-gradient(90deg, #ff8800 0%, #ffbb33 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 500;
    color: #fff;
    transition: all 0.3s ease;
}

/* Alert样式 */
.alert {
    border-radius: 12px;
    border: none;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.alert-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary1) 100%);
    color: #fff;
}

.alert-success {
    background: linear-gradient(135deg, #00c851 0%, #00ff6a 100%);
    color: #fff;
}

.alert-danger {
    background: linear-gradient(135deg, #ff4444 0%, #ff6b6b 100%);
    color: #fff;
}

/* 表单样式 */
.form-control {
    border: 2px solid #e8eaed;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(79,140,255,0.1);
}

/* 徽章样式 */
.badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.badge-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary1) 100%);
}

.badge-success {
    background: linear-gradient(90deg, #00c851 0%, #00ff6a 100%);
}

.badge-danger {
    background: linear-gradient(90deg, #ff4444 0%, #ff6b6b 100%);
}

/* Top Navbar Styles */
.iq-top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--navbar-bg);
    box-shadow: 0 0 20px rgba(89, 102, 122, 0.1);
    z-index: 1030;
    transition: all 0.3s ease;
}

.iq-navbar-custom {
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
}

.iq-navbar-custom .navbar {
    width: 100%;
    padding: 0;
    height: 70px;
}

.side-menu-bt-sidebar {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wrapper-menu {
    cursor: pointer;
    padding: 10px;
    margin: -10px;
}

/* Content Page */
.content-page {
    margin-left: 300px;
    padding-top: 90px;
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .iq-sidebar {
        left: -280px;
        z-index: 1050;
    }

    .iq-sidebar.sidebar-active {
        left: 10px;
    }

    body.sidebar-main {
        overflow: hidden;
    }

    body.sidebar-main::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1019;
    }

    .content-page {
        margin-left: 0;
        padding-bottom: 80px;
        width: 100vw;
        max-width: 100vw;
    }

    .wrapper-menu {
        display: block !important;
    }

    .mobile-toggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1040;
        background: #fff;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        cursor: pointer;
    }
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none;
    }

    .iq-sidebar.sidebar-active {
        left: -300px;
        opacity: 0;
        pointer-events: none;
    }

    body.sidebar-main .content-page {
        margin-left: 0;
        width: 100vw;
        max-width: 100vw;
    }

    .content-page {
        margin-left: 300px;
        width: calc(100vw - 300px);
        max-width: calc(100vw - 300px);
    }
}

/* 加载动画 */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-out;
}

#loading.hide {
    opacity: 0;
    pointer-events: none;
}

#loading-center {
    width: 60px;
    height: 60px;
    position: relative;
}

#loading-center::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary1) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary1) 0%, var(--primary) 100%);
}

/* 子菜单样式 */
.side-menu .submenu {
    background: #f2f6fb;
    border-radius: 12px;
    margin-top: 4px;
    padding: 6px 0 6px 18px;
    list-style: none;
}

.side-menu .submenu li a {
    font-size: 13px;
    padding: 7px 14px;
    border-radius: 10px;
    margin-bottom: 3px;
    background: transparent;
    font-weight: 400;
    box-shadow: none;
}

.side-menu .submenu li a:hover {
    background: #eaf1fb !important;
    color: var(--primary) !important;
}

/* 箭头图标 */
.iq-arrow-right {
    width: 16px !important;
    height: 16px !important;
    margin-left: auto;
    transition: transform 0.2s;
}

.collapsed .iq-arrow-right {
    transform: rotate(0deg);
}

.iq-arrow-right {
    transform: rotate(90deg);
}

/* MY1 - V6 细小表格样式 */
.products-layout-my1 .products-my1-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.products-layout-my1 .products-my1-row > [class*="col-"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding-left: 0;
    padding-right: 0;
}

.nav-pills-my1 {
    gap: 8px;
}

.nav-pills-my1 .nav-link {
    background: #fff !important;
    border: 1px solid #e4e8ef !important;
    border-radius: 10px !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--my1-theme, var(--primary)) !important;
    min-height: auto;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.nav-pills-my1 .nav-link img {
    max-width: 20px;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nav-pills-my1 .nav-link:hover:not(.active) {
    color: var(--my1-theme, var(--primary)) !important;
    background: #fff !important;
    border-color: var(--my1-theme, var(--primary)) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--my1-theme, var(--primary)) 18%, transparent);
}

.nav-pills-my1 .nav-link.active {
    color: #fff !important;
    background: linear-gradient(90deg, var(--my1-theme, #FA7100) 0%, var(--my1-theme-light, #FD9C00) 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 14px color-mix(in srgb, var(--my1-theme, #FA7100) 35%, transparent);
}

.product-my1-card,
.product-table-my1 {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.product-my1-card .table,
.product-table-my1 .table {
    margin-bottom: 0;
    box-shadow: none;
    border-collapse: collapse;
}

.product-my1-thead th,
.product-my1-card thead tr th,
.product-table-my1 thead th {
    padding: 8px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    border: none !important;
    border-right: none !important;
    vertical-align: middle;
    white-space: nowrap;
    background: var(--my1-theme, var(--primary)) !important;
    color: #fff !important;
}

.product-my1-card thead tr th:first-child,
.product-my1-card thead tr th:last-child,
.product-my1-thead th:first-child,
.product-my1-thead th:last-child {
    border-radius: 0 !important;
}

.product-my1-cat-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35;
    color: #fff !important;
}

.product-my1-thead th img,
.product-table-my1 thead th img,
.product-my1-cat-title img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}

.product-my1-card tbody tr:hover,
.product-table-my1 tbody tr:hover {
    background-color: rgba(51, 120, 255, 0.075);
}

.product-my1-card tbody tr,
.product-table-my1 tbody tr {
    position: static;
}

.product-my1-card tbody tr.product-my1-outstock,
.product-table-my1 tbody tr.product-my1-outstock {
    opacity: 0.85;
}

.product-my1-card tbody tr.product-my1-outstock .product-my1-name h3,
.product-table-my1 tbody tr.product-my1-outstock .product-my1-name h3 {
    color: #888;
}

.product-my1-card tbody td,
.product-table-my1 tbody td {
    padding: 8px 12px;
    vertical-align: middle;
    font-size: 13px;
    border-top: 1px solid #eceffa;
}

.product-my1-name {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.product-my1-name > img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-my1-name h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 520;
    line-height: 1.4;
    color: #333;
}

.product-my1-desc {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.product-my1-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid var(--my1-theme, var(--primary));
    color: var(--my1-theme, var(--primary));
    background: #fff;
    font-size: 12px;
    font-weight: 500;
    margin: 2px;
}

.product-my1-btn del {
    color: #999;
    margin-right: 4px;
}

.btn-my1-buy {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--my1-theme, var(--primary));
    background: var(--my1-theme, var(--primary));
    color: #fff;
}

.btn-my1-buy:hover {
    opacity: 0.92;
    color: #fff;
}

.btn-my1-buy-disabled {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border-color: #6c757d !important;
}

.product-my1-mobile {
    margin-top: 8px;
}

@media (max-width: 767.98px) {
    /* 禁止产品区域横向滚动 */
    .content-page,
    .container-fluid,
    #products-container,
    #products-container .row,
    #products-container .row > div,
    .feature-card,
    .feature-card .feature-content {
        max-width: 100%;
        overflow-x: hidden;
    }

    .product-my1-hide-mobile {
        display: none !important;
    }

    .product-my1-thead th:not(:first-child),
    .product-table-my1 thead th:not(:first-child) {
        display: none;
    }

    .nav-pills-my1 .nav-link {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    /* LIST 列表：左信息 + 右固定窄栏（价格/购买） */
    .feature-card {
        padding: 8px 10px !important;
        margin-bottom: 10px !important;
        overflow: hidden;
    }

    .feature-card .feature-content {
        min-width: 0;
        width: 100%;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .feature-card .row {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 8px;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
        max-width: 100%;
    }

    .feature-card .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
        min-width: 0;
    }

    .feature-card .col-8 {
        flex: 1 1 auto;
        width: auto !important;
        max-width: calc(100% - 76px);
    }

    .feature-card .col-4 {
        flex: 0 0 68px;
        width: 68px !important;
        max-width: 68px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .feature-card .feature-name {
        font-size: 13px;
        line-height: 1.35;
        margin-bottom: 4px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .feature-card .feature-name a {
        display: block;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .feature-card .feature-desc {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .feature-card .row .row {
        display: flex;
        flex-wrap: wrap;
        gap: 3px;
        margin: 0;
    }

    .feature-card .label-text {
        font-size: 10px;
        padding: 2px 5px;
        line-height: 1.2;
        margin-bottom: 0;
        margin-right: 0;
    }

    .feature-card .card-price-product-list {
        height: auto;
        min-height: 0;
        margin-bottom: 0;
        margin-top: 0;
        padding: 3px 4px;
        border-radius: 4px;
    }

    .feature-card .card-price-product-list .feature-price {
        font-size: 11px !important;
        margin-bottom: 0;
        justify-content: center;
    }

    .feature-card .card-price-product-list .feature-price span {
        white-space: normal;
        word-break: break-all;
        text-align: center;
        line-height: 1.2;
        font-size: 11px;
    }

    .feature-card .btn-buy {
        width: 100%;
        max-width: 68px;
        min-height: 28px;
        height: auto;
        padding: 4px 2px;
        font-size: 10px;
        line-height: 1.15;
        white-space: normal;
        text-transform: none;
        border-radius: 4px;
    }

    /* MY1 表格移动端 */
    .product-my1-card .table-responsive {
        overflow-x: hidden !important;
    }

    .product-my1-card table {
        table-layout: fixed;
        width: 100%;
    }

    .product-my1-card td:first-child {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .product-my1-name {
        align-items: flex-start;
        min-width: 0;
    }

    .product-my1-name > div {
        min-width: 0;
        flex: 1;
    }

    .product-my1-name h3 {
        font-size: 13px;
        line-height: 1.35;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        margin-bottom: 4px;
    }

    .product-my1-desc {
        font-size: 11px;
        line-height: 1.35;
        margin-bottom: 4px;
        word-break: break-word;
    }

    .product-my1-mobile {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
        margin-top: 4px;
    }

    .product-my1-mobile .product-my1-btn {
        font-size: 10px;
        padding: 2px 6px;
        line-height: 1.2;
        margin: 0;
    }

    .product-my1-mobile .btn-my1-buy {
        flex: 0 0 auto;
        width: auto !important;
        max-width: none;
        min-height: 28px;
        font-size: 11px;
        padding: 5px 10px;
        margin-top: 4px !important;
    }
}