/* ============================================================
   健身运动模版 (theme13) — 活力橙 #ff6b35 + 深黑 #121212
   风格：运动大圆角16px / Bebas Neue粗体标题 / 暗黑强对比
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --color-primary: #ff6b35;
    --color-primary-dark: #e55a2b;
    --color-primary-glow: rgba(255, 107, 53, 0.3);
    --color-accent: #ff8c5a;
    --color-bg: #121212;
    --color-bg-card: #1e1e1e;
    --color-bg-elevated: #2a2a2a;
    --color-bg-input: #252525;
    --color-text: #e0e0e0;
    --color-text-dark: #ffffff;
    --color-text-muted: #999;
    --color-text-light: #777;
    --color-border: #333;
    --color-border-light: #2a2a2a;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 4px 20px rgba(255, 107, 53, 0.2);
    --font-heading: "Bebas Neue", "Impact", "Arial Black", sans-serif;
    --font-body: "Satoshi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---- Reset & Base ---- */
* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-primary); transition: color 0.2s; }
a:hover { color: var(--color-accent); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ---- A11y: Skip Link ---- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 10px 18px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 0; outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---- A11y: Global Focus ---- */
:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* ---- Header ---- */
.site-header {
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    padding: 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}
.site-logo img { max-height: 40px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
}
.header-search-btn:hover { color: var(--color-primary); }

.mobile-toggle { display: none; background: none; border: none; padding: 8px; }
.mobile-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    margin: 4px 0;
    border-radius: 1px;
}

.main-nav { background: var(--color-bg); border-top: 2px solid var(--color-primary); }
.main-menu { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.main-menu > li > a {
    display: block;
    padding: 14px 22px;
    font-size: 15px;
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    font-family: var(--font-heading);
    font-size: 18px;
}
.main-menu > li > a:hover,
.main-menu > li.active > a { color: var(--color-primary); }
.main-menu .dropdown-menu {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 6px 0;
}
.main-menu .dropdown-menu a {
    display: block;
    padding: 8px 18px;
    color: var(--color-text);
    font-size: 14px;
    font-family: var(--font-body);
}
.main-menu .dropdown-menu a:hover { color: var(--color-primary); background: rgba(255,107,53,0.08); }

/* ---- Hero ---- */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18,18,18,0.82) 0%, rgba(18,18,18,0.55) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; padding: 40px 20px; }
.hero-badge {
    display: inline-block;
    padding: 6px 22px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 16px;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 400;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px;
    font-weight: 400;
    letter-spacing: 2px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-heading);
    font-size: 20px;
}
.hero-actions .btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.hero-actions .btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 107, 53, 0.35);
    color: #fff;
}
.hero-actions .btn-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}
.hero-actions .btn-secondary:hover {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* ---- Banner Section ---- */
.banner-section { padding: 30px 0 10px; }
.focus-banner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.focus-banner .swiper-slide a { position: relative; display: block; }
.focus-banner .swiper-slide img { width: 100%; height: 360px; object-fit: cover; }
.focus-banner .swiper-slide span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}
.focus-banner .swiper-pagination { bottom: 14px; }
.focus-banner .swiper-pagination-bullet { background: #fff; opacity: 0.5; width: 10px; height: 10px; }
.focus-banner .swiper-pagination-bullet-active { background: var(--color-primary); opacity: 1; }

/* ---- Main Section ---- */
.main-section { padding: 30px 0 60px; }

/* ---- Block ---- */
.block { margin-bottom: 40px; }
.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
}
.block-head h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.block-head h3 i { color: var(--color-primary); margin-right: 8px; }
.block-head .more {
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 600;
}
.block-head .more:hover { color: var(--color-primary); }

.block-head-light { border-bottom-color: var(--color-border); }
.block-head-light h3 { color: #fff; }

.block-dark {
    background: var(--color-bg-elevated);
    padding: 24px;
    border-radius: var(--radius-lg);
}

/* ---- Card Grid ---- */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.card-cover {
    position: relative;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.card:hover .card-cover img { transform: scale(1.06); }

.fitness-card .card-cover { padding-top: 68%; }
.fitness-card .card-cover img { position: absolute; inset: 0; }

.card-price-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    border-radius: 99px;
    font-weight: 700;
    font-family: var(--font-heading);
}
.card-body { padding: 16px 18px; }
.card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 6px;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-label {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-light);
    margin-top: 8px;
}
.card-meta .fa { margin-right: 3px; }
.card-time {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-left: auto;
}

/* Coach Card */
.card-coach .card-cover { padding-top: 100%; }
.card-coach .card-cover img { position: absolute; inset: 0; }
.card-coach .card-body { text-align: center; }

