/* =====================================================================
 * template3 星宇官网风 · 样式
 * 高度还原 pc.bjxywhh.cn（Tailwind 视觉）：
 *   主色红 #E1251B / 深红 #C01010 / 青色点缀 #1DB8A6 / 深蓝 #2F4A6B
 * ===================================================================== */

:root {
    --gold: #E1251B;
    --gold-dark: #C01010;
    --gold-light: #f04e4e;
    --t3-red: #E1251B;
    --t3-red-dark: #C01010;
    --t3-teal: #1DB8A6;
    --t3-navy: #2F4A6B;
    --t3-bg: #F7F7F7;
    --t3-line: #f0f0f0;
    --t3-text: #1f2937;
    --t3-muted: #9ca3af;
}

body {
    background: var(--t3-bg);
    color: var(--t3-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
a { color: var(--t3-red); }
a:hover { color: var(--t3-red-dark); }
.text-muted { color: var(--t3-muted) !important; }
.container { max-width: 1200px; }

/* =====================================================================
 * 顶部工具条（红底白字小字）
 * ===================================================================== */
.topbar {
    background: #E1251B;
    height: 34px;
    line-height: 34px;
    font-size: 12px;
    color: rgba(255, 255, 255, .92);
}
.topbar a { color: rgba(255, 255, 255, .92); }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-left, .topbar-right { display: flex; gap: 14px; align-items: center; }
.topbar .fav-link { color: rgba(255,255,255,.92); }

/* =====================================================================
 * 搜索头（白底）
 * ===================================================================== */
.header-main {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
}
.header-main .logo { display: flex; align-items: center; }
.header-main .logo img { height: 48px; width: auto; max-width: 220px; object-fit: contain; }
.header-main .logo-text {
    font-size: 26px;
    font-weight: 800;
    color: #E1251B;
    letter-spacing: 1px;
    white-space: nowrap;
}
.header-main .search-box {
    flex: 1;
    max-width: 560px;
    margin: 0 28px;
}
.header-main .search-box form {
    display: flex;
    height: 42px;
    border: 2px solid #E1251B;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}
.header-main .search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 20px;
    font-size: 14px;
    color: var(--t3-text);
    background: transparent;
}
.header-main .search-box input::placeholder { color: #c4c4c4; }
.header-main .search-box button {
    width: 92px;
    border: none;
    background: #E1251B;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}
.header-main .search-box button:hover { background: #C01010; }
.header-main .header-nav-mini { display: none; }

/* =====================================================================
 * 主导航（红底白字）
 * ===================================================================== */
.main-nav {
    background: #E1251B;
    box-shadow: 0 2px 8px rgba(225, 37, 27, .25);
    height: auto;
    line-height: 1.2;
}
.main-nav-row { display: flex; align-items: center; }
.nav-category { display: none !important; }
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
}
.nav-menu li { margin-right: 0; }
.nav-menu > li > a {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 13px 20px;
    text-decoration: none;
    transition: .15s;
}
.nav-menu > li:first-child > a { padding-left: 4px; }
.nav-menu > li > a:hover { background: rgba(0, 0, 0, .12); color: #fff; }
.nav-menu > li > a.active {
    background: rgba(0, 0, 0, .12);
    color: #fff !important;
    font-weight: 900 !important;
}

/* =====================================================================
 * 页脚（白底 + 青色服务条 + 深色版权）
 * ===================================================================== */
.footer-service-bar {
    background: #fff;
    border-top: 3px solid #1DB8A6;
    padding: 18px 0;
}
.footer-service-bar .container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 12px;
}
.footer-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.footer-service-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(29, 184, 166, .12);
    color: #1DB8A6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 40px 0 0;
    color: #1f2937;
}
.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #E1251B;
    margin-bottom: 10px;
}
.footer-desc { font-size: 13px; line-height: 1.9; color: #1f2937; }
.footer-center-text { font-size: 18px; line-height: 1.6; font-weight: bold; color: #1f2937; }
.footer-center-links { display: flex; gap: 18px; margin-top: 12px; }
.footer-center-links a { color: #4b5563; font-size: 13px; text-decoration: none; }
.footer-center-links a:hover { color: #E1251B; }
.footer-service-right h4 { font-size: 15px; font-weight: 700; color: #1f2937; margin-bottom: 10px; }
.footer-service-right p { font-size: 13px; line-height: 1.9; color: #374151; }
.footer-help {
    display: inline-block;
    margin-top: 10px;
    background: #E1251B;
    color: #fff;
    font-size: 13px;
    padding: 8px 22px;
    border-radius: 20px;
    text-decoration: none;
}
.footer-help:hover { background: #C01010; color: #fff; }
.footer-bottom {
    background: #fff;
    color: #6b7280;
    font-size: 12px;
    padding: 34px 0 14px;
    margin-top: 0;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}
.footer-bottom p { margin: 0 0 6px; line-height: 1.6; }
.footer-bottom p:last-child { margin-bottom: 0; }
.footer-bottom a { color: #6b7280; text-decoration: none; }
.footer-bottom a:hover { color: #E1251B; }

/* =====================================================================
 * 全宽轮播 Hero（参考站 banner）
 * ===================================================================== */
.t3-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: #2F4A6B;
}
.t3-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s;
}
.t3-hero-slide.active { opacity: 1; z-index: 1; }
.t3-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t3-hero-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, transparent 70%);
    pointer-events: none;
}
.t3-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    color: #fff;
}
.t3-hero-content .container { padding: 0 15px; }
.t3-hero-text-box {
    display: inline-block;
    max-width: 620px;
    padding: 38px 50px;
}
.t3-hero-flag {
    font-size: 14px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, .9);
    margin-bottom: 12px;
}
.t3-hero-content h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,.2);
}
.t3-hero-slogan { font-size: 16px; color: rgba(255, 255, 255, .85); margin-bottom: 28px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.t3-hero-btn {
    display: inline-block;
    background: #E1251B;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: .2s;
}
.t3-hero-btn:hover { background: #C01010; color: #fff; }
.t3-hero-dots {
    position: absolute;
    bottom: 16px;
    right: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.t3-hero-dot {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: .2s;
}
.t3-hero-dot.active { background: #fff; }

/* =====================================================================
 * 六列分类图标（参考站 icon-cats）
 * ===================================================================== */
.t3-cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    background: #fff;
    border-radius: 8px;
    padding: 20px 10px;
    margin-top: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.t3-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #374151;
    padding: 6px 4px;
    border-radius: 6px;
    transition: .15s;
}
.t3-cat:hover { background: rgba(225, 37, 27, .05); color: #E1251B; }
.t3-cat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 26px;
    color: #2F4A6B;
}
.t3-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.t3-cat-name { font-size: 13px; font-weight: 500; text-align: center; }

/* =====================================================================
 * 发现好货 / 品牌闪购 双卡片（参考站 slogan）
 * ===================================================================== */
.t3-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}
.t3-card-promo {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 168px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.t3-card-promo:hover { color: #fff; }
.t3-card-promo-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.t3-card-red .t3-card-promo-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(225,37,27,.94) 0%, rgba(225,37,27,.72) 48%, rgba(225,37,27,.25) 100%);
    z-index: 1;
}
.t3-card-teal .t3-card-promo-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29,184,166,.94) 0%, rgba(29,184,166,.72) 48%, rgba(29,184,166,.25) 100%);
    z-index: 1;
}
.t3-card-promo-txt {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-left: 28px;
}
.t3-card-promo-txt b { font-size: 24px; font-weight: 800; }
.t3-card-promo-txt i { font-style: normal; font-size: 13px; opacity: .9; }
.t3-card-promo-txt em {
    font-style: normal;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, .55);
    padding: 5px 18px;
    border-radius: 3px;
    margin-top: 6px;
    transition: .2s;
}
.t3-card-promo:hover .t3-card-promo-txt em { background: #fff; color: #E1251B; }
.t3-card-teal:hover .t3-card-promo-txt em { color: #1DB8A6; }
.t3-card-promo-thumbs {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    gap: 8px;
}
.t3-card-promo-thumb {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, .95);
    border-radius: 4px;
    padding: 4px;
    overflow: hidden;
    display: block;
}
.t3-card-promo-thumb img { width: 100%; height: 100%; object-fit: contain; }
.t3-card-promo-thumb .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 20px; }

/* =====================================================================
 * 白底板块面板 + 标题（参考站 panel-hd）
 * ===================================================================== */
.t3-panel {
    background: #fff;
    border-radius: 8px;
    margin-top: 12px;
    padding: 18px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.t3-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.t3-hd-left { display: flex; align-items: baseline; gap: 12px; }
.t3-hd h2 {
    font-size: 20px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
}
.t3-hd-sub {
    font-size: 12px;
    color: #9ca3af;
    letter-spacing: 1px;
}
.t3-hd-more {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: .15s;
}
.t3-hd-more:hover { color: #E1251B; }
.t3-panel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.t3-panel-hd-left { display: flex; align-items: baseline; gap: 12px; }
.t3-panel-hd h2 { font-size: 20px; font-weight: 800; margin: 0; }
.t3-panel-sub { font-size: 12px; color: #9ca3af; }
.t3-cd { font-family: Consolas, Menlo, monospace; color: #E1251B; font-weight: 700; }

/* =====================================================================
 * 每天一场 闪购网格（参考站 flash-grid / cardFlash）
 * ===================================================================== */
.t3-flash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.t3-flash-item {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: .15s;
}
.t3-flash-item:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .08); border-color: #e5e7eb; }
.t3-flash-img { display: block; aspect-ratio: 1; background: #fafafa; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.t3-flash-img img { width: 100%; height: 100%; object-fit: contain; }
.t3-flash-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 30px; }
.t3-flash-name {
    display: block;
    font-size: 13px;
    color: #1f2937;
    line-height: 1.45;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
}
.t3-flash-name:hover { color: #E1251B; }
.t3-flash-price { margin: 6px 0 10px; display: flex; align-items: baseline; gap: 6px; }
.t3-flash-price b { font-size: 17px; font-weight: 800; color: #E1251B; }
.t3-flash-price del { font-size: 12px; color: #d1d5db; }
.t3-flash-buy {
    margin-top: auto;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #E1251B;
    border: 1px solid #E1251B;
    border-radius: 999px;
    padding: 7px 0;
    text-decoration: none;
    transition: .2s;
}
.t3-flash-buy:hover { background: #E1251B; color: #fff; }

/* =====================================================================
 * 好货底价 渐变横幅（参考站 promo）
 * ===================================================================== */
.t3-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 12px;
    padding: 30px 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #E1251B 0%, #C01010 40%, #1DB8A6 100%);
    color: #fff;
    box-shadow: 0 2px 10px rgba(225, 37, 27, .18);
}
.t3-promo-txt { display: flex; flex-direction: column; gap: 6px; }
.t3-promo-txt b { font-size: 26px; font-weight: 800; }
.t3-promo-txt span { font-size: 13px; opacity: .9; }
.t3-promo-btn {
    background: #fff;
    color: #E1251B;
    border: none;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 34px;
    border-radius: 999px;
    cursor: pointer;
    transition: .2s;
    flex: none;
}
.t3-promo-btn:hover { background: #ffe9e7; transform: translateY(-1px); }
.t3-promo-btn.t3-claimed { background: rgba(255,255,255,.8); color: #9ca3af; }

/* =====================================================================
 * 频道三栏（参考站 channel-root）
 * ===================================================================== */
.t3-channel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}
.t3-channel-col {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.t3-channel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #fff;
}
.t3-channel-hd b { font-size: 15px; font-weight: 700; }
.t3-channel-hd a { color: rgba(255, 255, 255, .85); font-size: 12px; text-decoration: none; }
.t3-channel-hd a:hover { color: #fff; }
.t3-channel-main {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #1f2937;
}
.t3-channel-main:hover { color: #1f2937; }
.t3-channel-main-img { width: 80px; height: 80px; flex: none; background: #fafafa; border-radius: 4px; overflow: hidden; }
.t3-channel-main-img img { width: 100%; height: 100%; object-fit: contain; }
.t3-channel-main-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 26px; }
.t3-channel-main-txt { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.t3-channel-main-txt i {
    font-style: normal;
    font-size: 13px;
    line-height: 1.45;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.t3-channel-main-txt b { font-size: 15px; font-weight: 800; }
.t3-mini-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    text-decoration: none;
    color: #1f2937;
    transition: .1s;
}
.t3-mini-item:hover { background: #fafafa; color: #1f2937; }
.t3-mini-img { width: 48px; height: 48px; flex: none; overflow: hidden; border-radius: 4px; background: #fafafa; }
.t3-mini-img img { width: 100%; height: 100%; object-fit: contain; }
.t3-mini-img .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 18px; }
.t3-mini-name {
    font-size: 12px;
    line-height: 1.4;
    min-width: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* =====================================================================
 * 商品网格（每日特价/新品直降/为您推荐，参考站 cardShop）
 * ===================================================================== */
.t3-sale-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.t3-hover-card { position: relative; }
.t3-card-shop {
    display: block;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: #1f2937;
    transition: .15s;
    height: 100%;
}
.t3-card-shop:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #e5e7eb; transform: translateY(-2px); color: #1f2937; }
.t3-card-imgbox {
    position: relative;
    display: block;
    aspect-ratio: 1;
    background: #fafafa;
    overflow: hidden;
}
.t3-card-imgbox img { width: 100%; height: 100%; object-fit: contain; transition: .25s; }
.t3-card-shop:hover .t3-card-imgbox img { transform: scale(1.04); }
.t3-card-imgbox .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 34px; }
.t3-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 2px 7px;
    border-radius: 3px;
}
.t3-badge-new { background: #1DB8A6; }
.t3-badge-hot { background: #E1251B; }
.t3-badge-off { background: #E1251B; }
.t3-quick-add {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    background: #E1251B;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 0;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: .2s;
}
.t3-card-shop:hover .t3-quick-add { opacity: 1; transform: translateY(0); }
.t3-quick-add:hover { background: #C01010; }
.t3-card-info { display: block; padding: 10px 12px 12px; }
.t3-card-name {
    display: block;
    font-size: 13px;
    color: #1f2937;
    line-height: 1.45;
    height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.t3-card-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 6px;
}
.t3-card-price b { font-size: 17px; font-weight: 800; color: #E1251B; }
.t3-card-price del { font-size: 12px; color: #d1d5db; }

/* =====================================================================
 * 列表页通用（红主题）
 * ===================================================================== */
.section-page-title { color: #E1251B; }
.section-page-desc { color: #9ca3af; }
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: #9ca3af; }
.breadcrumb-item.active { color: #E1251B; }

/* =====================================================================
 * 轮播图以下内容整体留白居中（仿参考站 max-w-7xl 布局）
 * ===================================================================== */
.t3-cats,
.t3-cards,
.t3-panel,
.t3-promo,
.t3-channel {
    width: calc(100% - 32px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================================
 * 响应式
 * ===================================================================== */
@media (max-width: 991px) {
    .t3-cats { grid-template-columns: repeat(3, 1fr); }
    .t3-flash-grid, .t3-sale-grid { grid-template-columns: repeat(3, 1fr); }
    .t3-channel { grid-template-columns: 1fr; }
    .t3-card-promo-thumbs { display: none; }
}
@media (max-width: 767.98px) {
    .t3-cats { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 8px; }
    .t3-cards { grid-template-columns: 1fr; }
    .t3-flash-grid, .t3-sale-grid { grid-template-columns: repeat(2, 1fr); }
    .t3-promo { flex-direction: column; text-align: center; padding: 24px 20px; }
    .t3-hero { height: 280px; }
    .t3-hero-text-box { padding: 22px 26px; max-width: 90%; }
    .t3-hero-content h1 { font-size: 26px; }
    .t3-hero-slogan { font-size: 14px; }
    .t3-hero-btn { padding: 8px 24px; font-size: 13px; }
}

/* =====================================================================
 * 帮助中心（仅模板三生效）
 * ===================================================================== */
.tpl-template3 .help-banner {
    background: linear-gradient(135deg, #E1251B 0%, #C01010 100%);
}
.tpl-template3 .help-banner-title { color: #fff; }
.tpl-template3 .help-banner-sub { color: rgba(255, 255, 255, .85); }
.tpl-template3 .help-contact { display: none; }

/* =====================================================================
 * 领券中心（仅模板三生效，布局与模板二一致，主题色为红）
 * ===================================================================== */
.tpl-template3 .t2-coupon-page { padding: 24px 0 50px; }
.tpl-template3 .t2-coupon-page .t2-hd-left i {
    font-size: 24px;
    color: #E1251B;
}
.tpl-template3 .t2-coupon-page .t2-hd-left h2 {
    font-size: 22px;
    color: #1f2937;
}
.tpl-template3 .t2-coupon-page .t2-hd-sub {
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tpl-template3 .t2-coupon-desc {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 24px;
    padding-left: 34px;
}
.tpl-template3 .t2-coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}
.tpl-template3 .t2-coupon-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}
.tpl-template3 .t2-coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 37, 27, .45), transparent);
}
.tpl-template3 .t2-coupon-card:hover { border-color: rgba(225, 37, 27, .5); }
.tpl-template3 .t2-coupon-card-left {
    flex: none;
    width: 104px;
    text-align: center;
    border-right: 1px dashed #f0f0f0;
    padding-right: 18px;
}
.tpl-template3 .t2-coupon-amount span { color: #E1251B; font-size: 18px; font-weight: 600; }
.tpl-template3 .t2-coupon-amount b {
    color: #E1251B;
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
}
.tpl-template3 .t2-coupon-cond { font-size: 12px; color: #9ca3af; margin-top: 6px; }
.tpl-template3 .t2-coupon-card-mid { flex: 1; min-width: 0; }
.tpl-template3 .t2-coupon-card-mid h5 { font-size: 15px; color: #1f2937; margin-bottom: 6px; }
.tpl-template3 .t2-coupon-card-mid p { font-size: 12px; color: #6b7280; margin-bottom: 3px; }
.tpl-template3 .t2-coupon-card-right { flex: none; }
.tpl-template3 .t2-coupon-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 22px;
    background: #E1251B;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .2s;
}
.tpl-template3 .t2-coupon-btn:hover { background: #C01010; }
.tpl-template3 .t2-coupon-btn:disabled,
.tpl-template3 .t2-coupon-btn.t2-used { background: #e5e7eb; color: #9ca3af; cursor: default; }
.tpl-template3 .t2-coupon-empty { text-align: center; padding: 60px 0; color: #6b7280; }

/* =====================================================================
 * 商品详情（仅模板三）
 * ===================================================================== */
.tpl-template3 .btn-buy-now { background: #E1251B; color: #fff; }
.tpl-template3 .btn-buy-now:hover { background: #C01010; color: #fff; }

/* =====================================================================
 * 会员中心（仅模板三）
 * ===================================================================== */
.tpl-template3 .member-banner {
    background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
    border-top-color: #E1251B;
}
.tpl-template3 .member-banner-title { color: #fff; }
.tpl-template3 .member-banner-btns .btn-warning {
    background: #E1251B;
    border-color: #E1251B;
    color: #fff;
    font-weight: 600;
}
.tpl-template3 .member-banner-btns .btn-warning:hover { background: #C01010; border-color: #C01010; }
.tpl-template3 .member-menu-icon {
    background: #ffecec;
    color: #E1251B;
}
.tpl-template3 .member-menu-card { border-bottom: 2px solid #ffcccc; }

/* =====================================================================
 * 帮助中心内容居中、标题左对齐（仅模板三）
 * ===================================================================== */
.tpl-template3 .help-layout { display: block; }
.tpl-template3 .help-content { max-width: 800px; margin: 0 auto; }
.tpl-template3 .help-section-title { text-align: left; }

/* =====================================================================
 * 领券中心标题排版（仅模板三）
 * ===================================================================== */
.tpl-template3 .t2-hd-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-template3 .t2-hd-left h2 { margin-bottom: 0; }
.tpl-template3 .t2-coupon-desc { padding-left: 0; margin-top: 8px; }

/* =====================================================================
 * 商品列表/详情立即购买按钮（仅模板三）
 * ===================================================================== */
.tpl-template3 .buy-btn,
.tpl-template3 .rec-btn {
    background: #E1251B;
    color: #fff;
}
.tpl-template3 .buy-btn:hover,
.tpl-template3 .rec-btn:hover { background: #C01010; color: #fff; }
.tpl-template3 .buy-btn:disabled,
.tpl-template3 .rec-btn:disabled { background: #e5e7eb; color: #9ca3af; }

/* =====================================================================
 * 相似推荐购物车图标（仅模板三）
 * ===================================================================== */
.tpl-template3 .prod-cart {
    background: #E1251B;
    color: #fff;
}
.tpl-template3 .prod-cart:hover { background: #C01010; color: #fff; }
