﻿:root {
    --primary: #b19540;
    --secondary: #8c701b;
    --dark: #101010;
    --gray: #8d8d8d;
    --light-bg: #f1f1f1;
    --white: #fbfbfb;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray);
    background: var(--light-bg);
}

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

/* =============================================
   HEADER STYLES - Matching Reference Site
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    background: #2a3547;
    transition: all 0.3s ease;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.scrolled {
    background: #1a2332;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 252px;
    height: auto;
    max-height: 45px;
    transition: all 0.3s;
    filter: brightness(0) invert(1);
}

.site-header.scrolled .logo img {
    max-height: 40px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
    /* Ensure items are aligned in the container */
}

.main-nav li {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary);
}

.site-header.scrolled .main-nav a {
    color: rgba(255, 255, 255, 0.85);
}

/* =============================================
   PRODUCT CATEGORY DROPDOWN
   ============================================= */

/* Dropdown Container */
.nav-dropdown-container {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    padding: 8px 0;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-container:hover .nav-dropdown-trigger {
    color: var(--white);
}

.nav-dropdown-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-dropdown-container:hover .dropdown-arrow,
.nav-dropdown-container.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Panel - Enhanced for Premium Feel */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.97);
    background: var(--white);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.04),
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: visible;
}

@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        /* Darker background for contrast */
        border: none;
        border-radius: 8px;
        display: none;
        padding: 10px 0;
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .nav-dropdown-container {
        flex-wrap: wrap;
    }

    /* Arrow rotation fix */
    .nav-dropdown-trigger {
        justify-content: space-between;
        width: 100%;
    }
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid var(--white);
    filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.08));
}

@media (max-width: 768px) {
    .nav-dropdown::before {
        display: none;
    }
}

.nav-dropdown-container:hover .nav-dropdown,
.nav-dropdown-container.active .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

@media (max-width: 768px) {
    .nav-dropdown-container.active .nav-dropdown {
        display: block;
        transform: none;
        opacity: 1;
        visibility: visible;
        position: static;
        animation: mobileDropdownSlide 0.3s ease;
    }

    @keyframes mobileDropdownSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Two-Column Flyout Menu */
.nav-category-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    position: relative;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-category-list>li {
    position: relative;
    width: 100%;
}

/* Parent Category Link */
.nav-category-list>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 8px);
    height: auto;
    padding: 8px 16px;
    margin: 0 4px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-category-list>li>a:hover,
.nav-category-list>li.parent-category:hover>a,
.nav-category-list>li>a:focus-visible {
    color: var(--primary);
    background-color: rgba(177, 149, 64, 0.08);
    transform: translateX(2px);
}

.nav-category-list .arrow {
    font-size: 10px;
    color: #999;
    transition: color 0.2s ease;
    transform: rotate(-90deg);
}

.nav-category-list>li:hover .arrow {
    color: var(--primary);
}

.nav-category-list .loading-item {
    padding: 20px;
    color: #999;
    font-size: 14px;
    text-align: center;
}

/* Submenu - Enhanced Flyout to the Right */
.nav-category-list .submenu {
    list-style: none;
    margin: 0;
    padding: 6px;
    background: #ffffff;
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 5px);
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

/* Bridge zone to prevent submenu closing when moving diagonally */
.nav-category-list .parent-category::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 100%;
    background: transparent;
}

/* Prevent submenu overflow on smaller screens */
@media (max-width: 1024px) {
    .nav-category-list .submenu {
        right: 100%;
        left: auto;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.08);
        border: 1px solid #eee;
        border-right: none;
    }
}

.nav-category-list .parent-category:hover .submenu,
.nav-category-list .parent-category:focus-within .submenu,
.nav-category-list .parent-category.submenu-open .submenu {
    display: block;
    animation: simpleFadeIn 0.2s ease;
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
        margin-left: -5px;
    }

    to {
        opacity: 1;
        margin-left: 0;
    }
}

.nav-category-list .submenu li {
    width: 100%;
}

.nav-category-list .submenu li a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin-bottom: 2px;
}

.nav-category-list .submenu li:last-child a {
    margin-bottom: 0;
}

