/* 
   Theme: Mobile Wholesale
   Style: Premium B2B (User Provided)
*/

:root {
    --primary: #172B4D;
    /* 顶奢深藏青（主色） */
    --accent: #9F7AEA;
    /* 香槟金/紫调金（点缀色） */
    --accent-light: #B794F4;
    --neutral-100: #F8FAFC;
    --neutral-200: #E2E8F0;
    --neutral-700: #334155;
    --neutral-900: #1A202C;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--neutral-900);
    background-color: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 通用工具类 */
.section-padding {
    padding: 10rem 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 标题样式（顶奢层级） */
.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-title h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 2px;
}

.section-title p {
    color: var(--neutral-700);
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 400;
}

/* 按钮样式（金属质感） */
.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    border: none;
    /* Override bootstrap */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary), #0F1C33);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--accent);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover::after {
    width: 100%;
}

/* 导航栏（玻璃拟态+固定） */
.navbar {
    padding: 1.5rem 0;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.navbar-brand {
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary) !important;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.navbar-brand span {
    color: var(--accent);
}

/* Optimized Navbar */
.navbar-nav {
    gap: 2rem;
    /* Ensure spacing between items */
    align-items: center;
}


.nav-link,
.navbar-nav li a {
    color: var(--neutral-900) !important;
    font-weight: 500;
    margin: 0;
    /* Reset margin, use gap */
    font-size: 0.95rem;
    /* Slight reduction for better fit */
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    text-decoration: none;
    /* Remove default underline */
    display: inline-block;
}

.nav-link::after,
.navbar-nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after,
.navbar-nav li a:hover::after,
.navbar-nav li.current-menu-item a::after {
    width: 100%;
}

/* Hero区域（视差+3D透视） */
.hero {
    padding: 12rem 0 8rem;
    /* Optimized padding */
    background: linear-gradient(180deg, var(--neutral-100) 0%, #F0F4F8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    /* Larger but more subtle */
    height: 120%;
    background: url('../img/hero-banner.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    /* Very subtle watermark */
    z-index: 0;
    transform: rotate(-5deg);
    /* Artistic tilt for B2B feel */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    /* Balanced size */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--neutral-900);
}

.hero h1 span {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--neutral-700);
    margin-bottom: 2.5rem;
    max-width: 650px;
    line-height: 1.8;
}

.hero-img {
    position: relative;
    z-index: 1;
    perspective: 1000px;
    text-align: center;
    /* Ensure alignment */
}

.hero-img img {
    border-radius: 24px;
    /* Softer corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    /* Cleaner shadow */
    transition: var(--transition);
    max-width: 100%;
    transform: rotateY(-5deg);
    /* Subtle 3D */
    background: #fff;
    /* Ensure white background looks intentional */
    padding: 10px;
    /* Frame effect */
}

.hero-img img:hover {
    transform: rotateY(0) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* 品牌分类（玻璃拟态+3D卡片） */
.brands {
    background-color: #fff;
    position: relative;
}

.brand-card {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    padding: 4rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 800px;
    height: 100%;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.brand-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: var(--shadow-xl);
}

.brand-card img,
.brand-card i,
.brand-card svg {
    height: 150px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    margin-bottom: 2.5rem;
    filter: grayscale(0.1);
    transition: var(--transition);
    transform: translateZ(10px);
    display: inline-block;
}

.brand-card i {
    font-size: 80px;
    /* Adjust font icon size */
    color: var(--neutral-900);
    line-height: 120px;
    /* Center vertically if needed */
}

.brand-card:hover img,
.brand-card:hover i,
.brand-card:hover svg {
    filter: grayscale(0);
    transform: scale(1.1) translateZ(20px);
}

.brand-card h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--neutral-900);
    transform: translateZ(8px);
}

.brand-card p {
    color: var(--neutral-700);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    transform: translateZ(5px);
}

/* 精选产品（哑光金属质感卡片） */
.products {
    background: linear-gradient(180deg, #fff 0%, var(--neutral-100) 100%);
    overflow: hidden;
    /* Ensure no horizontal scrollbar */
}

/* Swiper Styles */
/* Swiper Styles */
.product-carousel-v2 {
    padding: 20px 20px 60px 20px;
    /* Top/Right/Left + Bottom for pagination */
    overflow: hidden;
    /* Changed from visible to hidden to fix 'full width spillover' issue */
}

/* Fallback widths removed to allow Swiper JS to calculate width correctly */
.product-carousel-v2 .swiper-slide {
    height: auto;
}

.product-carousel-v2:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    transition: transform 0.4s ease;
}

.product-carousel-v2:not(.swiper-initialized) .swiper-slide {
    flex: 0 0 calc((100% - 60px) / 3);
}

@media (max-width: 992px) {
    .product-carousel-v2:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 30px) / 2);
    }
}

@media (max-width: 640px) {
    .product-carousel-v2:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 100%;
    }
}

.swiper-pagination-bullet-active {
    background-color: var(--accent);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent);
}

.swiper-button-next::after {
    content: '\f054';
    /* Chevron Right */
}

.swiper-button-prev::after {
    content: '\f053';
    /* Chevron Left */
}

.product-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    transform-style: preserve-3d;
    perspective: 800px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px) rotateY(3deg);
    box-shadow: var(--shadow-xl);
}

