/* ===== Premium 大气商城全局主题 =====
   主色：深邃藏青 #0F172A
   点缀：香槟金 #D4AF37
   风格：大留白 · 高级感 · 精致细节
*/

:root {
    --pm-primary: #0F2D6B;
    --pm-primary-light: #1E3A8A;
    --pm-gold: #D4AF37;
    --pm-gold-light: #E8C872;
    --pm-gold-dark: #B8941F;
    --pm-text: #1a1a2e;
    --pm-text-secondary: #475569;
    --pm-text-muted: #94A3B8;
    --pm-border: #E2E8F0;
    --pm-border-light: #F1F5F9;
    --pm-bg: #F8FAFC;
    --pm-surface: #FFFFFF;
    --pm-radius-sm: 8px;
    --pm-radius: 12px;
    --pm-radius-lg: 16px;
    --pm-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #E8C872 50%, #D4AF37 100%);
    --pm-navy-gradient: linear-gradient(135deg, #0F2D6B 0%, #1E3A8A 100%);
    --pm-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --pm-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --pm-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    --pm-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 8px rgba(15, 23, 42, 0.06);
}

/* ===== 全局基础 ===== */
.theme-premium body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--pm-bg);
    color: var(--pm-text);
}

.theme-premium .shop-page {
    min-height: 60vh;
}

/* ===== 顶部公告条 ===== */
.theme-premium .top-bar {
    background: #F5F6F8;
    color: #64748B;
    font-size: 0.8rem;
    border-bottom: 1px solid #E9ECF2;
}

.theme-premium .top-bar a {
    color: #64748B;
    text-decoration: none;
    transition: color 0.2s var(--pm-ease);
}

.theme-premium .top-bar a:hover {
    color: var(--pm-primary);
}

.theme-premium .top-bar .sep {
    color: #CBD5E1;
}

.theme-premium .top-bar-announce i {
    color: var(--pm-primary);
}

.theme-premium .top-bar-fav {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748B;
}

.theme-premium .top-bar-fav:hover {
    color: var(--pm-primary);
}

.theme-premium .top-bar-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    background: #EBEDF0;
    border-radius: 4px;
    color: #475569 !important;
    font-weight: 500;
    margin-left: 0.25rem;
}

.theme-premium .top-bar-cart:hover {
    background: #E2E5EA;
    color: var(--pm-primary) !important;
}

/* ===== 主头部 ===== */
.theme-premium .header {
    position: relative;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    border-bottom: 1px solid #E9ECF2;
    box-shadow: none;
    transition: background 0.35s var(--pm-ease), box-shadow 0.35s var(--pm-ease), backdrop-filter 0.35s var(--pm-ease);
}

.theme-premium .header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(15, 45, 107, 0.15) 15%,
        var(--pm-primary) 50%,
        rgba(15, 45, 107, 0.15) 85%,
        transparent 100%
    );
    pointer-events: none;
}

.theme-premium .header.sticky-top.scrolled {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
}

.theme-premium .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2.5rem;
    height: 120px;
    min-height: 120px;
    padding: 0;
}

.theme-premium .logo {
    justify-self: start;
}

.theme-premium .header-actions {
    justify-self: end;
}

/* Logo */
.theme-premium .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--pm-text);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .logo:hover {
    color: var(--pm-primary);
    transform: translateY(-1px);
}

.theme-premium .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1E40AF, #3B6FD4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.theme-premium .logo-text {
    color: var(--pm-text);
    -webkit-text-fill-color: var(--pm-text);
    background: none;
}

/* 搜索框 */
.theme-premium .search-box {
    width: min(640px, 100%);
    max-width: 640px;
    position: relative;
    justify-self: center;
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    padding: 0.4rem 0.4rem 0.4rem 1.15rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .search-box-icon {
    display: inline-block;
    color: #64748B;
    font-size: 1.05rem;
    flex-shrink: 0;
    opacity: 0.75;
    transition: color 0.25s var(--pm-ease), opacity 0.25s var(--pm-ease);
}

.theme-premium .search-box:focus-within {
    border-color: rgba(147, 197, 253, 0.8);
    box-shadow: 0 0 0 4px rgba(147, 197, 253, 0.25), 0 8px 24px rgba(0, 0, 0, 0.12);
    background: #fff;
}

.theme-premium .search-box:focus-within .search-box-icon {
    color: #0F2D6B;
    opacity: 1;
}

.theme-premium .search-box input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    padding: 0.45rem 0;
    color: var(--pm-text);
    min-width: 0;
}