.nav-category-list .submenu li a:hover,
.nav-category-list .submenu li a:focus-visible {
    color: var(--primary);
    background-color: rgba(177, 149, 64, 0.08);
}

/* =============================================
   RESPONSIVE HEADER
   ============================================= */


/* Mobile Menu Toggle - Enhanced with span-based X animation */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform-origin: center;
}

/* X animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Menu Overlay - with blur effect */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .site-header .container {
        padding: 15px 20px;
    }

    .logo img {
        max-height: 38px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Enhanced slide-in from right */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #2a3547;
        padding: 80px 0 40px;
        transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1);
        overflow-y: auto;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav a {
        padding: 18px 30px;
        font-size: 15px;
        display: block;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .main-nav a:active {
        background: rgba(177, 149, 64, 0.15);
    }

    .main-nav a::after {
        bottom: 15px;
        left: 30px;
        transform: none;
    }

    /* Hide header actions on mobile */
    .header-actions {
        display: none;
    }
}


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    /* Increased for more impact */
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920') center/cover fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.47) 50%, #101010 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 115px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -2px;
    /* Tighter tracking for impact */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Scroll Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 1;
        top: 8px;
    }

    50% {
        opacity: 0.5;
        top: 18px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 20px;
        letter-spacing: 0;
    }

    .hero-content p {
        font-size: 16px;
        padding: 0 15px;
    }

    .hero-section {
        min-height: 70vh;
    }

    .scroll-indicator {
        display: none;
        /* Hide on mobile */
    }
}

/* Button */
.btn-primary {
    display: inline-block;
    padding: 20px 45px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(177, 149, 64, 0.3);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Content Section */
.content-section {
    padding: 75px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 50px;
    color: var(--dark);
    margin-bottom: 20px;
}

.divider {
    width: 100px;
    height: 2px;
    background: var(--primary);
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    padding: 40px 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.service-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.service-item h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 15px;
}

/* Parallax Section */
.parallax-section {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.47) 50%, #101010 100%);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.parallax-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 75px;
    }
}

@media (max-width: 767px) {

    .hero-section,
    .parallax-section {
        background-attachment: scroll;
        min-height: 80vh;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .section-header h2,
    .parallax-content h2 {
        font-size: 35px;
    }

    .main-nav {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: var(--light-bg);
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

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

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

.breadcrumb .separator {
    color: #ccc;
}

.breadcrumb .current {
    color: var(--gray);
}



.tab-button {
    padding: 18px 35px;
    border: none;
    background: transparent;
    color: var(--gray);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

.tab-button:hover {
    color: var(--primary);
}

.tab-button.active {
    color: var(--primary);
}

.tab-button.active::after {
    width: 100%;
}

.tab-content-v2 {
    display: none;
    line-height: 1.8;
    color: var(--gray);
}

.tab-content-v2.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content-v2 h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 20px;
    margin-top: 30px;
}

.tab-content-v2 h3:first-child {
    margin-top: 0;
}

.tab-content-v2 ul {
    list-style: none;
    padding-left: 0;
}

.tab-content-v2 ul li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
}

.tab-content-v2 ul li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 20px;
    line-height: 1;
}

/* Specs Table - Enhanced Modern Design */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.specs-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: #fafafa;
}

.specs-table th,
.specs-table td {
    padding: 14px 20px;
    text-align: left;
    vertical-align: middle;
}