.product-img {
    padding: 1.5rem;
    background: #fff;
    /* White background */
    text-align: center;
    position: relative;
    /* Removed border and gradient */
}

/* Removed redundant ::after separator */

.product-img img {
    height: 250px;
    /* Adjusted size */
    object-fit: contain;
    transition: var(--transition);
    transform: translateZ(10px);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
    /* Gentle zoom */
}

.product-info {
    padding: 0 1.5rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h4 {
    font-weight: 800;
    /* Extra bold */
    margin-bottom: 0.5rem;
    font-size: 1rem;
    /* Smaller, clearer font */
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8rem;
    line-height: 1.4;
}

.btn-members {
    background-color: var(--accent);
    /* Purple theme color */
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    transition: var(--transition);
}

.btn-members:hover {
    background-color: var(--primary);
    /* Darker purple/blue on hover */
    color: #fff;
    transform: translateY(-2px);
}

/* 关于我们板块（顶奢风格） */
.about {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(159, 122, 234, 0.05), transparent 70%);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-img {
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.about-img img {
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    max-width: 100%;
}

.about-img img:hover {
    transform: translateY(-5px) scale(1.02);
}

.about-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--neutral-900);
}

.about-content p {
    font-size: 1.15rem;
    color: var(--neutral-700);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex: 1 1 250px;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1), #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.about-feature-icon i {
    font-size: 1.8rem;
    color: var(--accent);
}

.about-feature-text h4 {
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
}

.about-feature-text p {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--neutral-700);
}

/* 产品新闻/文章板块（顶奢风格） */
.news {
    background: linear-gradient(180deg, #fff 0%, var(--neutral-100) 100%);
}

.news-card {
    border: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-img img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.news-content {
    padding: 2.5rem;
}

.news-category {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-content h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--neutral-900);
    line-height: 1.4;
}

.news-content p {
    color: var(--neutral-700);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.news-read-more i {
    transition: var(--transition);
}

.news-card:hover .news-read-more {
    color: var(--accent);
}

.news-card:hover .news-read-more i {
    transform: translateX(5px);
}

.news-view-all {
    text-align: center;
    margin-top: 5rem;
}

/* 优势板块（金属质感图标） */
.advantages {
    background-color: #fff;
}

.advantage-card {
    text-align: center;
    padding: 4rem 2rem;
    transition: var(--transition);
    transform-style: preserve-3d;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.1), #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(159, 122, 234, 0.1);
    transform: translateZ(10px);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    box-shadow: 0 0 30px rgba(159, 122, 234, 0.3);
}

.advantage-icon i {
    font-size: 3rem;
    color: var(--accent);
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon i {
    transform: scale(1.1);
    color: #fff;
}

.advantage-card h3 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--neutral-900);
}

.advantage-card p {
    color: var(--neutral-700);
    line-height: 1.8;
    max-width: 300px;
    margin: 0 auto;
}

/* 客户评价（哑光质感卡片） */
.testimonials {
    background: linear-gradient(180deg, var(--neutral-100) 0%, #F0F4F8 100%);
    position: relative;
}

.testimonial-card {
    border: none;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: var(--shadow-md);
    padding: 4rem 3rem;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 2.5rem;
    left: 3rem;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-text {
    font-style: italic;
    color: var(--neutral-700);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--neutral-200);
    margin-right: 2rem;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-sm);
}

.author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--neutral-900);
    font-size: 1.2rem;
}

.author-info p {
    font-size: 1rem;
    color: var(--neutral-700);
    margin-bottom: 0;
}

/* 联系区域（顶奢渐变卡片） */
.contact {
    padding: 10rem 0;
}

.contact-card {
    border: none;
    border-radius: 24px;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, #2b3a66, #0f1c33);
    color: #fff;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(159, 122, 234, 0.2), transparent 60%);
    z-index: 1;
}

.contact-card>* {
    position: relative;
    z-index: 2;
}

.contact-card h2 {
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #fff;
}