.theme-premium .search-box input[type="search"]::placeholder {
    color: var(--pm-text-muted);
}

.theme-premium .search-box button[type="submit"] {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F2D6B, #1E40AF);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.3s var(--pm-ease);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 45, 107, 0.28);
}

.theme-premium .search-box button[type="submit"]:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(15, 45, 107, 0.4);
}

.theme-premium .search-hot {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    padding: 0.85rem 1.1rem;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border-light);
    border-radius: var(--pm-radius);
    box-shadow: var(--pm-shadow-md);
    display: none;
    z-index: 100;
}

.theme-premium .search-box:focus-within .search-hot {
    display: block;
}

.theme-premium .search-hot a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    margin: 0.2rem 0.35rem 0.2rem 0;
    font-size: 0.75rem;
    color: var(--pm-text-secondary);
    background: var(--pm-bg);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s var(--pm-ease);
}

.theme-premium .search-hot a:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--pm-gold-dark);
}

/* 头部操作 */
.theme-premium .header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.theme-premium .h-action {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    color: var(--pm-text-secondary);
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s var(--pm-ease);
    position: relative;
    white-space: nowrap;
}

.theme-premium .h-action-cart {
    border: 1px solid var(--pm-border);
    background: var(--pm-surface);
}

.theme-premium .h-action-cart:hover {
    color: var(--pm-primary);
    background: var(--pm-bg);
    border-color: rgba(15, 45, 107, 0.25);
    transform: translateY(-1px);
    box-shadow: var(--pm-shadow-sm);
}

.theme-premium .h-action-login {
    background: var(--pm-navy-gradient);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.35rem;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.theme-premium .h-action-login:hover {
    color: #fff;
    background: var(--pm-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
}

.theme-premium .h-action:hover {
    color: var(--pm-primary);
}

.theme-premium .h-action i {
    font-size: 1.15rem;
}

.theme-premium .h-action .badge {
    position: absolute;
    top: -2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 0.3rem;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid var(--pm-surface);
}

.theme-premium .header-actions .dropdown-menu {
    border: 1px solid var(--pm-border-light);
    border-radius: var(--pm-radius);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    padding: 0.4rem;
    min-width: 180px;
}

.theme-premium .header-actions .dropdown-item {
    padding: 0.55rem 0.85rem;
    border-radius: var(--pm-radius-sm);
    font-size: 0.875rem;
    color: var(--pm-text);
    transition: all 0.2s var(--pm-ease);
}

.theme-premium .header-actions .dropdown-item:hover {
    background: var(--pm-bg);
    color: var(--pm-primary);
}

.theme-premium .header-actions .dropdown-divider {
    margin: 0.35rem 0.5rem;
    border-color: var(--pm-border-light);
}

/* ===== 分类导航 ===== */
.theme-premium .cat-nav {
    background: #fff;
    border-top: 1px solid var(--pm-border-light);
    border-bottom: 1px solid var(--pm-border-light);
}

.theme-premium .cat-nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
}

.theme-premium .cat-nav-all {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 1.5rem;
    background: var(--pm-navy-gradient);
    color: #fff;
    text-decoration: none;
    border-radius: var(--pm-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--pm-ease);
    height: 42px;
    margin-right: 1.5rem;
    position: relative;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.theme-premium .cat-nav-all::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 26px;
    background: var(--pm-border);
}

.theme-premium .cat-nav-all:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.theme-premium .cat-nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    padding-left: 0.25rem;
    -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}

.theme-premium .cat-nav-links::-webkit-scrollbar {
    display: none;
}

