/* ═══════════════════════════════════════════════════
   Business Red — Page-Level Supplement Styles
   Extends main.css design system
   ═══════════════════════════════════════════════════ */

/* --- Navigation Refinements --- */
.navbar-custom .navbar-nav {
    justify-content: flex-end !important;
    gap: 8px;
    margin-left: auto !important;
}

.navbar-custom .navbar-collapse {
    flex-grow: 0 !important;
    justify-content: flex-end !important;
}

.navbar-custom .navbar-collapse .navbar-nav {
    margin-left: auto !important;
}

.navbar-custom .nav-item {
    margin: 0 !important;
}

/* --- Slider Offset for Fixed Nav --- */
.slider-wrapper {
    margin-top: 0;
}

/* --- Product Card Grid (List page) --- */
.product-list-section {
    padding: 60px 0;
    background: var(--bg-warm);
}

.product-card-grid {
    margin: 0 -15px;
}

.product-card-col {
    padding: 15px;
    margin-bottom: 30px;
}

.product-card {
    display: block;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease);
    text-decoration: none;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    text-decoration: none;
}

.product-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background: var(--bg-soft);
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card-content {
    padding: 20px;
}

.product-card-title {
    font-family: var(--font-cn);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 8px 0;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    letter-spacing: 0.5px;
}

.product-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (max-width: 991px) {
    .product-card-col { margin-bottom: 20px; }
}

@media (max-width: 767px) {
    .product-list-section { padding: 40px 0; }
    .product-card-title { font-size: 15px; }
    .product-card-grid { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin: 0;
    }
    .product-card-col {
        padding: 0;
        margin-bottom: 0;
    }
}

/* --- News List (Traditional Style) --- */
.news-list-section {
    padding: 80px 0;
    background: var(--bg-warm);
}

.traditional-news-list {
    max-width: 960px;
    margin: 0 auto;
}

.traditional-news-item {
    background: #fff;
    padding: 36px 40px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    transition: all 0.5s var(--ease);
}

.traditional-news-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.traditional-news-title {
    font-family: var(--font-cn);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 14px 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.traditional-news-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.traditional-news-title a:hover {
    color: var(--primary);
}

.traditional-news-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.traditional-news-meta i {
    margin-right: 6px;
    color: var(--primary);
    opacity: 0.7;
}

.traditional-news-excerpt {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 991px) {
    .news-list-section { padding: 60px 0; }
    .traditional-news-item { padding: 28px 32px; }
}

@media (max-width: 767px) {
    .news-list-section { padding: 40px 0; }
    .traditional-news-item { padding: 20px 24px; margin-bottom: 12px; }
    .traditional-news-title { font-size: 17px; margin-bottom: 10px; }
    .traditional-news-meta { gap: 16px; font-size: 12px; }
    .traditional-news-excerpt { font-size: 13px; }
}

/* ═══════════════════════════════════════════
   Product Showcase — 高端暖色展厅
   ═══════════════════════════════════════════ */
.pd-showcase {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #FAF8F4 0%, #F3EDE4 40%, #EDE5D8 100%);
}

.pd-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 10%, var(--gold) 30%, var(--primary) 50%, var(--gold) 70%, transparent 90%);
}

.pd-showcase-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,169,98,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(238,0,0,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.pd-showcase-header {
    text-align: center;
    margin-bottom: 64px;
}

.pd-showcase-en {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 14px;
}

.pd-showcase-title {
    font-family: var(--font-cn);
    font-size: 34px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 18px;
    letter-spacing: 6px;
}

.pd-showcase-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 0 auto 20px;
}

.pd-showcase-desc {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin: 0;
}

.pd-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pd-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(201,169,98,0.2);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.5s var(--ease);
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.pd-card:hover {
    background: #fff;
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 0 1px rgba(201,169,98,0.3);
}

.pd-card-img {
    position: relative;
    width: 100%;
    padding-bottom: 110%;
    overflow: hidden;
    background: linear-gradient(135deg, #FAF8F4, #F3EDE4);
}

.pd-card-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    height: 78%;
    object-fit: contain;
    transition: transform 0.6s var(--ease);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}

.pd-card:hover .pd-card-img img {
    transform: translate(-50%, -50%) scale(1.08);
}

.pd-card-body {
    padding: 22px;
    text-align: center;
    border-top: 1px solid rgba(201,169,98,0.15);
}

.pd-card-name {
    font-family: var(--font-cn);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px;
    letter-spacing: 2px;
}

.pd-card-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0 0 12px;
    letter-spacing: 1px;
}

.pd-card-btn {
    display: inline-block;
    font-size: 12px;
    color: var(--gold-dark);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.pd-card-btn i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.pd-card:hover .pd-card-btn {
    color: var(--primary);
    border-color: var(--primary);
}

.pd-card:hover .pd-card-btn i {
    transform: translateX(4px);
}

.pd-showcase-more {
    text-align: center;
    margin-top: 50px;
}

.pd-showcase-more-btn {
    display: inline-block;
    padding: 13px 48px;
    border: 1px solid var(--gold);
    color: var(--gold-dark) !important;
    font-size: 13px;
    letter-spacing: 2px;
    text-decoration: none !important;
    transition: all 0.4s var(--ease);
    background: transparent;
}

.pd-showcase-more-btn:hover {
    border-color: var(--primary);
    color: #fff !important;
    background: var(--primary);
    box-shadow: var(--shadow-red);
}

.pd-showcase-more-btn i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.pd-showcase-more-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 1199px) {
    .pd-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .pd-showcase { padding: 70px 0; }
    .pd-showcase-title { font-size: 28px; letter-spacing: 4px; }
    .pd-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 575px) {
    .pd-showcase { padding: 50px 0; }
    .pd-showcase-title { font-size: 22px; }
    .pd-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .pd-card-img { padding-bottom: 100%; }
    .pd-card-name { font-size: 14px; }
    .pd-card-sub { font-size: 11px; }
    .pd-card-body { padding: 16px 12px; }
}

