* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-gray) !important;
    color: #1e293b;
    line-height: 1.45;
    font-size: 15px;
}

.adv-card, .announcement, .sidebar-category, .category-section,
.review-slide-card, .search-box, .btn-login, .btn-register,
.parent-cat, .sub-cat-list li, .btn-buy-table, .drawer, .dropdown-menu,
.avatar, .notice-card {
    border-radius: 10px !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid #dce9f8;
}
.top-bar {
    background: #0f172a;
    color: #fff;
    font-size: 12px;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.top-bar-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.notice-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}
.top-bar-notice-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.86);
}
.top-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255, 255, 255, 0.86);
}
.top-links a {
    color: inherit;
    text-decoration: none;
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #dce9f8;
    box-shadow: 0 8px 20px rgba(23, 114, 246, 0.12);
    padding: 6px;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.brand-name {
    color: #1772f6;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: .01em;
}
.brand-sub {
    color: #94a3b8;
    font-size: 13px;
    font-style: italic;
    line-height: 1.2;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-actions #page-header-search {
    display: block !important;
    flex: 1 1 420px;
}
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.action-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #dce9f8;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 14px;
    text-decoration: none;
    transition: .2s ease;
}
.action-link:hover {
    color: #334155;
    border-color: #93c5fd;
}
.menu-toggle {
    display: none;
}
.site-nav {
    background: #1772f6;
    color: #fff;
}
.site-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    min-height: 50px;
    white-space: nowrap;
}
.site-nav-item {
    position: relative;
}
.site-nav-item > a,
.site-nav-item > button {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}
.site-nav-item > a:hover,
.site-nav-item > button:hover {
    color: rgba(255, 255, 255, 0.92);
}
.site-nav-item.is-active > a,
.site-nav-item.is-active > button {
    font-weight: 700;
    box-shadow: inset 0 -2px 0 #fff;
}
.trust-badges {
    background: #fff;
    border-top: 1px solid #e8f1fb;
    border-bottom: 1px solid #dce9f8;
}
.trust-badge-item div span{
    display: block;
}
.trust-badges-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 12px;
}
.trust-badge-icon {
    font-size: 20px;
    line-height: 1;
}
.item-mobile-meta {
    display: none;
}
.nav-item,
.site-nav-item {
    position: relative;
}
.nav-item > a, .nav-item > button {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    font-size: 0.95rem;
    padding: 8px 0;
    display: inline-block;
    transition: 0.2s;
    background: none;
    border: 0;
    cursor: pointer;
}
.nav-item > a:hover, .nav-item > button:hover { color: #2563eb; }
.nav-item > .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.2s;
    z-index: 100;
    padding: 8px 0;
    display: block;
}
.site-nav-item > .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.site-nav-item.dropdown:hover > .dropdown-menu.dropdown-menu-categories {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.site-nav-item > .dropdown-menu a {
    display: flex;
    padding: 10px 18px;
    text-decoration: none;
    color: #334155;
    font-size: 0.85rem;
    transition: 0.1s;
}
.site-nav-item > .dropdown-menu a:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.search-box {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 6px 14px;
    gap: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 140px;
    font-size: 0.85rem;
}
.btn-login, .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.2s;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: transparent;
    text-decoration: none;
}
.btn-login {
    color: #1e293b;
}
.btn-login:hover {
    background: #f1f5f9;
    border-color: #2563eb;
}
.btn-register {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}
.btn-register:hover { background: #1d4ed8; transform: translateY(-1px); }
.menu-toggle {
    display: none;
    font-size: 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
}
.swiper-pagination{
    margin-top: 10px;
}
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}
.drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: 8px 0 24px rgba(0,0,0,0.1);
    z-index: 2001;
    transition: left 0.3s ease;
    padding: 24px 20px;
    overflow-y: auto;
    border-right: 1px solid #e2e8f0;
}
.drawer.open { left: 0; }
.drawer-overlay.open { visibility: visible; opacity: 1; }
.drawer-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 1.2rem;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}
.close-drawer {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
}
.drawer-cat-item {
    align-items: center;
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #eef2ff;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: #334155;
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 32px 0 28px;
}
.adv-card {
    background: white;
    padding: 12px 16px;
    border: 1px solid #eef2ff;
    transition: all 0.25s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    display: flex;
    align-items: center;
    gap: 14px;
}
.adv-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px -8px rgba(0,0,0,0.08);
}
.adv-icon {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #2563eb;
    width: 40px;
    text-align: center;
}
.adv-content {
    flex: 1;
}
.adv-content h3 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    font-weight: 700;
}
.adv-content p {
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.3;
}