.theme-premium .cat-nav-links a {
    position: relative;
    padding: 0.65rem 1rem;
    color: var(--pm-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--pm-radius-sm);
    white-space: nowrap;
    transition: all 0.25s var(--pm-ease);
    letter-spacing: 0.01em;
}

.theme-premium .cat-nav-links a:hover {
    color: var(--pm-primary);
    background: rgba(15, 45, 107, 0.06);
}

.theme-premium .cat-nav-links a.active {
    color: var(--pm-primary);
    font-weight: 600;
    background: rgba(15, 45, 107, 0.08);
}

.theme-premium .cat-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 1.75rem);
    max-width: 48px;
    height: 2px;
    background: var(--pm-navy-gradient);
    border-radius: 2px;
}

/* ===== 移动端侧滑菜单 ===== */
.theme-premium .fn-mobile-nav {
    border: none;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.1);
}

.theme-premium .fn-mobile-nav .offcanvas-header {
    background: var(--pm-navy-gradient);
    color: #fff;
    border-bottom: none;
}

.theme-premium .fn-mobile-nav .offcanvas-title {
    color: #fff;
    font-weight: 600;
}

.theme-premium .fn-mobile-nav .btn-close {
    filter: brightness(0) invert(1);
}

.theme-premium .fn-mobile-nav .list-group-item {
    border-color: var(--pm-border-light);
    padding: 0.85rem 1rem;
    color: var(--pm-text);
    font-size: 0.9rem;
    transition: all 0.2s var(--pm-ease);
}

.theme-premium .fn-mobile-nav .list-group-item:hover {
    background: var(--pm-bg);
    color: var(--pm-primary);
}

.theme-premium .fn-mobile-nav .list-group-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--pm-gold-dark);
    border-color: rgba(212, 175, 55, 0.2);
}

/* ===== 回到顶部 ===== */
.theme-premium .back-to-top {
    position: fixed;
    right: 24px;
    bottom: 80px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pm-navy-gradient);
    color: var(--pm-gold);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s var(--pm-ease);
    z-index: 999;
}

.theme-premium .back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-premium .back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.3);
    color: var(--pm-gold-light);
}

/* ===== 页脚 ===== */
.theme-premium .fn-footer {
    background: var(--pm-navy-gradient);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 3.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.theme-premium .fn-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 800px 400px at 10% 0%, rgba(212, 175, 55, 0.08), transparent 60%),
        radial-gradient(ellipse 600px 300px at 90% 100%, rgba(59, 130, 246, 0.06), transparent 60%);
    pointer-events: none;
}

.theme-premium .fn-footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

/* 品牌区 */
.theme-premium .fn-footer-brand {
    padding-right: 1rem;
}

.theme-premium .fn-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.theme-premium .fn-footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--pm-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.theme-premium .fn-footer-logo-text {
    color: #fff;
}

.theme-premium .fn-footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.25rem;
}

.theme-premium .fn-footer-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.theme-premium .fn-footer-service-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.theme-premium .fn-footer-service-tags i {
    color: var(--pm-gold);
}

.theme-premium .fn-footer-social {
    display: flex;
    gap: 0.6rem;
}

.theme-premium .fn-footer-social-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .fn-footer-social-item:hover {
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    transform: translateY(-2px);
}

/* 页脚列 */
.theme-premium .fn-footer-col h4,
.theme-premium .fn-footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.theme-premium .fn-footer-col h4::after,
.theme-premium .fn-footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--pm-gold-gradient);
    border-radius: 3px;
}

.theme-premium .fn-footer-col ul,
.theme-premium .fn-footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theme-premium .fn-footer-col li,
.theme-premium .fn-footer-contact li {
    margin-bottom: 0.6rem;
}

.theme-premium .fn-footer-col a,
.theme-premium .fn-footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.25s var(--pm-ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.theme-premium .fn-footer-col a:hover,
.theme-premium .fn-footer-contact a:hover {
    color: var(--pm-gold);
    transform: translateX(3px);
}

.theme-premium .fn-footer-col a i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.theme-premium .fn-footer-more {
    color: var(--pm-gold) !important;
    font-weight: 500;
}

.theme-premium .fn-footer-more i {
    transition: transform 0.25s var(--pm-ease);
}

.theme-premium .fn-footer-more:hover i {
    transform: translateX(3px);
}

/* 联系我们 */
.theme-premium .fn-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    line-height: 1.6;
}

