/**
 * Themeson Theme - Main Stylesheet
 * 
 * @package Themeson_Theme
 * @version 1.0.0
 */

/* ============================================
   1. CSS Custom Properties
   ============================================ */
:root {
    --ts-primary: #1ABC9C;
    --ts-primary-hover: #16A085;
    --ts-primary-light: #e8f8f5;
    --ts-primary-rgb: 26, 188, 156;
    --ts-dark: #1a1a2e;
    --ts-dark-slate: #16213e;
    --ts-text: #2c3e50;
    --ts-text-secondary: #6c757d;
    --ts-text-light: #95a5a6;
    --ts-bg-light: #f8f9fa;
    --ts-bg-white: #ffffff;
    --ts-border: #e9ecef;
    --ts-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --ts-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --ts-radius: 12px;
    --ts-radius-sm: 8px;
    --ts-radius-lg: 16px;
    --ts-transition: all 0.3s ease;
}

/* ============================================
   2. Typography
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ts-text);
    background: var(--ts-bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--ts-dark);
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

a {
    color: var(--ts-primary);
    text-decoration: none;
    transition: var(--ts-transition);
}

a:hover {
    color: var(--ts-primary-hover);
}

.section-subtitle {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--ts-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ts-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.05rem;
    color: var(--ts-text-secondary);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* ============================================
   3. Buttons
   ============================================ */
.btn-primary {
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ts-radius-sm);
    transition: var(--ts-transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--ts-primary-hover) !important;
    border-color: var(--ts-primary-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--ts-primary-rgb), 0.35);
}

.btn-outline-primary {
    color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ts-radius-sm);
    transition: var(--ts-transition);
}

.btn-outline-primary:hover {
    background-color: var(--ts-primary) !important;
    border-color: var(--ts-primary) !important;
    color: #fff !important;
}

.btn-outline-light {
    border-radius: var(--ts-radius-sm);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    border-radius: var(--ts-radius);
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   4. Navbar
   ============================================ */
.site-header .navbar {
    padding: 0.75rem 0;
    transition: var(--ts-transition);
    background-color: var(--ts-dark) !important;
}

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

.site-header .navbar-brand img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.site-header .navbar-brand .custom-logo {
    height: 36px;
    width: auto;
}

.site-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    transition: var(--ts-transition);
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
    color: var(--ts-primary) !important;
}

/* Mega Menu */
.dropdown-mega .dropdown-menu-mega {
    min-width: 600px;
    padding: 1.5rem;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    box-shadow: var(--ts-shadow-lg);
    background: #fff;
}

.dropdown-mega .mega-menu-row {
    display: flex;
    gap: 2rem;
}

.dropdown-mega .mega-menu-column {
    flex: 1;
    min-width: 0;
}

.dropdown-mega .mega-menu-column h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--ts-text-light);
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ts-primary-light);
}

.dropdown-mega .mega-menu-column a {
    display: block;
    padding: 0.4rem 0;
    color: var(--ts-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--ts-transition);
}

.dropdown-mega .mega-menu-column a:hover {
    color: var(--ts-primary);
    padding-left: 0.5rem;
}

.dropdown-mega .mega-menu-column a .badge {
    font-size: 0.65rem;
    vertical-align: middle;
    margin-left: 0.25rem;
}

/* Mobile menu */
@media (max-width: 991.98px) {
    .dropdown-mega .dropdown-menu-mega {
        min-width: auto;
        padding: 1rem;
    }
    .dropdown-mega .mega-menu-row {
        flex-direction: column;
        gap: 1rem;
    }
    .site-header .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

/* ============================================
   5. Discount Banner
   ============================================ */
.discount-banner {
    padding: 0.5rem 0;
    background: var(--ts-primary-light);
}

.discount-banner .alert {
    background: transparent;
    border: none;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: var(--ts-text);
}

.discount-banner .alert .badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
}

/* ============================================
   6. Hero Section
   ============================================ */