.specs-table th {
    font-weight: 600;
    color: var(--dark);
    width: 30%;
    background: linear-gradient(to right, #f8f8f8, #fafafa);
    font-size: 14px;
    letter-spacing: 0.3px;
    border-right: 1px solid #f0f0f0;
}

.specs-table td {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.no-reviews i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.3;
}

/* Responsive - Product Detail */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery-v2 {
        position: static;
    }

    .product-title-v2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .product-title-v2 {
        font-size: 26px;
    }

    .product-price-v2 {
        font-size: 28px;
    }

    .product-actions-v2 {
        flex-direction: column;
    }

    .add-to-cart,
    .btn-wishlist {
        width: 100%;
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 15px 20px;
        font-size: 14px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}



/* =============================================
   FOOTER STYLES - Exact Match to Reference
   ============================================= */

.site-footer {
    position: relative;
    background: #2a3547;
    color: var(--white);
    padding: 80px 0 0;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1549298916-b41d501d3772?w=1920') center/cover;
    opacity: 0.08;
    z-index: 0;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

/* Footer Brand Section */
.footer-brand {
    text-align: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 25px;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-brand .brand-desc {
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-contact-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer-contact-icons a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(177, 149, 64, 0.25);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    font-size: 14px;
}

.footer-contact-icons a:hover {
    background: rgba(177, 149, 64, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer Main Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-col {
    text-align: center;
}

.footer-col h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    color: var(--white);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 400;
    line-height: 1.4;
    display: inline-block;
    /* Ensures the line is relative to the text width if we want, but block is fine too if we center the pseudo */
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #d4af37;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 3px;
}

/* Contact Info in Footer */
.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.6;
}

.footer-contact-info i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(177, 149, 64, 0.7);
    flex-shrink: 0;
    line-height: 1;
}

.footer-contact-info a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-info a:hover {
    color: var(--white);
}

/* Footer Bottom - Copyright */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin: 0;
}

/* Footer Refactoring - Global Styles */
.footer-brand {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
    margin-bottom: 20px;
}

.footer-brand .brand-name img {
    margin: 0 auto;
    display: block;
}

.footer-brand .brand-desc {
    max-width: 800px;
    margin: 0 auto 25px;
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 14px;
}

.footer-contact-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-contact-icons a {
    color: #fff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-contact-icons a:hover {
    color: #d4af37;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 10px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-brand .brand-desc {
        font-size: 12px;
        padding: 0 15px;
    }
}

/* Logo Styles */
.logo a {
    display: inline-block;
}

.logo img {
    height: auto;
    max-height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo img:hover {
    opacity: 0.8;
}

/* Footer Brand Logo */
.footer-brand .brand-name img {
    height: 40px;
    width: auto;
    display: block;
}

/* Footer Logo in Columns (for news/about/contact pages) */
.footer-col .logo img {
    height: 40px;
    width: auto;
    display: block;
}

/* Responsive Logo Adjustments */
@media (max-width: 768px) {
    .logo img {
        max-height: 40px;
    }

    .footer-brand .brand-name img {
        height: 32px;
    }

    .footer-col .logo img {
        height: 32px;
    }
}

/* ============================================================================
   API Loading and Error States
   ============================================================================ */

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    font-size: 18px;
}

.loading-state i {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.loading-state .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Error State */
.error-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.error-state i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.error-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-secondary);
}

.empty-state p {
    font-size: 18px;
}

/* Specs Table (for product detail) */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table td {
    padding: 16px;
}

.spec-label {
    font-weight: 500;
    color: var(--text-primary);
    width: 30%;
}

.spec-value {
    color: var(--text-secondary);
}

.specs-table tr:last-child {
    border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .loading-state,
    .error-state {
        padding: 60px 20px;
    }

    .loading-state i,
    .error-state i {
        font-size: 36px;
    }

    .specs-table td {
        padding: 12px 8px;
        display: block;
        width: 100% !important;
    }

    .spec-label {
        font-weight: 600;
        padding-bottom: 4px;
    }

    .spec-value {
        padding-top: 0;
    }
}

/* =============================================
   PRODUCTS PAGE STYLES
   ============================================= */

/* Products Hero */
.products-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #2a3547 0%, #1a2332 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    padding-top: 80px;
}

.products-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.products-hero .hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
}

.products-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Libre Baskerville', serif;
}

.products-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.products-hero .divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
}

/* Products Section Layout */
.products-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
}

/* Filter Sidebar */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-widget {
    margin-bottom: 30px;
}

.filter-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-family: 'Libre Baskerville', serif;
    /* Elegant header */
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    /* Thicker border */
    letter-spacing: 0.5px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    color: var(--gray);
    text-decoration: none;
    border-radius: 0;
    /* Remove rounded for clean left-border effect */
    border-left: 3px solid transparent;
    /* Prepare for accent */
    transition: all 0.25s ease;
    font-size: 14px;
}

