:root {
    --brand: #ff6a00;
    --bg: #f6f8fb;
    --text: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
    --line: #e5e7eb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(31,41,55,.08);
    --shadow-sm: 0 6px 16px rgba(31,41,55,.08);
}


.filter-container, #nav-bar, .search_tab_list, .search_tab_item, .sort-options {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm)
}

#nav-bar {
    padding: 6px 12px
}

/* 顶部分类导航（搜索页/分类页） */
.search_tab_list, .search_tab_item {
    padding: 12px 14px !important;
    gap: 10px;
}

.search_tab_label {
    font-weight: 700;
    color: var(--text);
    font-size: 13px;
    padding: 8px 10px;
    margin-right: 6px;
}


@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 12px
    }

    .product-item .card-item {
        padding: 10px
    }

    .search_tab_list, .search_tab_item {
        display: flex;
        flex-wrap: wrap;
        overflow: visible;
        padding: 8px 10px !important;
        gap: 6px
    }

    .search_tab_label {
        width: 100%;
        padding: 5px 6px;
        margin-right: 0;
        font-size: 12px
    }

    .search_tab a, .search_to a {
        height: 28px;
        padding: 0 8px !important;
        font-size: 11px
    }
}

.search_tab a, .search_to a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px !important;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}

    .search_tab a:hover, .search_to a:hover {
        border-color: rgba(255,106,0,.35);
        color: var(--brand) !important;
        background: rgba(255,106,0,.06);
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(255,106,0,.14);
        text-decoration: none !important;
    }

    .search_tab a:focus, .search_to a:focus {
        color: var(--brand) !important;
        text-decoration: none !important;
    }

.search_tab.active a, .search_to.active a {
    background: var(--brand) !important;
    border-color: var(--brand) !important;
    color: #fff !important;
    font-weight: 700;
}

/* 下拉一级分类的按钮风格（如果存在） */
.search_tab.dropdown > a, .search_tab.dropdown > a:focus {
    background: #fff;
}



/* 购物车页 */
.cart-page {
    min-height: calc(100vh - 120px);
    padding-bottom: 88px
}

.cart-sticky-header {
    background: #fff;
    border-bottom: 1px solid rgba(229,231,235,.7);
    box-shadow: 0 2px 10px rgba(31,41,55,.04);
    position: sticky;
    top: 0;
    z-index: 30
}

.cart-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.cart-sticky-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px
}

.cart-sticky-spacer {
    width: 56px
}

.cart-back {
    border: 0;
    background: transparent;
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 6px
}

    .cart-back:hover {
        color: var(--brand);
        background: rgba(255,106,0,.06)
    }

.cart-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    text-align: center
}

.cart-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 15px
}

.select-all-bar {
    display: flex;
    align-items: center;
    padding: 14px 14px;
    background: #fff;
    border: 1px solid rgba(229,231,235,.7);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
    gap: 14px
}

.cart-selected-text {
    color: var(--muted);
    font-size: 13px
}

.cart-selected-delete {
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
    text-decoration: none !important
}

    .cart-selected-delete:hover {
        color: #ef4444
    }

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.cart-row {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(229,231,235,.7);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .12s ease
}

    .cart-row:hover {
        box-shadow: var(--shadow)
    }

    .cart-row.active {
        border-color: rgba(255,106,0,.30);
        box-shadow: 0 10px 30px rgba(255,106,0,.10)
    }

.cart-row-left {
    flex: 0 0 auto;
    margin-right: 10px
}

.cart-row-image {
    flex: 0 0 auto;
    width: 120px;
    max-width: 120px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6
}

    .cart-row-image img {
        display: block;
        width: 100%;
        height: auto
    }

.cart-row-info {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 14px
}

.cart-row-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3
}

.cart-row-sub {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted)
}

.cart-row-qty {
    flex: 0 0 auto;
    margin-left: 16px
}

.cart-row-actions {
    flex: 0 0 auto;
    margin-left: 14px
}

.cart-check {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin: 0
}

    .cart-check input {
        position: absolute;
        opacity: 0;
        pointer-events: none
    }

.cart-check-ui {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .12s ease;
    background: #fff;
    color: transparent
}

.cart-check-text {
    margin-left: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 13px
}

.cart-check input:checked + .cart-check-ui {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff
}

.cart-check-ui i {
    font-size: 12px
}