.contact-card p {
    margin-bottom: 3rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.contact-card .btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.contact-card .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* 页脚（顶奢深色风格） */
footer {
    padding: 10rem 0 4rem;
    background-color: var(--neutral-900);
    color: #fff;
}

.footer-col h4 {
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer-col p {
    color: #A0AEC0;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.social-icons {
    margin-top: 2.5rem;
}

.social-icons a {
    color: #A0AEC0;
    font-size: 1.5rem;
    margin-right: 2rem;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(159, 122, 234, 0.2);
}

.copyright {
    text-align: center;
    padding-top: 5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #A0AEC0;
    font-size: 1rem;
}

/* Floating WhatsApp Contact */
.floating-contact {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.floating-contact-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 1.2rem;
    width: 260px;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.floating-contact-title {
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.8rem;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.floating-contact-link {
    display: block;
    text-decoration: none;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--neutral-200);
    margin-bottom: 0.8rem;
    transition: var(--transition);
    color: var(--neutral-900);
}

.floating-contact-link:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.floating-contact-link .label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.floating-contact-link .number {
    display: block;
    color: var(--neutral-700);
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

.floating-contact-btn {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
}

@media (max-width: 768px) {
    .floating-contact {
        right: 10px;
        bottom: 10px;
        top: auto;
        transform: none;
    }

    .floating-contact-card {
        width: 180px;
        padding: 0.8rem;
    }

    .floating-contact-title {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .floating-contact-link {
        padding: 0.55rem 0.6rem;
        margin-bottom: 0.6rem;
    }

    .floating-contact-link .label {
        font-size: 0.8rem;
    }

    .floating-contact-link .number {
        font-size: 0.75rem;
    }

    .floating-contact-btn {
        font-size: 0.8rem;
        padding: 0.6rem 0.7rem;
    }
}

@media (max-width: 420px) {
    .floating-contact-card {
        width: 160px;
    }
}

/* 响应式调整（保持高端质感） */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.8rem;
    }

    .section-title h2 {
        font-size: 2.8rem;
    }

    .about-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 12rem 0 8rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-img {
        margin-top: 4rem;
    }

    .section-padding {
        padding: 8rem 0;
    }

    .about-img {
        margin-top: 4rem;
    }

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title h2 {
        font-size: 2.4rem;
    }

    .contact-card {
        padding: 3rem 2rem;
    }

    .contact-card h2 {
        font-size: 2rem;
    }
}

/* =========================================
   New Layout: Right Sidebar + Glassmorphism
   ========================================= */

.main-content-wrapper {
    display: flex;
    gap: 3rem;
}

/* Product Area */
.products-area {
    width: 75%;
    /* Flex shrink handled by wrapper if needed, but width is safer */
    flex: 1;
}

/* Sidebar Area */
.filter-sidebar {
    width: 25%;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    height: fit-content;
}

.filter-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.filter-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.filter-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--neutral-900);
    margin: 0;
}

.filter-group {
    margin-bottom: 2.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    font-size: 1.1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    color: var(--neutral-700);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    display: block;
    text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Search Box */
.search-box {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    outline: none;
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-700);
    pointer-events: none;
}

/* Sorting */
.sort-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.5);
    padding: 1rem;
    border-radius: 8px;
}

.sort-label {
    margin-right: 1rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.sort-select,
.orderby {
    /* WC class */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    background: #fff;
    cursor: pointer;
}

/* Product Grid (Override existing) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 2rem;
}

/* New Product Card Style */
.product-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-light);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    z-index: 1;
    opacity: 0.8;
}

.product-image-container {
    padding: 1.5rem;
    /* Reduced padding from 2.5rem */
    text-align: center;
    background: linear-gradient(135deg, var(--neutral-100), #fff);
    position: relative;
    height: 250px;
    /* Fixed container height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-container img {
    height: auto;
    max-height: 220px;
    /* Increased max height */
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
    transform: translateZ(0);
    /* Fix flickering */
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 10px;
}

.product-title {
    font-weight: 700;
    font-size: 1.2rem;
    /* Adjusted for better fit */
    color: var(--neutral-900);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-stock {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    white-space: nowrap;
}

.product-grade {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: inline-block;
    background: rgba(159, 122, 234, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    align-self: flex-start;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    flex: 1;
}

.product-specs li {
    margin-bottom: 0.5rem;
    color: var(--neutral-700);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-specs li i {
    margin-right: 0.8rem;
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-min-qty {
    font-size: 0.85rem;
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 0.8rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.7rem 0;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-container {
    margin-top: 4rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin: 0;
}

.page-numbers {
    padding: 1rem 1.5rem;
    background: #fff;
    border: none;
    color: var(--neutral-700);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.page-numbers:hover {
    background: var(--neutral-100);
    color: var(--accent);
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .main-content-wrapper {
        flex-direction: column-reverse;
        /* Put sidebar at bottom on mobile? Or Top? User design said Sidebar Right on Desktop. Stack on mobile */
    }

    .products-area,
    .filter-sidebar {
        width: 100%;
    }

    .filter-sidebar {
        margin-bottom: 3rem;
    }
}

/* =========================================
   SINGLE PRODUCT PAGE STYLES (NEW)
   ========================================= */

/* Use specific ID/Class scope where possible to avoid breaking other pages */

/* Core Variables Extension */
:root {
    --white-transparent: rgba(255, 255, 255, 0.7);
    --accent-shadow: 0 0 16px rgba(159, 122, 234, 0.4);
    --transition-smooth: all 0.4s ease-in-out;
    --transition-fast: all 0.2s ease;
    --sub-section-gap: 4rem;
    --card-padding: 2.5rem;
}

/* Typography Overrides for Product Page */
.single-product h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    /* 56px */
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--neutral-900);
}

.single-product h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    /* 40px */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: #fff;
}

.single-product h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-dark));
    border-radius: 3px;
}

.single-product h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    /* 28px */
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--neutral-900);
}

/* Glass Card */
.glass-card {
    background: var(--white-transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(230, 230, 240, 0.5);
    border-radius: 16px;
    padding: var(--card-padding);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.glass-card:hover {
    transform: rotateY(5deg) translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* Tag */
.tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

/* Icon Wrapper */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent) 70%, var(--accent-dark) 100%);
    color: white;
    margin-right: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.icon-wrapper:hover {
    transform: scale(1.1);
    box-shadow: var(--accent-shadow);
    color: white;
}

/* Hero Section (Parallax) */
.product-hero {
    min-height: 80vh;
    /* Adjusted from 100vh to fit with header */
    display: flex;
    align-items: center;
    position: relative;
    /* margin-top: -80px; padding-top: 80px;  - Managed by theme main padding usually */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    transform: translateY(0);
    transition: transform 0.5s ease-out;
    background-image: url('https://picsum.photos/id/1/1920/1080');
    /* Default fallback */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sub-section-gap);
    margin-top: 4rem;
}