.category-list a:hover {
    color: var(--dark);
    background: rgba(0, 0, 0, 0.02);
    border-left-color: #ddd;
}

.category-list a.active {
    color: var(--primary);
    background: rgba(177, 149, 64, 0.06);
    border-left-color: var(--primary);
    /* Gold accent line */
    font-weight: 600;
}

.category-list .count {
    color: #aaa;
    font-size: 12px;
    margin-left: 5px;
}

/* Price Filter - Premium */
.price-filter {
    padding: 15px 0;
}

.price-range {
    width: 100%;
    height: 6px;
    /* Slightly thicker */
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--primary) 50%, #e0e0e0 50%);
    /* Visual fill */
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(177, 149, 64, 0.4);
    /* Premium glow */
    transition: transform 0.2s ease;
}

.price-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.price-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(177, 149, 64, 0.4);
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 13px;
    color: var(--gray);
}

/* Color Options - Premium */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* Subtle depth */
}

.color-btn:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-btn.active {
    border-color: var(--primary);
    transform: scale(1.1);
}

/* 颜色按钮选中状态 */
.color-btn.selected {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(177, 149, 64, 0.2);
}

/* Check mark for selected color */
.color-btn.active::after,
.color-btn.selected::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.result-count {
    color: var(--gray);
    font-size: 14px;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    color: var(--dark);
    background: white;
    cursor: pointer;
    outline: none;
}

.sort-select:focus {
    border-color: var(--primary);
}

.sort-select:hover {
    border-color: var(--primary);
}