.theme-premium .fn-footer-contact li > i {
    color: var(--pm-gold);
    margin-top: 0.15rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* 底部版权条 */
.theme-premium .fn-footer-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 0;
    position: relative;
    z-index: 1;
}

.theme-premium .fn-footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.theme-premium .fn-footer-bar a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s var(--pm-ease);
}

.theme-premium .fn-footer-bar a:hover {
    color: var(--pm-gold);
}

.theme-premium .fn-footer-bar-sep {
    margin: 0 0.75rem;
    opacity: 0.3;
}

/* ===== 响应式 ===== */
@media (max-width: 991.98px) {
    .theme-premium .fn-footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .theme-premium .fn-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .theme-premium .header::before {
        height: 2px;
    }

    .theme-premium .header-inner {
        display: flex;
        justify-content: space-between;
        min-height: 64px;
        padding: 0.85rem 0;
        gap: 1rem;
    }

    .theme-premium .logo-text {
        font-size: 1.15rem;
    }

    .theme-premium .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        border-width: 1px;
    }

    .theme-premium .h-action-login {
        padding: 0.5rem 0.85rem;
    }

    .theme-premium .h-action-cart {
        padding: 0.5rem 0.75rem;
    }

    .theme-premium .cat-nav-inner {
        height: 50px;
    }

    .theme-premium .cat-nav-all {
        height: 38px;
        padding: 0 1rem;
        margin-right: 1rem;
        font-size: 0.82rem;
    }

    .theme-premium .cat-nav-links a {
        padding: 0.55rem 0.75rem;
        font-size: 0.82rem;
    }

    .theme-premium .fn-footer-main {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .theme-premium .fn-footer-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 479.98px) {
    .theme-premium .fn-footer-service-tags span {
        font-size: 0.7rem;
        padding: 0.25rem 0.55rem;
    }
}

/* ===== 产品列表页 Premium 主题 ===== */

/* 面包屑 */
.theme-premium .fn-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--pm-text-muted);
}

.theme-premium .fn-breadcrumb a {
    color: var(--pm-text-secondary);
    text-decoration: none;
    transition: color 0.2s var(--pm-ease);
}

.theme-premium .fn-breadcrumb a:hover {
    color: var(--pm-gold-dark);
}

.theme-premium .fn-breadcrumb .active {
    color: var(--pm-primary);
    font-weight: 600;
}

.theme-premium .fn-breadcrumb .bi-chevron-right {
    font-size: 0.7rem;
    opacity: 0.4;
}

.theme-premium .fn-breadcrumb .bi-house-door {
    color: var(--pm-gold);
}

/* 页面头部 */
.theme-premium .fn-products-head {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--pm-shadow-sm);
    border: 1px solid var(--pm-border-light);
}

.theme-premium .fn-products-head-main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.theme-premium .fn-products-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pm-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.theme-premium .fn-products-subtitle {
    font-size: 0.9rem;
    color: var(--pm-text-muted);
    margin: 0;
}

.theme-premium .fn-products-search {
    margin-top: 1.25rem;
}