/* ---- Article List ---- */
.article-list { list-style: none; padding: 0; margin: 0; }
.article-row { border-bottom: 1px solid var(--color-border); }
.article-row:last-child { border-bottom: none; }
.article-row a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    text-decoration: none;
    color: var(--color-text);
}
.article-row a:hover { color: var(--color-primary); }
.article-row img {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
}
.article-row div { flex: 1; min-width: 0; }
.article-row h4 {
    font-size: 15px;
    margin: 0 0 6px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.article-date { font-size: 12px; color: var(--color-text-light); }

/* ---- Page Banner ---- */
.page-banner {
    background: linear-gradient(135deg, var(--color-bg-elevated), var(--color-bg-card));
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}
.page-banner-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.breadcrumb-inline { font-size: 13px; color: var(--color-text-muted); }
.breadcrumb-inline a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb-inline a:hover { color: var(--color-primary); }
.breadcrumb-inline .fa-angle-right { margin: 0 6px; color: var(--color-border); }

/* ---- Page Container ---- */
.page-container { padding: 30px 0 50px; }

/* ---- Channel Page ---- */
.channel-block { margin-bottom: 30px; }
.channel-block .block-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-text-dark);
    margin: 0;
}
.channel-block .block-more { font-size: 13px; color: var(--color-text-muted); text-decoration: none; }

.text-list { list-style: none; padding: 0; margin: 0; }
.text-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}
.text-list-item:last-child { border-bottom: none; }
.text-list-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.text-list-title:hover { color: var(--color-primary); }
.text-list-meta {
    flex-shrink: 0;
    margin-left: 14px;
    font-size: 12px;
    color: var(--color-text-light);
    display: flex;
    gap: 10px;
}

/* ---- Toolbar ---- */
.list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--color-border);
}
.toolbar-title { font-weight: 700; color: var(--color-text-dark); }
.toolbar-order { display: flex; list-style: none; padding: 0; margin: 0; gap: 4px; }
.toolbar-order a {
    display: block;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 99px;
    transition: all 0.2s;
    font-weight: 500;
}
.toolbar-order a:hover { background: rgba(255,107,53,0.1); color: var(--color-primary); }
.toolbar-order a.active { background: var(--color-primary); color: #fff; }

/* ---- Article Card List ---- */
.article-card-list { display: flex; flex-direction: column; gap: 18px; }
.article-card {
    display: flex;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: box-shadow 0.25s, border-color 0.25s;
}
.article-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.article-cover {
    flex-shrink: 0;
    width: 220px;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.article-body { flex: 1; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; }
.article-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 8px;
    letter-spacing: 0.5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-title:hover { color: var(--color-primary); }
.article-intro {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: var(--color-text-muted);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.article-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--color-text-light); }
.meta-cat {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255,107,53,0.12);
    color: var(--color-primary);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.meta-cat:hover { background: var(--color-primary); color: #fff; }

/* ---- Article Detail ---- */
.detail-page { padding-bottom: 40px; }
.breadcrumb-box { padding: 14px 0; font-size: 13px; color: var(--color-text-light); }
.breadcrumb-box a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb-box a:hover { color: var(--color-primary); }
.breadcrumb-box .fa-angle-right { margin: 0 6px; }

.article-detail {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--color-border);
}
.article-detail-head { margin-bottom: 24px; }
.article-detail-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--color-text-dark);
    line-height: 1.2;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.article-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-light);
    flex-wrap: wrap;
}
.detail-cat {
    padding: 4px 14px;
    background: rgba(255,107,53,0.12);
    color: var(--color-primary);
    border-radius: 99px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.detail-tag {
    padding: 3px 10px;
    background: var(--color-bg-elevated);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
}
.article-detail-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--color-text);
    max-width: 720px;
}
.article-detail-content img { border-radius: var(--radius-md); margin: 16px 0; }
.article-detail-content h2,
.article-detail-content h3 {
    font-family: var(--font-heading);
    margin-top: 32px;
    margin-bottom: 14px;
    color: var(--color-text-dark);
    text-transform: uppercase;
}

/* ---- Article Summary (GEO/AI) ---- */
.article-summary {
    margin: 28px 0 0;
    padding: 22px 24px;
    background: rgba(255,107,53,0.06);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
}
.article-summary-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.summary-deco { color: var(--color-primary); font-size: 16px; }
.article-summary-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
}
.article-summary-text { font-size: 14px; color: var(--color-text); margin: 0 0 10px; line-height: 1.7; }
.article-summary-cite { font-size: 12px; color: var(--color-text-muted); }
.cite-label { font-weight: 700; }
.cite-text {
    background: var(--color-bg-elevated);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    word-break: break-all;
}