/* Product Grid V2 */
.product-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Product Card V2 - Premium */
.product-card-v2 {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Ambient shadow */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.product-card-v2 .card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-card-v2 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card-v2 .card-overlay {
    position: absolute;
    inset: 0;
    /* Gradient fade from bottom */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    /* Button at bottom */
    justify-content: center;
    padding-bottom: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card-v2:hover .card-overlay {
    opacity: 1;
}

.product-card-v2 .quick-view-btn {
    padding: 12px 24px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 25px;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card-v2:hover .quick-view-btn {
    transform: translateY(0);
}

.product-card-v2 .quick-view-btn:hover {
    background: var(--primary);
    color: white;
}

.product-card-v2 .card-info {
    padding: 20px;
    text-align: center;
}

.product-card-v2 .product-category {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card-v2 .product-name {
    font-family: 'Libre Baskerville', serif;
    /* Elegant Serif */
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card-v2 .product-name a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

.product-card-v2 .product-name a:hover {
    color: var(--primary);
}

.product-card-v2 .product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: white;
}

/* Responsive Products Page */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 220px 1fr;
        gap: 30px;
    }

    .product-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-hero {
        height: 220px;
        margin-top: 68px;
    }

    .products-hero h1 {
        font-size: 32px;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .filter-sidebar {
        position: relative;
        top: 0;
    }

    .product-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card-v2 .card-info {
        padding: 14px;
    }

    .product-card-v2 .product-name {
        font-size: 14px;
    }

    .product-card-v2 .product-price {
        font-size: 16px;
    }

    /* 移动端筛选面板 */
    .filter-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        bottom: 0;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        background: white;
        overflow-y: auto;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .filter-sidebar.active {
        left: 0;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .product-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ABOUT PAGE STYLES
   ============================================= */

/* About Hero */
.about-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 使用 banner 图片作为背景 */
    background: url('/images/banners/banner1.jpg') center center / cover no-repeat;
    margin-top: 0 !important;
    padding-top: 80px;
}

/* 添加深色遮罩层以确保文字可读性 */
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(42, 53, 71, 0.75) 50%, rgba(61, 79, 109, 0.7) 100%);
    z-index: 1;
}

/* 联系我们页面使用不同的 banner 图片 */
.about-hero.contact-hero {
    background-image: url('/images/banners/banner2.jpg');
}

.about-hero .hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    z-index: 2;
}

.about-hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.about-hero p {
    font-size: 20px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Layout Sections */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-section.alt-bg {
    background: var(--light-bg);
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.split-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.split-content .subtitle {
    display: inline-block;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.split-content .subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.split-content p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.split-image {
    position: relative;
}

.split-image img {
    width: 100%;
    border-radius: 12px;
    /* Increased */
    mix-blend-mode: multiply;
    transition: all 0.4s ease;
}

.split-image:hover img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* About Grid - Premium Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #d4af37 100%);
    color: white;
    font-size: 28px;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(177, 149, 64, 0.3);
    transition: transform 0.3s ease;
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.about-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 15px;
}

.about-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s;
}

.about-btn::after {
    content: ' →';
    transition: transform 0.3s;
    display: inline-block;
}

.about-btn:hover {
    color: var(--dark);
}

.about-btn:hover::after {
    transform: translateX(5px);
}

/* Contact Box */
.contact-box {
    background: var(--dark);
    color: var(--white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-family: 'Libre Baskerville', serif;
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    font-size: 22px;
    color: var(--dark);
    background: var(--primary);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(177, 149, 64, 0.4);
}

.contact-item p {
    font-size: 14px;
    margin-bottom: 5px;
    color: #ccc;
}

.contact-item p.highlight {
    color: white;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive About */
@media (max-width: 992px) {
    .split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .split-content {
        order: 1;
    }

    .split-image {
        order: 2;
        margin-top: 20px;
    }

    .reverse .split-content {
        order: 1;
    }

    .features-grid,
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .contact-box {
        padding: 40px 20px;
    }
}

/* Corrupted About/News styles removed */
.skeleton {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
    min-height: 100%;
}

/* GPU-accelerated shimmer animation */
.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
    will-change: transform;
}

/* =========================================
   PRODUCT DETAIL V2 STYLES
   ========================================= */

/* Section Layout */
.product-detail-section {
    padding: 60px 0;
    background-color: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

/* Gallery Styles */
.product-gallery-v2 {
    position: sticky;
    top: 100px;
}

.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #fafafa;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    /* Increased for premium */
    border: 1px solid #eee;
    /* Subtle frame */
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f8f8f8;
    cursor: pointer;
    border: 2px solid transparent;
    /* Thicker border for selection */
    border-radius: 6px;
    /* Rounded */
    transition: all 0.25s ease;
    mix-blend-mode: multiply;
}

.thumb:hover {
    border-color: #ccc;
    transform: scale(1.03);
}

.thumb.active {
    border-color: var(--primary);
    /* Gold border */
    box-shadow: 0 0 0 3px rgba(177, 149, 64, 0.15);
    /* Glow effect */
}

/* Product Info Column */
.product-info-v2 {
    padding-top: 10px;
}

.product-category-badge {
    display: inline-block;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-title-v2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-price-v2 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.product-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

/* Options (Color/Size) */
.product-option-group {
    margin-bottom: 30px;
}

.option-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-buttons,
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-btn,
.size-btn-v2 {
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 45px;
    text-align: center;
}

.option-btn:hover,
.size-btn-v2:hover {
    border-color: #999;
}

.option-btn.active,
.size-btn-v2.active {
    border-color: var(--dark);
    background: var(--dark);
    color: #fff;
}

/* Actions */
.product-actions-v2 {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
    height: 50px;
}

.qty-btn {
    width: 40px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.quantity-selector input {
    width: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.add-to-cart {
    flex: 1;
    height: 50px;
    background: var(--dark);
    color: #fff;
    border: none;
    font-weight: 500;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s;
}

.add-to-cart:hover {
    background: var(--primary);
}

.btn-wishlist {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    color: var(--dark);
}

.btn-wishlist:hover {
    border-color: var(--dark);
}

/* Meta Info */
.product-meta-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.meta-item i {
    color: var(--primary);
}

/* Tabs V2 */

.product-tabs-v2 {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 1px;
}

.tabs-header .tab-button {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    padding-bottom: 15px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tabs-header .tab-button.active {
    color: var(--dark);
}

.tabs-header .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dark);
}

.tab-content-v2 {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    animation: fadeIn 0.4s ease;
}

.tab-content-v2.active {
    display: block;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.specs-table th {
    width: 200px;
    font-weight: 600;
    color: var(--dark);
}

/* Responsive */
@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-gallery-v2 {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }

    .tabs-header {
        gap: 20px;
    }
}

/* =============================================
   CONTACT PAGE STYLES
   ============================================= */
.contact-hero {
    /* 与 About 页面相似但稍有变化的渐变 */
    background: linear-gradient(135deg, #2a3547 0%, #3d4f6d 50%, #4a5f85 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-form-card h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.form-label .required {
    color: #dc3545;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark);
}

.form-control:hover {
    border-color: #ccc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(177, 149, 64, 0.1);
    transform: translateY(-2px);
}

.form-control.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-control.success {
    border-color: #28a745;
    background: #f0fff4;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

.error-message {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-control.error+.error-message {
    display: block;
}

.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary .loading-spinner {
    display: none;
    margin-left: 10px;
}

.btn-primary.loading .loading-spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* CONTACT INFO DARK CARD (PREMIUM UPGRADE) */
.contact-info-side {
    background: #1a1a1a;
    /* Dark Theme */
    padding: 50px 40px;
    border-radius: 12px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: fit-content;
}

.contact-info-item {
    display: flex;
    gap: 25px;
    transition: all 0.3s ease;
    align-items: flex-start;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.info-icon-circle {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.1);
    /* Glassmorphism effect */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.contact-info-item:hover .info-icon-circle {
    background: var(--primary);
    transform: scale(1.1);
}

.contact-info-item:hover .info-icon-circle i {
    color: var(--white);
}

.info-icon-circle i {
    color: var(--primary);
    /* Gold icon */
    font-size: 20px;
}

.info-content h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--white);
    /* White text on dark bg */
    letter-spacing: 0.5px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.7);
    /* Soft white */
    font-size: 15px;
    line-height: 1.8;
}

/* Modern Form Inputs */
.form-control {
    width: 100%;
    padding: 16px 0;
    /* Minimalist padding */
    border: none;
    border-bottom: 2px solid #eee;
    /* Bottom border only */
    border-radius: 0;
    font-family: inherit;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--dark);
}

.form-control:hover {
    border-color: #ccc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    padding-left: 10px;
    /* Text shift on focus */
    background: rgba(177, 149, 64, 0.03);
    /* Subtle bg on focus */
}


.map-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-section .section-header h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.map-section .divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 500px;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid #e5e5e5;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.map-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

#contact-map {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-card {
        padding: 30px 20px;
    }

    .map-container {
        height: 400px;
        min-height: 400px;
    }

    .map-section {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .map-section .section-header h2 {
        font-size: 28px;
    }
}

/* Products Grid Container - Homepage Hot Products */
.products-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .products-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid-container {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   NEWS PAGE - FLEET STYLE
   ================================================================= */
.news-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920') center/cover no-repeat fixed;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 80px;
}

.news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(16, 16, 16, 0.85) 100%);
    z-index: 1;
}

.news-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

.news-hero h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 60px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.2;
}

.news-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.news-section {
    padding: 100px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* FEATURED ARTICLE LAYOUT (PREMIUM UPGRADE) */
.news-card.featured {
    grid-column: span 2;
    flex-direction: row;
    border: 2px solid rgba(177, 149, 64, 0.2);
    box-shadow: 0 8px 30px rgba(177, 149, 64, 0.08);
}

.news-card.featured:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(177, 149, 64, 0.15);
}

.news-card.featured .news-card-image {
    width: 50%;
    aspect-ratio: auto;
    min-height: 400px;
}

.news-card.featured .news-card-content {
    width: 50%;
    justify-content: center;
    padding: 50px 45px;
}

.news-card.featured .news-date {
    font-size: 12px;
    margin-bottom: 15px;
}

.news-card.featured .news-card-title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-card.featured .news-excerpt {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Standard Card Adjustments */
.news-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Softer border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    /* Soft ambient shadow */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Smoother hover shadow */
    border-color: rgba(177, 149, 64, 0.3);
}

/* News Card Image */
.news-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

/* News Card Content */
.news-card-content {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-family: 'Montserrat', sans-serif;
    /* Modern font for date */
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .news-card.featured {
        grid-column: span 2;
        flex-direction: column;
    }

    .news-card.featured .news-card-image {
        width: 100%;
        min-height: 300px;
        aspect-ratio: 16 / 9;
    }

    .news-card.featured .news-card-content {
        width: 100%;
        padding: 40px 35px;
    }

    .news-card.featured .news-card-title {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .news-hero h1 {
        font-size: 48px;
    }
}

.news-card-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s;
}

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

.news-excerpt {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.news-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 1px;
    background: transparent;
    cursor: pointer;
    align-self: flex-start;
}

.news-btn:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(177, 149, 64, 0.3);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-card-image {
        min-height: 250px;
    }

    .news-card.featured .news-card-content {
        padding: 30px 25px;
    }

    .news-card.featured .news-card-title {
        font-size: 22px;
    }

    .news-card.featured .news-excerpt {
        font-size: 15px;
    }

    .news-card-content {
        padding: 25px 20px;
    }

    .news-card-title {
        font-size: 18px;
    }

    .news-hero {
        min-height: 40vh;
        padding-top: 60px;
    }

    .news-hero h1 {
        font-size: 36px;
    }

    .news-hero p {
        font-size: 16px;
    }

    .news-section {
        padding: 60px 0;
    }
}