.hero-section {
    background-color: var(--ts-primary-light);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--ts-dark);
    margin-bottom: 1.25rem;
}

.hero-section h1 .text-primary {
    color: var(--ts-primary) !important;
}

.hero-section .lead {
    font-size: 1.125rem;
    color: var(--ts-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-section .hero-visual {
    position: relative;
}

.hero-section .hero-illustration {
    width: 100%;
    max-width: 480px;
    height: auto;
}

.hero-section .hero-stats-mini {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-section .hero-stats-mini .stat-item {
    text-align: left;
}

.hero-section .hero-stats-mini .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ts-dark);
}

.hero-section .hero-stats-mini .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--ts-text-secondary);
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    .hero-section h1 {
        font-size: 2.25rem;
    }
    .hero-section .hero-buttons {
        justify-content: center;
    }
    .hero-section .hero-stats-mini {
        justify-content: center;
    }
    .hero-section .hero-visual {
        margin-top: 2rem;
    }
}

/* ============================================
   7. Trusted By / Stats Bar
   ============================================ */
.trusted-by-section {
    padding: 3rem 0;
    background: var(--ts-bg-white);
    border-bottom: 1px solid var(--ts-border);
}

.trusted-by-section .stat-card {
    text-align: center;
    padding: 1rem 0.5rem;
}

.trusted-by-section .stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ts-primary);
    display: block;
}

.trusted-by-section .stat-label {
    font-size: 0.85rem;
    color: var(--ts-text-secondary);
    font-weight: 500;
}

/* ============================================
   8. Features Section
   ============================================ */