/* ---- Article Nav ---- */
.article-detail-nav {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}
.detail-nav-item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--color-bg-elevated);
    transition: background 0.2s;
}
.detail-nav-item:hover { background: rgba(255,107,53,0.08); }
.detail-nav-next { text-align: right; }
.detail-nav-label { font-size: 12px; color: var(--color-text-light); margin-bottom: 2px; }
.detail-nav-title { font-size: 14px; color: var(--color-text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---- Related Section ---- */
.related-section { margin-top: 36px; }
.related-section h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin: 0 0 16px;
    color: var(--color-text-dark);
}
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, border-color 0.2s;
}
.related-card:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.related-cover {
    position: relative;
    padding-top: 66%;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.related-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.related-body { padding: 10px 14px; }
.related-body h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-body span { font-size: 11px; color: var(--color-text-light); }

/* ---- Image Grid ---- */
.images-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.image-tile {
    display: block;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, border-color 0.2s;
}
.image-tile:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.image-tile-cover {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.image-tile-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.image-tile:hover .image-tile-cover img { transform: scale(1.05); }
.image-tile-body { padding: 10px 14px; }
.image-tile-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.image-tile-view { font-size: 11px; color: var(--color-text-light); }

/* ---- Product Grid ---- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.product-cover {
    display: block;
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.product-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-cover img { transform: scale(1.05); }
.product-body { padding: 14px 18px; }
.product-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-meta { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 20px; font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); }
.product-btn {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(255,107,53,0.12);
    color: var(--color-primary);
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    text-transform: uppercase;
}
.product-btn:hover { background: var(--color-primary); color: #fff; }

/* ---- Product Detail ---- */
.product-detail-page { padding-bottom: 40px; }
.product-detail-main {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--color-border);
}
.product-detail-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 14px;
}
.product-price-box {
    padding: 16px;
    background: rgba(255,107,53,0.08);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border: 1px solid rgba(255,107,53,0.2);
}
.product-price-box .price { font-size: 32px; font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); margin-left: 10px; }
.product-params { margin-bottom: 16px; }
.param-row { display: flex; padding: 8px 0; border-bottom: 1px solid var(--color-border); font-size: 14px; }
.param-key { flex-shrink: 0; width: 80px; color: var(--color-text-light); }
.param-val { flex: 1; min-width: 0; color: var(--color-text); }
.product-actions button {
    padding: 12px 36px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-actions button:hover { background: var(--color-primary-dark); }
.product-detail-content { margin-top: 24px; }
.detail-content-body { padding-top: 16px; font-size: 15px; line-height: 1.8; color: var(--color-text); }

/* ---- PC Slide ---- */
.pc-slide .view .swiper-container { border-radius: var(--radius-md); overflow: hidden; margin-bottom: 10px; }
.pc-slide .view img { width: 100%; }
.pc-slide .preview { position: relative; }
.pc-slide .preview .swiper-slide {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pc-slide .preview .active-nav { border-color: var(--color-primary); }
.pc-slide .preview img { width: 100%; height: 70px; object-fit: cover; }
.pc-slide .arrow-left,
.pc-slide .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    text-decoration: none;
}
.pc-slide .arrow-left { left: -10px; }
.pc-slide .arrow-right { right: -10px; }

/* ---- Single Page ---- */
.single-page { padding-bottom: 40px; }
.single-main { background: var(--color-bg-card); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--color-border); }
.subnav { margin-bottom: 20px; }
.subnav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0; }
.subnav a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    border-radius: 99px;
    background: var(--color-bg-elevated);
    transition: all 0.2s;
    font-weight: 500;
}
.subnav a:hover { background: rgba(255,107,53,0.1); color: var(--color-primary); }
.subnav .active a { background: var(--color-primary); color: #fff; }
.single-content { font-size: 15px; line-height: 1.8; color: var(--color-text); }
.single-content img { border-radius: var(--radius-md); margin: 12px 0; }

/* ---- Contact Form ---- */
.contact-form-wrap { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.contact-form-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0 0 16px;
}
.contact-form-title i { color: var(--color-primary); margin-right: 4px; }
.form-message label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: normal; }
.form-message label span { flex-shrink: 0; font-size: 14px; color: var(--color-text); min-width: 70px; }
.form-message .inp {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--color-bg-input);
    color: var(--color-text);
}
.form-message .inp:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 2px rgba(255,107,53,0.2); }
.form-message textarea {
    width: 100%;
    height: 120px;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    resize: vertical;
    background: var(--color-bg-input);
    color: var(--color-text);
}
.form-message textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 2px rgba(255,107,53,0.2); }
.form-row { display: flex; gap: 16px; }
.form-row label { flex: 1; min-width: 0; }
.mes { display: block; margin-bottom: 12px; }
.mes span { display: inline-block; margin-bottom: 6px; }
.msgbtn-box { display: flex; gap: 12px; }
.btn-contact {
    padding: 12px 40px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-contact:hover { background: var(--color-primary-dark); }
.btn-contact-reset {
    padding: 12px 28px;
    background: var(--color-bg-input);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 99px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-contact-reset:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ---- Pagination ---- */
.pagination-box { text-align: center; margin-top: 30px; }
.pagination { display: inline-flex; list-style: none; padding: 0; margin: 0; gap: 6px; }
.pagination li a,
.pagination li span {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    text-align: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
}
.pagination li a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active a,
.pagination .active span { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.pagination .disabled span { color: var(--color-text-light); }

/* ---- Aside Widget ---- */
.widget {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.widget-head {
    padding: 14px 18px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
}
.widget-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-dark);
    margin: 0;
}
.widget-title i { color: var(--color-primary); margin-right: 6px; }
.widget-body { padding: 12px 18px; }

/* Nav List */
.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-item a {
    display: block;
    padding: 9px 0;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-item:last-child > a { border-bottom: none; }
.nav-item a:hover,
.nav-item.active > a { color: var(--color-primary); }
.nav-sub { list-style: none; padding: 0 0 4px 14px; margin: 0; }
.nav-sub a { font-size: 13px; color: var(--color-text-muted); padding: 6px 0; }

/* Rank List */
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--color-border);
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-light);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
}
.rank-top { background: var(--color-primary); color: #fff; }
.rank-content { flex: 1; min-width: 0; }
.rank-title {
    display: block;
    font-size: 14px;
    color: var(--color-text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    margin-bottom: 2px;
    font-weight: 500;
}
.rank-title:hover { color: var(--color-primary); }
.rank-meta { font-size: 11px; color: var(--color-text-light); }

/* Latest List */
.latest-list { list-style: none; padding: 0; margin: 0; }
.latest-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--color-border); }
.latest-item:last-child { border-bottom: none; }
.latest-thumb { flex-shrink: 0; width: 70px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-info { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.latest-title {
    font-size: 13px;
    color: var(--color-text);
    text-decoration: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 3px;
    font-weight: 500;
}
.latest-title:hover { color: var(--color-primary); }
.latest-date { font-size: 11px; color: var(--color-text-light); }

/* Ad Widget */
.widget-ad { border: none; background: transparent; }
.widget-ad img { width: 100%; border-radius: var(--radius-md); }

/* ---- Footer ---- */
.site-footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.5);
    padding: 30px 0 24px;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid var(--color-primary);
}
.footer-friend-links { margin-bottom: 14px; }
.footer-friend-links a {
    display: inline-block;
    padding: 0 10px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-friend-links a:hover { color: var(--color-primary); }
.footer-nav { margin-bottom: 10px; }
.footer-nav a { display: inline-block; padding: 0 10px; color: rgba(255,255,255,0.45); font-size: 13px; text-decoration: none; }
.footer-nav a:hover { color: var(--color-primary); }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-copyright a { color: rgba(255,255,255,0.3); margin-left: 8px; }

/* ---- Float Button ---- */
#floatbtn { position: fixed; bottom: 40px; right: 20px; z-index: 999; }
#back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: background 0.2s, transform 0.2s;
    opacity: 0;
    visibility: hidden;
    font-size: 18px;
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* ---- Search Page ---- */
.search-keyword { color: var(--color-primary); }

/* ---- Nav Tabs ---- */
.nav-tabs { border-bottom: 2px solid var(--color-border); margin-bottom: 16px; }
.nav-tabs > li > a {
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 20px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.nav-tabs > li.active > a {
    border: none;
    border-bottom: 3px solid var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}
.nav-tabs > li > a:hover { background: rgba(255,107,53,0.06); border-color: transparent; color: var(--color-primary); }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .images-grid { grid-template-columns: repeat(3, 1fr); }
    .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .mobile-toggle { display: block; }
    .main-menu { flex-direction: column; }
    .main-nav .collapse { display: none; }
    .main-nav .collapse.in { display: block; }
    .hero-section { min-height: 360px; }
    .hero-title { font-size: 42px; }
    .article-card { flex-direction: column; }
    .article-cover { width: 100%; height: 180px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .images-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    body { font-size: 14px; }
    .hero-section { min-height: 280px; }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 14px; }
    .hero-badge { font-size: 13px; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .images-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .article-detail { padding: 18px; }
    .article-detail-title { font-size: 24px; }
    .product-detail-main { padding: 18px; }
    .form-row { flex-direction: column; }
}