.theme-premium .fn-products-search-box {
    position: relative;
    max-width: 480px;
    display: flex;
    align-items: center;
    background: var(--pm-bg);
    border: 2px solid var(--pm-border);
    border-radius: 100px;
    padding: 0.3rem 0.3rem 0.3rem 1.15rem;
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .fn-products-search-box:focus-within {
    border-color: var(--pm-gold);
    background: var(--pm-surface);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.theme-premium .fn-products-search-box input[type="search"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    color: var(--pm-text);
    min-width: 0;
}

.theme-premium .fn-products-search-box input[type="search"]::placeholder {
    color: var(--pm-text-muted);
}

.theme-premium .fn-products-search-box button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s var(--pm-ease);
    flex-shrink: 0;
}

.theme-premium .fn-products-search-box button:hover {
    transform: scale(1.05);
}

.theme-premium .fn-products-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pm-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.theme-premium .fn-products-search-box input {
    padding-left: 1.75rem;
}

/* 布局 */
.theme-premium .fn-products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* 侧边栏筛选 */
.theme-premium .fn-products-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.theme-premium .fn-filter-card {
    background: var(--pm-surface);
    border-radius: var(--pm-radius);
    border: 1px solid var(--pm-border-light);
    overflow: hidden;
    box-shadow: var(--pm-shadow-sm);
}

.theme-premium .fn-filter-card-head {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pm-primary);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(212, 175, 55, 0.03));
    border-bottom: 1px solid var(--pm-border-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-premium .fn-filter-card-head i {
    color: var(--pm-gold);
}

.theme-premium .fn-filter-list {
    padding: 0.5rem;
}

.theme-premium .fn-filter-item {
    display: block;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
    color: var(--pm-text-secondary);
    text-decoration: none;
    border-radius: var(--pm-radius-sm);
    transition: all 0.2s var(--pm-ease);
    border: none;
    cursor: pointer;
    background: transparent;
    width: 100%;
    text-align: left;
}

.theme-premium .fn-filter-item:hover {
    background: var(--pm-bg);
    color: var(--pm-primary);
    padding-left: 1.1rem;
}

.theme-premium .fn-filter-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--pm-gold-dark);
    font-weight: 600;
}

/* 分类筛选树 */
.theme-premium .fn-filter-list--tree {
    max-height: 320px;
    overflow-y: auto;
}

.theme-premium .fn-filter-list--tree::-webkit-scrollbar {
    width: 4px;
}

.theme-premium .fn-filter-list--tree::-webkit-scrollbar-thumb {
    background: var(--pm-border);
    border-radius: 4px;
}

/* 已选筛选标签 */
.theme-premium .fn-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--pm-surface);
    border-radius: var(--pm-radius);
    border: 1px solid var(--pm-border-light);
    margin-bottom: 1rem;
    box-shadow: var(--pm-shadow-sm);
}

.theme-premium .fn-active-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pm-text-muted);
    margin-right: 0.25rem;
}

.theme-premium .fn-active-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--pm-gold-dark);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s var(--pm-ease);
}

.theme-premium .fn-active-tag:hover {
    background: rgba(212, 175, 55, 0.2);
    text-decoration: line-through;
}

.theme-premium .fn-active-tag i {
    font-size: 0.65rem;
}

.theme-premium .fn-active-clear {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    color: var(--pm-text-muted);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.2s var(--pm-ease);
    margin-left: auto;
}

.theme-premium .fn-active-clear:hover {
    color: var(--pm-primary);
    background: var(--pm-bg);
}

/* 子分类导航 */
.theme-premium .fn-cat-subnav {
    margin-bottom: 1rem;
}

.theme-premium .fn-cat-subnav-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--pm-border-light);
}

.theme-premium .fn-cat-subnav-row:last-child {
    border-bottom: none;
}

.theme-premium .fn-cat-subnav-l2 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pm-primary);
    text-decoration: none;
    padding: 0.4rem 0.85rem;
    border-radius: var(--pm-radius-sm);
    transition: all 0.2s var(--pm-ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.theme-premium .fn-cat-subnav-l2:hover {
    background: var(--pm-bg);
}

.theme-premium .fn-cat-subnav-l2.active {
    background: var(--pm-navy-gradient);
    color: var(--pm-gold-light);
}

.theme-premium .fn-cat-subnav-l3-scroll {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: none;
}

.theme-premium .fn-cat-subnav-l3-scroll::-webkit-scrollbar {
    display: none;
}

.theme-premium .fn-cat-subnav-l3 {
    padding: 0.3rem 0.7rem;
    font-size: 0.85rem;
    color: var(--pm-text-secondary);
    text-decoration: none;
    border-radius: var(--pm-radius-sm);
    white-space: nowrap;
    transition: all 0.2s var(--pm-ease);
    border-right: 1px solid var(--pm-border-light);
}

.theme-premium .fn-cat-subnav-l3:last-child {
    border-right: none;
}

.theme-premium .fn-cat-subnav-l3:hover {
    color: var(--pm-primary);
    background: var(--pm-bg);
}

.theme-premium .fn-cat-subnav-l3.active {
    color: var(--pm-gold-dark);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
}

/* 工具栏 */
.theme-premium .fn-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: var(--pm-surface);
    border-radius: var(--pm-radius);
    border: 1px solid var(--pm-border-light);
    margin-bottom: 1rem;
    box-shadow: var(--pm-shadow-sm);
}

