/*
Theme Name: PClab Theme
Theme URI: https://pclab.be
Author: PClab
Author URI: https://pclab.be
Description: Modern, professioneel WordPress theme voor PClab - IT ondersteuning en PC verkoop
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pclab
Tags: e-commerce, woocommerce, business, modern, responsive
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #333333;
    --accent-color: #00a8e8;
    --text-color: #333333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

/* Header Styles */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.site-header.sticky-header {
    position: sticky;
    top: 0;
    transition: box-shadow 0.3s;
}

.site-header.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    height: auto;
}

.site-logo .site-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-navigation a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--secondary-color);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -9999px;
    left: 0;
    z-index: 999999;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-toggle-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle-text {
    font-size: 0.75rem;
}

/* Entry Content Styles */
.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.page-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

.page-links a:hover {
    text-decoration: underline;
}

/* Service Features */
.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about-section {
    margin-top: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-item ul {
    list-style: none;
    padding-left: 0;
}

.about-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.about-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 8px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .cta-button {
    background: var(--white);
    color: var(--primary-color);
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .header-container {
        position: relative;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .main-navigation.active {
        max-height: 500px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 2rem;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 2rem 1rem;
    }
}

/* WooCommerce Overrides */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.woocommerce ul.products li.product {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
}

.woocommerce .product {
    margin-bottom: 2rem;
}

.woocommerce .product .product-images {
    margin-bottom: 2rem;
}

.woocommerce .product .summary {
    margin-bottom: 2rem;
}

.woocommerce .product .woocommerce-tabs {
    margin-top: 3rem;
}

.woocommerce .related.products,
.woocommerce .upsells.products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--secondary-color);
}

.woocommerce .price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--accent-color);
}