.quantity {
    display: flex;
    align-items: center;
    border: 1px solid rgba(229,231,235,.9);
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

    .quantity > div {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        cursor: pointer;
        user-select: none
    }

        .quantity > div:hover {
            color: var(--brand);
            background: rgba(255,106,0,.06)
        }

    .quantity input {
        width: 56px;
        height: 36px;
        border: 0;
        text-align: center;
        font-weight: 600;
        color: var(--text);
        background: transparent;
        box-shadow: none
    }

.btn-delete {
    padding: 10px;
    border-radius: 12px;
    color: #9ca3af;
    text-decoration: none !important
}

    .btn-delete:hover {
        color: #ef4444;
        background: rgba(239,68,68,.08)
    }

    .btn-delete i {
        font-size: 18px
    }

.cart-empty {
    background: #fff;
    border: 1px solid rgba(229,231,235,.7);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    padding: 18px;
    color: var(--muted);
    text-align: center
}

.cart-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid rgba(229,231,235,.9);
    box-shadow: 0 -10px 25px rgba(31,41,55,.10);
    z-index: 40
}

.cart-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 12px
}

.cart-footer-left {
    font-size: 14px
}

.nav-right .nav-item .nav-text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1
}

.nav-right .nav-item:hover .nav-text {
    color: var(--brand) !important
}

.nav-right .nav-item.active .nav-text {
    color: var(--brand) !important;
    font-weight: 700
}

.nav-right .nav-item .badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    padding: 2px 6px;
    font-size: 11px;
    line-height: 1
}

.group-tabs-bar {
    margin-bottom: 8px
}

.group-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm)
}

.group-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(17,24,39,.04);
    color: var(--text);
    text-decoration: none !important;
    font-weight: 600
}

    .group-tab:hover {
        background: rgba(255,106,0,.08);
        color: var(--brand) !important
    }

    .group-tab.active {
        background: var(--brand);
        color: #fff !important
    }

.cart-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px
}

.cart-footer-delete {
    border: 0;
    background: transparent;
    color: #ef4444;
    border-radius: 12px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

    .cart-footer-delete:hover {
        background: rgba(239,68,68,.08);
        color: #dc2626
    }

.cart-footer-continue {
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
    text-decoration: none !important
}

    .cart-footer-continue:hover {
        background: #ff7a1a;
        border-color: #ff7a1a;
        color: #fff
    }

.cart-footer-submit {
    border-radius: 12px;
    padding: 10px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

#floatbtn {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
}

    #floatbtn .floatbtn-item {
        width: 54px;
        height: 54px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        color: #fff;
        background: var(--brand);
        box-shadow: none;
        transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
        position: relative
    }

        #floatbtn .floatbtn-item:hover {
            transform: translateY(-2px);
            box-shadow: none
        }

    #floatbtn .floatbtn-item {
        line-height: 1;
        font-size: 0
    }

        #floatbtn .floatbtn-item i {
            font-size: 22px;
            line-height: 1
        }

        #floatbtn .floatbtn-item svg {
            width: 24px;
            height: 24px;
            display: block
        }

        #floatbtn .floatbtn-item[aria-label="Cart"] {
            background: #ff6a00
        }

        #floatbtn .floatbtn-item[aria-label="Home"] {
            background: #2f80ed
        }

    #floatbtn #back-to-top {
        background: #2f80ed;
        opacity: 0;
        pointer-events: none
    }

        #floatbtn #back-to-top.is-visible {
            opacity: 1;
            pointer-events: auto
        }

    #floatbtn #cartnums2 {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #ff3b30 !important;
        border-radius: 999px;
        padding: 2px 6px;
        font-size: 11px;
        line-height: 1;
        min-width: 18px;
        text-align: center
    }

@media (max-width: 767px) {
    #floatbtn {
        right: 14px;
        bottom: 74px;
        gap: 10px
    }

        #floatbtn .floatbtn-item {
            width: 50px;
            height: 50px
        }

            #floatbtn .floatbtn-item i {
                font-size: 20px
            }
}

@media (max-width: 767px) {
    .cart-row-image {
        width: 90px;
        max-width: 90px
    }

    .cart-row-info {
        margin-left: 10px
    }

    .cart-row-qty {
        margin-left: 10px
    }

    .quantity input {
        width: 46px
    }

    .cart-footer-inner {
        height: 72px
    }
}

@media (max-width: 575px) {
    .cart-page {
        padding-bottom: 140px
    }
}

.cart-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10
}

.select-all-bar {
    flex-wrap: wrap;
    gap: 10px
}

.cart-selected-text {
    width: 100%
}

.cart-selected-delete {
    margin-left: 0;
    width: 100%;
    text-align: right
}

.cart-row {
    display: grid;
    grid-template-columns: 22px 76px 1fr 44px;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    align-items: start;
    padding: 10px;
}

.cart-row-left {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin-right: 0
}

.cart-row-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 76px;
    max-width: 76px
}

.cart-row-info {
    grid-column: 3 / span 2;
    grid-row: 1;
    min-width: 0;
    margin-left: 0
}