.theme-premium .fn-toolbar-count {
    font-size: 0.85rem;
    color: var(--pm-text-secondary);
}

.theme-premium .fn-toolbar-count strong {
    color: var(--pm-gold-dark);
    font-weight: 700;
}

/* 排序标签 */
.theme-premium .fn-sort-tabs {
    display: flex;
    gap: 0.35rem;
}

.theme-premium .fn-sort-tab {
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--pm-text-secondary);
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.25s var(--pm-ease);
}

.theme-premium .fn-sort-tab:hover {
    color: var(--pm-primary);
    background: var(--pm-bg);
}

.theme-premium .fn-sort-tab.active {
    color: var(--pm-gold-dark);
    background: rgba(212, 175, 55, 0.12);
    font-weight: 600;
}

/* 移动端搜索 */
.theme-premium .fn-mobile-search-form {
    position: relative;
}

.theme-premium .fn-mobile-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--pm-surface);
    border: 1px solid var(--pm-border);
    border-radius: 100px;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
}

.theme-premium .fn-mobile-search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    min-width: 0;
}

.theme-premium .fn-mobile-search-box button {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-premium .fn-mobile-search-box i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pm-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

/* 产品网格 - Premium 卡片样式 */
.theme-premium .fn-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.theme-premium .product-card {
    background: var(--pm-surface);
    border-radius: var(--pm-radius);
    overflow: hidden;
    box-shadow: var(--pm-shadow-sm);
    text-decoration: none;
    transition: all 0.3s var(--pm-ease);
    border: 1px solid var(--pm-border-light);
    display: flex;
    flex-direction: column;
    position: relative;
}

.theme-premium .product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pm-shadow-md);
    border-color: var(--pm-border);
}

.theme-premium .pc-img {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--pm-border-light);
    overflow: hidden;
}

.theme-premium .pc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--pm-ease);
}

.theme-premium .product-card:hover .pc-img img {
    transform: scale(1.06);
}

.theme-premium .pc-img-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-premium .pc-img-gradient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme-premium .pc-img-gradient > i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.6);
}

.theme-premium .pc-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.03em;
    z-index: 2;
}

.theme-premium .pc-badge-hot {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
}

.theme-premium .pc-badge-new {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #fff;
}

.theme-premium .pc-badge-sale {
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
}

.theme-premium .pc-badge-rec {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
}

.theme-premium .pc-fav {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pm-text-muted);
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s var(--pm-ease);
    opacity: 0;
    transform: scale(0.8);
}

.theme-premium .product-card:hover .pc-fav {
    opacity: 1;
    transform: scale(1);
}

.theme-premium .pc-fav:hover {
    color: #EF4444;
    transform: scale(1.1);
}

.theme-premium .pc-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.theme-premium .pc-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pm-text);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
    transition: color 0.2s var(--pm-ease);
}

.theme-premium .product-card:hover .pc-name {
    color: var(--pm-primary);
}

.theme-premium .pc-tags {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.theme-premium .pc-tag {
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
    color: var(--pm-text-muted);
    background: var(--pm-bg);
    border-radius: 4px;
    font-weight: 500;
}

.theme-premium .pc-tag-ship {
    color: var(--pm-gold-dark);
    background: rgba(212, 175, 55, 0.1);
}

.theme-premium .pc-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.theme-premium .pc-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.theme-premium .pc-price .now {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--pm-primary);
}

.theme-premium .pc-price .old {
    font-size: 0.75rem;
    color: var(--pm-text-muted);
    text-decoration: line-through;
}