.main-image {
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    box-shadow: var(--shadow-md);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.main-image:hover img {
    transform: scale(1.05) rotateY(3deg);
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.thumbnail {
    border-radius: 16px;
    overflow: hidden;
    height: 100px;
    /* Adjusted */
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    perspective: 800px;
    transform-style: preserve-3d;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    transform: rotateY(5deg) translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.thumbnail.active {
    border: 2px solid var(--accent);
}

/* Specs Grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.spec-label {
    font-weight: 500;
    color: var(--neutral-700);
}

.spec-value {
    font-weight: 600;
    color: var(--primary);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    text-align: center;
    transform: rotateX(3deg);
}

.pricing-card:hover {
    transform: rotateX(5deg) translateY(-8px) scale(1.02);
}

.pricing-tier {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-700);
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-top: 1rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--neutral-100);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.2;
}

.review-content {
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.reviewer {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.reviewer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 700;
}

.reviewer-info p {
    font-size: 0.9rem;
    color: var(--neutral-700);
    margin-bottom: 0;
}

/* Contact Card (Details Page Specific) */
.product-contact-card {
    border-radius: 24px;
    background: radial-gradient(circle at top left, var(--primary) 0%, #2A3F68 100%);
    color: white;
    padding: 4rem;
    text-align: center;
    margin-top: 4rem;
}

.product-contact-card h2 {
    color: white;
    margin-bottom: 2rem;
}

.product-contact-card h2::after {
    background: linear-gradient(to right, white, var(--accent));
}


.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item .icon-wrapper {
    background: radial-gradient(circle, white 70%, var(--neutral-200) 100%);
    color: var(--accent);
}

.contact-details h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--neutral-200);
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .gallery-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .specs-grid,
    .reviews-grid,
    .contact-info,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .single-product h1 {
        padding-top: 20px;
        font-size: 2.2rem;
    }
}

/* =========================================
   Product Detail Layout (Single Product)
   ========================================= */

.single-product .section-padding {
    padding-top: 7rem;
}

.single-product .container {
    max-width: 1440px;
}

.single-product .breadcrumb a {
    color: var(--neutral-700);
    text-decoration: none;
}

.single-product .breadcrumb .active {
    color: var(--accent);
}

.single-product .product-detail-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 8rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.single-product .product-detail-wrapper {
    padding: 4rem;
}

.single-product .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.single-product .product-gallery-thumbs {
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.single-product .product-gallery-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: #fff;
    padding: 1rem;
}

.single-product .product-gallery-thumb.active,
.single-product .product-gallery-thumb:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.single-product .product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.single-product .product-gallery-main {
    order: 1;
    flex-grow: 1;
    border-radius: 16px;
    background: #fff;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.single-product .product-gallery-main img {
    max-height: 500px;
    object-fit: contain;
    transition: var(--transition);
}

.single-product .product-gallery-main:hover img {
    transform: scale(1.05);
}

.single-product .product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.single-product .product-detail-title {
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.single-product .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--neutral-200);
}

.single-product .product-meta-item {
    display: flex;
    align-items: center;
    color: var(--neutral-700);
}

.single-product .product-meta-item i {
    color: var(--accent);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.single-product .product-price-container {
    margin-bottom: 3rem;
}

.single-product .product-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.single-product .product-price small {
    font-size: 1.1rem;
    color: var(--neutral-700);
    font-weight: 500;
}

.single-product .product-price-note {
    color: var(--neutral-700);
    margin-bottom: 0;
}

.single-product .variations_form {
    margin-bottom: 2.5rem;
}

.single-product .variations {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.single-product .variations {
    width: 100%;
    margin-bottom: 1.5rem;
}

.single-product .variations th,
.single-product .variations td {
    padding: 0 0 1.5rem 0;
    border: none;
    vertical-align: top;
}

.single-product .variations .label label {
    font-weight: 600;
    color: var(--neutral-900);
    letter-spacing: 0.3px;
    text-transform: none;
    font-size: 1rem;
}

.single-product .variations .value {
    padding-left: 0;
}

.single-product .variations select {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(23, 43, 77, 0.12);
    background: #fff;
    font-weight: 500;
}

.single-product .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.single-product .variable-item {
    border: 1px solid rgba(23, 43, 77, 0.2);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    background: #fff;
    min-width: 72px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.single-product .variable-item.button,
.single-product .variable-item.radio {
    font-weight: 600;
    color: var(--neutral-900);
}

.single-product .variable-item.selected,
.single-product .variable-item:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 14px rgba(159, 122, 234, 0.2);
    transform: translateY(-2px);
}

.single-product .variable-item .variable-item-span {
    font-weight: 600;
}

.single-product .variable-item-color {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 0;
    position: relative;
}

.single-product .variable-item-color .variable-item-span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.single-product .variable-item-color.selected::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.single-product .mw-variation-swatches {
    margin-bottom: 2.5rem;
}

.single-product .mw-variation-group {
    margin-bottom: 1.8rem;
}

.single-product .mw-variation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--neutral-900);
}

.single-product .mw-variation-selected {
    color: var(--neutral-700);
}

.single-product .mw-variation-selected.has-value {
    color: var(--primary);
    font-weight: 600;
}

.single-product .mw-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.single-product .mw-variation-option {
    border: 1px solid rgba(23, 43, 77, 0.2);
    border-radius: 6px;
    padding: 0.45rem 0.9rem;
    background: #fff;
    min-width: 72px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.single-product .mw-variation-option.is-color {
    border-radius: 999px;
    padding: 0.2rem;
    min-width: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-product .mw-variation-color {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.single-product .mw-variation-option.is-button .mw-variation-text {
    font-weight: 600;
    color: var(--neutral-900);
}

.single-product .mw-variation-option.selected,
.single-product .mw-variation-option:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 14px rgba(159, 122, 234, 0.2);
    transform: translateY(-2px);
}

.single-product .mw-variation-option.is-button.selected,
.single-product .mw-variation-option.is-button:hover {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
}

.single-product .mw-variation-option.is-button.selected .mw-variation-text,
.single-product .mw-variation-option.is-button:hover .mw-variation-text {
    color: #fff;
}

.single-product .mw-variation-option.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.single-product .variable-item.button.selected,
.single-product .variable-item.button:hover,
.single-product .variable-item.radio.selected,
.single-product .variable-item.radio:hover {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
}

.single-product .reset_variations {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--neutral-700);
    font-weight: 500;
    text-decoration: none;
}

.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation .price {
    display: none;
}

.single-product .variations_form .single_add_to_cart_button,
.single-product .variations_form .quantity,
.single-product .woocommerce-variation-add-to-cart {
    display: none;
}

@media (max-width: 768px) {
    .single-product .product-tabs-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .single-product .product-tab-btn {
        width: 100%;
        text-align: left;
    }

    .single-product .product-detail-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .single-product .variations th,
    .single-product .variations td {
        display: block;
        width: 100%;
    }

    .single-product .variations .label {
        margin-bottom: 0.6rem;
    }

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

@media (max-width: 1024px) {
    .single-product .related-products-grid {
        grid-template-columns: 1fr;
    }
}

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

/* =========================================
   About Page
   ========================================= */

.about-page .section-title {
    margin-bottom: 5rem;
}

.about-page .section-title h2 {
    font-size: 3rem;
}

.about-page .section-title p {
    font-size: 1.1rem;
}

.about-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
    margin-bottom: 4.5rem;
}

.about-page-hero-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.about-page-hero-main,
.about-page-hero-stack img {
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.7);
    background: #fff;
}

.about-page-hero-main {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.about-page-hero-main img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 18px;
    object-fit: cover;
}

.about-page-hero-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.about-page-hero-stack img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.about-page-hero-copy {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow: var(--shadow-lg);
}

.about-page-hero-copy h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.about-page-hero-copy p {
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-page-hero-copy ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.about-page-hero-copy li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--neutral-700);
    font-weight: 600;
}