.announcement {
    background: #eef2ff;
    border-left: 5px solid #2563eb;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
}
.announcement i {
    font-size: 1rem;
    color: #2563eb;
}

.main-layout {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    position: relative;
    align-items: flex-start;
}
.sidebar-placeholder {
    display: none;
    flex: 0 0 270px;
    width: 270px;
}
.sidebar-category {
    flex: 0 0 270px;
    background: white;
    border: 1px solid #eef2ff;
    padding: 0 0 12px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    width: 270px;
}
.sidebar-category::-webkit-scrollbar {
    width: 5px;
}
.sidebar-category::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
}
.sidebar-category::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}
.cat-header {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 16px;
    border-bottom: 1px solid #eef2ff;
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
}
.category-group { margin-bottom: 6px; }
.parent-name{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.parent-name span{
    margin-left: 8px;
}
.parent-cat {
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #0f172a;
    background: #ffffff;
    margin: 2px 6px;
    font-size: 0.85rem;
    transition: 0.15s;
}
.parent-cat:hover { background: #f8fafc; }
.parent-cat.active {
    background: #eef4ff;
    color: #2563eb;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}
.sub-cat-list {
    list-style: none;
    padding-left: 28px;
    margin: 4px 8px 8px 0;
}
.sub-cat-list li a {
    text-decoration: none;
    padding: 6px 12px;
    margin: 2px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    cursor: pointer;
    transition: 0.15s;
    color: #334155;
    border-radius: 10px;
}
.sub-cat-list li a:hover { background: #f1f5f9; }
.sub-cat-list li a.active {
    background: #eef4ff;
    color: #2563eb;
    font-weight: 700;
}
.cat-count {
    background: #e2e8f0;
    padding: 2px 6px;
    font-size: 0.65rem;
    font-weight: 500;
    border-radius: 20px;
}

.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.notice-card {
    background: #eef2ff;
    border-left: 5px solid #2563eb;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.notice-card i {
    font-size: 1.2rem;
    color: #2563eb;
}
.notice-card > div {
    min-width: 0;
    flex: 1;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.notice-card > div img,
.notice-card > div video,
.notice-card > div iframe,
.notice-card > div table {
    max-width: 100%;
}
.notice-card > div table {
    display: block;
    overflow-x: auto;
}
.category-section {
    background: white;
    border: 1px solid #eef2ff;
    overflow-x: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    margin-bottom: 16px;
}
.category-section:last-child {
    border-bottom: 0;
}
.category-title {
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 18px;
    background: #fafcff;
    color: #0f172a;
    border-bottom: 1px solid #eef2ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.category-title a {
    text-decoration: none;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
}
.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    table-layout: fixed;
}
.products-table th {
    text-align: left;
    padding: 12px 16px;
    background: #ffffff;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 1px solid #eef2ff;
    white-space: nowrap;
    font-size: 0.78rem;
}
.products-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.products-table th:nth-child(1),
.products-table td:nth-child(1) {
    width: auto;
    text-align: left;
}
.products-table th:nth-child(2),
.products-table td:nth-child(2),
.products-table th:nth-child(3),
.products-table td:nth-child(3),
.products-table th:nth-child(4),
.products-table td:nth-child(4),
.products-table th:nth-child(5),
.products-table td:nth-child(5) {
    width: 96px;
    white-space: nowrap;
    text-align: center;
}
.product-row:hover {
    background: #fafcff;
}
.prod-icon-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 8px;
    background: #eff6ff;
    display: block;
}
.prod-name {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: #0f172a;
}
.prod-name:hover {
    color: #2563eb;
}
.item-name-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
}
.item-name-link:hover {
    color: #2563eb;
}
.item-icon {
    flex: 0 0 32px;
}
.item-name-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.45;
    font-weight: 600;
}
.price-col {
    color: #ea580c;
    font-weight: 700;
    font-size: 0.9rem;
}
.btn-buy-table {
    display: inline-flex;
    text-decoration: none;
    background: #2563eb;
    border: none;
    padding: 5px 14px;
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    transition: 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.btn-buy-table:hover { background: #1d4ed8; transform: scale(0.96); }

.reviews-carousel {
    background: white;
    padding: 16px 0 24px;
    border: 1px solid #eef2ff;
    overflow-x: auto;
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    margin-bottom: 32px;
}
.carousel-title {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0 20px 12px 20px;
    border-bottom: 1px solid #eef2ff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.swiper {
    width: 100%;
    padding: 0 20px 30px;
}
.swiper-slide {
    height: auto;
}
.review-slide-card {
    background: white;
    border: 1px solid #eef2ff;
    padding: 16px;
    height: 100%;
    transition: 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.review-slide-card:hover {
    box-shadow: 0 10px 18px -10px rgba(0,0,0,0.08);
    border-color: #d9e6ff;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.avatar {
    width: 40px;
    height: 40px;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}
.review-user h4 { font-size: 0.85rem; margin-bottom: 4px; }
.stars { color: #f59e0b; font-size: 0.7rem; }
.review-text { font-size: 0.8rem; color: #334155; line-height: 1.4; margin-top: 4px; }
.swiper-button-prev, .swiper-button-next {
    color: #2563eb;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 0.8rem;
}
.swiper-pagination-bullet-active {
    background: #2563eb;
}

.payments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px 20px 16px;
}
.payments img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: saturate(.98);
}
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 36px 0 24px;
    margin-top: 0;
    border-top: 1px solid #1e293b;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.3fr) repeat(3, minmax(140px, 1fr));
    gap: 28px;
}
.footer-brand .brand-name {
    color: #fff;
}
.footer-brand .brand-sub {
    color: #94a3b8;
}
.footer-brand-copy {
    font-size: 12px;
    line-height: 1.8;
    color: #94a3b8;
    margin-top: 16px;
    max-width: 360px;
}
.footer-col h4,
.footer-title {
    font-size: 14px;
    color: #fff;
    margin-bottom: 14px;
}
.footer-col p,
.footer-col a,
.footer-links a {
    font-size: 12px;
    margin-bottom: 8px;
    color: #94a3b8;
    text-decoration: none;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li + li {
    margin-top: 8px;
}
.footer-col a:hover,
.footer-links a:hover {
    color: #fff;
}
.copyright { font-size: 0.65rem; text-align: center; margin-top: 32px; padding-top: 16px; border-top: 1px solid #1e293b; }
.sku-quantity-wrapper .quantity-input{
    border-right: 1px solid #dfe3ea!important;
    border-radius:4px!important;
}
.main-box{
    padding-top: 15px !important;
    padding-bottom: 35px !important;
}
@media (max-width: 900px) {
    .advantages { gap: 15px; }
}
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    #page-container{
        background: url(../top_bg.png) center top / contain no-repeat rgb(244, 244, 244);
    }
    .site-nav{
        display: none!important;

    }
    .search-container{
        display: none!important;
    }
    .site-header-inner .brand-copy{
        display: none!important;

    }
    .site-header-inner {
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .brand-mark {
        width: 38px;
        height: 38px;
    }
    .brand-name {
        font-size: 20px;
    }
    .brand-sub {
        display: none;
    }
    .nav-actions {
        gap: 10px;
    }
    .nav-actions #page-header-search {
        flex: 1 1 100%;
        order: 3;
    }
    .site-header-actions {
        margin-left: 0;
        gap: 8px;
    }
    .action-link {
        display: none;
    }
    .site-nav-links {
        gap: 18px;
        min-height: 44px;
    }
    .trust-badges-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .menu-toggle { display: block; }
    .advantages { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
    .main-layout {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        min-width: 0;
    }
    .sidebar-category { display: none; }
    .right-column,
    .products-table-area,
    .category-section,
    .reviews-carousel,
    .notice-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .payments {
        gap: 12px;
    }
    .payments img {
        height: 28px;
    }
    .mobile-category-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        padding: 10px 0;
        width: 100%;
        margin-bottom: 12px;
        font-weight: 600;
        font-size: 0.85rem;
        cursor: pointer;
        border-radius: 10px;
    }
    .products-table tr {
        padding: 12px;
        border-bottom: 1px solid #eef2ff;
    }
    .products-table td {
        padding: 8px 4px;
        border-bottom: 0;
        text-align: center;
    }
    .products-table td:first-child {
        padding-top: 0;
    }
    .prod-icon-img {
        margin-right: 4px;
        width: 32px;
        height: 32px;
    }
    .prod-name {
        display: block;
        line-height: 1.5;
        word-break: break-word;
    }
    .category-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-buy-table { padding: 4px 10px; }
}
@media (max-width: 768px) {
    .advantages { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .trust-badges{ padding: 10px 0;  }
    .notice-card { flex-wrap: wrap; }
    .adv-card { padding: 10px 14px; }
    .adv-icon { font-size: 1.4rem; width: 32px; }
    .drawer {
        width: min(300px, 86vw);
        left: calc(-1 * min(300px, 86vw));
    }
    .products-table.item-table th:nth-child(3),
    .products-table.item-table td:nth-child(3),
    .products-table.item-table th:nth-child(4),
    .products-table.item-table td:nth-child(4) {
        display: none;
    }
    .products-table.item-table th:nth-child(1),
    .products-table.item-table td:nth-child(1) {
        width: 56%;
        text-align: left;
    }
    .products-table.item-table th:nth-child(2),
    .products-table.item-table td:nth-child(2) {
        width: 22%;
    }
    .products-table.item-table th:nth-child(5),
    .products-table.item-table td:nth-child(5) {
        width: 22%;
    }
    .products-table.item-table th,
    .products-table.item-table td {
        padding: 10px 14px;
        vertical-align: middle;
        font-size: 12px;
    }
    .products-table.item-table .item-name-link {
        gap: 6px;
        align-items: flex-start;
    }
    .products-table.item-table .item-icon {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
        border-radius: 999px;
    }
    .products-table.item-table .item-name-text {
        white-space: normal;
        word-break: break-word;
    }
    .products-table.item-table .item-price,
    .products-table.item-table td:nth-child(n+2) {
        text-align: center;
        white-space: nowrap;
    }
    .item-mobile-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.4;
        color: #6b7280;
    }
    .more-txt{
        display: none;
    }
}
.mobile-category-btn { display: none; }
@media (max-width: 768px) {
    .mobile-category-btn { display: flex; }
}
.mcy-icon {
    width: 1.15em;
    height: 1.15em;
    vertical-align: -.15em;
    fill: currentColor;
    overflow: hidden;
}
.swal2-styled {
    min-width: 110px;
    margin: 0;
    padding: 0.72rem 1.35rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}
.swal2-styled.swal2-cancel {
    border: 0;
    border-radius: 999px;
    background: initial;
    background-color: #6e7881;
    color: #fff;
    font-size: 1em;
}
.swal2-styled:not([disabled]) {
    cursor: pointer;
}


/* 仅在移动端显示，桌面端自动隐藏 */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        border-top: 0.5px solid rgba(0, 0, 0, 0.05);
        padding: 8px 0;
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .nav-item-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex: 1;
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        padding: 0;
        border-radius: 40px;
    }

    .nav-item-bottom:active {
        transform: scale(0.94);
        background: rgba(23, 114, 246, 0.08);
    }

    /* 图标容器 */
    .nav-icon {
        font-size: 22px;
        font-weight: 400;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
    }

    /* Font Awesome 图标颜色 */
    .nav-icon i {
        color: #9AA6B5;
        transition: color 0.2s;
    }

    /* 文字标签 */
    .nav-label {
        font-size: 10px;
        font-weight: 500;
        color: #8E9AAB;
        transition: color 0.2s;
        letter-spacing: 0.3px;
    }

    /* 激活状态样式 */
    .nav-item-bottom.active .nav-label {
        color: #F4B400;
        font-weight: 600;
    }

    .nav-item-bottom.active .nav-icon i {
        color: #F4B400;
        text-shadow: 0 0 4px rgba(244, 180, 0, 0.25);
    }

    /* 微动效 - 小红点提示（示例：订单小红点，可通过js控制显示） */
    .badge-dot {
        position: absolute;
        top: -4px;
        right: -10px;
        width: 8px;
        height: 8px;
        background: #FF4D4F;
        border-radius: 50%;
        border: 1.5px solid white;
        display: none;
    }

    .badge-dot.show {
        display: block;
    }

    /* 有数字角标样式（备选） */
    .badge-num {
        position: absolute;
        top: -8px;
        right: -14px;
        background: #FF4D4F;
        color: white;
        font-size: 9px;
        font-weight: bold;
        padding: 0 4px;
        border-radius: 30px;
        min-width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        border: 1px solid white;
        display: none;
    }

    .badge-num.show {
        display: flex;
    }

    /* 兼容全面屏和iPhone底部安全区 */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .mobile-bottom-nav {
            padding-bottom: calc(12px + env(safe-area-inset-bottom));
        }
    }

    /* 防止内容被底部导航遮挡：给页面主体增加底部内边距 */
    body {
        padding-bottom: 68px !important;
    }
}