/* Header Transparency Helper */
.site-header.transparent-nav {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.site-header.transparent-nav.scrolled {
    background: #2a3547;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.skeleton {
    position: relative;
    background: #f0f0f0;
    overflow: hidden;
    border-radius: 4px;
    min-height: 100%;
}

/* GPU-accelerated shimmer animation */
.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 1.5s infinite;
    will-change: transform;
}

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(200%);
    }
}

.gallery-main {
    position: relative;
    background: #f8f8f8;
    overflow: hidden;
}

.gallery-main img {
    opacity: 0;
    transition: opacity 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-main img.loaded {
    opacity: 1;
}

.thumb.skeleton {
    border: none;
    cursor: default;
    background-color: #f0f0f0;
    min-height: 100px;
}

.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
}

.error-state i {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 20px;
    display: block;
}

.error-state p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.error-state .btn-primary {
    margin-top: 20px;
    display: inline-block;
}

.gallery-thumbs:empty {
    display: none;
}

/* =============================================
   NEWS DETAIL PAGE STYLES
   ============================================= */

/* 新闻详情文章容器 */
.news-detail-article {
    padding: 40px 0 80px;
    background: var(--white);
}

/* 文章头部 */
.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.article-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 42px;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--gray);
    font-size: 14px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary);
}