.about-page-hero-copy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.about-page-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.about-page-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-lg);
}

.about-page-card--full {
    grid-column: 1 / -1;
}

.about-page-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.about-page-card p {
    color: var(--neutral-700);
    font-size: 1.05rem;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .about-page-hero {
        grid-template-columns: 1fr;
    }

    .about-page-hero-copy {
        padding: 2rem;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-page .section-title h2 {
        font-size: 2.2rem;
    }

    .about-page-hero {
        gap: 2rem;
    }

    .about-page-hero-stack {
        grid-template-columns: 1fr;
    }

    .about-page-card {
        padding: 2rem;
    }
}

/* =========================================
   Contact Page
   ========================================= */

.contact-page .section-title h2 {
    font-size: 3rem;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: start;
}

.contact-page-card,
.contact-page-panel-inner {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 18px;
    padding: 2.5rem;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-lg);
}

.contact-page-card + .contact-page-card {
    margin-top: 2rem;
}

.contact-page-card h3,
.contact-page-panel-inner h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.contact-page-card p,
.contact-page-panel-inner p {
    color: var(--neutral-700);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.contact-page-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: var(--neutral-700);
    font-weight: 600;
}

.contact-page-list .icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(159, 122, 234, 0.12);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.contact-page-panel {
    position: sticky;
    top: 8rem;
}

.contact-page-panel-inner {
    background: linear-gradient(135deg, rgba(23, 43, 77, 0.06), rgba(159, 122, 234, 0.08));
}

.contact-page-note {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: var(--neutral-700);
}

@media (max-width: 992px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-panel {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-page .section-title h2 {
        font-size: 2.2rem;
    }

    .contact-page-card,
    .contact-page-panel-inner {
        padding: 2rem;
    }
}

/* =========================================
   404 Page
   ========================================= */

.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.not-found-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.not-found-code {
    font-size: 6rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.not-found-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 1rem;
}

.not-found-text {
    color: var(--neutral-700);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.not-found-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .not-found-card {
        padding: 2.5rem;
    }

    .not-found-code {
        font-size: 4.5rem;
    }

    .not-found-title {
        font-size: 2rem;
    }
}

/* =========================================
   Articles Page
   ========================================= */

.articles-page .page-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.articles-page .page-title h1 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--neutral-900);
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.articles-page .page-title h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 2px;
}

.articles-page .page-title p {
    color: var(--neutral-700);
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.articles-page .filter-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 6rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.5);
}