.cart-row-title {
    font-size: 13px;
    line-height: 1.25
}

.cart-row-sub {
    margin-top: 4px;
    font-size: 12px
}

.cart-row-qty {
    grid-column: 3;
    grid-row: 2;
    margin-left: 0;
    display: flex;
    justify-content: flex-start
}

.cart-row-actions {
    grid-column: 4;
    grid-row: 2;
    justify-self: end;
    align-self: end;
    margin-left: 0
}

.quantity > div {
    width: 32px;
    height: 32px
}

.quantity input {
    height: 32px;
    width: 44px
}

.btn-delete {
    padding: 8px;
    border-radius: 10px
}

.cart-footer-inner {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 15px;
    gap: 10px
}

.cart-footer-left {
    font-size: 13px
}

.cart-footer-actions {
    justify-content: space-between
}

#floatbtn {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center
}

    #floatbtn .floatbtn-item {
        width: 54px;
        height: 54px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none !important;
        color: #fff;
        background: var(--brand);
        box-shadow: none;
        transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
        position: relative
    }

        #floatbtn .floatbtn-item:hover {
            transform: translateY(-2px);
            box-shadow: none
        }

    #floatbtn .floatbtn-item {
        line-height: 1;
        font-size: 0
    }

        #floatbtn .floatbtn-item i {
            font-size: 22px;
            line-height: 1
        }

        #floatbtn .floatbtn-item svg {
            width: 24px;
            height: 24px;
            display: block
        }

        #floatbtn .floatbtn-item[aria-label="Cart"] {
            background: #ff6a00
        }

        #floatbtn .floatbtn-item[aria-label="Home"] {
            background: #2f80ed
        }

    #floatbtn #back-to-top {
        background: #2f80ed;
        opacity: 0;
        pointer-events: none
    }

        #floatbtn #back-to-top.is-visible {
            opacity: 1;
            pointer-events: auto
        }

    #floatbtn #cartnums2 {
        position: absolute;
        top: -6px;
        right: -6px;
        background: #ff3b30 !important;
        border-radius: 999px;
        padding: 2px 6px;
        font-size: 11px;
        line-height: 1;
        min-width: 18px;
        text-align: center
    }

@media (max-width: 767px) {
    #floatbtn {
        right: 14px;
        bottom: 74px;
        gap: 10px
    }

        #floatbtn .floatbtn-item {
            width: 50px;
            height: 50px
        }

            #floatbtn .floatbtn-item i {
                font-size: 20px
            }
}

@media (max-width: 767px) {
    .cart-row-image {
        width: 90px;
        max-width: 90px
    }

    .cart-row-info {
        margin-left: 10px
    }

    .cart-row-qty {
        margin-left: 10px
    }

    .quantity input {
        width: 46px
    }

    .cart-footer-inner {
        height: 72px
    }
}

@media (max-width: 575px) {
    .cart-page {
        padding-bottom: 140px
    }

    .cart-sticky-header {
        position: sticky;
        top: 0;
        z-index: 10
    }

    .select-all-bar {
        flex-wrap: wrap;
        gap: 10px
    }

    .cart-selected-text {
        width: 100%
    }

    .cart-selected-delete {
        margin-left: 0;
        width: 100%;
        text-align: right
    }

    .cart-row {
        display: grid;
        grid-template-columns: 22px 76px 1fr 44px;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        align-items: start;
        padding: 10px;
    }

    .cart-row-left {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-right: 0
    }

    .cart-row-image {
        grid-column: 2;
        grid-row: 1 / span 2;
        width: 76px;
        max-width: 76px
    }

    .cart-row-info {
        grid-column: 3 / span 2;
        grid-row: 1;
        min-width: 0;
        margin-left: 0
    }

    .cart-row-title {
        font-size: 13px;
        line-height: 1.25
    }

    .cart-row-sub {
        margin-top: 4px;
        font-size: 12px
    }

    .cart-row-qty {
        grid-column: 3;
        grid-row: 2;
        margin-left: 0;
        display: flex;
        justify-content: flex-start
    }

    .cart-row-actions {
        grid-column: 4;
        grid-row: 2;
        justify-self: end;
        align-self: end;
        margin-left: 0
    }

    .quantity > div {
        width: 32px;
        height: 32px
    }

    .quantity input {
        height: 32px;
        width: 44px
    }

    .btn-delete {
        padding: 8px;
        border-radius: 10px
    }

    .cart-footer-inner {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 10px 15px;
        gap: 10px
    }

    .cart-footer-left {
        font-size: 13px
    }

    .cart-footer-actions {
        justify-content: space-between
    }
}