.features-section {
    padding: 5rem 0;
    background: var(--ts-bg-white);
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--ts-radius);
    border: 1px solid var(--ts-border);
    background: var(--ts-bg-white);
    transition: var(--ts-transition);
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--ts-shadow);
    border-color: transparent;
    transform: translateY(-4px);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--ts-radius);
    background: var(--ts-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--ts-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--ts-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.feature-card .feature-list,
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.feature-card .feature-list li,
.feature-list li {
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--ts-text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-card .feature-list li i,
.feature-list li i {
    color: var(--ts-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================
   9. Why Themeson (Stats Section)
   ============================================ */
.why-section {
    padding: 5rem 0;
    background: var(--ts-bg-light);
}

.why-section .stat-block {
    text-align: center;
    padding: 2rem 1rem;
}

.why-section .stat-block .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ts-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.why-section .stat-block .stat-label {
    font-size: 0.95rem;
    color: var(--ts-text-secondary);
    font-weight: 500;
}

.why-section .why-content-box {
    background: var(--ts-bg-white);
    border-radius: var(--ts-radius-lg);
    padding: 3rem;
    box-shadow: var(--ts-shadow);
}

/* Bento Grid Style */
.why-section .bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.why-section .bento-card {
    background: var(--ts-bg-white);
    border-radius: var(--ts-radius);
    padding: 2rem;
    border: 1px solid var(--ts-border);
    transition: var(--ts-transition);
}

.why-section .bento-card:hover {
    box-shadow: var(--ts-shadow);
    border-color: transparent;
}

.why-section .bento-card.featured {
    grid-column: span 2;
    background: var(--ts-dark);
    color: #fff;
    border: none;
}

.why-section .bento-card.featured .stat-number {
    color: var(--ts-primary);
}

.why-section .bento-card.featured .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .why-section .bento-grid {
        grid-template-columns: 1fr;
    }
    .why-section .bento-card.featured {
        grid-column: span 1;
    }
    .why-section .stat-block .stat-number {
        font-size: 2.25rem;
    }
}

/* ============================================
   10. Products Section
   ============================================ */
.products-section {
    padding: 5rem 0;
    background: var(--ts-bg-white);
}

.product-card {
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 2rem;
    background: var(--ts-bg-white);
    transition: var(--ts-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--ts-shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.product-card .product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.product-card .product-badge.badge-plugin {
    background: #e8f4fd;
    color: #2980b9;
}

.product-card .product-badge.badge-theme {
    background: #fef3e2;
    color: #e67e22;
}

.product-card .product-badge.badge-bundle {
    background: #f3e8fd;
    color: #8e44ad;
}

.product-card .product-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--ts-radius-sm);
    background: var(--ts-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ts-primary);
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-card .product-desc {
    font-size: 0.9rem;
    color: var(--ts-text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.product-card .product-price {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ts-border);
}

.product-card .product-price .price-original {
    text-decoration: line-through;
    color: var(--ts-text-light);
    font-size: 0.85rem;
}

.product-card .product-price .price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ts-dark);
}

.product-card .product-price .price-period {
    font-size: 0.8rem;
    color: var(--ts-text-secondary);
}

.product-card .btn {
    width: 100%;
}

/* Product filter tabs */
.product-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.product-filters .filter-btn {
    background: transparent;
    border: 1px solid var(--ts-border);
    border-radius: 20px;
    padding: 0.4rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ts-text-secondary);
    cursor: pointer;
    transition: var(--ts-transition);
}

.product-filters .filter-btn:hover,
.product-filters .filter-btn.active {
    background: var(--ts-primary);
    color: #fff;
    border-color: var(--ts-primary);
}

/* ============================================
   11. Steps Section
   ============================================ */
.steps-section {
    padding: 5rem 0;
    background: var(--ts-bg-light);
}

.step-card {
    text-align: center;
    padding: 1.5rem;
    position: relative;
}

.step-card .step-number {
    width: 40px;
    height: 40px;
    background: var(--ts-primary-light);
    color: var(--ts-primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.step-card .step-icon {
    font-size: 2.5rem;
    color: var(--ts-primary);
    margin-bottom: 1rem;
    display: block;
}

.step-card .step-icon i {
    font-size: inherit;
}

.step-card h3,
.step-card .step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p,
.step-card .step-description {
    font-size: 0.9rem;
    color: var(--ts-text-secondary);
    line-height: 1.6;
}

.step-card .step-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--ts-text-muted);
}

/* ============================================
   12. Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--ts-bg-white);
}

.testimonial-card {
    background: var(--ts-bg-white);
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 2rem;
    height: 100%;
    transition: var(--ts-transition);
}

.testimonial-card:hover {
    box-shadow: var(--ts-shadow);
    border-color: transparent;
}

.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    color: var(--ts-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-card .testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.25rem;
    font-size: 2rem;
    color: var(--ts-primary);
    font-family: Georgia, serif;
    font-weight: 700;
    line-height: 1;
}

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

.testimonial-card .author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ts-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-card .author-info .author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ts-dark);
}

.testimonial-card .author-info .author-role {
    font-size: 0.8rem;
    color: var(--ts-text-secondary);
}

/* Stars */
.testimonial-card .stars {
    margin-bottom: 0.75rem;
}

.testimonial-card .stars i {
    color: #f1c40f;
    font-size: 0.85rem;
}

/* ============================================
   13. Affiliate CTA Section
   ============================================ */
.affiliate-cta-section {
    padding: 4rem 0;
    background: var(--ts-primary-light);
}

.affiliate-cta-section h2 {
    font-weight: 800;
}

.affiliate-cta-section .commission-badge {
    display: inline-block;
    background: var(--ts-primary);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ts-radius);
    line-height: 1;
    margin-bottom: 1rem;
}

/* ============================================
   14. Final CTA Section
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: var(--ts-dark);
    color: #fff;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-weight: 800;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 540px;
    margin: 0 auto 2rem;
}

.cta-section .btn-primary {
    background-color: var(--ts-primary) !important;
    padding: 0.875rem 2.5rem;
    font-size: 1.05rem;
}

.cta-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   15. Footer
   ============================================ */
.site-footer {
    background: var(--ts-dark-slate);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.site-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.site-footer .footer-brand-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-top: 1rem;
}

.site-footer .footer-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--ts-transition);
}