.articles-page .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.articles-page .filter-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--neutral-900);
}

.articles-page .search-box {
    position: relative;
    flex-grow: 1;
    max-width: 500px;
}

.articles-page .search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 4rem;
    border-radius: 8px;
    border: 1px solid var(--neutral-200);
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.articles-page .search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(159, 122, 234, 0.1);
    outline: none;
}

.articles-page .search-box i {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-700);
    font-size: 1.2rem;
}

.articles-page .filter-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.articles-page .filter-group {
    flex: 1;
    min-width: 200px;
}

.articles-page .filter-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    font-size: 1.1rem;
}

.articles-page .filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.articles-page .filter-btn {
    padding: 0.7rem 1.8rem;
    border-radius: 8px;
    background: var(--neutral-100);
    border: 1px solid var(--neutral-200);
    color: var(--neutral-700);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.articles-page .filter-btn:hover,
.articles-page .filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.articles-page .featured-article {
    margin-bottom: 8rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.articles-page .featured-article-image {
    height: 100%;
    min-height: 420px;
}

.articles-page .featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.articles-page .featured-article-content {
    padding: 4rem;
}

.articles-page .featured-article-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.articles-page .featured-article-category a {
    color: #fff;
    text-decoration: none;
}

.articles-page .featured-article-title {
    font-weight: 800;
    font-size: 2.3rem;
    color: var(--neutral-900);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.articles-page .featured-article-excerpt {
    color: var(--neutral-700);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.articles-page .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.articles-page .article-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.articles-page .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    z-index: 1;
}

.articles-page .article-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.articles-page .article-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #6f5bd6, #2b3a66);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
}

.articles-page .article-category a {
    color: #fff;
    text-decoration: none;
}

.articles-page .article-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.articles-page .article-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.articles-page .article-card:hover .article-image-container img {
    transform: scale(1.08);
}

.articles-page .article-info {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.articles-page .article-meta {
    display: flex;
    align-items: center;
    color: var(--neutral-700);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.articles-page .article-date i,
.articles-page .article-author i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.articles-page .article-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--neutral-900);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.articles-page .article-title a {
    color: inherit;
    text-decoration: none;
}

.articles-page .article-card:hover .article-title {
    color: var(--accent);
}

.articles-page .article-excerpt {
    color: var(--neutral-700);
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.8;
}

.articles-page .article-read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.articles-page .article-read-more i {
    margin-left: 0.8rem;
    transition: var(--transition);
}

.articles-page .article-card:hover .article-read-more {
    color: var(--accent);
}

.articles-page .article-card:hover .article-read-more i {
    transform: translateX(5px);
}

.articles-page .pagination-container .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    margin: 0;
    background: #fff;
}

.articles-page .pagination-container {
    text-align: center;
    margin-top: 5rem;
}

.articles-page .page-numbers li {
    margin: 0;
}

.articles-page .page-numbers a,
.articles-page .page-numbers span {
    padding: 0.85rem 1.25rem;
    background: #fff;
    border: none;
    color: var(--neutral-900);
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    text-decoration: none;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-left: 1px solid var(--neutral-200);
}

.articles-page .page-numbers li:first-child a,
.articles-page .page-numbers li:first-child span {
    border-left: none;
}

.articles-page .page-numbers .current {
    background: linear-gradient(135deg, #7b67f5, #4236a8);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.articles-page .page-numbers a:hover {
    background: var(--neutral-100);
    color: var(--neutral-900);
}

.articles-page .page-numbers .dots {
    background: transparent;
    color: var(--neutral-400);
}

@media (max-width: 992px) {
    .articles-page .featured-article {
        grid-template-columns: 1fr;
    }

    .articles-page .featured-article-image {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .articles-page .page-title {
        margin-bottom: 4rem;
    }

    .articles-page .page-title h1 {
        font-size: 2.2rem;
    }

    .articles-page .filter-container {
        padding: 2rem;
        margin-bottom: 4rem;
    }

    .articles-page .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .articles-page .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-page .article-info {
        padding: 1.8rem;
    }

    .articles-page .featured-article-content {
        padding: 2.5rem;
    }

    .articles-page .featured-article-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .articles-page .page-title h1 {
        font-size: 2rem;
    }

    .articles-page .article-image-container {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .products-area .product-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   Article Single Page
   ========================================= */

.article-single {
    padding-top: 6rem;
}

.article-header {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.article-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.article-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(23, 43, 77, 0.4) 0%, rgba(23, 43, 77, 0.85) 100%);
    z-index: -1;
}

.article-header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.article-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.article-category-badge a {
    color: #fff;
    text-decoration: none;
}

.article-header h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-meta-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 1rem;
    margin-top: 2rem;
    font-weight: 500;
}

.article-meta-header div {
    display: flex;
    align-items: center;
}

.article-meta-header i {
    margin-right: 0.7rem;
    color: var(--accent-light);
}

.article-content {
    background-color: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 6rem;
    margin-top: -8rem;
    position: relative;
    z-index: 10;
}

.reading-nav-container {
    background-color: var(--neutral-100);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.reading-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reading-nav-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0;
    display: flex;
    align-items: center;
}

.reading-nav-header h3 i {
    color: var(--accent);
    margin-right: 0.8rem;
    font-size: 1.1em;
}

.reading-nav-toggle {
    background: none;
    border: none;
    color: var(--neutral-700);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.reading-nav-toggle:hover {
    color: var(--accent);
}

#reading-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

#reading-nav-list li a {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

#reading-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

#reading-nav-list li a:hover,
#reading-nav-list li a.active {
    color: var(--accent);
}

#reading-nav-list li a.active::after {
    width: 100%;
}

.article-body {
    color: var(--neutral-700);
    font-size: 1.1rem;
    line-height: 1.9;
}

.article-body h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin: 4rem 0 2rem;
    position: relative;
    padding-left: 1.5rem;
    scroll-margin-top: 150px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    height: 2rem;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-light), var(--accent));
    border-radius: 2px;
}