/* ============================================================
   购物车列表显示效果优化（追加）
   ============================================================ */

/* 1. 抽屉加宽 */
.offcanvas-start {
    width: 440px !important;
    max-width: 100vw !important;
}

@media (max-width: 575px) {
    .offcanvas-start {
        width: 100% !important;
    }
}

/* 2. 抽屉主体布局 */
.offcanvas-body {
    background: #f5f6f8;
    padding: 16px !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.cart-items {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding-right: 2px;
}

.cart-items::-webkit-scrollbar {
    width: 5px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #dfe2e7;
    border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #c8ccd2;
}

/* 3. 顶部统计栏 */
.select-all-bar {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .05);
    padding: 12px 14px;
    margin-bottom: 12px;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.cart-check-text {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.cart-selected-text {
    font-size: 12.5px;
    color: #6b7280;
    font-weight: 500;
}

.cart-selected-nums,
.cart-total-nums {
    color: #ff6a00;
    font-weight: 700;
}

.cart-selected-delete {
    margin-left: auto;
    width: auto;
    font-size: 12.5px;
    font-weight: 600;
    color: #ef4444;
    background: #fef2f2;
    padding: 6px 12px;
    border-radius: 999px;
}

.cart-selected-delete:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* 4. 商品行卡片 */
.cart-row {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .04);
    grid-template-columns: 22px 84px 1fr 38px;
    gap: 8px 12px;
    padding: 12px;
    margin-bottom: 12px;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}

.cart-row:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, .09);
    border-color: #e5e7eb;
    transform: translateY(-1px);
}

.cart-row.active {
    border-color: rgba(255, 106, 0, .4);
    background: #fff8f2;
    box-shadow: 0 4px 14px rgba(255, 106, 0, .12);
}

/* 5. 商品图片 */
.cart-row-image {
    width: 84px;
    max-width: 84px;
    height: 84px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f1f2f4;
    background: #f8f9fb;
}

.cart-row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* 完整显示商品图，不裁切 */
    display: block;
}

/* 6. 标题与价格 */
.cart-row-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-row-sub {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #ff6a00;
}

/* 7. 数量控件（胶囊） */
.quantity {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .04);
}

.quantity > div {
    width: 34px;
    height: 34px;
    color: #6b7280;
    font-weight: 600;
    font-size: 15px;
    transition: background .12s ease, color .12s ease;
}

.quantity > div:hover {
    color: #ff6a00;
    background: #fff0e6;
}

.quantity input {
    width: 46px;
    height: 34px;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
}

/* 8. 删除按钮 */
.btn-delete {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #9ca3af;
    padding: 0;
    transition: all .12s ease;
}

.btn-delete:hover {
    color: #ef4444;
    background: #fee2e2;
    transform: scale(1.05);
}

/* 9. 复选框 */
.cart-check-ui {
    border-radius: 6px;
    border: 2px solid #d1d5db;
}

/* 10. 底部按钮 */
.btn-container {
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #eef0f3;
}

.btn-container .btn {
    border-radius: 12px !important;
    padding: 13px 18px;
    font-weight: 600;
    width: 100%;
    letter-spacing: .3px;
}

.shopping-cart-btn {
    background: linear-gradient(135deg, #ff6a00, #ff8a3c) !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(255, 106, 0, .28) !important;
    color: #fff !important;
    font-family: inherit !important;
    text-transform: uppercase;
    font-size: 13px !important;
}

.shopping-cart-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgba(255, 106, 0, .35) !important;
    transform: translateY(-1px);
}

.outline-check-out-btn {
    background: #fff !important;
    border: 2px solid #e5e7eb !important;
    color: #6b7280 !important;
    font-size: 13px !important;
    text-transform: uppercase;
    font-family: inherit !important;
}

.outline-check-out-btn:hover {
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    background: #fef2f2 !important;
}

/* 11. 空购物车状态 */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    text-align: center;
    color: #9ca3af;
    background: #fff;
    border-radius: 14px;
    border: 1px dashed #e5e7eb;
}

.cart-empty i {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 14px;
}

.cart-empty p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}
/* ============================================================
   商品列表/搜索列表图片完整显示（追加）
   ============================================================ */
#productList .items {
    height: 100% !important;
}

#productList .items img {
    object-fit: fill !important;
    height: auto !important;
    max-height: none !important;
    display: block;
    width: 100%;
    border-radius: 0 !important;
}
/* ============================================================
   商品列表/搜索列表按钮尺寸统一（追加）
   ============================================================ */
#productList .items .btn {
    display: block;
    width: 100%;
    padding: 10px 20px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    border-radius: 0 !important;
    border: none !important;
    text-transform: uppercase !important;
    text-align: center;
    white-space: nowrap;
}