/* 桌面端（>768px）完全不显示底部导航栏 */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none;
    }
    body {
        padding-bottom: 0 !important;
    }
}


.footer-brand .contact-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.footer-brand .contact-links a {
    display: inline-block;
    line-height: 0;
    transition: transform 0.3s ease;
}

.footer-brand .contact-links a:hover {
    transform: translateY(-2px);
}

.footer-brand .contact-links img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}
/* 模块容器：强制单行显示 */
.guarantee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #eef2ff;
    margin-bottom: 18px;
}

/* 单个保障项 */
.guarantee-item {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* 图标样式 */
.icon-svg {
    width: 18px;
    height: 18px;
    fill: #0088cc;
    margin-right: 8px;
    flex-shrink: 0;
}

/* 文字容器 */
.text-content {
    display: flex;
    flex-direction: column;
}

/* 标题样式 */
.guarantee-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* 描述样式：PC端显示 */
.guarantee-desc {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    white-space: nowrap;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .guarantee-row {
        padding: 10px 8px;
        gap: 5px;
    }

    .guarantee-item {
        padding: 0 4px;
    }

    .icon-svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }

    .guarantee-title {
        font-size: 12px; /* 移动端文字稍小以适应单行 */
    }

    .guarantee-desc {
        display: none; /* 移动端隐藏第二排文字 */
    }
}