.article-body h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 3rem 0 1.5rem;
}

.article-body p {
    margin-bottom: 1.8rem;
}

.article-body strong {
    color: var(--neutral-900);
    font-weight: 600;
}

.article-body ul,
.article-body ol {
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.article-body li {
    margin-bottom: 1rem;
}

.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.5rem 2rem;
    background-color: var(--neutral-100);
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--neutral-700);
    border-radius: 0 8px 8px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.article-tags span {
    font-weight: 600;
    color: var(--neutral-700);
    margin-right: 0.5rem;
}

.article-tags .tag {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
}

.article-tags .tag:hover {
    background-color: var(--accent);
    color: #fff;
}

.author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
    padding: 2.5rem;
    background-color: var(--neutral-100);
    border-radius: 16px;
}

.author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
}

.author-info h4 {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.author-title {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-bio p {
    color: var(--neutral-700);
    font-size: 1rem;
    line-height: 1.7;
}

.author-social-links a {
    color: var(--neutral-700);
    font-size: 1.2rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.author-social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.article-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.article-post-nav-item a {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--neutral-900);
    font-weight: 600;
    position: relative;
}

.article-post-nav-item .nav-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--neutral-700);
}

.article-post-nav-item .nav-title {
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
}

.article-post-nav-item .nav-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.article-post-nav-item a:hover .nav-title::after {
    width: 100%;
}

@media (max-width: 768px) {
    .article-post-nav {
        flex-direction: column;
    }
}

.related-articles-section {
    margin-top: 10rem;
}

.related-articles-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--neutral-900);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.related-articles-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.related-articles-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.related-articles-section .article-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.related-articles-section .article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    z-index: 1;
}

.related-articles-section .article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.related-articles-section .article-category {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #6f5bd6, #2b3a66);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
}

.related-articles-section .article-category a {
    color: #fff;
    text-decoration: none;
}

.related-articles-section .article-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.related-articles-section .article-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.related-articles-section .article-card:hover .article-image-container img {
    transform: scale(1.06);
}

.related-articles-section .article-info {
    padding: 2.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-articles-section .article-meta {
    display: flex;
    align-items: center;
    color: var(--neutral-700);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    gap: 1.2rem;
}

.related-articles-section .article-date i,
.related-articles-section .article-author i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.related-articles-section .article-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--neutral-900);
    line-height: 1.3;
    margin-bottom: 1.2rem;
    transition: var(--transition);
}

.related-articles-section .article-title a {
    color: inherit;
    text-decoration: none;
}

.related-articles-section .article-card:hover .article-title {
    color: var(--accent);
}

.related-articles-section .article-excerpt {
    color: var(--neutral-700);
    margin-bottom: 1.6rem;
    flex-grow: 1;
    line-height: 1.7;
}

.related-articles-section .article-read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.related-articles-section .article-read-more i {
    margin-left: 0.6rem;
    transition: var(--transition);
}

.related-articles-section .article-card:hover .article-read-more {
    color: var(--accent);
}

.related-articles-section .article-card:hover .article-read-more i {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .article-header h1 {
        font-size: 3rem;
    }

    .article-content {
        padding: 4rem;
    }
}

@media (max-width: 992px) {
    .article-header {
        height: 60vh;
    }

    .article-meta-header {
        flex-direction: column;
        gap: 1rem;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .article-header {
        height: 50vh;
        min-height: 400px;
    }

    .article-header h1 {
        font-size: 2.1rem;
    }

    .article-content {
        padding: 3rem 2rem;
        margin-top: -6rem;
    }

    .article-body h2 {
        font-size: 1.7rem;
    }

    .article-body h3 {
        font-size: 1.4rem;
    }

    .related-articles-section {
        margin-top: 6rem;
    }

    .reading-nav {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .reading-nav.expanded {
        max-height: 500px;
    }

    #reading-nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .article-header {
        height: auto;
        min-height: auto;
        padding: 12rem 0 8rem;
    }

    .article-content {
        padding: 2rem 1.5rem;
        margin-top: -5rem;
        border-radius: 16px;
    }

    .article-body {
        font-size: 1rem;
    }
}

.single-product .product-stock {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 3rem;
}

.single-product .product-stock.in-stock {
    color: #1f7a3a;
    background: transparent;
}

.single-product .product-stock.out-of-stock {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.single-product .product-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.single-product .product-actions .btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    font-size: 1.1rem;
}

.single-product .product-actions .btn-outline {
    padding: calc(1rem - 2px);
}

.single-product .product-description {
    margin-bottom: 4rem;
    color: var(--neutral-700);
    line-height: 1.8;
    font-size: 1.1rem;
}

.single-product .product-specs-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--neutral-900);
}