.theme-premium .pc-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pm-navy-gradient);
    color: var(--pm-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--pm-ease);
    flex-shrink: 0;
}

.theme-premium .pc-cart-btn:hover {
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    transform: scale(1.08);
}

/* 空状态 */
.theme-premium .fn-empty {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    border: 1px solid var(--pm-border-light);
}

.theme-premium .fn-empty i {
    font-size: 3rem;
    color: var(--pm-text-muted);
    display: block;
    margin-bottom: 1rem;
    opacity: 0.4;
}

.theme-premium .fn-empty p {
    font-size: 1rem;
    color: var(--pm-text-secondary);
    margin-bottom: 1.5rem;
}

.theme-premium .fn-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .fn-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* 响应式 */
@media (max-width: 1199.98px) {
    .theme-premium .fn-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .theme-premium .fn-products-layout {
        grid-template-columns: 1fr;
    }

    .theme-premium .fn-products-sidebar {
        position: static;
    }

    .theme-premium .fn-products-head {
        padding: 1.5rem;
    }

    .theme-premium .fn-products-title {
        font-size: 1.5rem;
    }

    .theme-premium .fn-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .theme-premium .fn-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .theme-premium .fn-products-head {
        padding: 1.25rem;
    }

    .theme-premium .fn-toolbar {
        padding: 0.75rem 1rem;
    }

    .theme-premium .fn-sort-tabs {
        gap: 0.2rem;
    }

    .theme-premium .fn-sort-tab {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 479.98px) {
    .theme-premium .fn-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .theme-premium .pc-body {
        padding: 0.75rem;
    }

    .theme-premium .pc-name {
        font-size: 0.8rem;
    }

    .theme-premium .pc-price .now {
        font-size: 1rem;
    }

    .theme-premium .pc-cart-btn {
        width: 32px;
        height: 32px;
    }
}

/* ===== 购物车 / 结算页 Premium 主题 ===== */

.theme-premium .shop-container {
    padding: 2rem 0;
}

.theme-premium .section-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--pm-border-light);
}

.theme-premium .section-head h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pm-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-premium .section-head h2 i {
    color: var(--pm-gold);
}

.theme-premium .shop-panel {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    border: 1px solid var(--pm-border-light);
    box-shadow: var(--pm-shadow-sm);
    padding: 1.5rem;
    overflow: hidden;
}

.theme-premium .shop-panel .table thead th {
    background: var(--pm-bg);
    color: var(--pm-primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--pm-border);
    padding: 0.85rem 1rem;
}

.theme-premium .shop-panel .table tbody td {
    padding: 1rem;
    border-color: var(--pm-border-light);
    vertical-align: middle;
}

.theme-premium .shop-panel .table tbody tr:hover {
    background: rgba(212, 175, 55, 0.03);
}

.theme-premium .cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--pm-radius-sm);
    border: 1px solid var(--pm-border-light);
    background: var(--pm-bg);
}

.theme-premium .cart-qty-input,
.theme-premium .cart-qty-input-mobile {
    max-width: 70px;
    text-align: center;
    border: 1px solid var(--pm-border);
    border-radius: var(--pm-radius-sm);
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
}

.theme-premium .cart-qty-input:focus,
.theme-premium .cart-qty-input-mobile:focus {
    border-color: var(--pm-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
    outline: none;
}

.theme-premium .product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pm-primary);
}

.theme-premium .cart-remove-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pm-bg);
    color: var(--pm-text-muted);
    border: 1px solid var(--pm-border-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--pm-ease);
}

.theme-premium .cart-remove-btn:hover {
    background: #FEE2E2;
    color: #DC2626;
    border-color: #FCA5A5;
}

.theme-premium .cart-item-mobile {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--pm-border-light);
}

.theme-premium .cart-item-mobile:last-child {
    border-bottom: none;
}

.theme-premium .cart-item-mobile > img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--pm-radius-sm);
    border: 1px solid var(--pm-border-light);
    flex-shrink: 0;
}

.theme-premium .cart-summary {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    border: 1px solid var(--pm-border-light);
    box-shadow: var(--pm-shadow-sm);
    padding: 1.5rem;
}