#page-footer .pic-tag {
    display: flex;
    justify-content: start;
    margin-top: 30px;
}

/* 悬浮容器 */
.float-container {
    position: fixed;
    left:50%;
    top:50%;
    margin-left: 670px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

@media (max-width: 1600px) {
    .float-container {
        left: auto;
        bottom: 110px;
        right: 12px;
        top: auto;
    }
    .service-info{
        display: none;
    }
}
/* 客服按钮组（带文字） */
.service-group {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

/* 文字说明部分 */
.service-info {
    background-color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    text-align: right;
    transition: all 0.2s ease;
}

.service-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.service-time {
    display: block;
    font-size: 11px;
    color: #0088cc;
    margin-top: 2px;
}

/* 按钮圆圈样式 */
.btn-circle {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* 售后客服特定样式 */
.service-btn-circle {
    background-color: #0088cc;
    border: none;
}

.service-btn-circle svg {
    fill: #fff;
    width: 26px;
    height: 26px;
}

/* 返回顶部按钮 */
.back-top-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    cursor: pointer;
}

.back-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top-btn svg {
    fill: #666;
    width: 24px;
    height: 24px;
}

/* 悬浮交互 */
.service-group:active .service-info,
.service-group:active .btn-circle {
    transform: scale(0.95);
    background-color: #f9f9f9;
}
.service-group:active .service-btn-circle {
    background-color: #007bb5;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .float-container {
        right: 12px;
        bottom: 110px;
    }
    .btn-circle {
        width: 44px;
        height: 44px;
    }
    .service-info {
        padding: 4px 10px;
    }
    .service-title {
        font-size: 12px;
    }
    .service-time {
        font-size: 10px;
    }
}