.single-product .product-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.single-product .spec-group {
    background: rgba(248, 250, 252, 0.8);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--neutral-200);
}

.single-product .spec-group-title {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.single-product .spec-group-title i {
    margin-right: 0.8rem;
}

.single-product .spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-product .spec-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.single-product .spec-list li:last-child {
    border-bottom: none;
}

.single-product .spec-label {
    color: var(--neutral-700);
}

.single-product .spec-value {
    font-weight: 600;
}

.single-product .pricing-table {
    margin-bottom: 6rem;
}

.single-product .pricing-table h3 {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--neutral-900);
}

.single-product .pricing-table .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.single-product .pricing-table .table th,
.single-product .pricing-table .table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
}

.single-product .pricing-table .table th {
    background: var(--neutral-100);
    font-weight: 600;
    color: var(--neutral-900);
}

.single-product .pricing-table .table tr:last-child td {
    border-bottom: none;
}

.single-product .pricing-table .table tr:hover {
    background: rgba(159, 122, 234, 0.05);
}

.single-product .product-tabs {
    margin-bottom: 4rem;
}

.single-product .product-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.single-product .product-tab-btn {
    border: none;
    padding: 0.6rem 0;
    background: transparent;
    color: var(--neutral-700);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition);
}

.single-product .product-tab-btn.active,
.single-product .product-tab-btn:hover {
    color: var(--primary);
}

.single-product .product-tab-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.single-product .product-tab-btn.active::after,
.single-product .product-tab-btn:hover::after {
    width: 100%;
}

.single-product .product-tab-panel {
    display: none;
}

.single-product .product-tab-panel.active {
    display: block;
}

.single-product .product-tab-panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0 2.5rem;
}

.single-product .product-tab-panel th,
.single-product .product-tab-panel td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--neutral-200);
    vertical-align: top;
}

.single-product .product-tab-panel th {
    background: var(--neutral-100);
    font-weight: 600;
    color: var(--neutral-900);
    white-space: nowrap;
}

.single-product .product-tab-panel tr:last-child th,
.single-product .product-tab-panel tr:last-child td {
    border-bottom: none;
}

.single-product .product-tab-panel tr:hover {
    background: rgba(159, 122, 234, 0.04);
}

@media (max-width: 768px) {
    .single-product .product-tab-panel table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.single-product .related-products {
    margin-top: 10rem;
    text-align: left;
}

.single-product .related-products-title {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 2.8rem;
    text-align: left;
    position: relative;
    display: inline-block;
    left: 0;
    transform: none;
    color: #111827;
}

.single-product .related-products-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    transform: none;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    border-radius: 2px;
}

.single-product .related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: none;
    margin: 0;
    justify-content: center;
}

@media (max-width: 1024px) {
    .single-product .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-product .related-products-grid {
        grid-template-columns: 1fr;
    }
}

.single-product .related-products .product-card {
    text-align: left;
}

.single-product .related-products .product-image-container {
    height: 280px;
    padding: 2rem;
}

.single-product .related-products .product-image-container img {
    max-height: 240px;
}

.single-product .related-products .product-info {
    padding: 1.4rem 1.8rem 1.8rem;
}

.single-product .related-products .product-title {
    font-size: 1.25rem;
    line-height: 1.2;
    -webkit-line-clamp: 3;
}

.single-product .related-products .product-title a {
    font-size: inherit;
}

.single-product .related-products .product-specs {
    margin-bottom: 0.8rem;
}

.single-product .related-products .product-min-qty {
    margin-bottom: 0.9rem;
}

.single-product .product-stock-small {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    align-self: flex-start;
}

.single-product .product-specs-small {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.single-product .product-specs-small li {
    margin-bottom: 0.8rem;
    color: var(--neutral-700);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.single-product .product-specs-small li i {
    margin-right: 0.8rem;
    color: var(--accent);
    width: 1.2rem;
}

.single-product .product-price-small {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.single-product .product-actions-small {
    display: flex;
    gap: 1rem;
}

.single-product .product-actions-small .btn {
    flex: 1;
    padding: 0.8rem 0;
    text-align: center;
}

.single-product .contact-card-container {
    margin-top: 8rem;
}

@media (max-width: 1200px) {
    .single-product .product-detail-title {
        font-size: 2rem;
    }

    .single-product .product-price {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .single-product .product-gallery-thumbs {
        overflow-x: auto;
        padding-bottom: 1rem;
        flex-wrap: nowrap;
    }

    .single-product .product-gallery-thumb {
        flex-shrink: 0;
    }

    .single-product .product-detail-wrapper {
        padding: 3rem;
    }

    .single-product .product-specs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .single-product .section-padding {
        padding: 6rem 0;
    }

    .single-product .product-detail-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .single-product .product-price {
        font-size: 2.2rem;
    }

    .single-product .related-products-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .single-product .product-detail-wrapper {
        padding: 2rem 1.5rem;
    }

    .single-product .product-gallery-main {
        padding: 1.5rem;
    }

    .single-product .product-gallery-main img {
        max-height: 300px;
    }

    .single-product .product-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .single-product .product-meta {
        gap: 1.5rem;
    }

    .single-product .pricing-table .table th,
    .single-product .pricing-table .table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}