.site-footer ul li a:hover {
    color: var(--ts-primary);
    padding-left: 0.25rem;
}

.site-footer .footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

/* ============================================
   16. Blog / Archive Styles
   ============================================ */
.blog-grid {
    padding: 3rem 0;
}

.post-card {
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    overflow: hidden;
    background: var(--ts-bg-white);
    transition: var(--ts-transition);
    height: 100%;
}

.post-card:hover {
    box-shadow: var(--ts-shadow);
    transform: translateY(-2px);
}

.post-card .post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--ts-bg-light);
}

.post-card .post-body {
    padding: 1.5rem;
}

.post-card .post-meta {
    font-size: 0.8rem;
    color: var(--ts-text-secondary);
    margin-bottom: 0.5rem;
}

.post-card .post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-card .post-title a {
    color: var(--ts-dark);
}

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

.post-card .post-excerpt {
    font-size: 0.9rem;
    color: var(--ts-text-secondary);
    line-height: 1.6;
}

/* Single Post */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.single-post-content .entry-header {
    margin-bottom: 2rem;
}

.single-post-content .entry-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.single-post-content .entry-meta {
    font-size: 0.85rem;
    color: var(--ts-text-secondary);
}

.single-post-content .entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.single-post-content .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ts-radius-sm);
}

/* ============================================
   17. Sidebar
   ============================================ */
.sidebar .widget {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--ts-bg-light);
    border-radius: var(--ts-radius);
}

.sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ts-primary);
}

.sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .widget ul li {
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--ts-border);
}

.sidebar .widget ul li:last-child {
    border-bottom: none;
}

.sidebar .widget ul li a {
    color: var(--ts-text);
    font-size: 0.9rem;
}

/* ============================================
   18. 404 Page
   ============================================ */
.error-404 {
    text-align: center;
    padding: 6rem 0;
}

.error-404 .error-code {
    font-size: 8rem;
    font-weight: 800;
    color: var(--ts-primary-light);
    line-height: 1;
}

.error-404 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404 p {
    font-size: 1.1rem;
    color: var(--ts-text-secondary);
    max-width: 480px;
    margin: 0 auto 2rem;
}

/* ============================================
   19. Search Page
   ============================================ */
.search-header {
    padding: 3rem 0;
    background: var(--ts-bg-light);
    text-align: center;
}

.search-results-grid {
    padding: 3rem 0;
}

/* ============================================
   20. Pagination
   ============================================ */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    border-radius: var(--ts-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ts-text);
    background: var(--ts-bg-light);
    border: 1px solid var(--ts-border);
    transition: var(--ts-transition);
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--ts-primary);
    color: #fff;
    border-color: var(--ts-primary);
}

/* ============================================
   21. Comments
   ============================================ */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ts-border);
}

.comments-area .comment-list {
    list-style: none;
    padding: 0;
}

.comments-area .comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--ts-border);
}

.comments-area .comment-author {
    font-weight: 600;
}

.comments-area .comment-metadata {
    font-size: 0.8rem;
    color: var(--ts-text-secondary);
}

.comments-area .comment-content {
    margin-top: 0.75rem;
    line-height: 1.7;
}

.comment-respond .comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.comment-respond .comment-form input,
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--ts-transition);
}

.comment-respond .comment-form input:focus,
.comment-respond .comment-form textarea:focus {
    border-color: var(--ts-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--ts-primary-rgb), 0.15);
}

.comment-respond .submit {
    background: var(--ts-primary) !important;
    color: #fff !important;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ts-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--ts-transition);
}

.comment-respond .submit:hover {
    background: var(--ts-primary-hover) !important;
}

/* ============================================
   22. Page Templates
   ============================================ */
.page-content {
    padding: 3rem 0;
}