/* 文章正文 */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

.article-body h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 26px;
    color: var(--dark);
    margin: 40px 0 20px;
    line-height: 1.4;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 20px 30px;
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* 相关产品推荐 */
.related-products-section {
    margin-top: 60px;
    padding: 50px 30px;
    background: #fafafa;
    border-radius: 12px;
}

.related-products-section h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* 产品推荐 - 适配 news-detail.js 的 HTML 结构 */
.products-grid .product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.products-grid .product-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

.products-grid .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.products-grid .product-card-v2:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.products-grid .product-details {
    padding: 20px;
    text-align: center;
}

.products-grid .product-name {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 12px;
    /* 多行文字截断 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-grid .product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* 社交分享按钮 */
.social-share {
    margin-top: 50px;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    text-align: center;
}

.social-share h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn.weixin {
    background: #09bb07;
    color: white;
}

.share-btn.weibo {
    background: #e6162d;
    color: white;
}

.share-btn.link {
    background: var(--gray);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 相关文章 */
.related-news-section {
    margin-top: 60px;
}

.related-news-section h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

.related-news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.related-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.news-card-link {
    display: flex;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.news-card-image-small {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-card-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(177, 149, 64, 0.15);
    color: var(--primary);
    font-size: 12px;
    border-radius: 4px;
    width: fit-content;
}

.news-title-small {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    margin: 0;
}

.news-date-small {
    font-size: 13px;
    color: var(--gray);
}

/* 返回列表按钮 */
.back-to-list {
    margin-top: 50px;
    text-align: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--white);
    border: 2px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-title {
        font-size: 28px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-body {
        font-size: 15px;
    }

    .article-body h3 {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    .related-products-section {
        padding: 40px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-link {
        flex-direction: column;
    }

    .news-card-image-small {
        width: 100%;
        height: 200px;
    }
}