/* ===== New Features Styling ===== */

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-toggle,
.mini-cart-link {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-toggle:hover,
.mini-cart-link:hover {
    color: var(--primary-color);
}

.mini-cart-wrapper {
    position: relative;
}

.mini-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.mini-cart-style-text .mini-cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mini-cart-style-text .mini-cart-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.mini-cart-style-count .mini-cart-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.mini-cart-style-count .mini-cart-total {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Inline Search */
.header-search-inline {
    display: flex;
    align-items: center;
}

.header-search-inline .search-form {
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.header-search-inline input[type="search"] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-width: 200px;
}

.header-search-form {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.header-search-form .search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
}

.header-search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
    background: var(--light-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

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

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

.breadcrumb-current {
    color: var(--secondary-color);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #999;
}

/* Social Media Icons */
.social-media-icons {
    margin: 1rem 0;
}

.social-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    transition: background 0.3s, transform 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.header .social-links a {
    background: var(--light-bg);
    color: var(--text-color);
}

.header .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Blog Layouts */
.blog-posts {
    display: grid;
    gap: 2rem;
}

.blog-layout-list .post-card {
    display: flex;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-layout-list .post-thumbnail {
    flex: 0 0 300px;
}

.blog-layout-list .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.blog-layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.blog-layout-grid .post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-layout-grid .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.blog-layout-grid .post-thumbnail img {
    width: 100%;
    height: auto;
}

.blog-layout-grid .post-content {
    padding: 1.5rem;
}

.blog-layout-masonry {
    column-count: 3;
    column-gap: 2rem;
}

.blog-layout-masonry .post-card {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Post Card */
.post-card {
    margin-bottom: 2rem;
}

.post-thumbnail {
    margin-bottom: 1rem;
}

.post-thumbnail img {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

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

.post-excerpt {
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-color);
}

/* Archive Header */
.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
}

/* Related Posts */
.related-posts-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

.related-posts-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.related-post-thumbnail img {
    width: 100%;
    height: auto;
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.related-post-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.related-post-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Author Box */
.author-box {
    display: flex;
    gap: 2rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-name a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.author-name a:hover {
    color: var(--primary-color);
}

.author-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.author-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.author-link:hover {
    color: var(--accent-color);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.3s;
    z-index: 999;
}

.scroll-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Before Footer Widgets */
.before-footer-widgets {
    background: var(--light-bg);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.before-footer-widgets .widget {
    margin-bottom: 2rem;
}

/* Header Widget Area */
.header-widget-area {
    margin-left: auto;
    margin-right: 1rem;
}

/* Footer Social */
.footer-social {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: var(--white);
}

/* Responsive Updates */
@media (max-width: 768px) {
    .header-actions {
        gap: 0.5rem;
    }
    
    .blog-layout-list .post-card {
        flex-direction: column;
    }
    
    .blog-layout-list .post-thumbnail {
        flex: 1 1 100%;
    }
    
    .blog-layout-masonry {
        column-count: 1;
    }
    
    .blog-layout-grid {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
    
    .header-widget-area {
        display: none;
    }
}

/* ===== Advanced Features Styling ===== */

/* Dark Mode */
[data-theme="dark"] {
    --text-color: #e0e0e0;
    --secondary-color: #f0f0f0;
    --light-bg: #1a1a1a;
    --white: #2a2a2a;
    --border-color: #404040;
    background: #1a1a1a;
    color: var(--text-color);
}

[data-theme="dark"] .site-header {
    background: #2a2a2a;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .post-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .related-post-card {
    background: #2a2a2a;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .dark-mode-toggle .icon-sun {
    display: block;
}

[data-theme="dark"] .dark-mode-toggle .icon-moon {
    display: none;
}

[data-theme="light"] .dark-mode-toggle .icon-sun {
    display: none;
}

[data-theme="light"] .dark-mode-toggle .icon-moon {
    display: block;
}

.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.dark-mode-toggle:hover {
    color: var(--primary-color);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

/* Reading Time & Post Views */
.reading-time,
.post-views {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.reading-time svg,
.post-views svg {
    width: 16px;
    height: 16px;
}

/* Social Share Buttons */
.social-share-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 8px;
}

.share-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.share-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    color: var(--text-color);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.share-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.share-facebook:hover { background: #1877f2; color: #fff; }
.share-twitter:hover { background: #1da1f2; color: #fff; }
.share-linkedin:hover { background: #0077b5; color: #fff; }
.share-whatsapp:hover { background: #25d366; color: #fff; }

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.fade-in.animate-in {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Layout Options */
.site-layout-boxed {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.site-layout-boxed .site-header,
.site-layout-boxed .site-footer {
    max-width: 100%;
}

.blog-wrapper {
    display: grid;
    gap: 3rem;
}

.sidebar-left .blog-wrapper {
    grid-template-columns: 300px 1fr;
}

.sidebar-right .blog-wrapper {
    grid-template-columns: 1fr 300px;
}

.no-sidebar .blog-wrapper {
    grid-template-columns: 1fr;
}

.sidebar {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
}

.sidebar .widget {
    margin-bottom: 2rem;
}

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

.sidebar .widget-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.container-style-rounded .content-section,
.container-style-rounded .header-container {
    border-radius: 12px;
}

.container-style-shadow .content-section {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 2rem;
    border-radius: 8px;
}

/* Testimonials */
.testimonials-section {
    margin: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating .star {
    color: #ddd;
    font-size: 1.2rem;
}

.testimonial-rating .star.filled {
    color: #ffc107;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.testimonial-position {
    font-size: 0.9rem;
    color: #666;
}

/* 404 Error Page */
.error-404 {
    text-align: center;
    padding: 4rem 2rem;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.error-actions {
    margin: 3rem 0;
}

.error-actions .search-form {
    max-width: 400px;
    margin: 2rem auto 0;
    display: flex;
    gap: 0.5rem;
}

.error-actions input[type="search"] {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.error-suggestions {
    margin-top: 3rem;
    text-align: left;
}

.error-suggestions h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.suggested-pages {
    list-style: none;
    padding: 0;
}

.suggested-pages li {
    margin-bottom: 0.5rem;
}

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

.suggested-pages a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Updates for New Features */
@media (max-width: 768px) {
    .sidebar-left .content-section,
    .sidebar-right .content-section {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .error-title {
        font-size: 5rem;
    }
    
    .social-share-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .share-links {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Header/Footer Builder ===== */
.pclab-header-builder .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.pclab-header-top-bar,
.pclab-header-main,
.pclab-header-bottom-bar {
    padding: 1rem 0;
}

.pclab-header-top-bar {
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.pclab-header-bottom-bar {
    border-top: 1px solid var(--border-color);
}

.pclab-header-row-left,
.pclab-header-row-center,
.pclab-header-row-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pclab-header-row-center {
    flex: 1;
    justify-content: center;
}

.pclab-header-row-right {
    margin-left: auto;
}

.pclab-component {
    display: flex;
    align-items: center;
}

.pclab-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pclab-btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.pclab-btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.pclab-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pclab-btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer Builder */
.pclab-footer-builder .footer-content {
    display: grid;
    gap: 2rem;
}

.pclab-footer-widgets.footer-columns-1 .footer-content {
    grid-template-columns: 1fr;
}

.pclab-footer-widgets.footer-columns-2 .footer-content {
    grid-template-columns: repeat(2, 1fr);
}

.pclab-footer-widgets.footer-columns-3 .footer-content {
    grid-template-columns: repeat(3, 1fr);
}

.pclab-footer-widgets.footer-columns-4 .footer-content {
    grid-template-columns: repeat(4, 1fr);
}

.pclab-footer-widgets.footer-columns-5 .footer-content {
    grid-template-columns: repeat(5, 1fr);
}

.pclab-footer-widgets.footer-columns-6 .footer-content {
    grid-template-columns: repeat(6, 1fr);
}

.pclab-footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.pclab-footer-row-left,
.pclab-footer-row-center,
.pclab-footer-row-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.pclab-footer-row-center {
    flex: 1;
    justify-content: center;
}

.pclab-footer-row-right {
    margin-left: auto;
}

/* Mega Menu */
.mega-menu-item {
    position: relative;
}

.mega-menu-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 2rem;
    min-width: 600px;
    z-index: 999;
    display: none;
}

.mega-menu-item:hover .mega-menu-content {
    display: block;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
}

/* Sticky Add to Cart */
.pclab-sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    padding: 1rem 0;
}

.sticky-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.sticky-cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-cart-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.sticky-cart-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.sticky-cart-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.sticky-cart-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sticky-cart-actions .quantity {
    margin-right: 1rem;
}

/* Quick View Modal */
.pclab-quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
}

.quick-view-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    z-index: 10000;
}

.quick-view-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.quick-view-close:hover {
    background: var(--light-bg);
}

.quick-view-loader {
    text-align: center;
    padding: 3rem;
}

.quick-view-product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.quick-view-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.quick-view-summary h2 {
    margin-bottom: 1rem;
}

.quick-view-summary .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-view-summary .description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.view-full-product {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.pclab-quick-view-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.pclab-quick-view-btn:hover {
    background: var(--accent-color);
}

/* Enhanced Product Filters */
.pclab-product-filters {
    margin-bottom: 2rem;
}

.filter-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-sidebar {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

/* Responsive Builder */
@media (max-width: 768px) {
    .pclab-header-builder .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pclab-header-row-left,
    .pclab-header-row-center,
    .pclab-header-row-right {
        width: 100%;
        justify-content: center;
    }
    
    .pclab-footer-widgets.footer-columns-2 .footer-content,
    .pclab-footer-widgets.footer-columns-3 .footer-content,
    .pclab-footer-widgets.footer-columns-4 .footer-content,
    .pclab-footer-widgets.footer-columns-5 .footer-content,
    .pclab-footer-widgets.footer-columns-6 .footer-content {
        grid-template-columns: 1fr;
    }
    
    .pclab-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .pclab-footer-row-left,
    .pclab-footer-row-center,
    .pclab-footer-row-right {
        width: 100%;
        justify-content: center;
    }
    
    .mega-menu-content {
        min-width: 100%;
        left: 0;
        right: 0;
    }
    
    .mega-menu-columns {
        grid-template-columns: 1fr;
    }
    
    .sticky-cart-container {
        flex-direction: column;
        text-align: center;
    }
    
    .quick-view-product-content {
        grid-template-columns: 1fr;
    }
}

/* ===== Premium Features CSS ===== */

/* Product Comparison */
.pclab-product-comparison {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.comparison-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.comparison-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.comparison-toggle.has-items {
    animation: pulse 2s infinite;
}

.comparison-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.comparison-sidebar {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.comparison-header {
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.comparison-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.comparison-close:hover {
    background: rgba(255,255,255,0.2);
}

.comparison-content {
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.comparison-product-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-product-item:last-child {
    border-bottom: none;
}

.comparison-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.comparison-product-info {
    flex: 1;
}

.comparison-product-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.comparison-product-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.remove-from-comparison {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
}

.comparison-actions {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.comparison-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.comparison-clear {
    background: #f0f0f0;
    color: var(--text-color);
}

.comparison-compare {
    background: var(--primary-color);
    color: var(--white);
}

/* Sticky Product Image */
.pclab-sticky-product-image {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 200px;
}

.sticky-image-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.sticky-image-container img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.sticky-image-info h4 {
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.sticky-image-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* Trust Badges */
.pclab-trust-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.trust-badge svg {
    color: var(--primary-color);
}

/* Custom Hooks */
.pclab-custom-hook {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 8px;
}

/* Product Grid Layouts */
.products-minimal .product {
    border: none;
    box-shadow: none;
}

.products-minimal .product:hover {
    transform: none;
}

.products-modern .product {
    border-radius: 12px;
    overflow: hidden;
}

.products-modern .product img {
    transition: transform 0.5s;
}

.products-modern .product:hover img {
    transform: scale(1.1);
}

/* Mega Menu Advanced */
.mega-menu-widget-area {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.mega-menu-image {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

/* AJAX Filters Loading */
.woocommerce-products-header.loading,
.products.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.woocommerce-products-header.loading::after,
.products.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Premium Features */
@media (max-width: 768px) {
    .pclab-product-comparison {
        bottom: 10px;
        right: 10px;
    }
    
    .comparison-sidebar {
        width: calc(100% - 20px);
        right: 10px;
        bottom: 80px;
    }
    
    .pclab-sticky-product-image {
        right: 10px;
        max-width: 150px;
    }
    
    .pclab-trust-badges {
        flex-direction: column;
        gap: 1rem;
    }
}