.page-header {
    padding: 3rem 0;
    background: var(--ts-bg-light);
}

.page-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

/* Full Width Template */
.template-full-width .site-content {
    max-width: 100%;
}

/* Product Page Template */
.template-product-page .product-header {
    padding: 4rem 0;
    background: var(--ts-primary-light);
}

/* ============================================
   23. Elementor Compatibility
   ============================================ */
.elementor-page .site-content {
    padding: 0;
}

.elementor-page .page-content {
    padding: 0;
}

/* Ensure Elementor sections go full width */
.elementor-section.elementor-section-full_width {
    max-width: 100%;
}

/* Fix Elementor button styles to match theme */
.elementor-widget-button .elementor-button {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: var(--ts-radius-sm);
}

/* ============================================
   24. Search Form
   ============================================ */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form .search-field {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
}

.search-form .search-field:focus {
    border-color: var(--ts-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--ts-primary-rgb), 0.15);
}

.search-form .search-submit {
    background: var(--ts-primary);
    color: #fff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: var(--ts-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--ts-transition);
}

.search-form .search-submit:hover {
    background: var(--ts-primary-hover);
}

/* ============================================
   25. Utilities
   ============================================ */
.bg-teal-light {
    background-color: var(--ts-primary-light) !important;
}

.bg-dark-navy {
    background-color: var(--ts-dark) !important;
}

.bg-dark-slate {
    background-color: var(--ts-dark-slate) !important;
}

.text-teal {
    color: var(--ts-primary) !important;
}

.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

/* Counter Animation */
.stat-counter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-counter.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   26. Breadcrumbs
   ============================================ */
.breadcrumb-wrapper {
    padding: 0.75rem 0;
    background: var(--ts-bg-light);
    border-bottom: 1px solid var(--ts-border);
}

.breadcrumb-wrapper .breadcrumb {
    margin: 0;
    background: transparent;
    padding: 0;
    font-size: 0.85rem;
}

.breadcrumb-wrapper .breadcrumb-item a {
    color: var(--ts-text-secondary);
}

.breadcrumb-wrapper .breadcrumb-item.active {
    color: var(--ts-text);
}

/* ============================================
   27. Why Themeson (Actual Classes)
   ============================================ */
.why-themeson-section {
    padding: 5rem 0;
    background: var(--ts-bg-light);
}

.big-stat-card {
    background: var(--ts-bg-white);
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--ts-transition);
    height: 100%;
}

.big-stat-card:hover {
    box-shadow: var(--ts-shadow);
    border-color: transparent;
    transform: translateY(-4px);
}

.big-stat-icon {
    font-size: 1.75rem;
    color: var(--ts-primary);
    margin-bottom: 0.75rem;
}

.big-stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--ts-dark);
    line-height: 1;
}

.big-stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ts-primary);
    display: inline;
}

.big-stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ts-dark);
    margin-top: 0.5rem;
}

.big-stat-desc {
    font-size: 0.85rem;
    color: var(--ts-text-secondary);
    margin: 0.25rem 0 0;
}

.mini-feature {
    padding: 1.5rem;
    text-align: center;
}

.mini-feature i {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}

.mini-feature h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mini-feature p {
    font-size: 0.85rem;
    color: var(--ts-text-secondary);
    margin: 0;
}

/* Stats Bar (Trusted By) */
.stats-bar .stat-box {
    padding: 1rem 0.5rem;
}

.stats-bar .stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ts-primary);
    line-height: 1;
}

.stats-bar .stat-number span {
    font-size: 1.5rem;
}

.stats-bar .stat-label {
    font-size: 0.85rem;
    color: var(--ts-text-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Why Themeson Features */
.why-themeson-features {
    background: var(--ts-bg-white);
    border-radius: var(--ts-radius-lg);
    padding: 2rem;
    border: 1px solid var(--ts-border);
}

/* ============================================
   28. Responsive Adjustments
   ============================================ */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.75rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}