/* ═══════════════════════════════════════════
   Page Banner — Shared across list/article/page
   ═══════════════════════════════════════════ */
.banner-image {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.7) 0%, rgba(187,0,0,0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-family: var(--font-cn);
    font-size: 38px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin: 0;
    letter-spacing: 2px;
}

.banner-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.5px;
}

.banner-simple {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.banner-simple .banner-title {
    font-size: 36px;
    color: #fff;
    margin-bottom: 10px;
}

.banner-simple .banner-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

@media (max-width: 767px) {
    .banner-image { height: 220px; }
    .banner-title { font-size: 28px; letter-spacing: 2px; }
    .banner-subtitle { font-size: 14px; }
    .banner-simple { padding: 60px 0; }
    .banner-simple .banner-title { font-size: 28px; }
}

/* ── Sidebar Widgets ── */
.sidebar-widget { margin-bottom: 24px; }
.sidebar-box {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 24px;
    transition: box-shadow 0.3s ease;
}
.sidebar-box:hover { box-shadow: var(--shadow-sm); }
.sidebar-title {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.sidebar-title h4 {
    font-family: var(--font-cn);
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--text-main);
    letter-spacing: 1px;
}
.hot-list li {
    padding: 9px 0;
    border-bottom: 1px dashed var(--border-light);
    display: flex;
    align-items: center;
}
.hot-list li:last-child { border-bottom: none; }
.rank-num {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: var(--border);
    color: #fff;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}
.hot-list li.top3 .rank-num { background: var(--primary); }
.hot-list li a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}
.hot-list li a:hover { color: var(--primary); }
.side-article-item {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-light);
}
.side-article-item:last-child { border-bottom: none; }
.side-article-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    margin-right: 12px;
    overflow: hidden;
    border-radius: 4px;
}
.side-article-thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-article-info a {
    font-size: 14px;
    color: var(--text-body);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.side-article-info a:hover { color: var(--primary); }

/* ── Article Detail Widget ── */
.article-wrapper { background: var(--bg-warm); }
.article-box {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 40px 48px;
}
.article-box .article-title {
    font-family: var(--font-cn);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 1px;
    line-height: 1.5;
}
.article-box .article-meta {
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}
.article-box .article-meta span { margin-right: 20px; }
.article-box .article-meta i { color: var(--primary); opacity: 0.7; margin-right: 5px; }
.article-box .article-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-body);
}
.article-box .article-content img {
    max-width: 100% !important;
    height: auto !important;
    margin: 16px 0;
    border-radius: 4px;
}
.article-source {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}
.comment-placeholder {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* ── Page Widget ── */
.page-wrapper { background: var(--bg-warm); }
.page-box {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 40px 48px;
}
.page-box .page-title {
    font-family: var(--font-cn);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    letter-spacing: 1px;
}
.page-box .page-content {
    font-size: 16px;
    line-height: 2;
    color: var(--text-body);
}
.page-box .page-content img {
    max-width: 100% !important;
    height: auto !important;
    margin: 16px 0;
    border-radius: 4px;
}

/* ── Guestbook Widget ── */
.guestbook-wrapper {
    background: var(--bg-warm);
    padding: 40px 0;
}
.contact-section { margin-bottom: 32px; }
.contact-title {
    font-family: var(--font-cn);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-body);
}
.contact-item i {
    color: var(--primary);
    width: 20px;
    margin-right: 12px;
    margin-top: 3px;
}
.qq-section { margin-top: 20px; }
.qq-links a {
    display: inline-block;
    padding: 6px 16px;
    margin-right: 8px;
    margin-bottom: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}
.qq-links a:hover {
    background: var(--primary);
    color: #fff;
}
.guestbook-placeholder {
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 32px;
}

/* ── Product List Page ── */
.product-list-section { padding: 60px 0; background: var(--bg-warm); }
.product-list-section .product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.5s var(--ease);
}
.product-list-section .product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s var(--ease);
    padding: 12px;
}
.product-list-section .product-card:hover .product-card-image img {
    transform: translate(-50%, -50%) scale(1.06);
}
.product-card-content { padding: 20px; }
.product-card-title {
    font-family: var(--font-cn);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .article-box, .page-box { padding: 24px 20px; }
    .article-box .article-title, .page-box .page-title { font-size: 20px; }
    .sidebar-widget { margin-top: 24px; }
}

/* 移动端菜单默认收起 */
@media (max-width: 991.98px) {
    .navbar-custom .navbar-collapse {
        display: none !important;
    }
    .navbar-custom .navbar-collapse.show {
        display: block !important;
    }
}

/* 导航栏品牌竖线移除 */
nav.navbar-custom .navbar-brand::before,
.navbar-custom .navbar-brand::before,
#mainNavbar .navbar-brand::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    background: none !important;
    border: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}