.theme-premium .cart-summary-sticky {
    position: sticky;
    top: 100px;
}

.theme-premium .cart-summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--pm-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pm-border-light);
}

.theme-premium .cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--pm-text-secondary);
}

.theme-premium .cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 0.75rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--pm-border);
    font-size: 1rem;
    font-weight: 600;
    color: var(--pm-primary);
}

.theme-premium .cart-summary-total-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pm-gold-dark);
}

.theme-premium .cart-summary .btn-dark {
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    border: none;
    font-weight: 600;
    border-radius: var(--pm-radius);
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .cart-summary .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* 结算页 */
.theme-premium .checkout-page {
    padding: 2rem 0;
}

.theme-premium .checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--pm-border-light);
}

.theme-premium .checkout-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pm-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-premium .checkout-title i {
    color: var(--pm-gold);
}

.theme-premium .checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.theme-premium .checkout-steps .step {
    padding: 0.3rem 0.75rem;
    color: var(--pm-text-muted);
    font-weight: 500;
}

.theme-premium .checkout-steps .step.active {
    color: var(--pm-gold-dark);
    font-weight: 700;
}

.theme-premium .checkout-steps .step-arrow {
    color: var(--pm-text-muted);
    opacity: 0.4;
    font-size: 0.7rem;
}

.theme-premium .checkout-summary-sticky {
    position: sticky;
    top: 100px;
}

.theme-premium .checkout-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pm-surface);
    border-top: 1px solid var(--pm-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.theme-premium .bottom-bar-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.theme-premium .bottom-bar-label {
    font-size: 0.9rem;
    color: var(--pm-text-secondary);
}

.theme-premium .bottom-bar-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pm-gold-dark);
}

.theme-premium .btn-checkout {
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    border: none;
    font-weight: 700;
    border-radius: var(--pm-radius);
    padding: 0.75rem 2rem;
    transition: all 0.3s var(--pm-ease);
}

.theme-premium .btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

.theme-premium .btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.theme-premium .btn-checkout-bottom {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}

/* 结算卡片美化 */
.theme-premium .checkout-layout .col-lg-8 > div {
    background: var(--pm-surface);
    border-radius: var(--pm-radius-lg);
    border: 1px solid var(--pm-border-light);
    box-shadow: var(--pm-shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* 响应式 */
@media (max-width: 767.98px) {
    .theme-premium .shop-container {
        padding: 1rem 0;
    }

    .theme-premium .section-head {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .theme-premium .section-head h2 {
        font-size: 1.25rem;
    }

    .theme-premium .shop-panel {
        padding: 1rem;
    }

    .theme-premium .cart-summary-sticky {
        position: static;
    }

    .theme-premium .checkout-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .theme-premium .checkout-steps {
        font-size: 0.75rem;
    }
}

/* ===== Header 修复：覆盖 front-new 基础样式冲突 ===== */
.theme-premium .header .search-box input[type="search"] {
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    padding: 0.45rem 0;
    box-shadow: none;
    background: transparent;
}

.theme-premium .header .search-box input[type="search"]:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

.theme-premium .header .search-box button[type="submit"] {
    position: static;
    top: auto;
    right: auto;
}

.theme-premium .h-action-login,
.theme-premium .h-action-login i {
    color: #fff;
}

.theme-premium .h-action-login:hover,
.theme-premium .h-action-login:hover i {
    color: var(--pm-gold-light);
}

.theme-premium .header > .container > .search-box.d-md-none {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 640px;
    margin: 0 auto 0.75rem;
    background: var(--pm-surface);
    border: 2px solid rgba(212, 175, 55, 0.22);
    border-radius: 100px;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
}

.theme-premium .header > .container > .search-box.d-md-none .search-box-icon {
    display: inline-block;
}

.theme-premium .header > .container > .search-box.d-md-none input[type="search"] {
    flex: 1;
    min-width: 0;
}

.theme-premium .header > .container > .search-box.d-md-none button[type="submit"] {
    position: static;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--pm-gold-gradient);
    color: #1a1a2e;
    flex-shrink: 0;
}
